/* ==========================================================================
   Myotech V-HAB - global stylesheet
   Loaded by: index, about, services, webinars, gallery, myopia-details,
              privacy, terms.
   Page-specific sheets (about-styles, services-styles, gallery-styles,
   myopia-styles, privacy-styles, terms-styles) load AFTER this file and are
   allowed to override. Keep shared primitives conservatively scoped.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand - teal primary + blue accent (the legacy #007bff has been retired
     in favour of --brand-accent) */
  --brand-primary: #00BFA6;
  --brand-primary-dark: #008F78;
  --brand-primary-deep: #00705E;   /* AA-safe teal for small text on light */
  /* Solid teal button surface. #008F78 only reaches 4.04:1 against white text;
     this passes AA (4.76:1) while staying visually within the brand family. */
  --brand-primary-surface: #00826D;
  --brand-accent: #1149F4;
  --brand-accent-dark: #0D37BE;

  /* Brand tints */
  --brand-tint-soft: rgba(0, 191, 166, 0.10);
  --brand-tint-mid: rgba(0, 191, 166, 0.30);
  --brand-glow: rgba(0, 191, 166, 0.35);

  /* Ink / greys */
  --ink-900: #0F2A3F;
  --ink-800: #1e293b;
  --ink-700: #333333;
  --ink-650: #374151;
  --ink-600: #4b5563;
  --ink-500: #64748b;
  --ink-450: #555555;
  --ink-400: #9ca3af;

  /* Surfaces */
  --surface-page: #F9F9F9;
  --surface-card: #ffffff;
  --surface-muted: #f1f1f1;
  --surface-alt: #f4f4f4;
  --surface-subtle: #f9fafb;
  --surface-input: #f9fafb;
  --surface-tint-start: #f8fafc;
  --surface-tint-end: #e2e8f0;
  --surface-dark: #0F2A3F;

  /* Borders / lines */
  --border-subtle: rgba(226, 232, 240, 0.5);
  --border-hairline: #eef2f6;
  --border-input: #e5e7eb;
  --border-rule: #cbd5e1;
  --border-on-dark: rgba(255, 255, 255, 0.85);

  /* On-dark text */
  --color-on-dark: #ffffff;
  --color-on-dark-muted: rgba(255, 255, 255, 0.82);

  /* Fluid type scale - one scale for the whole site */
  --fs-h1: clamp(2rem, 1.25rem + 3.2vw, 3.5rem);          /*  32 -> 56 */
  --fs-h2: clamp(1.75rem, 1.15rem + 2.2vw, 3rem);         /*  28 -> 48 */
  --fs-h3: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);     /*  20 -> 26 */
  --fs-h4: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);   /*  17 -> 20 */
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);    /*  17 -> 20 */
  --fs-body: clamp(1rem, 0.97rem + 0.15vw, 1.125rem);     /*  16 -> 18 */
  --fs-small: clamp(0.8125rem, 0.79rem + 0.13vw, 0.9375rem); /* 13 -> 15 */
  --fs-eyebrow: clamp(0.8125rem, 0.78rem + 0.16vw, 0.9375rem);
  --fs-figure: clamp(1.35rem, 1rem + 1.1vw, 1.875rem);    /*  22 -> 30 */

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 100px;

  /* Radii */
  --radius-xs: 2px;
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(15, 42, 63, 0.06);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 15px 30px rgba(0, 0, 0, 0.1);
  --shadow-brand: 0 8px 30px rgba(0, 191, 166, 0.15);
  --shadow-brand-strong: 0 8px 25px rgba(0, 191, 166, 0.3);
  --shadow-header: 0 1px 3px rgba(15, 42, 63, 0.07);
  --shadow-header-scrolled: 0 8px 24px rgba(15, 42, 63, 0.14);
  --shadow-bar: 0 -4px 18px rgba(15, 42, 63, 0.18);

  /* Layout */
  --container-max: 1200px;
  --header-h: 100px;

  /* Stacking */
  --z-content: 2;
  --z-mobile-cta: 880;
  --z-header: 900;
  --z-nav-overlay: 1000;
  --z-nav-close: 1010;

  /* Motion */
  --dur-fast: 0.2s;
  --dur: 0.3s;
  --dur-slow: 0.5s;
  --ease: ease;

  /* Focus */
  --focus-ring: var(--brand-primary-deep);
  --focus-ring-on-dark: #ffffff;
  --focus-width: 2px;
  --focus-offset: 2px;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* Keep in-page anchors clear of the sticky header */
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: var(--surface-page);
}

/* Single base .container rule (previously duplicated at two places in this
   file, the second of which leaked `color: white` onto every page). */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: var(--z-content);
}

/* --------------------------------------------------------------------------
   3. Sticky header / navbar
   -------------------------------------------------------------------------- */
header,
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(15, 42, 63, 0.06);
  box-shadow: var(--shadow-header);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

/* The translucent + blurred surface lives on a pseudo-element rather than on
   `header` itself: `backdrop-filter` on the header would establish a
   containing block for fixed-position descendants, which would break the
   `position: fixed` mobile nav overlay nested inside it. */
