/* ==========================================================================
   Hemonart — Clinical Light Medical Design System
   Sterile Porcelain & Surgical Cobalt · WCAG AA · Fluid Craft
   ========================================================================== */

:root {
  /* Clinical Surface Tokens */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-tint: #EFF6FF;
  --bg-tint-strong: #DBEAFE;

  /* Surgical Brand Accents */
  --brand: #0B4EA2;
  --brand-hover: #083D82;
  --brand-deep: #062859;
  --brand-soft: rgba(11, 78, 162, 0.08);
  --brand-border: rgba(11, 78, 162, 0.22);

  /* Clinical Telemetry & Status */
  --cyan: #0891B2;
  --cyan-soft: rgba(8, 145, 178, 0.10);
  --emerald: #047857;
  --emerald-bg: #ECFDF5;
  --emerald-border: #A7F3D0;
  --amber: #B45309;
  --amber-bg: #FFFBEB;
  --amber-border: #FDE68A;
  --danger: #B91C1C;
  --danger-bg: #FEF2F2;
  --danger-border: #FECACA;

  /* High-Contrast Clinical Typography */
  --ink-primary: #0F172A;
  --ink-secondary: #334155;
  --ink-muted: #5B6B82;
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -8px rgba(11, 78, 162, 0.10), 0 4px 12px -4px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 24px 48px -16px rgba(11, 78, 162, 0.14), 0 8px 20px -8px rgba(15, 23, 42, 0.06);

  /* Typography (Latin, Turkish, Cyrillic & Arabic cohesive clinical stack) */
  --font-sans: 'Plus Jakarta Sans', 'IBM Plex Sans', 'Noto Sans Arabic', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Motion (Emil Kowalski / Apple Fluid Tokens) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  /* Layout */
  --container: 1240px;
  --header-h: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-primary);
  background: var(--bg-page);
  line-height: 1.6;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* Focus Accessibility */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 160ms var(--ease-out);
}
.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(18px, 3vw, 32px);
}

/* ==========================================================================
   Translucent Clinical Header (Desktop Direct Nav + Mobile Drawer)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding-right: 4px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
}

.brand-sub {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 9px 13px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
  border-radius: var(--radius-sm);
  transition: color 160ms ease, background-color 160ms ease;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--brand);
    background: var(--bg-tint);
  }
}

.nav-link.is-active {
  color: var(--brand);
  background: var(--bg-tint);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Origin-Aware 6-Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--ink-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  transition: border-color 150ms ease, background-color 150ms ease, transform 140ms var(--ease-out);
}

.lang-trigger:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .lang-trigger:hover {
    border-color: var(--brand);
    background: var(--bg-tint);
    color: var(--brand);
  }
}

.lang-trigger .lang-chevron {
  width: 14px;
  height: 14px;
  transition: transform 180ms var(--ease-out);
}

.lang-dropdown.is-open .lang-trigger .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  padding: 6px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 2px;
  z-index: 110;
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95) translateY(-4px);
  transition: opacity 160ms ease, transform 180ms var(--ease-out), visibility 160ms ease;
}

.lang-dropdown.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 7px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-secondary);
  text-align: start;
  transition: background-color 130ms ease, color 130ms ease;
}

.lang-option .lang-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-muted);
  min-width: 24px;
}

@media (hover: hover) and (pointer: fine) {
  .lang-option:hover {
    background: var(--bg-tint);
    color: var(--brand);
  }
}

.lang-option.is-active {
  background: var(--bg-tint);
  color: var(--brand);
  font-weight: 700;
}

.lang-option.is-active .lang-code {
  color: var(--brand);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 150ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--brand);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(11, 78, 162, 0.22);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--brand-hover);
    box-shadow: 0 6px 18px rgba(11, 78, 162, 0.28);
  }
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--ink-primary);
  border-color: var(--border-strong);
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--bg-tint);
  }
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand-border);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    background: var(--bg-tint);
    border-color: var(--brand);
  }
}

.btn-sm {
  min-height: 40px;
  padding: 8px 15px;
  font-size: 0.85rem;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--ink-primary);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 250ms ease;
}

.mobile-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 240ms ease;
}

.mobile-drawer.is-open .mobile-drawer-scrim {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--bg-surface);
  padding: 20px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 320ms var(--ease-drawer);
  overscroll-behavior: contain;
  overflow-y: auto;
}

.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 8px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.drawer-nav a:active {
  background: var(--bg-tint);
  color: var(--brand);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Clinical Hero Section (Above-the-fold, Zero Occlusion)
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(36px, 5vw, 64px) clamp(44px, 6vw, 72px);
  background:
    radial-gradient(ellipse 68% 60% at 78% 28%, rgba(11, 78, 162, 0.09), transparent 68%),
    radial-gradient(ellipse 45% 45% at 15% 85%, rgba(8, 145, 178, 0.06), transparent 65%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* Delicate Surgical Grid Pattern */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.11) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.11) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 80% at 50% 35%, #000 35%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  max-width: 100%;
}

