/*
 * Healthy Chest & Sleep Clinic — modern design system
 * Built fresh for a calm, premium hospital feel.
 */

/* ───────────────────── Reset & Tokens ───────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --ink-900:#08163A;
  --ink-800:#0E2150;
  --ink-700:#17306B;
  --ink-600:#1F3F8A;
  --brand-700:#1D4ED8;
  --brand-600:#2563EB;
  --brand-500:#3B82F6;
  --brand-100:#DBEAFE;
  --brand-50:#EFF6FF;
  --teal-700:#0F766E;
  --teal-500:#14B8A6;
  --teal-100:#CCFBF1;
  --mint:#E6FAF6;
  --rose-500:#F43F5E;
  --rose-100:#FFE4E6;
  --amber-500:#F59E0B;
  --amber-100:#FEF3C7;
  --indigo-500:#6366F1;
  --indigo-100:#E0E7FF;

  /* Surfaces */
  --bg:#FFFFFF;
  --bg-soft:#F4F7FC;
  --bg-mute:#EEF3FA;
  --surface:#FFFFFF;
  --surface-2:#F8FAFD;
  --border:#E2E8F0;
  --border-strong:#CBD5E1;
  --hairline:rgba(15,23,42,0.06);

  /* Text */
  --text-900:#0B1220;
  --text-800:#1E293B;
  --text-700:#334155;
  --text-600:#475569;
  --text-500:#64748B;
  --text-400:#94A3B8;
  --text-300:#CBD5E1;
  --on-ink:#E5ECFB;

  /* Typography */
  --font-sans:'Inter','Plus Jakarta Sans',ui-sans-serif,system-ui,sans-serif;
  --font-display:'Plus Jakarta Sans','Inter',ui-sans-serif,system-ui,sans-serif;

  /* Radii */
  --r-xs:8px;
  --r-sm:12px;
  --r-md:18px;
  --r-lg:24px;
  --r-xl:32px;
  --r-pill:999px;

  /* Shadows */
  --sh-1:0 1px 2px rgba(15,23,42,0.04), 0 1px 1px rgba(15,23,42,0.03);
  --sh-2:0 8px 24px -10px rgba(15,23,42,0.16), 0 4px 8px -4px rgba(15,23,42,0.06);
  --sh-3:0 24px 48px -16px rgba(11,18,32,0.22), 0 8px 18px -8px rgba(11,18,32,0.10);
  --sh-4:0 40px 80px -24px rgba(11,18,32,0.32);
  --sh-glow:0 0 0 1px rgba(37,99,235,0.10), 0 28px 60px -28px rgba(37,99,235,0.45);
  --sh-teal:0 0 0 1px rgba(20,184,166,0.12), 0 28px 60px -28px rgba(20,184,166,0.40);

  /* Gradients */
  --grad-brand:linear-gradient(135deg,#2E6BF6 0%,#1D4ED8 60%,#0E2150 100%);
  --grad-aqua:linear-gradient(135deg,#22D3EE 0%,#14B8A6 100%);
  --grad-soft:linear-gradient(180deg,#F4F8FF 0%,#FFFFFF 100%);
  --grad-mesh:radial-gradient(1200px 600px at 0% -10%, rgba(99,102,241,0.18), transparent 60%),
              radial-gradient(900px 500px at 100% 10%, rgba(20,184,166,0.18), transparent 60%),
              radial-gradient(700px 700px at 50% 110%, rgba(37,99,235,0.14), transparent 60%);

  /* Motion */
  --ease:cubic-bezier(.2,.7,.2,1);
  --ease-out:cubic-bezier(.16,1,.3,1);

  /* Layout */
  --max-w:1240px;
  --gutter:clamp(1rem,2.5vw,2rem);
  --section-y:clamp(72px,9vw,128px);
  --header-h:88px;
}

html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
html, body { height:100%; }

body{
  font-family:var(--font-sans);
  color:var(--text-800);
  background:var(--bg);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg,video{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; transition:color .25s var(--ease); }
button{ font:inherit; cursor:pointer; background:none; border:0; color:inherit; }
ul,ol{ list-style:none; }
input,textarea,select{ font:inherit; color:inherit; }

::selection{ background:var(--brand-600); color:#fff; }

/* ───────────────────── Headings ───────────────────── */
h1,h2,h3,h4,h5,h6{
  font-family:var(--font-display);
  color:var(--text-900);
  font-weight:700;
  line-height:1.15;
  letter-spacing:-0.02em;
}
h1{ font-size:clamp(2.4rem,5vw,4.2rem); font-weight:800; letter-spacing:-0.035em; }
h2{ font-size:clamp(1.8rem,3.6vw,2.85rem); font-weight:800; letter-spacing:-0.03em; }
h3{ font-size:clamp(1.35rem,2.2vw,1.85rem); }
h4{ font-size:clamp(1.15rem,1.6vw,1.35rem); }
p{ color:var(--text-600); }

.eyebrow{
  display:inline-flex; align-items:center; gap:.55rem;
  font-size:.78rem; font-weight:700; letter-spacing:.16em;
  text-transform:uppercase; color:var(--brand-700);
  background:var(--brand-50);
  padding:.45rem .9rem; border-radius:var(--r-pill);
  border:1px solid rgba(37,99,235,.18);
}
.eyebrow.alt{ color:var(--teal-700); background:var(--mint); border-color:rgba(20,184,166,.22); }
.eyebrow .dot{
  width:8px; height:8px; border-radius:50%;
  background:currentColor; box-shadow:0 0 0 4px rgba(37,99,235,.15);
}

.lede{ font-size:1.075rem; color:var(--text-600); max-width:62ch; }

/* ───────────────────── Layout helpers ───────────────────── */
.container{ width:100%; max-width:var(--max-w); margin:0 auto; padding-inline:var(--gutter); }
.container-wide{ width:100%; max-width:1380px; margin:0 auto; padding-inline:var(--gutter); }

.section{ padding-block:var(--section-y); position:relative; }
.section-tight{ padding-block:clamp(48px,6vw,80px); }
.section-soft{ background:var(--bg-soft); }
.section-ink{
  background:var(--ink-900);
  color:var(--on-ink);
}
.section-ink h1,.section-ink h2,.section-ink h3,.section-ink h4,.section-ink h5,.section-ink h6{ color:#fff; }
.section-ink p{ color:#B8C4E5; }

.section-head{
  text-align:center; max-width:760px; margin:0 auto clamp(40px,5vw,68px);
  display:flex; flex-direction:column; align-items:center; gap:1rem;
}
.section-head.left{ text-align:left; align-items:flex-start; margin-inline:0; }

.grid{ display:grid; gap:clamp(16px,2vw,24px); }
.grid-2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.grid-3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.grid-4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
@media (max-width:991px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.flex{ display:flex; }
.between{ justify-content:space-between; }
.center{ align-items:center; justify-content:center; }
.gap-3{ gap:.75rem; }
.gap-4{ gap:1rem; }
.gap-6{ gap:1.5rem; }

.text-center{ text-align:center; }
.muted{ color:var(--text-500); }

/* ───────────────────── Buttons ───────────────────── */
.btn{
  display:inline-flex; align-items:center; gap:.6rem;
  padding:.95rem 1.55rem;
  font-weight:600; font-size:.96rem;
  border-radius:var(--r-pill);
  transition:all .35s var(--ease);
  position:relative; isolation:isolate;
  white-space:nowrap;
  line-height:1;
}
.btn svg{ width:18px; height:18px; transition:transform .35s var(--ease); }
.btn:hover svg{ transform:translateX(3px); }

.btn-primary{
  background:var(--grad-brand); color:#fff;
  box-shadow:var(--sh-glow);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 0 0 1px rgba(37,99,235,.25), 0 30px 70px -22px rgba(37,99,235,.6); }

.btn-ghost{
  background:#fff; color:var(--ink-800);
  border:1px solid var(--border);
  box-shadow:var(--sh-1);
}
.btn-ghost:hover{ border-color:var(--brand-500); color:var(--brand-700); transform:translateY(-2px); }

.btn-outline-light{
  background:transparent; color:#fff;
  border:1px solid rgba(255,255,255,.25);
}
.btn-outline-light:hover{ background:rgba(255,255,255,.08); border-color:#fff; }

.btn-link{
  display:inline-flex; align-items:center; gap:.4rem;
  color:var(--brand-700); font-weight:600;
  position:relative; padding-bottom:2px;
}
.btn-link::after{
  content:""; position:absolute; left:0; right:0; bottom:0;
  height:1px; background:currentColor; transform:scaleX(.4); transform-origin:left;
  transition:transform .4s var(--ease);
}
.btn-link:hover::after{ transform:scaleX(1); }
.btn-link svg{ width:16px; height:16px; transition:transform .35s var(--ease); }
.btn-link:hover svg{ transform:translateX(3px); }

.btn-emergency{
  background:linear-gradient(135deg,#FB7185 0%,#E11D48 100%);
  color:#fff; box-shadow:0 16px 40px -16px rgba(244,63,94,.55);
}
.btn-emergency:hover{ transform:translateY(-2px); }

/* ───────────────────── Top utility bar ───────────────────── */
.topbar{
  background:var(--ink-900); color:#CFD8F0;
  font-size:.84rem; padding:.55rem 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar .row{ display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.topbar a{ color:#E2E8F0; display:inline-flex; align-items:center; gap:.45rem; }
.topbar a:hover{ color:#fff; }
.topbar .icon{ color:var(--teal-500); display:inline-flex; }
.topbar .pill{
  background:rgba(20,184,166,.15);
  color:#5EEAD4; padding:.2rem .65rem; border-radius:var(--r-pill);
  font-weight:600; letter-spacing:.04em; font-size:.72rem; text-transform:uppercase;
}
.topbar .meta{ display:flex; align-items:center; gap:1.4rem; flex-wrap:wrap; }
@media (max-width:720px){ .topbar .meta .hide-sm{ display:none; } }

/* ───────────────────── Header / Nav ───────────────────── */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.78);
  backdrop-filter:saturate(160%) blur(14px);
  -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid transparent;
  transition:background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.site-header.scrolled{
  background:rgba(255,255,255,.92);
  border-bottom-color:var(--hairline);
  box-shadow:var(--sh-2);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  height:var(--header-h); gap:1.5rem;
}
.brand{ display:flex; align-items:center; gap:.7rem; }
.brand img{ height:84px; width:auto; }
.brand .b-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand .b-text strong{ font-family:var(--font-display); font-weight:800; color:var(--ink-900); font-size:1.05rem; letter-spacing:-.01em; }
.brand .b-text span{ font-size:.74rem; color:var(--text-500); letter-spacing:.05em; }

.nav{ display:flex; align-items:center; gap:.25rem; align-self:stretch; }
.nav a{
  position:relative; padding:.65rem 1rem; border-radius:var(--r-pill);
  font-weight:500; color:var(--text-800); font-size:.95rem;
}
.nav a:hover{ color:var(--brand-700); background:var(--brand-50); }
.nav a.is-active{ color:var(--brand-700); background:var(--brand-50); }
.nav .has-sub{ position:relative; }
.nav .has-sub > a::after{
  content:""; display:inline-block; width:8px; height:8px; margin-left:.35rem;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
}
.submenu{
  position:absolute; left:50%; top:calc(100% + 12px); transform:translate(-50%,8px);
  min-width:240px; background:#fff; border:1px solid var(--border);
  border-radius:var(--r-md); box-shadow:var(--sh-3);
  padding:.5rem; opacity:0; visibility:hidden; transition:all .25s var(--ease);
}
.submenu li a{ display:block; padding:.6rem .85rem; border-radius:var(--r-sm); font-size:.92rem; }
.has-sub:hover .submenu{ opacity:1; visibility:visible; transform:translate(-50%,0); }

/* ── Mega menu (Services) ── */
.nav .nav-item{ position:relative; display:flex; align-items:center; }
/* stretch the trigger to full header height so hover survives the trip to the panel */
.nav .has-mega{ position:static; align-self:stretch; }
.nav .has-mega > a.mega-trigger{
  display:inline-flex; align-items:center; white-space:nowrap;
}
.nav .has-mega > a::after{
  content:""; flex:none; width:7px; height:7px; margin-left:.4rem;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-1px); transition:transform .25s var(--ease);
}
.nav .has-mega:hover > a::after{ transform:rotate(225deg) translateY(2px); }
.nav .has-mega:hover > a{ color:var(--brand-700); background:var(--brand-50); }

.mega{
  position:absolute; left:50%; top:100%; transform:translate(-50%,8px);
  width:min(960px, calc(100vw - 3rem));
  background:#fff; border:1px solid var(--border);
  border-radius:var(--r-lg); box-shadow:var(--sh-3);
  padding:1.25rem; margin-top:10px; opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
  z-index:60;
}
/* invisible hover bridge spanning the gap between header bottom and the panel */
.mega::before{ content:""; position:absolute; left:0; right:0; top:-18px; height:18px; }
.has-mega:hover .mega,
.has-mega:focus-within .mega{
  opacity:1; visibility:visible; pointer-events:auto; transform:translate(-50%,0);
}
.mega-inner{ display:grid; grid-template-columns:1fr 1fr 1fr 1fr 1.15fr; gap:.4rem; }
.mega-cols{ display:contents; }
.mega-col{ display:flex; flex-direction:column; padding:0 .35rem; }
.mega-head{
  display:flex; align-items:center; gap:.5rem;
  font-family:var(--font-display); font-weight:700; font-size:.72rem;
  letter-spacing:.06em; text-transform:uppercase; color:var(--text-500);
  padding:.4rem .55rem .55rem; margin-bottom:.15rem;
  border-bottom:1px solid var(--hairline);
}
.mega-head i{ color:var(--brand-600); font-size:.85rem; }
.mega-col a{
  display:block; padding:.5rem .55rem; border-radius:var(--r-sm);
  font-size:.9rem; font-weight:500; color:var(--text-700); line-height:1.25;
  transition:background .18s var(--ease), color .18s var(--ease);
}
.mega-col a:hover{ background:var(--brand-50); color:var(--brand-700); }

/* scoped to beat `.nav a` (which otherwise forces a 999px pill radius) */
.mega .mega-feature{
  display:flex; flex-direction:column; align-items:flex-start; gap:.55rem;
  justify-content:center; text-align:left;
  height:100%; padding:1.4rem; border-radius:var(--r-md); overflow:hidden;
  background:linear-gradient(160deg, var(--ink-900), var(--ink-700));
  color:var(--on-ink);
}
.mega-feature-eyebrow{
  display:inline-flex; align-items:center; gap:.45rem;
  font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--brand-100);
}
.mega-feature-eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--teal-500); }
.mega-feature strong{ font-family:var(--font-display); font-size:1.1rem; color:#fff; line-height:1.2; }
.mega-feature-text{ font-size:.84rem; color:rgba(229,236,251,.78); line-height:1.45; }
.mega-feature-cta{
  display:inline-flex; align-items:center; gap:.4rem; margin-top:.35rem;
  font-weight:600; font-size:.88rem; color:#fff;
}
.mega .mega-feature:hover .mega-feature-cta{ color:var(--teal-100); }
.mega .mega-feature:hover{
  background:linear-gradient(160deg, var(--ink-800), var(--ink-600));
  box-shadow:var(--sh-glow);
}

/* ── Mobile drawer: Services accordion ── */
.drawer-acc-toggle{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:1rem 1.1rem; border-radius:var(--r-md); cursor:pointer;
  font-family:inherit; font-weight:600; font-size:1rem; color:var(--text-800);
  background:none; border:none; border-bottom:1px solid var(--hairline);
}
.drawer-acc-toggle:hover, .drawer-acc.open .drawer-acc-toggle{ background:var(--brand-50); color:var(--brand-700); }
.drawer-acc-toggle i{ transition:transform .3s var(--ease); font-size:.8rem; color:var(--text-500); }
.drawer-acc.open .drawer-acc-toggle i{ transform:rotate(180deg); }
.drawer-acc-panel{
  max-height:0; overflow:hidden; transition:max-height .4s var(--ease);
  display:flex; flex-direction:column;
}
.drawer-acc.open .drawer-acc-panel{ max-height:1400px; }
.drawer-acc-head{
  font-family:var(--font-display); font-weight:700; font-size:.7rem;
  letter-spacing:.06em; text-transform:uppercase; color:var(--text-400);
  padding:.85rem .5rem .3rem;
}
.drawer-acc-panel > a{
  padding:.55rem .5rem .55rem 1rem !important; font-size:.92rem; color:var(--text-700);
  border-bottom:none !important;
}
.drawer-acc-all{
  color:var(--brand-700) !important; font-weight:600;
}

.nav-cta{ display:flex; align-items:center; gap:.7rem; }
.icon-btn{
  width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:var(--r-pill); background:#fff; border:1px solid var(--border); color:var(--ink-800);
}
.icon-btn:hover{ border-color:var(--brand-500); color:var(--brand-700); }

.menu-toggle{
  display:none;
  width:46px; height:46px; align-items:center; justify-content:center;
  border-radius:var(--r-sm); background:#fff; border:1px solid var(--border);
}
.menu-toggle span{
  position:relative; width:20px; height:2px; background:var(--ink-800); border-radius:2px;
  display:block;
}
.menu-toggle span::before, .menu-toggle span::after{
  content:""; position:absolute; left:0; right:0; height:2px; background:currentColor; border-radius:2px;
}
.menu-toggle span::before{ top:-6px; }
.menu-toggle span::after{ top:6px; }

@media (max-width:991px){
  .nav, .nav-cta .desk-only{ display:none !important; }
  .menu-toggle{ display:inline-flex; }
}

/* Mobile drawer */
.drawer{
  position:fixed; inset:0 0 0 auto; width:min(86vw,400px);
  background:#fff; z-index:80; transform:translateX(102%); transition:transform .45s var(--ease);
  display:flex; flex-direction:column;
  box-shadow:-30px 0 80px -20px rgba(11,18,32,.35);
}
.drawer.open{ transform:translateX(0); }
.drawer-head{ display:flex; align-items:center; justify-content:space-between; padding:1.25rem; border-bottom:1px solid var(--border); }
.drawer-close{
  width:42px; height:42px; border-radius:var(--r-pill); background:var(--bg-soft);
  display:inline-flex; align-items:center; justify-content:center; color:var(--ink-800);
}
.drawer nav{ padding:1rem; overflow-y:auto; flex:1; }
.drawer nav a{
  display:flex; align-items:center; justify-content:space-between;
  padding:1rem 1.1rem; border-radius:var(--r-md);
  font-weight:600; color:var(--text-800); border-bottom:1px solid var(--hairline);
}
.drawer nav a:hover, .drawer nav a.is-active{ background:var(--brand-50); color:var(--brand-700); }
.drawer-foot{ padding:1.25rem; border-top:1px solid var(--border); display:flex; flex-direction:column; gap:.7rem; }
.drawer-info{ display:flex; flex-direction:column; gap:.45rem; font-size:.9rem; color:var(--text-600); }
.drawer-info a{ display:flex; align-items:center; gap:.5rem; color:var(--text-700); }
.drawer-info a svg{ width:16px; height:16px; color:var(--brand-600); }
.drawer-social{ display:flex; gap:.55rem; margin-top:.5rem; }
.drawer-social a{
  width:38px; height:38px; border-radius:var(--r-pill); background:var(--bg-soft);
  display:inline-flex; align-items:center; justify-content:center; color:var(--ink-700);
}
.drawer-social a:hover{ background:var(--ink-900); color:#fff; }
.drawer-overlay{
  position:fixed; inset:0; background:rgba(8,22,58,.5);
  opacity:0; visibility:hidden; transition:all .35s var(--ease); z-index:70;
  backdrop-filter:blur(4px);
}
.drawer-overlay.open{ opacity:1; visibility:visible; }

/* ───────────────────── Hero ───────────────────── */
.hero{
  position:relative; padding-block:clamp(64px,9vw,120px) clamp(80px,9vw,140px);
  background:var(--grad-soft);
  overflow:hidden;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background:var(--grad-mesh); pointer-events:none;
}
.hero::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:120px;
  background:url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 120' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><path d='M0 60 C240 120 480 0 720 40 C960 80 1200 120 1440 50 L1440 120 L0 120 Z' fill='%23ffffff'/></svg>") center/cover no-repeat;
  pointer-events:none;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  grid-template-areas:"texts visual" "cta visual";
  grid-template-rows:auto auto;
  column-gap:clamp(28px,5vw,72px); row-gap:0;
  align-items:center; align-content:center; position:relative; z-index:2;
}
.hero-copy{ grid-area:texts; align-self:end; }
.hero-cta{ grid-area:cta; align-self:start; }
.hero-visual{ grid-area:visual; }
@media (max-width:991px){
  /* mobile order: text → doctor photo → trust pills + CTAs */
  .hero-grid{
    grid-template-columns:1fr;
    grid-template-areas:"texts" "visual" "cta";
    row-gap:clamp(14px,4vw,26px);
  }
  .hero-copy{ align-self:auto; text-align:center; }
  .hero-cta{ align-self:auto; text-align:center; }
  .hero-trust{ justify-content:center; }
  .hero-actions{ justify-content:center; }
  .hero .eyebrow{ display:none; }
  /* tighten the mobile first-look so the doctor sits closer and reads larger */
  .hero{ padding-block: clamp(32px,7vw,56px) clamp(44px,7vw,80px); }
  .hero-copy .lede{ margin-bottom:0; margin-inline:auto; }
  .hero-trust{ margin-bottom:1.4rem; }
}
.hero-copy h1{ margin-block:1.1rem 1.4rem; }
.hero-copy h1 .accent{
  background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent;
  display:inline-block;
}
.hero-copy .lede{ margin-bottom:1.6rem; font-size:1.1rem; }

.hero-trust{
  display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:1.8rem;
}
.hero-trust li{
  display:inline-flex; align-items:center; gap:.45rem;
  background:#fff; border:1px solid var(--border); padding:.5rem .85rem;
  border-radius:var(--r-pill); font-size:.84rem; font-weight:600; color:var(--text-700);
  box-shadow:var(--sh-1);
}
.hero-trust li svg{ color:var(--teal-500); width:16px; height:16px; }

.hero-actions{ display:flex; flex-wrap:wrap; gap:.85rem; align-items:center; }
.hero-call{
  display:inline-flex; align-items:center; gap:.85rem;
  padding:.6rem 1rem .6rem .6rem; border-radius:var(--r-pill);
  background:#fff; border:1px solid var(--border); color:var(--ink-800);
  font-weight:600;
}
.hero-call .ring{
  width:42px; height:42px; border-radius:50%;
  background:var(--brand-50); color:var(--brand-700);
  display:inline-flex; align-items:center; justify-content:center;
  position:relative;
}
.hero-call .ring::after{
  content:""; position:absolute; inset:-6px; border-radius:50%;
  border:2px solid rgba(37,99,235,.35); animation:ringPulse 2s infinite;
}
@keyframes ringPulse{ 0%{ transform:scale(.8); opacity:.8;} 100%{ transform:scale(1.4); opacity:0;} }
.hero-call .ring svg{ width:18px; height:18px; }
.hero-call small{ display:block; font-size:.7rem; color:var(--text-500); font-weight:500; letter-spacing:.04em; text-transform:uppercase; }
.hero-call strong{ font-size:1rem; color:var(--ink-900); }

/* Hero visual */
.hero-visual{
  position:relative; aspect-ratio: 5/6; max-width:560px; margin-inline:auto;
}
.hero-visual .blob{
  position:absolute; inset:6% 0 0 4%;
  background:linear-gradient(150deg,#3B82F6 0%,#1E40AF 70%,#0E2150 100%);
  border-radius:46% 54% 40% 60% / 50% 50% 40% 50%;
  box-shadow:0 60px 120px -40px rgba(11,18,32,.45);
  animation:blob 18s ease-in-out infinite alternate;
}
@keyframes blob{
  0%{ border-radius:46% 54% 40% 60% / 50% 50% 40% 50%; }
  100%{ border-radius:60% 40% 56% 44% / 36% 60% 40% 64%; }
}
.hero-visual .grid-dot{
  position:absolute; right:-20px; bottom:30px; width:140px; height:140px; opacity:.55;
  background-image:radial-gradient(circle,#1D4ED8 1.5px,transparent 1.5px);
  background-size:14px 14px;
}
.hero-visual .doctor{
  position:relative; width:100%; height:100%;
  display:flex; align-items:flex-end; justify-content:center;
}
.hero-visual .doctor img{
  position:relative; z-index:2;
  max-height:100%; width:auto; object-fit:contain;
  filter:drop-shadow(0 30px 50px rgba(11,18,32,.25));
}
/* Mobile hero-visual sizing — MUST come after the base rules above so it wins
   on equal specificity. Don't drive height from aspect-ratio (older in-app
   browsers, e.g. WhatsApp's, don't support it and the percentage-height chain
   .doctor{height:100%} → img{max-height:100%} then collapses the photo to zero,
   which also leaves the decorative grid-dot floating over the hero text). Size
   from the image's own intrinsic aspect instead. */
@media (max-width:991px){
  .hero-visual{ max-width:340px; aspect-ratio:auto; }
  .hero-visual .doctor{ height:auto; display:block; }
  .hero-visual .doctor img{ width:100%; height:auto; max-height:none; display:block; }
  .hero-visual .blob{ inset:8% 0 0 4%; }
}

.float-card{
  position:absolute; z-index:3;
  background:#fff; border-radius:var(--r-md);
  padding:.85rem 1rem; display:flex; align-items:center; gap:.75rem;
  box-shadow:var(--sh-3); border:1px solid var(--hairline);
  min-width:200px;
}
.float-card .ico{
  width:42px; height:42px; border-radius:var(--r-sm);
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--brand-50); color:var(--brand-700); flex-shrink:0;
}
.float-card.alt .ico{ background:var(--mint); color:var(--teal-700); }
.float-card.warm .ico{ background:var(--amber-100); color:#B45309; }
.float-card .txt strong{ display:block; font-family:var(--font-display); font-size:1.15rem; color:var(--ink-900); line-height:1; }
.float-card .txt span{ font-size:.78rem; color:var(--text-500); }
.float-card.fc-1{ top:8%; left:-30px; animation:floaty 6s var(--ease) infinite alternate; }
.float-card.fc-2{ bottom:18%; right:-22px; animation:floaty 7s var(--ease) -1.5s infinite alternate; }
.float-card.fc-3{ top:48%; left:-44px; animation:floaty 8s var(--ease) -3s infinite alternate; }
@keyframes floaty{ 0%{ transform:translateY(0);} 100%{ transform:translateY(-14px);} }
@media (max-width:640px){
  .float-card.fc-1{ left:0; }
  .float-card.fc-2{ right:0; }
  .float-card.fc-3{ display:none; }
}

/* ───────────────────── Trust marquee ───────────────────── */
.marquee{
  background:var(--ink-900); color:#fff;
  padding:1.1rem 0; overflow:hidden; position:relative;
}
.marquee::before, .marquee::after{
  content:""; position:absolute; top:0; bottom:0; width:80px; z-index:2; pointer-events:none;
}
.marquee::before{ left:0; background:linear-gradient(to right, var(--ink-900), transparent); }
.marquee::after{ right:0; background:linear-gradient(to left, var(--ink-900), transparent); }
.marquee-track{
  display:flex; gap:3.5rem; width:max-content;
  animation:scroll 38s linear infinite;
}
.marquee-track span{
  display:inline-flex; align-items:center; gap:1rem;
  font-family:var(--font-display); font-weight:700; font-size:1.15rem; letter-spacing:-.01em;
  color:#E2E8F0;
}
.marquee-track span svg{ color:var(--teal-500); width:22px; height:22px; }
@keyframes scroll{ to{ transform:translateX(-50%); } }

/* ───────────────────── Stats / KPI ───────────────────── */
.stats-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem;
}
@media (max-width:991px){ .stats-grid{ grid-template-columns:repeat(2,1fr); } }
.stat-card{
  background:#fff; border:1px solid var(--border); border-radius:var(--r-lg);
  padding:1.6rem; box-shadow:var(--sh-1);
  transition:all .35s var(--ease);
  position:relative; overflow:hidden;
}
.stat-card:hover{ transform:translateY(-4px); box-shadow:var(--sh-3); border-color:var(--brand-500); }
.stat-card .ico{
  width:48px; height:48px; border-radius:var(--r-md);
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--brand-50); color:var(--brand-700); margin-bottom:1rem;
}
.stat-card .num{
  font-family:var(--font-display); font-weight:800;
  font-size:clamp(2rem,3.6vw,2.8rem); color:var(--ink-900);
  letter-spacing:-.03em; line-height:1; margin-bottom:.45rem;
}
.stat-card .num small{ font-size:.55em; color:var(--brand-600); margin-left:.15rem; font-weight:700; }
.stat-card p{ font-size:.92rem; color:var(--text-500); margin:0; }
.stat-card::before{
  content:""; position:absolute; top:-30px; right:-30px; width:120px; height:120px;
  border-radius:50%; background:var(--brand-50); opacity:.6;
  transition:transform .5s var(--ease);
}
.stat-card:hover::before{ transform:scale(1.6); }
.stat-card.alt .ico{ background:var(--mint); color:var(--teal-700); }
.stat-card.alt::before{ background:var(--mint); }

/* ───────────────────── About strip ───────────────────── */
.about-strip{
  display:grid; grid-template-columns:1.05fr 1fr; gap:clamp(32px,5vw,80px);
  align-items:center;
}
@media (max-width:991px){ .about-strip{ grid-template-columns:1fr; } }
/* Mobile: center the split-content text blocks to match the centred section heads */
@media (max-width:991px){
  .copy{ text-align:center; }
  .copy .feature-list{ text-align:left; max-width:440px; margin-inline:auto; }
}
.about-strip .copy h2{ margin-block:.8rem 1rem; }
.about-strip .copy p{ margin-bottom:1.15rem; }
.feature-list{ display:grid; gap:.85rem; margin-block:1.2rem 1.6rem; }
.feature-list li{
  display:flex; align-items:flex-start; gap:.85rem;
  padding:.85rem 1rem; border-radius:var(--r-md);
  background:var(--bg-soft); border:1px solid transparent;
  transition:all .3s var(--ease);
}
.feature-list li:hover{ background:#fff; border-color:var(--border); box-shadow:var(--sh-1); }
.feature-list li .check{
  flex-shrink:0; width:30px; height:30px; border-radius:var(--r-pill);
  background:var(--mint); color:var(--teal-700);
  display:inline-flex; align-items:center; justify-content:center;
}
.feature-list li strong{ display:block; color:var(--ink-900); font-weight:700; font-size:.95rem; margin-bottom:.15rem; }
.feature-list li span{ color:var(--text-600); font-size:.88rem; }

.about-visual{
  position:relative; padding:1.5rem 1.5rem 0 0;
}
.about-visual .img-main{
  border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--sh-3);
  aspect-ratio:4/5; transform:rotate(-1.5deg);
}
.about-visual .img-main img{ width:100%; height:100%; object-fit:cover; }
.about-visual .img-sub{
  position:absolute; right:-10px; bottom:-30px; width:48%;
  border-radius:var(--r-lg); overflow:hidden;
  box-shadow:var(--sh-3); border:6px solid #fff;
  transform:rotate(3deg);
  aspect-ratio:1/1;
}
.about-visual .img-sub img{ width:100%; height:100%; object-fit:cover; }
.about-visual .badge{
  position:absolute; left:-10px; top:30px;
  background:#fff; padding:.85rem 1.2rem; border-radius:var(--r-md);
  box-shadow:var(--sh-3); display:flex; align-items:center; gap:.7rem;
  z-index:3;
}
.about-visual .badge .ico{
  width:38px; height:38px; border-radius:var(--r-pill);
  background:var(--grad-aqua); color:#fff;
  display:inline-flex; align-items:center; justify-content:center;
}
.about-visual .badge strong{ display:block; font-family:var(--font-display); color:var(--ink-900); font-size:.95rem; }
.about-visual .badge span{ font-size:.75rem; color:var(--text-500); }
.about-visual .ring-deco{
  position:absolute; right:0; top:0; width:120px; height:120px;
  border:2px dashed rgba(37,99,235,.3); border-radius:50%;
  z-index:-1; animation:spin 30s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

/* ───────────────────── Services bento ───────────────────── */
.bento{
  display:grid; gap:1.1rem;
  grid-template-columns:repeat(6,1fr);
  grid-auto-rows:minmax(200px,auto);
}
@media (max-width:991px){ .bento{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .bento{ grid-template-columns:1fr; } }
.bento-card{
  position:relative; overflow:hidden;
  background:#fff; border:1px solid var(--border); border-radius:var(--r-xl);
  padding:1.7rem; display:flex; flex-direction:column; justify-content:flex-end;
  transition:all .4s var(--ease);
  box-shadow:var(--sh-1);
  min-height:240px;
}
.bento-card:hover{ transform:translateY(-6px); box-shadow:var(--sh-3); border-color:var(--brand-500); }
.bento-card .ico{
  position:absolute; top:1.4rem; right:1.4rem;
  width:50px; height:50px; border-radius:var(--r-md);
  background:var(--brand-50); color:var(--brand-700);
  display:inline-flex; align-items:center; justify-content:center;
  transition:all .3s var(--ease);
}
.bento-card:hover .ico{ background:var(--brand-600); color:#fff; transform:rotate(-8deg) scale(1.05); }
.bento-card .ico i{ font-size:1.3rem; }
.bento-card h3{ font-size:1.25rem; margin-bottom:.5rem; }
.bento-card p{ font-size:.92rem; color:var(--text-500); margin-bottom:1rem; }
.bento-card .read{ color:var(--brand-700); font-weight:600; font-size:.9rem; display:inline-flex; gap:.4rem; align-items:center; }

.bento-card.span-3{ grid-column:span 3; }
.bento-card.span-2{ grid-column:span 2; }
.bento-card.span-4{ grid-column:span 4; }
.bento-card.tall{ grid-row:span 2; min-height:420px; }
@media (max-width:991px){
  .bento-card.span-3,.bento-card.span-4{ grid-column:span 2; }
  .bento-card.tall{ grid-row:span 1; min-height:240px; }
}
@media (max-width:560px){
  .bento-card.span-2,.bento-card.span-3,.bento-card.span-4{ grid-column:span 1; }
}

.bento-card.feature{
  background-size:cover; background-position:center; color:#fff; min-height:340px;
  border:none;
}
.bento-card.feature::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(8,22,58,0) 30%, rgba(8,22,58,.85) 100%);
}
.bento-card.feature > *{ position:relative; z-index:2; }
/* keep the icon pinned top-right (the rule above would otherwise drop it into flow) */
.bento-card.feature > .ico{
  position:absolute; top:1.4rem; right:1.4rem;
  background:rgba(255,255,255,.16); color:#fff;
  border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
.bento-card.feature:hover > .ico{ background:var(--brand-600); border-color:transparent; color:#fff; }
.bento-card.feature h3{ color:#fff; }
.bento-card.feature p{ color:rgba(255,255,255,.85); }
.bento-card.feature .ico{ background:rgba(255,255,255,.15); color:#fff; backdrop-filter:blur(8px); }
.bento-card.feature .read{ color:#fff; }

/* ───────────────────── Conditions list (chips) ───────────────────── */
.condition-grid{
  display:flex; flex-wrap:wrap; justify-content:center; gap:1rem;
}
.condition-card{
  flex:1 1 240px; max-width:300px;
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:.8rem;
  padding:1.4rem 1.2rem;
  background:#fff; border:1px solid var(--border); border-radius:var(--r-lg);
  transition:all .3s var(--ease);
  position:relative; overflow:hidden;
}
.condition-card:hover{ transform:translateY(-3px); border-color:var(--brand-500); box-shadow:var(--sh-2); }
.condition-card::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:4px;
  background:var(--grad-brand); transform:scaleY(0); transform-origin:bottom;
  transition:transform .4s var(--ease);
}
.condition-card:hover::before{ transform:scaleY(1); }
.condition-card .ico{
  width:48px; height:48px; border-radius:var(--r-md); flex-shrink:0;
  background:var(--brand-50); color:var(--brand-700);
  display:inline-flex; align-items:center; justify-content:center;
}
.condition-card .ico.t{ background:var(--mint); color:var(--teal-700); }
.condition-card .ico.r{ background:var(--rose-100); color:#BE123C; }
.condition-card .ico.a{ background:var(--amber-100); color:#B45309; }
.condition-card .ico.i{ background:var(--indigo-100); color:#4338CA; }
.condition-card h4{ font-size:1.02rem; margin:0 0 .15rem; color:var(--ink-900); }
.condition-card p{ font-size:.82rem; color:var(--text-500); margin:0; }

/* ───────────────────── Doctor spotlight ───────────────────── */
.doctor-spot{
  display:grid; grid-template-columns:.95fr 1.05fr;
  gap:clamp(32px,5vw,72px); align-items:center;
}
@media (max-width:991px){ .doctor-spot{ grid-template-columns:1fr; } }

.doctor-frame{
  position:relative;
  border-radius:var(--r-xl); overflow:hidden;
  background:linear-gradient(180deg,#EDF3FF 0%,#fff 100%);
  aspect-ratio:4/5; max-width:520px;
}
.doctor-frame img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center;
}
.doctor-frame .ribbon{
  position:absolute; left:0; top:24px; padding:.5rem 1rem .5rem 1.2rem;
  background:var(--grad-brand); color:#fff; font-weight:700; font-size:.78rem;
  letter-spacing:.08em; text-transform:uppercase;
  border-radius:0 var(--r-pill) var(--r-pill) 0;
  box-shadow:var(--sh-2);
}
.doctor-frame .stamp{
  position:absolute; right:18px; bottom:18px;
  width:120px; height:120px; border-radius:50%;
  background:#fff; box-shadow:var(--sh-3);
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  text-align:center; padding:.6rem;
}
.doctor-frame .stamp strong{ font-family:var(--font-display); font-size:1.45rem; color:var(--brand-700); line-height:1; }
.doctor-frame .stamp span{ font-size:.7rem; color:var(--text-500); margin-top:.2rem; }

.doctor-creds{ display:grid; grid-template-columns:repeat(2,1fr); gap:.8rem; margin:1.5rem 0; }
.cred-pill{
  display:flex; align-items:center; gap:.7rem;
  padding:.85rem 1rem; background:#fff; border:1px solid var(--border); border-radius:var(--r-md);
}
.cred-pill .ico{
  width:36px; height:36px; border-radius:var(--r-pill);
  background:var(--brand-50); color:var(--brand-700);
  display:inline-flex; align-items:center; justify-content:center; flex-shrink:0;
}
.cred-pill strong{ display:block; color:var(--ink-900); font-weight:700; font-size:.92rem; line-height:1.2; }
.cred-pill span{ font-size:.78rem; color:var(--text-500); }

.signature{
  margin-top:1.25rem; padding-top:1.25rem; border-top:1px solid var(--border);
  display:flex; align-items:center; gap:1rem; flex-wrap:wrap;
}
.signature .name strong{ display:block; font-family:var(--font-display); color:var(--ink-900); font-size:1.1rem; }
.signature .name span{ font-size:.85rem; color:var(--text-500); }
.signature .lines{ flex:1; min-width:120px; height:1px; background:var(--border); }
@media (max-width:991px){
  .signature{ flex-direction:column; align-items:center; text-align:center; gap:.75rem; }
  .signature .lines{ display:none; }
}

/* ───────────────────── Patient journey ───────────────────── */
.journey{
  position:relative;
  display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem;
}
@media (max-width:991px){ .journey{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .journey{ grid-template-columns:1fr; } }
.journey-step{
  position:relative; padding:1.6rem;
  background:#fff; border:1px solid var(--border); border-radius:var(--r-lg);
  transition:all .35s var(--ease);
}
.journey-step:hover{ transform:translateY(-4px); box-shadow:var(--sh-2); border-color:var(--brand-500); }
.journey-step .num{
  display:inline-flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:var(--r-pill);
  background:var(--grad-brand); color:#fff;
  font-family:var(--font-display); font-weight:800; font-size:1.1rem;
  margin-bottom:1rem; box-shadow:var(--sh-glow);
}
.journey-step h4{ margin-bottom:.5rem; }
.journey-step p{ font-size:.92rem; color:var(--text-500); margin:0; }
.journey-step::after{
  content:""; position:absolute; right:-22px; top:48px;
  width:22px; height:2px; background:var(--border-strong);
}
.journey-step:nth-child(4n)::after{ display:none; }
@media (max-width:991px){ .journey-step:nth-child(2n)::after{ display:none; } }
@media (max-width:560px){ .journey-step::after{ display:none; } }

/* ───────────────────── Testimonials ───────────────────── */
.testi-grid{
  display:grid; gap:1.5rem;
  grid-template-columns:repeat(3,1fr);
}
@media (max-width:991px){ .testi-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .testi-grid{ grid-template-columns:1fr; } }
.testi{
  background:#fff; border:1px solid var(--border); border-radius:var(--r-lg);
  padding:1.7rem; position:relative;
  transition:all .35s var(--ease);
}
.testi:hover{ transform:translateY(-4px); box-shadow:var(--sh-3); border-color:var(--brand-500); }
.testi .quote{
  position:absolute; top:-18px; right:24px; width:46px; height:46px;
  border-radius:var(--r-pill); background:var(--grad-brand); color:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  box-shadow:var(--sh-glow);
}
.testi .stars{ display:flex; align-items:center; gap:.15rem; color:#F59E0B; margin-bottom:.85rem; }
.testi .stars svg{ width:18px; height:18px; }
.testi .stars i{ font-size:16px; line-height:1; }
.testi .stars .score{
  margin-left:.4rem; color:var(--text-500); font-weight:600;
  font-size:.82rem; letter-spacing:.02em;
}
.testi p{ color:var(--text-700); font-size:.96rem; line-height:1.65; }
.testi .author{
  margin-top:1.2rem; padding-top:1.2rem; border-top:1px solid var(--border);
  display:flex; align-items:center; gap:.8rem;
}
.testi .author .av{
  width:56px; height:56px; border-radius:50%;
  background:linear-gradient(135deg,#3B82F6,#1E3A8A); color:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:700;
  flex-shrink:0;
  overflow:hidden;
  position:relative;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px rgba(37,99,235,.18),
    0 6px 14px -6px rgba(15,23,42,.25);
  aspect-ratio:1/1;
}
.testi .author .av img{
  width:100%; height:100%;
  object-fit:cover; object-position:center 20%;
  display:block; border-radius:50%;
}
.testi .author strong{ display:block; color:var(--ink-900); font-weight:700; font-size:.95rem; }
.testi .author span{ font-size:.8rem; color:var(--text-500); }

/* ───────────────────── CTA ───────────────────── */
.cta-band{
  position:relative; overflow:hidden;
  background:var(--ink-900);
  border-radius:var(--r-xl);
  padding:clamp(2rem,3.4vw,2.9rem);
  color:#fff;
  display:block; text-align:center;
  box-shadow:var(--sh-4);
}
.cta-band::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(600px 400px at 0% 100%, rgba(20,184,166,.35), transparent 60%),
    radial-gradient(600px 400px at 100% 0%, rgba(99,102,241,.35), transparent 60%);
}
.cta-band > *{ position:relative; z-index:2; }
.cta-band h2{ color:#fff; }
.cta-band p{ color:#CBD5E1; max-width:56ch; margin:.7rem auto 1.5rem; }
.cta-actions{ display:flex; flex-wrap:wrap; gap:.85rem; align-items:center; justify-content:center; }
.cta-visual{ position:relative; }
/* ── CTA · live pulse hero visual ── */
.cta-hero{
  position:relative; width:100%; aspect-ratio:10/9; overflow:hidden;
  border-radius:var(--r-lg); border:1px solid rgba(125,211,252,.16);
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(45,212,191,.16), transparent 55%),
    radial-gradient(120% 80% at 100% 100%, rgba(99,102,241,.20), transparent 55%),
    linear-gradient(165deg,#0B1B43 0%,#08163A 55%,#050E29 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07), 0 26px 50px -24px rgba(4,10,28,.95);
}
.cta-hero__svg{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.cta-hero::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(130% 110% at 50% 40%, transparent 55%, rgba(5,12,33,.5) 100%);
}
@media (prefers-reduced-motion: reduce){
  .cta-hero__svg animate,
  .cta-hero__svg animateTransform,
  .cta-hero__svg animateMotion{ display:none; }
}
.cta-visual .badge-live{
  position:absolute; left:-10px; bottom:-10px;
  background:#fff; color:var(--ink-900);
  padding:.7rem 1rem; border-radius:var(--r-pill);
  font-size:.85rem; font-weight:600; display:inline-flex; align-items:center; gap:.5rem;
  box-shadow:var(--sh-3);
}
.cta-visual .badge-live .pulse{
  width:10px; height:10px; border-radius:50%; background:#10B981;
  position:relative;
}
.cta-visual .badge-live .pulse::after{
  content:""; position:absolute; inset:0; border-radius:50%;
  background:#10B981; animation:pulse 1.6s infinite;
}
@keyframes pulse{ 0%{ transform:scale(1); opacity:.7; } 100%{ transform:scale(2.4); opacity:0; } }

/* ───────────────────── FAQ ───────────────────── */
.faq-list{ display:grid; gap:.85rem; max-width:880px; margin-inline:auto; }
.faq-item{
  background:#fff; border:1px solid var(--border); border-radius:var(--r-md);
  overflow:hidden; transition:all .3s var(--ease);
}
.faq-item.is-open{ border-color:var(--brand-500); box-shadow:var(--sh-2); }
.faq-q{
  width:100%; padding:1.15rem 1.4rem;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  font-weight:700; font-family:var(--font-display); color:var(--ink-900);
  font-size:1.02rem; text-align:left;
}
.faq-q .plus{
  width:36px; height:36px; border-radius:var(--r-pill);
  background:var(--bg-soft); display:inline-flex; align-items:center; justify-content:center;
  position:relative; flex-shrink:0; transition:all .3s var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after{
  content:""; position:absolute; background:var(--ink-900); border-radius:2px;
}
.faq-q .plus::before{ width:14px; height:2px; }
.faq-q .plus::after{ width:2px; height:14px; transition:transform .3s var(--ease); }
.faq-item.is-open .plus{ background:var(--brand-600); }
.faq-item.is-open .plus::before, .faq-item.is-open .plus::after{ background:#fff; }
.faq-item.is-open .plus::after{ transform:rotate(90deg); opacity:0; }
.faq-a{
  max-height:0; overflow:hidden; transition:max-height .4s var(--ease);
}
.faq-a-inner{ padding:0 1.4rem 1.4rem; color:var(--text-600); font-size:.95rem; }

/* ───────────────────── Page header banner ───────────────────── */
.page-banner{
  position:relative; padding-block:clamp(64px,8vw,110px) clamp(80px,10vw,130px);
  background:linear-gradient(135deg,#0E2150 0%,#1D4ED8 60%,#0B1E70 100%);
  color:#fff; overflow:hidden;
}
.page-banner::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(20,184,166,.35), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(99,102,241,.35), transparent 60%);
}
.page-banner::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:80px;
  background:url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 80' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><path d='M0 40 C320 80 720 0 1440 40 L1440 80 L0 80 Z' fill='%23ffffff'/></svg>") center/cover no-repeat;
}
.page-banner-inner{ position:relative; z-index:2; max-width:780px; }
.page-banner h1{
  color:#fff; font-size:clamp(2.4rem,5vw,3.6rem); margin-bottom:1rem;
}
.page-banner p{ color:#CFD8F0; font-size:1.05rem; max-width:55ch; }
.crumbs{
  display:flex; align-items:center; gap:.5rem; margin-bottom:1rem;
  font-size:.85rem; color:#A8B5DA;
}
.crumbs a{ color:#fff; }
.crumbs .sep{ opacity:.5; }
.crumbs .here{ color:#7DD3FC; font-weight:600; }

/* ───────────────────── Service detail card (services page) ───────────────────── */
.service-row{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,68px);
  align-items:center; padding-block:clamp(40px,5vw,72px);
}
.service-row + .service-row{ border-top:1px solid var(--border); }
.service-row.flip{ grid-template-columns:1fr 1fr; }
.service-row.flip .visual{ order:2; }
@media (max-width:880px){
  .service-row, .service-row.flip{ grid-template-columns:1fr; }
  .service-row.flip .visual{ order:0; }
}
.service-row .visual{
  position:relative;
}
.service-row .visual img{
  width:100%; aspect-ratio:5/4; object-fit:cover;
  border-radius:var(--r-xl); box-shadow:var(--sh-3);
}
.service-row .visual .badge{
  position:absolute; left:18px; bottom:18px;
  background:#fff; padding:.7rem 1rem; border-radius:var(--r-pill);
  font-size:.82rem; font-weight:600; box-shadow:var(--sh-2); color:var(--ink-900);
  display:inline-flex; align-items:center; gap:.5rem;
}
.service-row .visual .badge .ico{ color:var(--teal-500); display:inline-flex; }
.service-row .copy h2{ font-size:clamp(1.6rem,2.6vw,2.1rem); margin-block:.6rem 1rem; }
.service-row .copy ul.checks{ display:grid; gap:.6rem; margin-block:1rem 1.4rem; }
.service-row .copy ul.checks li{
  display:flex; align-items:flex-start; gap:.6rem; font-size:.95rem; color:var(--text-700);
}
.service-row .copy ul.checks li .c{
  flex-shrink:0; width:22px; height:22px; border-radius:50%;
  background:var(--mint); color:var(--teal-700);
  display:inline-flex; align-items:center; justify-content:center;
  margin-top:2px;
}

/* ───────────────────── Contact ───────────────────── */
.contact-grid{
  display:grid; grid-template-columns:1.02fr 1.08fr;
  gap:clamp(24px,4vw,48px);
  align-items:stretch;
}
@media (max-width:880px){ .contact-grid{ grid-template-columns:1fr; } }

.contact-info{
  display:flex; flex-direction:column; gap:1rem;
}
.contact-info > .eyebrow{ align-self:flex-start; }

/* Right column: map stretches to match left column height, CTA stays at bottom */
.contact-map-col{
  display:flex; flex-direction:column; gap:1rem;
  min-height:100%;
}
.contact-map-col .map-frame{
  flex:1 1 auto;
  height:auto;
  min-height:480px;
}
.contact-map-col .map-cta{ align-self:flex-start; }
@media (max-width:880px){
  .contact-map-col .map-frame{ min-height:360px; }
}
.info-card{
  display:flex; align-items:flex-start; gap:1rem;
  padding:1.4rem; background:#fff; border:1px solid var(--border); border-radius:var(--r-lg);
  transition:all .3s var(--ease);
}
.info-card:hover{ border-color:var(--brand-500); box-shadow:var(--sh-2); transform:translateY(-2px); }
.info-card .ico{
  width:50px; height:50px; flex-shrink:0; border-radius:var(--r-md);
  background:var(--grad-brand); color:#fff;
  display:inline-flex; align-items:center; justify-content:center;
}
.info-card h4{ font-size:1rem; margin-bottom:.3rem; color:var(--ink-900); }
.info-card a, .info-card span{ color:var(--text-600); font-size:.92rem; line-height:1.6; }
.info-card a:hover{ color:var(--brand-700); }

.form-card{
  background:#fff; border:1px solid var(--border); border-radius:var(--r-xl);
  padding:clamp(1.5rem,3vw,2.4rem);
  box-shadow:var(--sh-2);
}
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-grid .full{ grid-column:1/-1; }
@media (max-width:560px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:block; }
.field label{
  display:block; font-size:.82rem; font-weight:600; color:var(--text-700);
  margin-bottom:.4rem; letter-spacing:.02em;
}
.field input, .field textarea, .field select{
  width:100%; padding:.85rem 1rem;
  border:1px solid var(--border); border-radius:var(--r-md);
  background:#fff; color:var(--text-800); font-size:.95rem;
  transition:all .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none; border-color:var(--brand-500);
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}
.field textarea{ min-height:140px; resize:vertical; }
.form-foot{
  margin-top:1.2rem; display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap;
}
.form-foot p{ font-size:.84rem; color:var(--text-500); }

.map-frame{
  border-radius:var(--r-xl); overflow:hidden; height:420px; box-shadow:var(--sh-2);
  border:1px solid var(--border);
}
.map-frame iframe{ width:100%; height:100%; border:0; }

/* ───────────────────── Gallery masonry ───────────────────── */
.gallery{
  columns:3; column-gap:1.1rem;
}
@media (max-width:991px){ .gallery{ columns:2; } }
@media (max-width:560px){ .gallery{ columns:1; } }
.gallery .g-item{
  display:block; margin-bottom:1.1rem; break-inside:avoid;
  border-radius:var(--r-lg); overflow:hidden; position:relative;
  border:1px solid var(--border); background:#fff;
}
.gallery .g-item img{ width:100%; height:auto; display:block; transition:transform .6s var(--ease); }
.gallery .g-item:hover img{ transform:scale(1.04); }
.gallery .g-item::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,transparent 60%, rgba(8,22,58,.65));
  opacity:0; transition:opacity .35s var(--ease);
}
.gallery .g-item:hover::after{ opacity:1; }
.gallery .g-item .cap{
  position:absolute; left:0; right:0; bottom:0; padding:1rem;
  color:#fff; font-weight:600; font-size:.9rem; transform:translateY(8px);
  opacity:0; transition:all .35s var(--ease); z-index:2;
}
.gallery .g-item:hover .cap{ opacity:1; transform:translateY(0); }

/* ───────────────────── Footer ───────────────────── */
.site-footer{
  background:var(--ink-900); color:#B8C4E5;
  padding:clamp(64px,8vw,96px) 0 0;
  position:relative; overflow:hidden;
}
.site-footer::before{
  content:""; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(99,102,241,.4), transparent);
}
.foot-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:2rem;
  padding-bottom:3rem;
}
@media (max-width:991px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .foot-grid{ grid-template-columns:1fr; } }
.foot-brand img{ height:88px; margin-bottom:1rem; filter:brightness(0) invert(1); }
.foot-brand p{ color:#94A3B8; font-size:.92rem; max-width:38ch; margin-bottom:1.25rem; }
.foot-news{
  display:flex; align-items:center; gap:.5rem;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  border-radius:var(--r-pill); padding:.4rem .4rem .4rem 1rem;
  max-width:340px;
}
.foot-news input{
  flex:1; background:transparent; border:0; color:#fff; padding:.6rem 0; min-width:0;
  font-size:.9rem;
}
.foot-news input::placeholder{ color:#94A3B8; }
.foot-news button{
  background:var(--grad-brand); color:#fff; border-radius:var(--r-pill);
  padding:.6rem 1rem; font-weight:600; font-size:.85rem;
}

.foot-col h5{
  color:#fff; font-size:1rem; margin-bottom:1.1rem;
  letter-spacing:.02em;
}
.foot-col ul li{ margin-bottom:.7rem; }
.foot-col ul li a{ color:#94A3B8; font-size:.93rem; transition:all .25s var(--ease); }
.foot-col ul li a:hover{ color:#fff; padding-left:6px; }

.foot-contact li{
  display:flex; gap:.7rem; align-items:flex-start; margin-bottom:.9rem;
  font-size:.92rem; color:#94A3B8;
}
.foot-contact li svg{ width:18px; height:18px; color:var(--teal-500); flex-shrink:0; margin-top:3px; }
.foot-contact a{ color:inherit; }
.foot-contact a:hover{ color:#fff; }

.foot-social{ display:flex; gap:.6rem; margin-top:1rem; }
.foot-social a{
  width:40px; height:40px; border-radius:var(--r-pill);
  background:rgba(255,255,255,.08); display:inline-flex; align-items:center; justify-content:center;
  color:#fff; transition:all .3s var(--ease);
}
.foot-social a:hover{ background:var(--brand-600); transform:translateY(-2px); }

.foot-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding:1.5rem 0; display:flex; align-items:center; justify-content:space-between;
  gap:1rem; flex-wrap:wrap; font-size:.86rem; color:#94A3B8;
}
.foot-bottom a{ color:#CBD5E1; }
.foot-bottom .legal{ display:flex; gap:1.2rem; }
.foot-bottom .legal a:hover{ color:#fff; }

/* ───────────────────── Floating actions ───────────────────── */
.fab-stack{
  position:fixed; right:18px; bottom:18px; z-index:60;
  display:flex; flex-direction:column; gap:.65rem;
}
.fab{
  width:52px; height:52px; border-radius:var(--r-pill);
  display:inline-flex; align-items:center; justify-content:center;
  background:#fff; color:var(--ink-800); box-shadow:var(--sh-3);
  border:1px solid var(--border);
  transition:all .3s var(--ease);
}
.fab:hover{ transform:translateY(-3px); }
.fab.whatsapp{ background:#25D366; color:#fff; border-color:transparent; }
.fab.whatsapp:hover{ background:#1FB957; }
.fab.scroll-top{ opacity:0; pointer-events:none; transform:translateY(20px); }
.fab.scroll-top.show{ opacity:1; pointer-events:auto; transform:none; }

/* ───────────────────── Preloader ───────────────────── */
.preloader{
  position:fixed; inset:0; z-index:999;
  background:#fff;
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:1.2rem;
  transition:opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.is-hidden{ opacity:0; visibility:hidden; }
.preloader .pulse-wrap{
  position:relative; display:flex; align-items:center; justify-content:center;
}
/* soft pulsing halo behind the logo */
.preloader .pulse-wrap::before, .preloader .pulse-wrap::after{
  content:""; position:absolute; left:50%; top:50%; width:220px; height:220px;
  transform:translate(-50%,-50%) scale(.5); border-radius:50%;
  background:radial-gradient(circle, rgba(37,99,235,.18), rgba(37,99,235,0) 70%);
  animation:preloader-pulse 2.2s var(--ease) infinite;
}
.preloader .pulse-wrap::after{ animation-delay:-1.1s; }
@keyframes preloader-pulse{
  0%{ transform:translate(-50%,-50%) scale(.5); opacity:.5; }
  100%{ transform:translate(-50%,-50%) scale(1.5); opacity:0; }
}
.preloader .pre-logo{
  position:relative; z-index:1; display:block;
  width:min(120px, 32vw); height:auto;
  animation:pre-breathe 2.6s var(--ease) infinite;
}
@keyframes pre-breathe{
  0%,100%{ transform:scale(.96); opacity:.9; }
  50%{ transform:scale(1.04); opacity:1; }
}
.preloader .label{ font-family:var(--font-display); font-weight:700; color:var(--ink-900); letter-spacing:.04em; text-align:center; font-size:1.15rem; }
.preloader .label small{ display:block; font-weight:500; color:var(--text-500); font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; }

/* ───────────────────── Reveal animations ───────────────────── */
.reveal{
  opacity:0; transform:translateY(20px);
  transition:opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.in{ opacity:1; transform:none; }
.reveal[data-delay="1"]{ transition-delay:.08s; }
.reveal[data-delay="2"]{ transition-delay:.16s; }
.reveal[data-delay="3"]{ transition-delay:.24s; }
.reveal[data-delay="4"]{ transition-delay:.32s; }
.reveal[data-delay="5"]{ transition-delay:.4s; }
.reveal[data-delay="6"]{ transition-delay:.48s; }

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation:none !important; transition:none !important; }
  .reveal{ opacity:1; transform:none; }
}

/* ───────────────────── Utility ───────────────────── */
.divider-soft{ height:1px; background:var(--border); border:0; margin-block:2rem; }
.tag{ display:inline-flex; align-items:center; gap:.4rem; padding:.3rem .7rem; border-radius:var(--r-pill); background:var(--brand-50); color:var(--brand-700); font-size:.78rem; font-weight:600; }

/* 404 */
.notfound{
  min-height:calc(100vh - var(--header-h));
  display:flex; align-items:center; justify-content:center;
  text-align:center; padding-block:80px;
  background:var(--grad-soft);
}
.notfound .num{
  font-family:var(--font-display); font-weight:800;
  font-size:clamp(6rem,18vw,14rem);
  background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent;
  line-height:1; letter-spacing:-.06em;
}
.notfound h1{ font-size:clamp(1.8rem,3vw,2.4rem); margin-block:.5rem 1rem; }
.notfound p{ max-width:48ch; margin-inline:auto; margin-bottom:1.6rem; }

/* About page philosophy strip */
.philosophy-grid{
  display:grid; gap:1.25rem; grid-template-columns:repeat(3,1fr);
}
@media (max-width:880px){ .philosophy-grid{ grid-template-columns:1fr; } }
.philosophy-card{
  position:relative; padding:1.8rem; border-radius:var(--r-xl);
  background:#fff; border:1px solid var(--border);
  transition:all .35s var(--ease);
}
.philosophy-card:hover{ box-shadow:var(--sh-3); transform:translateY(-4px); }
.philosophy-card .num{
  font-family:var(--font-display); font-weight:800; font-size:3rem;
  color:var(--brand-100); line-height:1; letter-spacing:-.04em;
}
.philosophy-card h3{ margin-block:.5rem .6rem; font-size:1.2rem; }
.philosophy-card p{ font-size:.93rem; color:var(--text-600); }

/* Timeline (about page) */
.timeline{ position:relative; max-width:820px; margin-inline:auto; padding-left:1.5rem; }
.timeline::before{
  content:""; position:absolute; left:8px; top:0; bottom:0; width:2px;
  background:linear-gradient(180deg,var(--brand-500),var(--teal-500));
  border-radius:2px;
}
.timeline-item{ position:relative; padding-bottom:2rem; }
.timeline-item::before{
  content:""; position:absolute; left:-1.5rem; top:6px;
  width:18px; height:18px; border-radius:50%;
  background:#fff; border:3px solid var(--brand-600);
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}
.timeline-item .yr{
  display:inline-block; font-weight:700; font-family:var(--font-display);
  color:var(--brand-700); font-size:.85rem; letter-spacing:.06em; text-transform:uppercase;
}
.timeline-item h4{ margin-block:.35rem .35rem; }

/* Pulse video frame for testimonial page (placeholder for embed) */
.video-card{
  position:relative; aspect-ratio:16/10;
  border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--sh-3);
  background:#0E2150;
}
.video-card img{ width:100%; height:100%; object-fit:cover; opacity:.85; }
.video-card .play{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:#fff;
}
.video-card .play .b{
  width:74px; height:74px; border-radius:50%;
  background:rgba(255,255,255,.95); color:var(--ink-900);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 20px 40px -10px rgba(0,0,0,.4);
  position:relative;
}
.video-card .play .b::after{
  content:""; position:absolute; inset:-12px; border-radius:50%;
  border:3px solid rgba(255,255,255,.5);
  animation:ringPulse 1.8s infinite;
}

/* simple two-col split feature */
.split-feature{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,72px); align-items:center;
}
.split-feature.flip > :first-child{ order:2; }
@media (max-width:880px){ .split-feature{ grid-template-columns:1fr; } .split-feature.flip > :first-child{ order:0; } }
.split-feature .v-img{
  border-radius:var(--r-xl); overflow:hidden;
  box-shadow:var(--sh-3); aspect-ratio:5/4;
}
.split-feature .v-img img{ width:100%; height:100%; object-fit:cover; }

/* Misc */
.bg-brand-soft{ background:linear-gradient(180deg,#EDF3FF,#fff); }
.rounded-xl{ border-radius:var(--r-xl); }
.shadow-lg{ box-shadow:var(--sh-3); }
hr.line{ height:1px; border:0; background:var(--border); margin:2rem 0; }
