/* =============================================================
   Dr. Sandeep Lenka — Orthopedic Surgeon
   Premium healthcare landing — Vanilla CSS
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --ink:        #0a1f33;     /* deep navy ink */
  --ink-2:      #1a3756;
  --muted:      #5a6b80;
  --line:       #e7edf3;
  --bg:         #ffffff;
  --bg-soft:    #f5f8fc;
  --bg-mist:    #eef4fb;

  --blue:       #0b4f8a;     /* primary medical blue */
  --blue-deep:  #07365f;
  --blue-soft:  #e5f0fb;
  --blue-ink:   #062a4d;

  --green:      #2ea88f;     /* subtle wellness green */
  --green-soft: #e6f6f1;
  --green-deep: #1d7a66;

  --gold:       #c9a25b;

  --shadow-sm: 0 2px 8px rgba(11,79,138,.06);
  --shadow:    0 18px 40px -22px rgba(7,54,95,.35);
  --shadow-lg: 0 30px 70px -28px rgba(7,54,95,.45);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-deep); }
button { font-family: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 16px; top: 16px; width: auto; height: auto; padding: 10px 14px;
  background: var(--blue); color: #fff; border-radius: 8px; z-index: 999;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--blue-ink); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.6rem); font-weight: 500; letter-spacing: -.025em; }
h1 em { font-style: italic; color: var(--green-deep); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 2.6vw + 1rem, 2.9rem); font-weight: 500; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); font-family: var(--font-body); font-weight: 700; }
p  { color: var(--muted); margin: 0 0 1em; }
strong { color: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow.muted { background: transparent; color: var(--green-deep); padding: 0; }
.eyebrow.muted::before { content: "—"; margin-right: 8px; color: var(--green); }

.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { margin: 10px 0 14px; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .98rem; padding: 14px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 1.05em; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 28px -14px rgba(11,79,138,.7); }
.btn-primary:hover { background: var(--blue-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 18px 32px -16px rgba(11,79,138,.8); }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: var(--green-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost   { background: rgba(255,255,255,.7); color: var(--ink-2); border-color: var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--blue); border-color: var(--blue-soft); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue-soft); }
.btn-outline:hover { background: var(--blue-soft); color: var(--blue-deep); }
.btn-sm { padding: 10px 16px; font-size: .9rem; }

.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--blue); color: #fff !important; font-weight: 600; font-size: .92rem;
  box-shadow: 0 10px 22px -12px rgba(11,79,138,.65);
}
.btn-pill:hover { background: var(--blue-deep); transform: translateY(-1px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--blue-ink); }
.brand:hover { color: var(--blue); }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; font-size: 1.1rem; box-shadow: 0 8px 18px -10px rgba(11,79,138,.7);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--blue-ink); }
.brand-sub  { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); font-weight: 600; }

.primary-nav { display: flex; align-items: center; }
.nav-menu {
  list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0;
}
.nav-menu a {
  font-weight: 500; font-size: .94rem; color: var(--ink-2);
  position: relative; padding: 6px 0;
}
.nav-menu a:not(.btn-pill)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--green); transition: right .3s var(--ease);
}
.nav-menu a:not(.btn-pill):hover::after { right: 0; }
.nav-cta a { padding: 10px 18px; }

.nav-toggle {
  display: none;
  background: transparent; border: 0; padding: 8px; width: 42px; height: 42px;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--blue-ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 80px; padding-bottom: 90px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(1200px 600px at 0% -10%, var(--blue-soft) 0%, transparent 60%),
  radial-gradient(800px 500px at 100% 10%, var(--green-soft) 0%, transparent 60%),
  var(--bg);
}
.hero-bg .orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
}
.orb-1 { width: 380px; height: 380px; left: -120px; top: 40%; background: #cfe4f7; }
.orb-2 { width: 320px; height: 320px; right: -100px; bottom: 5%; background: #c9ece1; }
.grain {
  position: absolute; inset: 0; opacity: .035; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center;
}
.hero-copy h1 { margin: 18px 0 22px; }
.hero-lede { font-size: 1.12rem; max-width: 56ch; color: var(--ink-2); }
.hero-meta {
  list-style: none; padding: 0; margin: 28px 0 32px; display: flex; flex-wrap: wrap; gap: 14px 28px;
  color: var(--ink-2); font-weight: 500; font-size: .95rem;
}
.hero-meta i { color: var(--green); margin-right: 8px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-row {
  display: flex; gap: 36px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line);
}
.trust-row > div { display: flex; flex-direction: column; }
.trust-row strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--blue-ink); font-weight: 600; line-height: 1; }
.trust-row span { font-size: .8rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }

