@charset "UTF-8";
/* =========================================================================
   KRISHNA DENTAL CLINIC — Premium Design System
   Shared across all pages. Loaded via link in each HTML file.
   ========================================================================= */

:root {
  /* ======================================================
     KRISHNA DENTAL CLINIC THEME
     ====================================================== */

  /* Brand Colors */
  --c-primary: #0891B2;
  --c-primary-dark: #0F4C81;
  --c-primary-light: #38BDF8;

  --c-secondary: #164E9C;
  --c-secondary-light: #3B82F6;

  --c-accent: #D4A24C;
  --c-accent-light: #F5C96B;

  --c-success: #16A34A;
  --c-warning: #F59E0B;
  --c-error: #DC2626;

  --c-bg: #FFFFFF;
  --c-white: #FFFFFF;

  --c-text: #0F172A;
  --c-gray: #475569;
  --c-gray-light: #94A3B8;

  /* ======================================================
     SURFACES
     ====================================================== */

  --surface: #FFFFFF;
  --surface-2: #F8FCFF;
  --surface-3: #EEF8FC;
  --surface-4: #E0F7FA;

  --border: #DCECF4;
  --border-strong: #C3D9E6;

  /* ======================================================
     GRADIENTS
     ====================================================== */

  --grad-primary:
      linear-gradient(
      135deg,
      #0F4C81 0%,
      #0891B2 45%,
      #38BDF8 100%);

  --grad-secondary:
      linear-gradient(
      135deg,
      #164E9C 0%,
      #2563EB 100%);

  --grad-gold:
      linear-gradient(
      135deg,
      #C9973E 0%,
      #F5C96B 100%);

  --grad-soft:
      linear-gradient(
      180deg,
      #F8FCFF 0%,
      #FFFFFF 100%);

  --grad-hero:
      radial-gradient(
      1200px 550px at 90% 0%,
      rgba(8,145,178,.12),
      transparent 60%),

      radial-gradient(
      700px 400px at 5% 15%,
      rgba(59,130,246,.08),
      transparent 50%),

      linear-gradient(
      180deg,
      #FFFFFF 0%,
      #F7FCFF 100%);

  /* ======================================================
     SHADOWS
     ====================================================== */

  --shadow-sm:
      0 2px 6px rgba(15,76,129,.05);

  --shadow-md:
      0 10px 24px rgba(15,76,129,.08);

  --shadow-lg:
      0 24px 48px rgba(15,76,129,.12);

  --shadow-xl:
      0 40px 80px rgba(15,76,129,.15);

  --shadow-glow:
      0 0 0 1px rgba(8,145,178,.15),
      0 20px 50px rgba(8,145,178,.20);

  /* ======================================================
     BORDER RADIUS
     ====================================================== */

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 42px;
  --r-pill: 999px;

  /* ======================================================
     LAYOUT
     ====================================================== */

  --content-width: 100%;
  --page-pad-x: 10%;

  --container: none;
  --container-wide: none;

  --nav-h: 84px;

  /* ======================================================
     TYPOGRAPHY
     ====================================================== */

  --font:
      "Plus Jakarta Sans",
      system-ui,
      sans-serif;

  --fs-hero:
      clamp(2.8rem, 6vw, 5rem);

  --fs-h1:
      clamp(2.2rem, 4vw, 3.5rem);

  --fs-h2:
      clamp(1.8rem, 3vw, 2.7rem);

  --fs-h3:
      clamp(1.35rem, 2vw, 1.7rem);

  --fs-body: 1.05rem;
  --fs-sm: .9rem;
  --fs-xs: .8rem;

  --ease:
      cubic-bezier(.22,1,.36,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6em; color: var(--c-text); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; color: var(--c-gray); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
section { position: relative; }
#doctors, #treatments { scroll-margin-top: calc(var(--nav-h) + 16px); }
::selection { background: rgba(20,184,166,.22); color: var(--c-primary-dark); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Full-width containers with side padding — always fills screen, no left-gap bug.
   Desktop pad = 10% each side → ~80% content. Mobile uses smaller fixed pads. */
.container,
.container-wide,
div.container,
div.container-wide {
  width: 100% !important;
  max-width: none;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--page-pad-x) !important;
  padding-right: var(--page-pad-x) !important;
  box-sizing: border-box !important;
}

/* Section vertical spacing only — backgrounds/waves stay full-bleed */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }

/* Prevent horizontal scroll / right-side blank caused by overflowing children */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
img, video, iframe, svg { max-width: 100%; }
.hero { overflow: hidden; }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-primary); padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(20,184,166,.1); border: 1px solid rgba(20,184,166,.18);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary-light); box-shadow: 0 0 0 4px rgba(20,184,166,.18); }

/* Gradient text */
.text-grad {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r-pill); font-weight: 700; font-size: .98rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 10px 30px -8px rgba(15,118,110,.5); }
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(15,118,110,.62); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--c-text); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--c-primary); border: 1.5px solid rgba(15,118,110,.35); }
.btn-outline:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn-white { background: #fff; color: var(--c-primary-dark); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn .ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.45); animation: ripple .6s ease-out; pointer-events: none; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* Magnetic wrapper */
.magnetic { display: inline-block; }

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(20,184,166,.3); }
.card-pad { padding: 32px; }