header::before,
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(241, 241, 241, 0.88);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  transition: background-color var(--dur) var(--ease);
}

/* Toggled by JS once the page has scrolled */
header.is-scrolled,
.site-header.is-scrolled {
  box-shadow: var(--shadow-header-scrolled);
  border-bottom-color: rgba(15, 42, 63, 0.1);
}

header.is-scrolled::before,
.site-header.is-scrolled::before {
  background-color: rgba(241, 241, 241, 0.97);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  header::before,
  .site-header::before {
    background-color: var(--surface-muted);
  }
}

.navbar {
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: var(--space-8);
  padding-left: var(--space-8);
  max-width: var(--container-max);
  margin: 0 auto;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar .logo img {
  height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--dur) var(--ease);
}

.navbar .logo a:hover img {
  transform: scale(1.02);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (min-width: 992px) and (max-width: 1220px) {
  .navbar {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links li a {
    font-size: 14.5px;
    padding: 7px 11px;
  }

  .nav-links .nav-cta,
  .nav-links .nav-cta-btn {
    font-size: 14px;
    padding: 9px 16px;
  }
}

.nav-links li a {
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
  display: inline-block;
  white-space: nowrap;
}

.nav-links li a:hover {
  color: var(--brand-primary-deep);
  background-color: rgba(0, 191, 166, 0.06);
}

/* Unique Active Pill Indicator */
.nav-links a.active {
  color: var(--brand-primary-deep) !important;
  background-color: rgba(0, 191, 166, 0.12) !important;
  font-weight: 600 !important;
}

/* Nav CTA pill (last item of .nav-links) */
.nav-cta-item {
  display: flex;
  align-items: center;
  margin-left: 6px;
}

.nav-links .nav-cta,
.nav-links .nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-primary-surface) 0%, var(--brand-primary-deep) 100%);
  color: var(--color-on-dark) !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px var(--brand-tint-mid);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-links .nav-cta i,
.nav-links .nav-cta-btn i {
  font-size: 0.95em;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible,
.nav-links .nav-cta-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--brand-primary-deep) 0%, #005a4b 100%);
  color: var(--color-on-dark) !important;
  box-shadow: 0 8px 24px var(--brand-glow);
}

/* Hamburger (a <button> in markup - reset UA styles) */
.hamburger {
  display: none; /* Hidden on larger screens */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  color: inherit;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--ink-700);
  margin: 5px 0;
  border-radius: var(--radius-xs);
}

/* Close Button Hidden by Default (a <button> in markup - reset UA styles) */
.close-btn {
  display: none; /* Hidden by default */
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  line-height: 1;
  color: inherit;
}

/* --------------------------------------------------------------------------
   4. Myopia Info Section (index.html)
   -------------------------------------------------------------------------- */
.myopia-info {
  padding: var(--space-24) var(--space-5);
  position: relative;
  overflow: hidden;
  /* NOTE: `background-attachment: fixed` removed - it silently fails on iOS
     Safari and is expensive to repaint. */
}

/* Only the index.html hero-style variant carries the photographic backdrop.
   myopia-details.html reuses `.myopia-info` together with
   `.full-width-section`, where the image only produced visual noise. */
.myopia-info:not(.full-width-section) {
  background:
    linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.74)),
    url('/images/myopia_info_section.webp') center / cover no-repeat;
}

.myopia-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: var(--container-max);
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.myopia-text {
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.94);
  padding: var(--space-10);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 1s ease-out;
}

.myopia-text h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--space-5);
}

/* Eyebrow / kicker above the h2 text - clearly subordinate */
.myopia-text h2 span {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary-deep);
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.myopia-text h2 span br {
  display: none;
}

.myopia-text p {
  font-size: var(--fs-body);
  color: var(--ink-700);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  position: relative;
}

/* Single restrained emphasis treatment (was: size bump + teal chip +
   text-shadow, which read like broken markup). */
.myopia-text p strong {
  color: var(--brand-primary-deep);
  font-weight: 700;
}

/* Rule only BETWEEN paragraphs - it used to sit above the first one too. */
.myopia-text p + p::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--brand-tint-mid);
  margin: 0 auto var(--space-5);
}

.view-more-btn {
  display: inline-block;
  padding: var(--space-4) var(--space-8);
  background: linear-gradient(135deg, var(--brand-primary-surface) 0%, var(--brand-primary-deep) 100%);
  color: var(--color-on-dark);
  font-size: var(--fs-body);
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  box-shadow: 0 6px 18px var(--brand-tint-mid);
}

.view-more-btn:hover {
  background: linear-gradient(135deg, var(--brand-primary-deep) 0%, #005a4b 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--brand-glow);
}

/* Keyframe Animation for Text */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .myopia-text {
    padding: var(--space-5);
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   5. Services Section (index.html) with Background and Overlay
   -------------------------------------------------------------------------- */
.services-section {
  position: relative;
  background: url('/images/services_bg.webp') center / cover no-repeat;
  padding: var(--space-24) 0;
  color: var(--color-on-dark);
  text-align: center;
}

/* Overlay Effect */
.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 42, 63, 0.6);
  z-index: 1;
}