.hero-portrait { position: relative; }
.portrait-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, var(--blue-soft), var(--green-soft));
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.badge-float {
  position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px;
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
  box-shadow: 0 18px 36px -18px rgba(7,54,95,.45);
  display: inline-flex; align-items: center; gap: 8px;
}
.badge-float i { color: var(--blue); }
.badge-top { top: 22px; left: -18px; }
.badge-bot { bottom: 22px; right: -22px; }
.badge-bot i { color: var(--gold); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list i { color: var(--green); margin-top: 4px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--blue); padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.link-arrow:hover { color: var(--green-deep); }

/* ---------- Specializations ---------- */
.specs { background: var(--bg-soft); }
.spec-grid {
  display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr);
}
.spec-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.spec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-soft); }
.spec-card h3 { margin: 16px 0 8px; color: var(--blue-ink); }
.spec-card p { margin: 0; font-size: .94rem; color: var(--muted); }
.spec-ico {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 14px; background: var(--blue-soft); color: var(--blue);
  font-size: 1.15rem;
}
.spec-card:nth-child(even) .spec-ico { background: var(--green-soft); color: var(--green-deep); }

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.why-card {
  padding: 30px 26px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card i { font-size: 1.4rem; color: var(--blue); background: var(--blue-soft); width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 16px; }
.why-card h3 { margin: 0 0 8px; }
.why-card p { margin: 0; font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.t-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.t-card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.t-card::before {
  content: "\201C"; position: absolute; top: -40px; right: 10px;
  font-family: var(--font-display); font-size: 12rem; color: var(--blue-soft); line-height: 1;
}
.t-card blockquote { margin: 0 0 18px; font-size: 1.05rem; color: var(--ink-2); font-family: var(--font-display); font-weight: 500; line-height: 1.5; }
.t-card figcaption { display: flex; flex-direction: column; }
.t-card strong { color: var(--blue-ink); }
.t-card span { font-size: .85rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.g-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.g-item {
  overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3;
  position: relative; cursor: zoom-in; background: var(--bg-soft);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.08); }
.g-item::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(255,255,255,.92); color: var(--blue);
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.g-item:hover::after { opacity: 1; transform: translateY(0); }

/* ---------- Videos ---------- */
.videos { background: var(--bg-soft); }
.v-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.v-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #000; aspect-ratio: 16/9; box-shadow: var(--shadow);
}
.v-card iframe, .v-card img { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.v-thumb {
  position: relative; display: block; text-decoration: none; color: #fff; height: 100%;
}
.v-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.75));
}
.v-play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
}
.v-play i {
  width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.95);
  display: grid; place-items: center; color: var(--blue); font-size: 1.4rem;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.5);
  transition: transform .3s var(--ease);
}
.v-thumb:hover .v-play i { transform: scale(1.1); }
.v-title {
  position: absolute; bottom: 16px; left: 18px; right: 18px; z-index: 2;
  font-weight: 600; font-size: 1rem; line-height: 1.3;
}
.v-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.95); color: var(--blue-ink);
  padding: 6px 10px; border-radius: 999px;
}

/* ---------- Clinic ---------- */
.clinic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.clinic-card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  border: 1px solid var(--line); position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.clinic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.clinic-card.primary { background: linear-gradient(180deg, #fff, var(--blue-soft)); border-color: transparent; }
.pill {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--blue); color: #fff; padding: 6px 12px; border-radius: 999px;
}
.pill-soft { background: var(--green-soft); color: var(--green-deep); }
.clinic-card h3 { margin: 14px 0 8px; }
.clinic-card .addr, .clinic-card .hours { color: var(--muted); font-size: .94rem; margin: 6px 0; display: flex; gap: 8px; }
.clinic-card .addr i { color: var(--blue); margin-top: 4px; }
.clinic-card .hours i { color: var(--green); margin-top: 4px; }
.row-btns { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- Map ---------- */
.map-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 16/8; background: var(--bg-soft);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-wrap .directions {
  position: absolute; bottom: 22px; left: 22px;
}

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, #fff, var(--bg-mist)); }
.contact-split { gap: 60px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue); flex: 0 0 42px; }
.contact-list .lbl { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--blue-ink); font-weight: 600; font-size: 1.05rem; }
.contact-list a:hover { color: var(--blue); }