/* Glass */
.glass {
  background: rgba(255,255,255,.7); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.5); box-shadow: var(--shadow-lg);
}

/* Badge */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; }
.badge-soft { background: rgba(99,102,241,.12); color: var(--c-primary); }
.badge-success { background: rgba(99,102,241,.18); color: var(--c-primary-dark); }
.badge-warn { background: rgba(245,158,11,.14); color: var(--c-warning); }
.badge-accent { background: rgba(236,72,153,.14); color: var(--c-accent); }

/* Icon tile */
.icon-tile {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.4rem; color: #fff; background: var(--grad-primary); box-shadow: 0 10px 24px -8px rgba(15,118,110,.45);
}
.icon-tile.soft { background: var(--grad-soft); color: var(--c-primary); box-shadow: none; border: 1px solid rgba(20,184,166,.2); }

/* Blob */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; pointer-events: none; }
.blob-teal { background: radial-gradient(circle, rgba(20,184,166,.5), transparent 70%); }
.blob-cyan { background: radial-gradient(circle, rgba(6,182,212,.4), transparent 70%); }
.blob-mint { background: radial-gradient(circle, rgba(16,185,129,.35), transparent 70%); }

/* =========================================================================
   PRELOADER
   ========================================================================= */
#preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: var(--c-bg); transition: opacity .2s ease, visibility .2s;
  animation: sdc-preloader-out .2s ease .1s forwards;
  pointer-events: none;
}
@keyframes sdc-preloader-out {
  to { opacity: 0; visibility: hidden; }
}
#preloader.hide { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-ring {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  border: 3px solid rgba(20,184,166,.2); border-top-color: var(--c-primary);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.preloader-logo { display: flex; justify-content: center; align-items: center; }
.preloader-logo .site-logo {
  height: 78px;
  width: auto;
  max-width: min(280px, 70vw);
  margin: 0 auto;
  display: block;
  object-fit: contain;
}
.preloader-bar { width: 180px; height: 4px; margin: 16px auto 0; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.preloader-bar > i { display: block; height: 100%; width: 0; background: var(--grad-primary); transition: width .2s; }

/* =========================================================================
   SCROLL PROGRESS
   ========================================================================= */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 9000;
  background: var(--grad-primary); box-shadow: 0 0 12px rgba(20,184,166,.6);
}