.services-section .container {
  position: relative;
  z-index: var(--z-content);
}

/* Heading Styling */
.services-section h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: var(--space-10);
}

/* Service Grid Layout */
.services-grid {
  display: flex;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

/* Service Box Styling - frosted glass so white body copy stays legible over
   the busy services_bg.webp photograph. */
.service-box {
  background-color: rgba(15, 42, 63, 0.55);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: var(--space-10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  flex: 1;
  min-width: 300px;
  transition: transform var(--dur) ease-in-out, background-color var(--dur) var(--ease);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .service-box {
    background-color: rgba(15, 42, 63, 0.78);
  }
}

.service-box:hover {
  transform: translateY(-10px);
  background-color: rgba(15, 42, 63, 0.68);
}

/* Icon Styling */
.service-box i {
  font-size: 3.25em;
  color: var(--brand-primary);
  margin-bottom: var(--space-5);
}

/* Title and Description Styling */
.service-box h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.service-box p {
  font-size: var(--fs-body);
  color: var(--color-on-dark);
  line-height: 1.6;
}

/* Learn More Button Styling */
.learn-more-btn {
  display: inline-block;
  background-color: var(--brand-primary-surface);
  color: var(--color-on-dark);
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  margin-top: var(--space-10);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.learn-more-btn:hover {
  background-color: var(--brand-primary-deep);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    gap: var(--space-5);
  }

  .service-box {
    max-width: 100%;
    padding: var(--space-7);
  }

  .learn-more-btn {
    width: 100%;
    padding: var(--space-4);
  }
}

/* --------------------------------------------------------------------------
   6. Mobile navigation overlay
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {

  /* Full-Screen Overlay Menu.
     Lives inside the sticky header, so it always paints above it; its
     z-index also keeps it above .mobile-cta (--z-mobile-cta). */
  .nav-links {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    background-color: rgba(0, 0, 0, 0.97);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100svh;
    width: 100vw;
    transition: visibility 0s, opacity var(--dur-slow) var(--ease);
    visibility: hidden;
    opacity: 0;
    z-index: var(--z-nav-overlay);
  }

  .nav-active {
    display: flex;
    visibility: visible;
    opacity: 1;
  }

  /* Navigation Links Styling */
  .nav-links a {
    color: white !important;
    font-size: 2em;
    text-decoration: none;
    transition: color var(--dur) var(--ease);
  }

  .nav-links a:hover {
    color: var(--brand-primary) !important;
  }

  /* Keep the nav CTA reading as a button inside the overlay */
  .nav-links .nav-cta {
    font-size: 1.5em;
    padding: var(--space-3) var(--space-8);
    background-color: var(--brand-primary-surface);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  .nav-links .nav-cta:hover {
    background-color: var(--brand-primary);
    color: white !important;
  }

  /* Close Button for Mobile */
  .close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: var(--space-3);
    right: var(--space-5);
    width: 44px;
    height: 44px;
    font-size: 2em;
    color: white;
    cursor: pointer;
    z-index: var(--z-nav-close);
  }

  /* Display the hamburger menu icon in mobile view */
  .hamburger {
    display: flex;
    width: 44px;
    height: 44px;
  }
}

/* --------------------------------------------------------------------------
   7. Hero Section (index.html)
   -------------------------------------------------------------------------- */
.hero-section {
  /* min-height rather than a hard 100vh so long copy can never be clipped,
     and offset by the sticky header so the first screen still fits. */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  background: url('/images/home_hero_bg.webp') center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

/* Scoped replacement for the old global `.container { color: white }` leak. */
.hero-section .container {
  color: var(--color-on-dark);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--space-16);
  padding-bottom: 88px; /* leaves room for .scroll-indicator */
}

.hero-text h1 {
  font-size: var(--fs-h1);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: var(--space-5);
  animation: fadeInUp 1s ease-in-out;
}

.hero-text p {
  font-size: var(--fs-lead);
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1.5s ease-in-out;
}

/* --- Buttons ------------------------------------------------------------- */
.cta-btn {
  display: inline-block;
  margin-top: var(--space-8);
  padding: var(--space-4) var(--space-8);
  background-color: var(--brand-primary-surface);
  color: var(--color-on-dark);
  text-decoration: none;
  font-size: var(--fs-lead);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.cta-btn:hover {
  background-color: var(--brand-primary-deep);
}

/* Hero dual CTA */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.hero-actions .cta-btn {
  margin-top: 0;
}

.cta-primary {
  background-color: var(--brand-primary-surface);
  color: var(--color-on-dark);
  border: 2px solid transparent;
  box-shadow: 0 8px 24px var(--brand-glow);
}

.cta-primary:hover {
  background-color: var(--brand-primary-deep);
  box-shadow: 0 10px 28px var(--brand-glow);
}

.cta-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-on-dark);
  border: 2px solid var(--border-on-dark);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.cta-secondary:hover {
  background-color: var(--color-on-dark);
  color: var(--brand-primary-deep);
  border-color: var(--color-on-dark);
}

/* --- Scroll indicator ---------------------------------------------------- */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%); /* was translateX(50%) - 14px off-centre */
  font-size: 2em;
  line-height: 1;
  color: var(--color-on-dark);
  z-index: var(--z-content);
}