.cert-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 4.1vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  text-wrap: balance;
}

.hero-title .accent-word {
  color: var(--brand);
}

.hero-lead {
  margin: 0 0 26px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
  color: var(--ink-secondary);
  max-width: 54ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.kpi-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 13px;
}

.kpi-value {
  font-family: var(--font-mono);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.kpi-label {
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-top: 4px;
  line-height: 1.3;
}

/* ==========================================================================
   Hero Right: Interactive Clinical Device Showcase + Live ACT Monitor
   ========================================================================== */
.device-stage {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.device-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: #FAFBFD;
}

.stage-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--cyan-soft);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: clinicalPulse 2s ease-in-out infinite;
}

@keyframes clinicalPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.device-photo-wrap {
  position: relative;
  background: #F4F5F6;
  padding: 16px 20px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 248px;
}

.device-photo-wrap img {
  max-height: 235px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.device-badge-float {
  position: absolute;
  bottom: 12px;
  left: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-secondary);
  box-shadow: var(--shadow-xs);
}

.device-badge-float strong {
  color: var(--brand);
}

/* Interactive Telemetry Console */
.telemetry-panel {
  padding: 16px 18px 18px;
  background: #F8FAFC;
  border-top: 1px solid var(--border-subtle);
}

.scenario-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.scenario-chip {
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--ink-secondary);
  border-radius: var(--radius-pill);
  padding: 6px 11px;
  min-height: 34px;
  font-size: 0.76rem;
  font-weight: 600;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 140ms var(--ease-out);
}

.scenario-chip.is-active {
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
}

.scenario-chip:active {
  transform: scale(0.96);
}

.telemetry-readout-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.act-meter {
  display: flex;
  flex-direction: column;
}

.act-meter-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.act-meter-value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-top: 4px;
}

.act-seconds {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ink-primary);
  min-width: 3ch;
}

.act-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
}

.act-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-secondary);
}

.act-meta-item span {
  display: block;
  font-size: 0.65rem;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.act-meta-item strong {
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
}

.sim-controls {
  display: flex;
  gap: 6px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--ink-primary);
  transition: background-color 150ms ease, border-color 150ms ease, transform 140ms var(--ease-out);
}

.icon-btn:active {
  transform: scale(0.95);
}

@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--bg-tint);
  }
}

.waveform-box {
  position: relative;
  height: 104px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.waveform-box canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.waveform-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.waveform-status-tag {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--emerald);
}

/* ==========================================================================
   Trust & Certification Ribbon
   ========================================================================== */
.trust-ribbon {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 18px;
}

.trust-ribbon-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-tint);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item small {
  display: block;
  font-weight: 500;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Section Common Headers
   ========================================================================== */
.section {
  padding-block: clamp(56px, 7vw, 92px);
}

.section-white {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
  flex-wrap: wrap;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

.section-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  text-wrap: balance;
}

.section-desc {
  margin: 10px 0 0;
  color: var(--ink-secondary);
  max-width: 58ch;
  font-size: 1rem;
}

/* ==========================================================================
   Products Grid (CompactOne 9 & BlacT ACT Test Tube)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-border);
  }
}

.product-media {
  position: relative;
  background: #F4F6F8;
  padding: 24px;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand);
}

.product-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-summary {
  margin: 0 0 18px;
  color: var(--ink-secondary);
  font-size: 0.96rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.check-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.product-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   3-Step Clinical Bedside Workflow
   ========================================================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.workflow-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--bg-tint);
  color: var(--brand);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.workflow-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 700;
}

.workflow-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Clinical Indications Grid
   ========================================================================== */
.indications-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.indication-card {
  text-align: left;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 160ms ease, box-shadow 180ms var(--ease-out), transform 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .indication-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
  }
}

.indication-card.is-selected {
  border-color: var(--brand);
  background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%);
  box-shadow: var(--shadow-sm);
}

.indication-dept {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--cyan);
  font-weight: 600;
}