/* =========================================================================
   NAVBAR
   ========================================================================= */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center; transition: background .4s, box-shadow .4s, height .3s;
}
#navbar .container,
#navbar .container-wide {
  width: var(--content-width);
}
#navbar.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(16px) saturate(160%); box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--c-text); flex-shrink: 0; }
.nav-logo .site-logo {
  height: 52px;
  width: auto;
  max-width: min(240px, 52vw);
  display: block;
  object-fit: contain;
}
.footer-brand .nav-logo .site-logo {
  height: 64px;
  max-width: 280px;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a, .nav-links > li > button {
  padding: 10px 14px; border-radius: 10px; font-size: .92rem; font-weight: 600; color: var(--c-text);
  display: inline-flex; align-items: center; gap: 6px; transition: color .25s, background .25s;
}
.nav-links > li > a:hover, .nav-links > li > button:hover { color: var(--c-primary); background: rgba(20,184,166,.08); }
.nav-links .has-mega { position: relative; }
.nav-links .has-mega > button .caret { font-size: .7rem; transition: transform .3s; }
.nav-links .has-mega:hover > button .caret { transform: rotate(180deg); }

/* Mega menu — compact, stays within viewport */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(920px, 92vw); padding: 14px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xl);
  opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  max-height: min(68vh, calc(100vh - var(--nav-h) - 28px));
  overflow-y: auto; overscroll-behavior: contain;
}
.nav-links .has-mega:hover .mega, .nav-links .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; transition: background .25s; }
.mega a:hover { background: var(--surface-2); }
.mega .mi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); color: var(--c-primary); flex-shrink: 0; font-size: .9rem; }
.mega .mt { font-weight: 700; font-size: .88rem; color: var(--c-text); line-height: 1.25; }
.mega .md { display: none; }
.mega-foot { grid-column: 1/-1; margin-top: 6px; padding: 12px 4px 2px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; position: sticky; bottom: 0; background: var(--surface); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--c-text); border: 1px solid var(--border); transition: color .25s, background .25s; }
.theme-toggle:hover { color: var(--c-primary); }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); place-items: center; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--c-text); border-radius: 2px; position: relative; transition: .3s; }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--c-text); border-radius: 2px; transition: .3s; }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
.nav-burger.open span { background: transparent; }
.nav-burger.open span::before { top: 0; transform: rotate(45deg); }
.nav-burger.open span::after { top: 0; transform: rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999; background: var(--c-bg);
  padding: 24px var(--page-pad-x); overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease);
}
#mobile-menu.open { transform: translateX(0); }
.mm-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-weight: 700; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
.mm-link .chev { transition: transform .3s; }
.mm-sub { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.mm-sub.open { max-height: 600px; }
.mm-sub a { display: block; padding: 12px 16px; font-size: .95rem; color: var(--c-gray); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: var(--nav-h); background: var(--grad-hero); overflow: hidden; }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; line-height: 1.05; }
.hero-visual { position: relative; }
.hero-img-wrap { position: relative; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card { position: absolute; padding: 14px 18px; border-radius: 18px; display: flex; align-items: center; gap: 12px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.stat {
  padding: 18px 14px;
  text-align: center;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;
  width: 1px;
  height: 64%;
  background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
}
.stat .num {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat .label {
  font-size: .78rem;
  color: var(--c-gray);
  font-weight: 600;
  line-height: 1.3;
}

/* Trust strip */
.trust-section {
  padding: 0 0 clamp(28px, 4vw, 48px);
  margin-top: -8px;
  position: relative;
  z-index: 3;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, #F0FDFA 0%, #FFFFFF 45%, #ECFEFF 100%);
  border: 1px solid rgba(20,184,166,.18);
  box-shadow: var(--shadow-md);
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--c-text);
  font-weight: 700;
  font-size: .88rem;
  text-align: left;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.trust-item:hover {
  transform: translateY(-3px);
  border-color: rgba(20,184,166,.35);
  box-shadow: var(--shadow-sm);
}
.trust-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--c-primary);
  background: rgba(20,184,166,.12);
  font-size: 1rem;
}

/* Wave divider */
.wave-divider { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.wave-divider svg { display: block; width: 100%; height: auto; }

/* =========================================================================
   GENERIC SECTION HELPERS
   ========================================================================= */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; }

/* Feature card */
.feature { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(20,184,166,.3); }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { font-size: .96rem; margin: 0; }

/* Treatment card */
.tcard { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .45s var(--ease), box-shadow .45s; }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tcard-img { aspect-ratio: 16/11; overflow: hidden; position: relative; }
.tcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tcard:hover .tcard-img img { transform: scale(1.08); }
.tcard-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,.55)); }
.tcard-badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.tcard-body { padding: 22px; display: flex; flex-direction: column; }
.tcard-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tcard-body p { font-size: .92rem; margin-bottom: 14px; flex: 1; }
.tcard-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--c-primary); }
.tcard-link .arr { transition: transform .3s; }
.tcard:hover .tcard-link .arr { transform: translateX(4px); }
.tcard .tcard-book,
.symptom-card .tcard-book {
  margin-top: auto; align-self: flex-start;
}
.symptom-card .tcard-book { margin-top: 14px; }

/* Doctor flip card */
.flip { perspective: 1400px; height: 460px; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform .7s var(--ease); transform-style: preserve-3d; }
.flip:hover .flip-inner, .card-flip-hover .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.flip-back { transform: rotateY(180deg); padding: 28px; display: flex; flex-direction: column; justify-content: center; background: var(--surface); border: 1px solid var(--border); }
.flip-front img { width: 100%; height: 100%; object-fit: cover; }
.flip-front .flip-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,23,42,.78)); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; }