.scroll-indicator i {
  display: block;
  animation: bounce 1.5s infinite;
}

/* Keyframe Animations */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* --------------------------------------------------------------------------
   8. Proof strip (index.html)
   -------------------------------------------------------------------------- */
.proof-strip {
  background-color: var(--surface-card);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: var(--space-6) 0 var(--space-7);
}

.proof-strip-label {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--ink-500);
  letter-spacing: 0.01em;
  margin: 0 auto var(--space-5);
  max-width: 780px;
}

.proof-strip-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(var(--space-5), 4vw, var(--space-14));
}

.proof-strip-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.proof-strip-logos img {
  height: clamp(36px, 3.2vw, 48px);
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.proof-strip-logos li:hover img,
.proof-strip-logos li:focus-within img,
.proof-strip-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .proof-strip-logos {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: var(--space-2);
    gap: var(--space-8);
  }

  .proof-strip-logos li {
    scroll-snap-align: center;
  }

  .proof-strip-logos img {
    filter: none;
    opacity: 0.9;
  }
}

/* --------------------------------------------------------------------------
   9. Stats band (index.html)
   -------------------------------------------------------------------------- */
.stats-band {
  background: linear-gradient(135deg, var(--surface-tint-start) 0%, var(--surface-tint-end) 100%);
  padding: var(--space-16) 0;
}

.stats-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}

.stat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: center;
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-7) var(--space-5);
}

.stat-figure {
  display: block;
  font-size: var(--fs-figure);
  font-weight: 700;
  line-height: 1.15;
  color: var(--brand-primary-deep);
  overflow-wrap: break-word;
  hyphens: auto;
}

.stat-label {
  display: block;
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--ink-500);
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .stats-band {
    padding: var(--space-12) 0;
  }

  .stats-grid {
    gap: var(--space-3);
  }

  .stat {
    padding: var(--space-5) var(--space-4);
  }
}

/* --------------------------------------------------------------------------
   10. How it works (index.html)
   -------------------------------------------------------------------------- */
.how-section {
  background-color: var(--surface-card);
  padding: var(--space-24) 0;
  text-align: center;
}

.how-section h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink-800);
  margin-bottom: var(--space-4);
}

.section-intro {
  font-size: var(--fs-lead);
  color: var(--ink-500);
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.how-steps {
  list-style: none;
  margin: 0 0 var(--space-12);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
  text-align: left;
}

.how-step {
  min-width: 0;
  background-color: var(--surface-card);
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-top: 4px solid var(--brand-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.how-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.how-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  color: var(--color-on-dark);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-5);
  box-shadow: 0 6px 16px var(--brand-tint-mid);
}

.how-step h3 {
  font-size: var(--fs-h3);
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink-800);
  margin-bottom: var(--space-3);
}

.how-step p {
  font-size: var(--fs-body);
  color: var(--ink-600);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 768px) {
  .how-section {
    padding: var(--space-16) 0;
  }

  .how-step {
    padding: var(--space-6);
  }
}

/* --------------------------------------------------------------------------
   11. Contact Section (index.html) - single consolidated rule
   -------------------------------------------------------------------------- */
.contact-section {
  background: linear-gradient(135deg, var(--surface-tint-start) 0%, var(--surface-tint-end) 100%);
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-rule) 50%, transparent 100%);
}

.contact-section h2 {
  margin-bottom: var(--space-8);
  font-size: var(--fs-h2);
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink-800);
}

.contact-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.contact-header h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
  color: var(--ink-800);
  margin-bottom: var(--space-5);
  font-weight: 700;
}

.contact-header p {
  font-size: var(--fs-lead);
  color: var(--ink-500);
  max-width: 600px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-16);
  max-width: var(--container-max);
  margin: 0 auto;
  align-items: start;
}

/* Contact Info Styles */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  border-radius: var(--radius-xs);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--brand-tint-soft), transparent);
  transition: left var(--dur-slow) var(--ease);
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px var(--brand-tint-soft);
  border-color: var(--brand-tint-mid);
}

.contact-link {
  cursor: pointer;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-on-dark);
  font-size: 24px;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: var(--fs-h4);
  color: var(--ink-800);
  margin-bottom: var(--space-1);
  font-weight: 600;
}

.contact-details p {
  color: var(--ink-500);
  margin: 0;
  font-size: var(--fs-body);
}

.contact-action {
  display: block;
  color: var(--brand-primary-deep);
  font-size: var(--fs-small);
  font-weight: 500;
  margin-top: var(--space-1);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.contact-item:hover .contact-action,
.contact-item:focus-visible .contact-action {
  opacity: 1;
  transform: translateY(0);
}

.contact-arrow {
  margin-left: auto;
  color: var(--ink-400);
  font-size: 16px;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
              color var(--dur) var(--ease);
  opacity: 0;
  transform: translateX(-10px);
}

.contact-item:hover .contact-arrow,
.contact-item:focus-visible .contact-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--brand-primary-deep);
}