.indication-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.indication-card p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.indication-range {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--brand);
  font-weight: 600;
}

/* ==========================================================================
   Hospital Procurement Technical Specifications Table
   ========================================================================== */
.spec-shell {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 22px;
  background: #FAFBFD;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-tabs {
  display: inline-flex;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-pill);
  gap: 4px;
}

.spec-tab {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  min-height: 36px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: background-color 160ms var(--ease-out), color 160ms ease;
}

.spec-tab.is-active {
  background: var(--bg-surface);
  color: var(--brand);
  box-shadow: var(--shadow-xs);
}

.spec-table-wrap {
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  padding: 14px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 34%;
  font-weight: 600;
  color: var(--ink-primary);
  background: #FCFDFE;
}

.spec-table td {
  color: var(--ink-secondary);
}

.spec-code {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--brand);
  background: var(--bg-tint);
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 600;
}

/* ==========================================================================
   Documents & Certificates Center
   ========================================================================== */
.doc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--ink-secondary);
  padding: 8px 15px;
  min-height: 40px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.filter-pill.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.doc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .doc-card:hover {
    border-color: var(--brand-border);
    box-shadow: var(--shadow-sm);
  }
}

.doc-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.doc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--ink-secondary);
}

.doc-badge.is-verified {
  background: var(--emerald-bg);
  color: var(--emerald);
}

.doc-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.doc-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.doc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Global Distributor Network (Precision Natural Earth Choropleth Atlas)
   ========================================================================== */
.distributor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.78fr);
  gap: 24px;
  align-items: start;
}

.map-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 20px 22px 22px;
  box-shadow: var(--shadow-md);
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.legend-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.legend-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.legend-dot i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.world-svg-wrap {
  background:
    radial-gradient(ellipse 75% 75% at 58% 36%, rgba(8, 145, 178, 0.08), transparent 68%),
    linear-gradient(180deg, #F3F8FE 0%, #EAF2FB 100%);
  border: 1px solid #D7E5F5;
  border-radius: var(--radius-lg);
  padding: 8px;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.world-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 960 / 470;
  cursor: grab;
  touch-action: pan-y;
}

.world-svg-wrap.is-zoomed svg {
  touch-action: none;
}

.world-svg-wrap.is-dragging svg,
.world-svg-wrap.is-dragging .geo-country {
  cursor: grabbing !important;
}

/* Country Choropleth Paths */
.geo-country {
  fill: #DCE7F3;
  stroke: #FFFFFF;
  stroke-width: 0.65;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill 180ms ease, opacity 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .geo-country:hover {
    fill: #C7DAEE;
  }
}

.geo-country.is-partner {
  fill: #2B6BC2;
  stroke: #FFFFFF;
  stroke-width: 0.85;
}

.geo-country.is-partner.is-dimmed {
  fill: #9FBCE2;
  opacity: 0.72;
}

@media (hover: hover) and (pointer: fine) {
  .geo-country.is-partner:hover {
    fill: #0B4EA2;
  }
}

.geo-country.is-hq {
  fill: #0891B2;
  stroke: #FFFFFF;
  stroke-width: 1;
}

@media (hover: hover) and (pointer: fine) {
  .geo-country.is-hq:hover {
    fill: #0E7490;
  }
}

.geo-country.is-selected,
.geo-country.is-hovered {
  fill: #062859 !important;
  stroke: #38BDF8 !important;
  stroke-width: 1.4 !important;
}

.geo-country.is-hq.is-selected,
.geo-country.is-hq.is-hovered {
  fill: #0E7490 !important;
  stroke: #06B6D4 !important;
}

/* Trade Arcs from Ankara HQ */
.trade-arc {
  fill: none;
  stroke: #0B4EA2;
  stroke-width: 1.05;
  stroke-dasharray: 3.5 4;
  opacity: 0.34;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
  transition: opacity 180ms ease, stroke 180ms ease, stroke-width 180ms ease;
}

.trade-arc.is-dimmed {
  opacity: 0.08;
}

.trade-arc.is-highlighted {
  stroke: #0891B2;
  stroke-width: 2;
  stroke-dasharray: none;
  opacity: 0.92;
}

/* HQ Beacon & City Nodes */
.hq-beacon-ring {
  fill: rgba(8, 145, 178, 0.24);
  transform-box: fill-box;
  transform-origin: center;
  animation: hqRadar 2.8s ease-out infinite;
  pointer-events: none;
}

@keyframes hqRadar {
  0% { transform: scale(0.75); opacity: 0.85; }
  100% { transform: scale(2.4); opacity: 0; }
}

.map-node {
  pointer-events: none;
  transition: opacity 180ms ease;
}

.map-node.is-dimmed {
  opacity: 0.25;
}

/* Map Floating Controls */
.map-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 5px;
  z-index: 4;
}