/* Testimonial card */
.review {
  padding: 28px; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; height: 100%; box-sizing: border-box;
}
.review .stars { color: #F59E0B; margin-bottom: 12px; letter-spacing: 2px; }
.review p {
  font-size: 1rem; color: var(--c-text); margin-bottom: 18px;
  flex: 1; display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5;
  -webkit-box-orient: vertical; overflow: hidden;
}
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review-author .name { font-weight: 700; color: var(--c-text); }
.review-author .meta { font-size: .82rem; color: var(--c-gray); }

#reviewSwiper .swiper-wrapper { align-items: stretch; }
#reviewSwiper .swiper-slide { height: auto; display: flex; }
#reviewSwiper .swiper-slide .review { width: 100%; }

#allReviews { align-items: stretch; }
#allReviews .review { min-height: 220px; }

/* Process timeline */
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--c-primary), var(--c-accent)); }
.tl-item { position: relative; padding-left: 64px; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-num { position: absolute; left: 0; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad-primary); box-shadow: 0 8px 20px -6px rgba(15,118,110,.5); }

/* Pricing */
.price-card { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--c-primary); box-shadow: var(--shadow-glow); transform: scale(1.02); }
.price-amt { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }
.price-amt small { font-size: 1rem; font-weight: 600; color: var(--c-gray); }

/* Before/After slider */
.ba-slider {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); user-select: none;
  aspect-ratio: 4 / 3; background: #0f172a;
  container-type: size;
}
.ba-slider > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.ba-after {
  position: absolute; top: 0; left: 0; bottom: 0; width: 50%;
  overflow: hidden; z-index: 1;
}
.ba-after img {
  position: absolute; top: 0; left: 0;
  width: 100cqw; height: 100cqh; max-width: none;
  object-fit: cover; object-position: center; display: block;
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; width: 3px; background: #fff;
  cursor: ew-resize; box-shadow: 0 0 0 1px rgba(0,0,0,.1); z-index: 2;
}
.ba-handle .grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-lg); color: var(--c-primary);
}
.ba-label {
  position: absolute; top: 14px; padding: 5px 12px; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 700; background: rgba(15,23,42,.7); color: #fff; z-index: 3;
}
.ba-card .ba-slider { border-radius: 0; box-shadow: none; }
@supports not (width: 100cqw) {
  .ba-after img { width: 100%; height: 100%; min-width: 100%; }
}

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font-weight: 700; font-size: 1.02rem; text-align: left; color: var(--c-text); }
.faq-q .ic { transition: transform .35s; color: var(--c-primary); }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--c-gray); }

/* CTA banner */
.cta-banner { position: relative; border-radius: var(--r-2xl); padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 56px); background: var(--grad-primary); color: #fff; overflow: hidden; box-shadow: var(--shadow-xl); }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.9); }
.cta-banner .blob { opacity: .4; }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .88rem; color: var(--c-gray); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb .sep { opacity: .5; }

/* Page header */
.page-header { position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 48px; background: var(--grad-hero); overflow: hidden; }
.page-header h1 { font-size: var(--fs-h1); }

/* =========================================================================
   FLOATING BUTTONS
   ========================================================================= */