/* Enhanced Form Styles */
.contact-form {
  background: var(--surface-card);
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.form-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.form-header h3 {
  font-size: var(--fs-h3);
  color: var(--ink-800);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.form-header p {
  color: var(--ink-500);
  font-size: var(--fs-body);
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--ink-650);
  font-weight: 500;
  font-size: var(--fs-small);
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-400);
  font-size: 16px;
  z-index: 2;
}

.input-wrapper:has(textarea) .input-icon,
.input-icon--textarea {
  top: 20px;
  transform: none;
}

.input-wrapper input,
.input-wrapper textarea {
  width: 100%;
  padding: 15px 15px 15px 45px;
  font-size: 16px;
  border: 2px solid var(--border-input);
  border-radius: var(--radius-md);
  background: var(--surface-input);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  font-family: inherit;
  color: var(--ink-800);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
  border-color: var(--brand-primary);
  background: var(--surface-card);
  box-shadow: 0 0 0 3px var(--brand-tint-soft);
}

.input-wrapper textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 15px;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--brand-primary-surface) 0%, var(--brand-primary-deep) 100%);
  color: var(--color-on-dark);
  padding: 18px var(--space-8);
  border: none;
  font-size: 18px;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--dur-slow);
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand-strong);
}

.submit-btn:active {
  transform: translateY(0);
}

.btn-icon {
  transition: transform var(--dur) var(--ease);
}

.submit-btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Form Status */
.form-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-5);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: var(--color-on-dark);
  border-radius: var(--radius-md);
  margin-top: var(--space-5);
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.form-status i {
  font-size: 20px;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   12. Clinical Authority Footer System (Unified across all pages)
   -------------------------------------------------------------------------- */
footer,
.site-footer {
  background-color: #0b192c;
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
  font-size: var(--fs-body);
  text-align: left;
}

.footer-top-strip {
  background: linear-gradient(90deg, #071322 0%, #0d223a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-strip-col {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-strip-col i {
  font-size: 26px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.footer-strip-col strong {
  display: block;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.footer-strip-col p {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.4;
}

.footer-main {
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1.2fr 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 18px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 22px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badges .badge-pill {
  background: rgba(0, 191, 166, 0.12);
  border: 1px solid rgba(0, 191, 166, 0.3);
  color: #5eead4;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: 0.02em;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--brand-primary);
  margin-top: 8px;
  border-radius: 2px;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
  display: inline-block;
}

.footer-nav li a:hover {
  color: var(--brand-primary);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-contact-list li i {
  color: var(--brand-primary);
  width: 18px;
  text-align: center;
  font-size: 15px;
  flex-shrink: 0;
}

.footer-contact-list li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-contact-list li a:hover {
  color: #ffffff;
}

.footer-social-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 50%;
  font-size: 16px;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
}

.footer-social-row a:hover {
  background: var(--brand-primary);
  color: #0b192c;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--brand-glow);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  margin-top: 16px;
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--brand-primary);
  padding: 12px 18px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}

.footer-disclaimer p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-disclaimer strong {
  color: #e2e8f0;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-row .copyright {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #94a3b8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-legal-links a:hover {
  color: var(--brand-primary);
}

@media (max-width: 1024px) {
  .footer-strip-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* --------------------------------------------------------------------------
   13. Floating WhatsApp Action Button (Global)
   -------------------------------------------------------------------------- */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-mobile-cta);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: #ffffff !important;
  text-decoration: none;
  padding: 12px 20px 12px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

.whatsapp-float-btn:hover {
  background-color: #20ba5a;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #ffffff !important;
}

.whatsapp-float-btn i {
  font-size: 1.5rem;
  line-height: 1;
}

.whatsapp-float-btn span {
  display: inline-block;
  white-space: nowrap;
}

/* Backward-compatible alias for legacy .mobile-cta */
.mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
    padding: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    justify-content: center;
  }

  .whatsapp-float-btn span {
    display: none;
  }

  .whatsapp-float-btn i {
    font-size: 1.7rem;
  }
}

/* --------------------------------------------------------------------------
   14. Scrollbars
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #e0e0e0;
}

::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* Scrollbar Styling for Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #888 #e0e0e0;
}

/* --------------------------------------------------------------------------
   15. Hero mobile adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: var(--space-8) var(--space-5);
  }

  .hero-container {
    flex-direction: column;
    gap: var(--space-5);
  }

  .hero-text,
  .hero-image {
    max-width: 100%;
  }

  .hero-image img {
    max-width: 90%;
    margin: 0 auto;
  }

  .cta-btn {
    width: 100%;
    padding: var(--space-4) var(--space-5);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: var(--space-3);
  }

  .hero-actions .cta-btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   16. Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
  padding: var(--space-20) var(--space-5);
  background: linear-gradient(135deg, var(--surface-tint-start) 0%, var(--surface-tint-end) 100%);
  text-align: center;
}

.testimonials h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink-800);
  margin-bottom: var(--space-10);
}

.testimonial-carousel {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.testimonial {
  min-width: 100%;
  padding: var(--space-10) var(--space-10);
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--brand-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity var(--dur-slow) ease-in-out;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  display: block;
  font-size: 3.5rem;
  line-height: 0.8;
  color: var(--brand-primary);
  opacity: 0.35;
  font-family: Georgia, serif;
  margin-bottom: var(--space-3);
}

.testimonial.active {
  opacity: 1;
}

.testimonial p {
  font-size: var(--fs-lead);
  line-height: 1.75;
  color: var(--ink-650);
  font-style: italic;
}

.testimonial h4 {
  margin-top: var(--space-6);
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--brand-primary-deep);
}

@media (max-width: 768px) {
  .testimonial {
    padding: var(--space-7) var(--space-6);
  }
}

/* Dots for navigation - <button> in markup, so UA styles are reset and the
   hit area is grown to >=28px via a pseudo-element while the visible dot
   stays small. */
.carousel-dots {
  text-align: center;
  margin-top: var(--space-3);
  padding: var(--space-2) 0;
  line-height: 0;
}

.carousel-dots .dot {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0 var(--space-2);
  cursor: pointer;
  font: inherit;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ccc;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

/* Invisible 28x28 touch target centred on the dot */
.carousel-dots .dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.carousel-dots .dot:hover {
  background-color: #b0b0b0;
}

.carousel-dots .dot.active {
  background-color: var(--brand-primary-dark);
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   17. Grants and Incubation
   -------------------------------------------------------------------------- */
.grants-incubation {
  padding: var(--space-20) 0;
  background-color: var(--surface-alt);
  text-align: center;
}

.section-title h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: var(--space-10);
  position: relative;
  display: inline-block;
}

.section-title h3::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-primary-dark));
  border-radius: 2px;
  margin: 10px auto 0;
}