.map-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms var(--ease-out);
}

.map-ctrl-btn:active {
  transform: scale(0.95);
}

@media (hover: hover) and (pointer: fine) {
  .map-ctrl-btn:hover {
    background: var(--bg-tint);
    border-color: var(--brand);
    color: var(--brand);
  }
}

/* Floating Clinical Map Tooltip */
.map-tooltip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.94);
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  line-height: 1.35;
  min-width: 155px;
  opacity: 0;
  transform: translate(-50%, -115%) scale(0.96);
  transition: opacity 130ms ease, transform 130ms var(--ease-out);
}

.map-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, -115%) scale(1);
}

.map-tooltip strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
}

.map-tooltip span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #7DD3FC;
  margin-top: 2px;
}

.map-status-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 15px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.86rem;
}

.country-directory {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.search-box {
  position: relative;
  margin-bottom: 12px;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--ink-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px 10px 42px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-page);
  font-size: 0.92rem;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.search-input:focus {
  background: var(--bg-surface);
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.region-tab {
  border: 1px solid var(--border-subtle);
  background: var(--bg-page);
  color: var(--ink-secondary);
  padding: 6px 11px;
  min-height: 34px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
}

.region-tab.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.country-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 310px;
  overflow-y: auto;
  padding-right: 4px;
}

.country-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  min-height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-page);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-primary);
  text-align: left;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.country-chip.is-hq {
  border-color: var(--brand-border);
  background: var(--bg-tint);
  color: var(--brand);
}

@media (hover: hover) and (pointer: fine) {
  .country-chip:hover {
    border-color: var(--brand);
    background: var(--bg-tint);
  }
}

.country-chip small {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px 14px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   About / Corporate, Mission, Vision, Quality Policy & FAQ
   ========================================================================== */
.about-story-banner {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.mv-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 26px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand);
}

.mv-card.is-mission::before {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--brand) 100%);
}

.mv-card.is-vision::before {
  background: linear-gradient(90deg, var(--brand) 0%, #3B82F6 100%);
}

.mv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mv-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--bg-tint);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}

.mv-card.is-mission .mv-code {
  color: var(--cyan);
  background: var(--cyan-soft);
}

.mv-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-subtle);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mv-card.is-mission .mv-icon {
  color: var(--cyan);
  background: var(--cyan-soft);
}

.mv-card h3 {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.mv-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.about-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.quality-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px 26px;
}

.quality-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.quality-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.87rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.quality-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.quality-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--bg-tint);
  border-radius: 6px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quality-list li.is-extra[hidden] {
  display: none;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-stat {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.about-stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.55rem;
  color: var(--brand);
  line-height: 1.1;
}

.about-stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.79rem;
  color: var(--ink-muted);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 16px 18px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-primary);
}

.faq-trigger svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex-shrink: 0;
  transition: transform 200ms var(--ease-out);
}

.faq-item[data-open="true"] .faq-trigger svg {
  transform: rotate(45deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms var(--ease-out);
}

.faq-item[data-open="true"] .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Real B2B Quote & Distributor Form Section (Zero mailto!)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.contact-sidebar {
  background: linear-gradient(160deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-sidebar h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.contact-sidebar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.contact-info-list {
  display: grid;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.contact-info-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93C5FD;
}

.contact-info-item a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-md);
}

.form-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  background: var(--bg-subtle);
  padding: 5px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}

.form-mode-btn {
  border: 0;
  background: transparent;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-secondary);
  transition: background-color 160ms var(--ease-out), color 160ms ease;
}

.form-mode-btn.is-active {
  background: var(--bg-surface);
  color: var(--brand);
  box-shadow: var(--shadow-xs);
}

.context-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-tint);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.context-chip[hidden] {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--ink-primary);
  font-size: 0.93rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field select {
  height: 44px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.field-error {
  font-size: 0.78rem;
  color: var(--danger);
  font-weight: 500;
  min-height: 1.1em;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.84rem;
  color: var(--ink-secondary);
  cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--brand);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-field button.link-inline {
  border: 0;
  background: none;
  padding: 0;
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.turnstile-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-page);
  margin-bottom: 18px;
  font-size: 0.8rem;
  color: var(--ink-secondary);
}