.fab-stack { position: fixed; right: 20px; bottom: 20px; z-index: 800; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; padding: 0; color: #fff; box-shadow: var(--shadow-lg); transition: transform .3s; font-size: 1.3rem; line-height: 1; text-align: center; }
.fab i { display: grid; place-items: center; width: 100%; height: 100%; line-height: 1; vertical-align: middle; }
.fab:hover { transform: scale(1.1); }
.fab-wa { background: #25D366; }
.fab-call { background: var(--grad-primary); }
.fab-top { background: var(--surface); color: var(--c-primary); border: 1px solid var(--border); }
.fab-book { position: fixed; left: 20px; bottom: 20px; z-index: 800; padding: 14px 22px; border-radius: var(--r-pill); background: var(--grad-primary); color: #fff; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-lg); display: inline-flex; align-items: center; gap: 8px; transition: transform .3s; }
.fab-book:hover { transform: translateY(-2px); }
.fab-pulse { position: relative; }
.fab-pulse::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s ease-out infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

/* =========================================================================
   MODAL — booking sheet (desktop card / mobile+tablet bottom sheet)
   ========================================================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
  overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal.book-modal {
  position: relative; width: min(100%, 480px);
  background: var(--surface);
  border-radius: 24px;
  padding: 28px 24px 22px;
  box-shadow: 0 28px 64px rgba(15, 76, 129, .22);
  transform: translateY(18px) scale(.98);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  max-height: min(88vh, 720px);
  max-height: min(88dvh, 720px);
  overflow-x: hidden; overflow-y: auto;
  margin: auto;
  border: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}
.modal-overlay.open .modal.book-modal { transform: translateY(0) scale(1); }

.book-modal-handle {
  display: none; width: 40px; height: 4px; border-radius: 99px;
  background: #cbd5e1; margin: 0 auto 14px;
}
.book-modal-head { padding-right: 40px; margin-bottom: 18px; }
.book-modal-head .eyebrow { margin-bottom: 10px; }
.book-modal-head h3 {
  margin: 0 0 6px; font-size: clamp(1.25rem, 3.5vw, 1.45rem); line-height: 1.2;
}
.book-modal-head p {
  margin: 0; font-size: .92rem; line-height: 1.45; color: var(--c-gray);
}
.book-modal-form .field { margin-bottom: 14px; }
.book-modal-form .field:last-of-type { margin-bottom: 0; }
.book-modal-form label .opt { font-weight: 500; color: var(--c-gray); text-transform: none; letter-spacing: 0; }
.book-modal-form input,
.book-modal-form select,
.book-modal-form textarea {
  width: 100%; padding: 13px 14px; border-radius: 14px;
  border: 1.5px solid var(--border); background: #F8FCFF; color: var(--c-text);
  font-size: 16px; line-height: 1.35; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.book-modal-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230891B2' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.book-modal-form textarea { resize: vertical; min-height: 84px; max-height: 140px; }
.book-modal-form input:focus,
.book-modal-form select:focus,
.book-modal-form textarea:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(8, 145, 178, .14); background: #fff;
}
.modal-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-form-row .field { margin-bottom: 14px; }
.book-modal-foot { margin-top: 18px; }
.book-modal-submit {
  width: 100%; min-height: 52px; font-size: 1rem; border-radius: 999px;
  justify-content: center;
}
.modal-form-status { margin: 12px 0 0; font-size: .88rem; font-weight: 600; text-align: center; }
.modal-form-status.ok { color: var(--c-success, #16a34a); }
.modal-form-status.err { color: #dc2626; }
.book-modal-call {
  text-align: center; margin: 12px 0 0; font-size: .84rem; color: var(--c-gray);
}
.book-modal-call a { color: var(--c-primary); font-weight: 700; }

.modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--c-gray); border: 1px solid var(--border);
  cursor: pointer; z-index: 3; transition: background .2s, color .2s;
}
.modal-close:hover { background: rgba(8,145,178,.1); color: var(--c-primary); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
body.modal-open { overflow: hidden; touch-action: none; }
body.modal-open .fab-stack,
body.modal-open .fab-book { display: none !important; }

/* Tablet + phone: bottom sheet */
@media (max-width: 900px) {
  .modal-overlay {
    align-items: flex-end; justify-content: stretch;
    padding: 0;
  }
  .modal.book-modal {
    width: 100%; max-width: 100%;
    max-height: min(94vh, 940px);
    max-height: min(94dvh, 940px);
    margin: 0;
    border-radius: 22px 22px 0 0;
    border: none; border-top: 1px solid var(--border);
    padding: 10px 18px calc(16px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    box-shadow: 0 -12px 40px rgba(15, 76, 129, .16);
  }
  .modal-overlay.open .modal.book-modal { transform: translateY(0); }
  .book-modal-handle { display: block; }
  .modal-close { top: 10px; right: 12px; width: 38px; height: 38px; }
  .book-modal-head { margin-bottom: 14px; padding-right: 44px; }
  .book-modal-head h3 { font-size: 1.28rem; }
  .book-modal-head p { font-size: .88rem; }
  .modal-form-row { grid-template-columns: 1fr; gap: 0; }
  .book-modal-form .field { margin-bottom: 12px; }
  .book-modal-form label { font-size: .84rem; margin-bottom: 6px; }
  .book-modal-foot {
    position: sticky; bottom: 0; z-index: 2;
    margin-top: 8px; padding-top: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 28%);
  }
  .book-modal-submit { min-height: 50px; }
}

@media (max-width: 480px) {
  .modal.book-modal {
    padding-left: 16px; padding-right: 16px;
    max-height: min(96vh, 100%);
    max-height: min(96dvh, 100%);
  }
  .book-modal-head h3 { font-size: 1.2rem; }
  .book-modal-form textarea { min-height: 72px; max-height: 110px; }
}

@media (max-height: 700px) and (max-width: 900px) {
  .book-modal-head p { display: none; }
  .book-modal-form textarea { min-height: 60px; max-height: 90px; }
  .book-modal-head { margin-bottom: 10px; }
}

/* Search popup */
.search-popup { position: fixed; inset: 0; z-index: 9500; background: rgba(15,23,42,.7); backdrop-filter: blur(8px); display: grid; place-items: start center; padding-top: 12vh; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.search-popup.open { opacity: 1; visibility: visible; }
.search-box { width: 100%; max-width: 620px; background: var(--surface); border-radius: var(--r-lg); padding: 8px; box-shadow: var(--shadow-xl); display: flex; align-items: center; gap: 12px; transform: translateY(-20px); transition: transform .35s var(--ease); }
.search-popup.open .search-box { transform: translateY(0); }
.search-box input { flex: 1; border: none; background: none; padding: 16px 12px; font-size: 1.1rem; color: var(--c-text); outline: none; }
.search-results { width: 100%; max-width: 620px; margin-top: 12px; }
.search-results a { display: block; padding: 12px 18px; border-radius: 12px; color: var(--c-text); font-weight: 600; }
.search-results a:hover { background: var(--surface-2); }

/* =========================================================================
   FORMS
   ========================================================================= */
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .9rem; color: var(--c-text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--border);
  background: var(--surface-2); color: var(--c-text); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(20,184,166,.12); }
.field textarea { resize: vertical; min-height: 120px; }

/* =========================================================================
   FOOTER — light theme
   ========================================================================= */
.footer { background: #F8FAFC; color: var(--c-gray); padding-top: 72px; padding-bottom: 0; position: relative; overflow: hidden; border-top: 1px solid var(--border); }
.footer a { color: var(--c-gray); transition: color .25s; }
.footer a:hover { color: var(--c-primary-dark); }
.footer h4 { color: var(--c-text); font-size: 1rem; margin-bottom: 18px; letter-spacing: .02em; }
.footer-brand .nav-logo { margin-bottom: 18px; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: var(--c-gray-light); }
.footer-credit a { color: var(--c-primary-dark); font-weight: 700; }
.footer-credit a:hover { color: var(--c-primary); text-decoration: underline; }
.footer-blob { position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(20,184,166,.10), transparent 70%); filter: blur(60px); }
.social-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--c-gray); border: 1px solid var(--border); transition: background .25s, color .25s, transform .25s, border-color .25s; }
.social-btn:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); transform: translateY(-2px); }