.logo-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

.logo-container {
  width: 160px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--surface-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) ease-in-out;
}

.logo-container img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.logo-container:hover {
  transform: scale(1.1);
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .logo-grid {
    gap: var(--space-4);
  }

  .logo-container {
    width: 120px;
    height: 100px;
  }
}

/* --------------------------------------------------------------------------
   18. FAQ Section
   Supports BOTH the legacy markup
     .faq-question > h3 + .faq-icon
   and the accessible markup
     h3.faq-item-title > button.faq-question[aria-expanded]
        > .faq-question-text + .faq-icon
   -------------------------------------------------------------------------- */
.faq-section {
  background: linear-gradient(135deg, var(--surface-tint-start) 0%, var(--surface-tint-end) 100%);
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-rule) 50%, transparent 100%);
}

.faq-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.faq-header h2 {
  font-size: var(--fs-h2); /* was 3.5em - as large as the hero h1 */
  line-height: 1.15;
  color: var(--ink-800);
  margin-bottom: var(--space-5);
  font-weight: 700;
  position: relative;
}

.faq-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  border-radius: var(--radius-xs);
}

.faq-header p {
  font-size: var(--fs-lead);
  color: var(--ink-500);
  max-width: 600px;
  margin: 0 auto;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.faq-item {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  position: relative;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.faq-item.active {
  box-shadow: var(--shadow-brand);
  border-color: var(--brand-tint-mid);
}

/* The <h3> that wraps the button must be layout-neutral */
.faq-item-title {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

/* Works as either a <div> or a full-width <button> */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-6) var(--space-8);
  background: none;
  border: 0;
  border-radius: inherit;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background var(--dur) var(--ease);
  position: relative;
}

.faq-question:hover {
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
}

/* Question typography - legacy h3 and the new span carry the same look */
.faq-question h3,
.faq-question-text {
  font-size: var(--fs-h4);
  color: var(--ink-800);
  margin: 0;
  font-weight: 600;
  flex: 1;
  padding-right: var(--space-5);
  line-height: 1.4;
}

.faq-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-on-dark);
  font-size: 16px;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
  flex-shrink: 0;
}

/* Rotation driven off BOTH the legacy class and aria-expanded */
.faq-item.active .faq-icon,
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary) 100%);
}

/* Collapse/expand.
   Fallback: a generous max-height (the old 200px cap clipped silently).
   Preferred: grid-template-rows 0fr -> 1fr, which has no height cap at all. */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  background: var(--surface-subtle);
}

/* Separate rules on purpose: if a browser lacks :has() support, an invalid
   selector inside a comma list would drop the whole rule. */
.faq-item.active > .faq-answer {
  max-height: 1200px;
}

.faq-item:has(.faq-question[aria-expanded="true"]) > .faq-answer {
  max-height: 1200px;
}