.turnstile-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--emerald);
}

.form-success-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-border);
  color: #064E3B;
}

.form-success-card[hidden] {
  display: none;
}

.form-success-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.ref-code {
  display: inline-block;
  margin: 10px 0 14px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--emerald-border);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--emerald);
}

/* ==========================================================================
   Footer (Clean Medical Compliance & >=44px Tap Targets)
   ========================================================================== */
.site-footer {
  background: #0B192C;
  color: #CBD5E1;
  padding-block: 52px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-brand {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93C5FD;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}

.footer-links a,
.footer-links button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-block: 6px;
  font-size: 0.9rem;
  color: #CBD5E1;
  border: 0;
  background: none;
  text-align: left;
  transition: color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover,
  .footer-links button:hover {
    color: #FFFFFF;
  }
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: #94A3B8;
}

/* ==========================================================================
   Accessible Modals (KVKK / Cookie Preferences / Document Preview)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: min(620px, 100%);
  max-height: min(84vh, 720px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 26px 28px;
  transform: scale(0.96);
  transition: transform 220ms var(--ease-out);
}

.modal-backdrop.is-open .modal-dialog {
  transform: scale(1);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.modal-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.modal-body p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

/* Non-intrusive Toast Notification (Top-Right / Bottom-Right, never covering CTA) */
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 180;
  background: var(--ink-primary);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform 240ms var(--ease-out), opacity 240ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .distributor-layout,
  .about-story-banner,
  .mv-grid,
  .about-lower-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .indications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 68px;
  }
  .header-cta {
    display: none;
  }
  .brand-sub {
    white-space: nowrap;
    font-size: 0.6rem;
  }
  .cert-pill {
    border-radius: 14px;
    padding: 8px 12px;
    font-size: 0.68rem;
    line-height: 1.35;
  }
  .hero-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .products-grid,
  .workflow-grid,
  .indications-grid,
  .docs-grid,
  .form-row,
  .country-list,
  .about-stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .telemetry-readout-row {
    grid-template-columns: 1fr auto;
  }
  .act-meta-grid {
    grid-column: 1 / -1;
  }
  .footer-links a,
  .footer-links button {
    min-height: 44px;
  }
}

/* Reduced Motion & Reduced Transparency (Apple Accessibility) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .lang-menu {
    background: #FFFFFF;
    backdrop-filter: none;
  }
}

/* ==========================================================================
   Full RTL Mirroring (Arabic — dir="rtl")
   ========================================================================== */
[dir="rtl"] body {
  font-family: 'Noto Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif;
}

/* Keep Arabic cursive ligatures connected (zero positive tracking on Arabic text) */
[dir="rtl"] .brand-sub,
[dir="rtl"] .stage-title,
[dir="rtl"] .status-live,
[dir="rtl"] .device-badge-float,
[dir="rtl"] .act-meter-label,
[dir="rtl"] .act-meta-grid,
[dir="rtl"] .waveform-status-tag,
[dir="rtl"] .section-eyebrow,
[dir="rtl"] .indication-dept,
[dir="rtl"] .mv-code,
[dir="rtl"] .doc-badge,
[dir="rtl"] .product-tag,
[dir="rtl"] .footer-col h3,
[dir="rtl"] .contact-info-item small,
[dir="rtl"] .map-tooltip span {
  font-family: 'Noto Sans Arabic', system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
  transform-origin: top left;
}

[dir="rtl"] .mobile-drawer-panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

[dir="rtl"] .mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

[dir="rtl"] .device-badge-float {
  left: auto;
  right: 16px;
}

[dir="rtl"] .product-tag {
  left: auto;
  right: 16px;
}

[dir="rtl"] .map-controls {
  right: auto;
  left: 12px;
}

[dir="rtl"] .search-box svg {
  left: auto;
  right: 14px;
}

[dir="rtl"] .search-input {
  padding: 10px 42px 10px 14px;
}

[dir="rtl"] .indication-card,
[dir="rtl"] .country-chip,
[dir="rtl"] .faq-trigger,
[dir="rtl"] .spec-table th,
[dir="rtl"] .spec-table td,
[dir="rtl"] .footer-links button {
  text-align: right;
}

[dir="rtl"] .act-meter-value {
  gap: 7px;
}

[dir="rtl"] .btn svg.arrow-dir {
  transform: scaleX(-1);
}

[dir="rtl"] .toast {
  right: auto;
  left: 20px;
}