/* =========================================================================
   UTILITIES
   ========================================================================= */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.relative { position: relative; }
.z-2 { position: relative; z-index: 2; }
.flex { display: flex; } .flex-col { flex-direction: column; }
.items-center { align-items: center; } .justify-center { justify-content: center; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.wrap { flex-wrap: wrap; }
.hidden { display: none; }
.rounded-full { border-radius: var(--r-pill); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Content must always be visible — AOS / reveal animations removed for speed */
[data-aos],
.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  pointer-events: auto !important;
}

/* =========================================================================
   RESPONSIVE
   Desktop keeps 10% side padding (~80% content).
   Tablet/phone switch to fixed padding so layout fills the screen cleanly.
   ========================================================================= */
@media (max-width: 1200px) {
  :root { --page-pad-x: 6%; }
}
@media (max-width: 1024px) {
  :root { --page-pad-x: 4%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .nav-cta .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 36px !important; }
  .grid-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (max-width: 900px) {
  .mega { grid-template-columns: repeat(2, 1fr); max-height: min(60vh, calc(100vh - var(--nav-h) - 24px)); }
}
@media (max-width: 768px) {
  :root { --page-pad-x: 20px; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }

  /* Force common inline 2-col grids to stack on mobile */
  #heroGrid,
  .hero-content,
  #baGrid,
  .form-row,
  .split-2 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Hero stacks and fills width */
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 48px;
  }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 16px 12px; }
  .stat:nth-child(2n)::after { display: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .hero-float-card { display: none !important; }
  .hero .btn-lg { width: 100%; }
  .hero .flex.gap-3 { width: 100%; }
  .hero .magnetic { width: 100%; display: block; }
  .hero .magnetic .btn { width: 100%; }

  .trust-section { padding-bottom: 28px; margin-top: 0; }
  .trust-strip {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }
  .trust-item { justify-content: flex-start; padding: 12px 14px; font-size: .9rem; }

  .cta-banner { padding: 32px 20px; }
  .fab-book { display: none; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .flip { height: 400px; }
  .section-head { margin-bottom: 36px; }
  .card-pad { padding: 22px; }
}
@media (max-width: 480px) {
  :root { --page-pad-x: 16px; }
  .stat .num { font-size: 1.45rem; }
  .stat .label { font-size: .72rem; }
  .fab-stack { right: 12px; bottom: 12px; }
  .fab { width: 48px; height: 48px; }
  .cta-banner { padding: 28px 16px; }
  .nav-logo .site-logo { height: 42px; max-width: min(180px, 48vw); }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .trust-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .trust-item:nth-child(1),
  .trust-item:nth-child(2),
  .trust-item:nth-child(3) { grid-column: span 2; }
  .trust-item:nth-child(4) { grid-column: 2 / span 2; }
  .trust-item:nth-child(5) { grid-column: 4 / span 2; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================================
   AUTHORITY PLATFORM — Extra sections (preserves existing theme)
   ========================================================================= */
.nav-links > li > a.active-nav,
.nav-links > li > button.active-nav { color: var(--c-primary); background: rgba(8,145,178,.08); }

.nav-links > li > a, .nav-links > li > button {
  padding: 8px 10px; font-size: .84rem;
}

.aeo-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.aeo-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--c-text); font-weight: 600; font-size: .95rem;
}
.aeo-list li i { color: var(--c-success); margin-top: 3px; flex-shrink: 0; }

.geo-quote {
  margin-top: 18px; padding: 18px 20px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(8,145,178,.08), rgba(59,130,246,.06));
  border-left: 4px solid var(--c-primary);
  color: var(--c-text); font-weight: 600; font-size: 1.02rem;
}

.sticky-card { position: sticky; top: calc(var(--nav-h) + 20px); }

.symptom-card {
  display: flex; flex-direction: column; gap: 14px; padding: 24px;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; height: 100%;
}
.symptom-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(8,145,178,.35); }
.symptom-card h3 { font-size: 1.1rem; margin: 0; }
.symptom-card p { font-size: .9rem; margin: 0; flex: 1; }