.faq-answer p {
  /* Padding is driven entirely by these two custom properties, and narrower
     breakpoints only re-declare the properties - never the `padding`
     shorthand. A shorthand override would re-introduce bottom padding at rest
     and stop the collapsed grid row from reaching zero height. */
  --faq-px: var(--space-8);
  --faq-pb: var(--space-8);
  padding-top: 0;
  padding-left: var(--faq-px);
  padding-right: var(--faq-px);
  padding-bottom: var(--faq-pb);
  margin: 0;
  color: var(--ink-600);
  line-height: 1.7;
  font-size: var(--fs-body);
}

/* Preferred technique: a 0fr -> 1fr grid track, which has no height cap and so
   cannot clip as answers grow. The answer's own bottom padding has to be
   animated alongside the track, otherwise it keeps the collapsed row from
   reaching zero height. */
@supports (grid-template-rows: 0fr) {
  .faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    max-height: none;
    overflow: hidden;
    transition: grid-template-rows 0.35s var(--ease);
  }

  .faq-answer > * {
    overflow: hidden;
    min-height: 0;
  }

  .faq-answer p {
    padding-bottom: 0;
    transition: padding-bottom 0.35s var(--ease);
  }

  .faq-item.active > .faq-answer {
    grid-template-rows: 1fr;
    max-height: none;
  }

  .faq-item.active > .faq-answer p {
    padding-bottom: var(--faq-pb);
  }

  .faq-item:has(.faq-question[aria-expanded="true"]) > .faq-answer {
    grid-template-rows: 1fr;
    max-height: none;
  }

  .faq-item:has(.faq-question[aria-expanded="true"]) > .faq-answer p {
    padding-bottom: var(--faq-pb);
  }
}

/* Mobile Responsive for FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: var(--space-16) 0;
  }

  .faq-header p {
    padding: 0 var(--space-5);
  }

  .faq-container {
    padding: 0 var(--space-5);
    gap: var(--space-4);
  }

  .faq-question {
    padding: var(--space-5);
    gap: var(--space-3);
  }

  .faq-question h3,
  .faq-question-text {
    padding-right: var(--space-4);
  }

  .faq-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .faq-answer p {
    --faq-px: var(--space-5);
    --faq-pb: var(--space-5);
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: var(--space-4);
  }

  .faq-icon {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   19. Mobile Responsive for Enhanced Contact Form
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .contact-section {
    padding: var(--space-16) 0;
  }

  .contact-header {
    margin-bottom: var(--space-10);
  }

  .contact-header p {
    padding: 0 var(--space-5);
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    padding: 0 var(--space-5);
  }

  .contact-info {
    order: 2;
  }

  .contact-form {
    order: 1;
    padding: var(--space-8) var(--space-5);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: var(--space-5);
  }

  .input-wrapper input,
  .input-wrapper textarea {
    padding: var(--space-3) var(--space-3) var(--space-3) var(--space-10);
    font-size: 16px;
  }

  .submit-btn {
    padding: var(--space-4) var(--space-6);
    font-size: 16px;
  }

  .contact-item {
    padding: var(--space-5);
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .contact-arrow {
    display: none;
  }

  .contact-action {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: var(--space-6) var(--space-4);
  }

  .contact-item {
    padding: var(--space-4);
  }
}

/* --------------------------------------------------------------------------
   19B. Clinical Upgrades: Screener, Axial Chart, Device Showcase, Pathways
   -------------------------------------------------------------------------- */

/* --- Dual-Audience Pathways Strip --- */
.pathway-strip {
  padding: 40px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-hairline);
}

.pathway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pathway-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.pathway-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand-primary);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.pathway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 191, 166, 0.12);
  border-color: rgba(0, 191, 166, 0.35);
}

.pathway-card:hover::before {
  opacity: 1;
}

.pathway-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0, 191, 166, 0.1);
  color: var(--brand-primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.pathway-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 4px;
}

.pathway-info p {
  font-size: 0.92rem;
  color: var(--ink-600);
  margin: 0;
  line-height: 1.45;
}

.pathway-arrow {
  margin-left: auto;
  color: var(--brand-primary);
  font-size: 18px;
  transition: transform var(--dur) var(--ease);
}

.pathway-card:hover .pathway-arrow {
  transform: translateX(5px);
}

/* --- Redesigned Split "Myopia Crisis & Axial Progression" --- */
.progression-section {
  padding: 88px 0;
  background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 50%, #ffffff 100%);
  border-bottom: 1px solid var(--border-hairline);
}

.progression-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.progression-content h2 {
  font-size: var(--fs-h2);
  color: var(--ink-900);
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 700;
}

.progression-content .section-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-primary-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.progression-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-650);
  margin-bottom: 20px;
}

.progression-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.progression-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink-700);
}