.contact-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.contact-card {
  background: #fff; border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.contact-card h3 { margin: 0 0 8px; }
.contact-card > p { margin: 0 0 18px; }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.social-row.sm { gap: 10px; margin: 14px 0 0; }
.social-row.sm a { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.social-row.sm a:hover { background: rgba(255,255,255,.2); }
.social {
  flex: 1 1 calc(33% - 12px); min-width: 110px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .92rem;
  color: #fff;
}
.social:hover { transform: translateY(-2px); color: #fff; }
.social.ig { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.social.fb { background: #1877f2; }
.social.yt { background: #ff0000; }

.hours-block { padding-top: 22px; border-top: 1px solid var(--line); }
.hours-block h4 { display: flex; align-items: center; gap: 8px; color: var(--blue-ink); margin-bottom: 12px; }
.hours-block ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hours-block li { display: flex; justify-content: space-between; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list { display: grid; gap: 12px; max-width: 880px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 18px; transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: var(--blue-soft); box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--blue-ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--blue); font-weight: 400; transition: transform .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-ink); color: #c8d6e7; padding: 70px 0 0; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #7aa9d8; }
.site-footer .brand-mark { background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 50px;
}
.foot-brand p { color: #94afcd; margin: 14px 0 18px; max-width: 36ch; }
.site-footer h4 { color: #fff; margin-bottom: 16px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-links a { color: #c8d6e7; font-size: .94rem; }
.foot-links a:hover { color: #fff; }
.site-footer address { font-style: normal; color: #c8d6e7; line-height: 1.7; font-size: .94rem; }
.site-footer address + p a { color: #fff; font-weight: 600; }

.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.foot-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.foot-bottom p { margin: 0; font-size: .85rem; color: #94afcd; }
.muted-sm { font-size: .8rem; }

/* ---------- Floating Action Buttons ---------- */
.fab-stack {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
}
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 1.3rem; box-shadow: 0 14px 30px -8px rgba(0,0,0,.35);
  position: relative; transition: transform .25s var(--ease);
}
.fab:hover { transform: scale(1.08); color: #fff; }
.fab-wa   { background: #25d366; }
.fab-call { background: var(--blue); }
.fab-appt { background: var(--green-deep); }
.fab::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: inherit; opacity: .35; z-index: -1; animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(.9); opacity: .5; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(.9); opacity: 0; }
}
.fab-tip {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--ink); color: #fff; padding: 6px 10px; border-radius: 8px;
  font-size: .8rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.fab:hover .fab-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(7,21,38,.92);
  display: none; place-items: center; z-index: 100; padding: 20px;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-close {
  position: absolute; top: 18px; right: 22px; background: transparent; color: #fff;
  border: 0; font-size: 2.4rem; line-height: 1; cursor: pointer;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid  { grid-template-columns: repeat(2, 1fr); }
  .clinic-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-portrait { order: -1; max-width: 460px; margin: 0 auto; }
  .split-media { max-width: 540px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: 64px 0 auto 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(14px);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 16px 22px 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; font-size: 1rem; }
  .nav-menu a:not(.btn-pill)::after { display: none; }
  .nav-cta { padding-top: 14px; border: 0; }
  .nav-cta a { display: inline-flex; }

  .spec-grid, .t-grid, .v-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .trust-row { gap: 24px; flex-wrap: wrap; }
  .trust-row strong { font-size: 1.4rem; }
  .badge-top { left: 8px; top: 8px; }
  .badge-bot { right: 8px; bottom: 8px; }
  .map-wrap { aspect-ratio: 4/5; }
  .map-wrap .directions { bottom: 14px; left: 14px; right: 14px; justify-content: center; }
  .foot-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding-top: 48px; padding-bottom: 64px; }
  .btn { padding: 12px 20px; font-size: .94rem; }
  .fab { width: 52px; height: 52px; font-size: 1.2rem; }
  .g-grid { grid-template-columns: 1fr; }
}

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

/* ---------- Print ---------- */
@media print {
  .site-header, .fab-stack, .site-footer, .hero-bg { display: none !important; }
  body { color: #000; }
}