.journey-track {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; position: relative;
  max-width: 1100px; margin: 0 auto;
}
.journey-step {
  flex: 0 0 calc((100% - 48px) / 4);
  text-align: center; padding: 22px 14px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-sizing: border-box;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.journey-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.journey-step .js-num {
  width: 42px; height: 42px; margin: 0 auto 12px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad-primary);
}
.journey-step h3 { font-size: .98rem; margin-bottom: 6px; }
.journey-step p { font-size: .8rem; margin: 0; }

.tech-card {
  display: flex; flex-direction: column; gap: 0;
  padding: 28px; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--border); height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.tech-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tech-card > p { flex: 1; margin-bottom: 0; }
.tech-card .benefit {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px; width: 100%; box-sizing: border-box;
  min-height: 42px; padding: 10px 14px;
  border-radius: 12px;
  background: rgba(8,145,178,.1); color: var(--c-primary);
  font-size: .8rem; font-weight: 700; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tech-card .benefit i {
  flex-shrink: 0; font-size: .9rem; line-height: 1;
}

.filter-tabs {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px;
}
.filter-tabs button {
  padding: 10px 18px; border-radius: var(--r-pill); font-weight: 700; font-size: .88rem;
  background: var(--surface); border: 1px solid var(--border); color: var(--c-gray);
  transition: .25s;
}
.filter-tabs button.active,
.filter-tabs button:hover {
  background: var(--grad-primary); color: #fff; border-color: transparent;
}

.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ba-card { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.ba-card .ba-caption { padding: 16px 18px; }
.ba-card .ba-caption h3 { font-size: 1.05rem; margin-bottom: 4px; }
.ba-card .ba-caption p { font-size: .88rem; margin: 0; }

.case-card {
  padding: 28px; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-md); height: 100%;
}
.case-card .case-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0;
}
.case-card .case-meta div {
  padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border);
}
.case-card .case-meta strong { display: block; font-size: .75rem; color: var(--c-primary); margin-bottom: 4px; letter-spacing: .04em; text-transform: uppercase; }
.case-card .case-meta span { font-size: .88rem; color: var(--c-text); font-weight: 600; }