.progression-points li i {
  color: #00826D;
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Axial Length SVG Chart Card */
.axial-chart-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: 0 14px 40px rgba(15, 42, 63, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.axial-chart-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 6px;
  text-align: center;
}

.axial-chart-card .chart-sub {
  font-size: 0.85rem;
  color: var(--ink-500);
  text-align: center;
  margin-bottom: 24px;
}

.chart-svg-wrap {
  width: 100%;
  margin-bottom: 20px;
}

.chart-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-legend-box {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--border-hairline);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.legend-line {
  width: 24px;
  height: 4px;
  border-radius: 2px;
}

.legend-line.red { background-color: #ef4444; }
.legend-line.teal { background-color: #00BFA6; }

/* --- Interactive Child Myopia Screener Widget --- */
.screener-section {
  padding: 88px 0;
  background-color: #ffffff;
}

.screener-box {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 191, 166, 0.25);
  box-shadow: 0 16px 48px rgba(0, 191, 166, 0.1);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}

.screener-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #00BFA6, #00826D, #0b2545);
}

.screener-header {
  text-align: center;
  margin-bottom: 36px;
}

.screener-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
}

.screener-header p {
  font-size: 1.05rem;
  color: var(--ink-500);
  margin: 0 auto;
  max-width: 620px;
}

.screener-step {
  margin-bottom: 30px;
}

.screener-step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-800);
  margin-bottom: 14px;
}

.screener-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-primary-surface);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.screener-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.screener-btn {
  background: #ffffff;
  border: 2px solid var(--border-input);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-700);
  cursor: pointer;
  text-align: center;
  transition: all var(--dur) var(--ease);
  font-family: inherit;
}

.screener-btn:hover {
  border-color: var(--brand-primary);
  background-color: rgba(0, 191, 166, 0.05);
}

.screener-btn.selected {
  border-color: var(--brand-primary-surface);
  background: linear-gradient(135deg, rgba(0, 191, 166, 0.12) 0%, rgba(0, 130, 109, 0.15) 100%);
  color: var(--brand-primary-deep);
  font-weight: 600;
}

.screener-result-card {
  margin-top: 32px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b192c 0%, #152e4d 100%);
  color: #ffffff;
  display: none;
  animation: fadeInScreener 0.4s ease forwards;
}

@keyframes fadeInScreener {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.screener-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.screener-badge {
  background: #ef4444;
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.screener-result-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.screener-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all var(--dur) var(--ease);
}

.screener-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
}

/* --- V-HAB 660nm Device Feature Showcase --- */
.device-spotlight-section {
  padding: 88px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-hairline);
}

.device-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.device-visual-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 42, 63, 0.15);
  background: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.device-visual-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.device-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(11, 25, 44, 0.95) 0%, rgba(11, 25, 44, 0.4) 60%, transparent 100%);
  color: #ffffff;
}

.device-visual-overlay h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.device-visual-overlay p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0;
}

.device-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.device-feature-item {
  display: flex;
  gap: 18px;
  padding: 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-xs);
  transition: all var(--dur) var(--ease);
}

.device-feature-item:hover {
  transform: translateX(6px);
  border-color: rgba(0, 191, 166, 0.4);
  box-shadow: var(--shadow-md);
}

.device-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 191, 166, 0.1);
  color: var(--brand-primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.device-feature-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 4px;
}

.device-feature-item p {
  font-size: 0.92rem;
  color: var(--ink-600);
  margin: 0;
  line-height: 1.5;
}

/* --- Connected Timeline for "How V-HAB Works" --- */
.how-steps-connected {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
}

.how-steps-connected::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--brand-primary) 0, var(--brand-primary) 12px, transparent 12px, transparent 20px);
  z-index: 0;
}

.how-steps-connected .how-step {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .how-steps-connected {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .how-steps-connected::before {
    display: none;
  }

  .pathway-grid {
    grid-template-columns: 1fr;
  }

  .progression-grid {
    grid-template-columns: 1fr;
  }

  .device-spotlight-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   20. Accessibility - focus visibility
   Kept last so it wins over component-level `outline: none`.
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: var(--focus-width) solid var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.input-wrapper input:focus-visible,
.input-wrapper textarea:focus-visible {
  outline: var(--focus-width) solid var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* Light-on-dark variant for dark hero / services / overlay surfaces */
.hero-section a:focus-visible,
.hero-section button:focus-visible,
.services-section a:focus-visible,
.services-section button:focus-visible,
.about-hero a:focus-visible,
.gallery-hero a:focus-visible,
.myopia-hero a:focus-visible,
.myopia-cta a:focus-visible,
.hero-overlay a:focus-visible,
.whatsapp-float-btn:focus-visible,
.mobile-cta:focus-visible,
.nav-links.nav-active a:focus-visible,
.nav-links.nav-active .close-btn:focus-visible,
.close-btn:focus-visible {
  outline: var(--focus-width) solid var(--focus-ring-on-dark);
  outline-offset: var(--focus-offset);
}

/* --------------------------------------------------------------------------
   21. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto !important;
  }

  .hero-text h1,
  .hero-text p,
  .myopia-text,
  .scroll-indicator i {
    animation: none !important;
  }

  .service-box:hover,
  .faq-item:hover,
  .contact-item:hover,
  .logo-container:hover,
  .view-more-btn:hover,
  .submit-btn:hover,
  .how-step:hover,
  .nav-links .nav-cta:hover,
  .carousel-dots .dot.active {
    transform: none !important;
  }
}