.doctor-cards-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
.doc-trust-card {
  display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden;
  max-width: none; width: 100%; margin: 0; height: 100%;
  border-radius: 22px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); align-items: stretch;
}
.doc-trust-card .doc-photo {
  border-radius: 0; overflow: hidden; width: 100%; height: 100%; min-height: 280px;
  background: var(--surface-2);
}
.doc-trust-card .doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doc-trust-card .doc-body {
  min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: 22px 22px 22px 20px;
}
.doc-trust-card .doc-body h3,
.doc-trust-card .doc-body h2 {
  font-size: 1.28rem; margin: 0; line-height: 1.2; letter-spacing: -.02em;
}
.doc-trust-card .doc-role {
  margin: 0; color: var(--c-primary); font-weight: 700; font-size: .92rem; line-height: 1.35;
}
.doc-trust-card .doc-bio {
  margin: 0; font-size: .88rem; line-height: 1.5; color: var(--c-gray);
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.doc-spec-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.doc-spec-tags span {
  display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px;
  background: rgba(8,145,178,.08); border: 1px solid rgba(8,145,178,.16);
  color: var(--c-primary-dark); font-size: .74rem; font-weight: 650; line-height: 1.2;
}
.doc-trust-card .doc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.doc-trust-card .doc-actions .btn { padding: 9px 14px; font-size: .82rem; }
.doc-cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0; }
.doc-cred-grid > div {
  padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: .8rem;
}
.doc-cred-grid strong { display: block; color: var(--c-primary); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }

.verified-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(22,163,74,.12); color: var(--c-success); font-size: .72rem; font-weight: 700;
}

.stat-band {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.stat-band .stat-item {
  text-align: center; padding: 28px 16px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.stat-band .stat-item .num { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; }
.stat-band .stat-item .label { font-size: .8rem; color: var(--c-gray); font-weight: 600; margin-top: 4px; }

.payment-logos {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.payment-logos span {
  padding: 10px 16px; border-radius: 12px; background: var(--surface);
  border: 1px solid var(--border); font-weight: 700; font-size: .85rem; color: var(--c-text);
}

.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chips span {
  padding: 10px 16px; border-radius: var(--r-pill); background: var(--surface);
  border: 1px solid var(--border); font-weight: 700; font-size: .88rem;
}

.final-cta-grid {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center;
}

.lightbox {
  position: fixed; inset: 0; z-index: 9600; background: rgba(15,23,42,.88);
  display: none; place-items: center; padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: min(960px, 92vw); max-height: 80vh; border-radius: 16px; object-fit: contain; }
.lightbox-cap { color: #fff; text-align: center; margin-top: 14px; font-weight: 600; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px; width: 44px; height: 44px;
  border-radius: 12px; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center;
}

.hero-dual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.hero-dual .hero-img-wrap { aspect-ratio: 4/5; }
.hero-dual .hero-img-wrap:last-child { aspect-ratio: 4/5; margin-top: 36px; }

.availability-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: var(--r-pill); background: rgba(22,163,74,.1); color: var(--c-success);
  font-weight: 700; font-size: .85rem; margin-bottom: 16px;
}
.availability-pill .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-success);
  box-shadow: 0 0 0 4px rgba(22,163,74,.2); animation: pulse 2s ease-out infinite;
}

@media (max-width: 1280px) {
  .nav-hide-md { display: none !important; }
}
@media (max-width: 1100px) {
  .stat-band { grid-template-columns: repeat(3, 1fr); }
  .journey-step { flex-basis: calc((100% - 32px) / 3); }
  .doctor-cards-grid { grid-template-columns: 1fr; }
  .doc-trust-card { grid-template-columns: 220px minmax(0, 1fr); max-width: 820px; margin: 0 auto; }
  .doc-trust-card .doc-photo { min-height: 240px; }
  .ba-grid { grid-template-columns: 1fr 1fr; }
  .final-cta-grid { grid-template-columns: 1fr; }
  .hero-dual .hero-img-wrap:last-child { margin-top: 0; }
}
@media (max-width: 768px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .journey-step { flex-basis: calc((100% - 16px) / 2); }
  .ba-grid { grid-template-columns: 1fr; }
  .doctor-cards-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .doc-trust-card { grid-template-columns: 1fr; }
  .doc-trust-card .doc-photo { min-height: 0; aspect-ratio: 1 / 1; max-height: 280px; }
  .doc-trust-card .doc-body { padding: 18px; }
  .doc-cred-grid { grid-template-columns: 1fr; }
  .case-card .case-meta { grid-template-columns: 1fr; }
}
