/* =============================================================
   HIGH SIGHT — Design System
   Aesthetic: clinical clarity + warm humanity
   Teal-blue · sky cyan · cream paper · iris motif
   Fraunces (display serif) + DM Sans (body)
   ============================================================= */

:root {
  /* Palette — matched to the High Sight logo (teal-blue + sky cyan) */
  --ink:        #122a2f;
  --ink-soft:   #3b5257;
  --muted:      #66838a;
  --line:       #dde6e8;

  --teal-900:   #052e3a;
  --teal-800:   #075167;
  --teal-700:   #086a89;
  --teal-600:   #0083a1;
  --teal-500:   #129cbd;
  --teal-300:   #7dd3ea;
  --teal-100:   #d3f1f8;
  --teal-50:    #eafbfd;

  --apricot:    #2ac4f4;
  --apricot-600:#0fabdb;
  --apricot-100:#d3f3fc;
  --gold:       #cf9d4f;

  --cream:      #f6f2e9;
  --paper:      #fffdf8;
  --paper-2:    #fbf7ee;

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shape & depth */
  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(7, 81, 103, .07);
  --shadow: 0 18px 40px -18px rgba(5, 46, 58, .28);
  --shadow-lg: 0 40px 80px -30px rgba(5, 46, 58, .40);

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

/* ---------- Reset ---------- */
*, *::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(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
svg.icon { display: inline-block; vertical-align: middle; flex: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--teal-900);
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--ink-soft); line-height: 1.55; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal-600);
}
.eyebrow::before {
  content: ''; width: 26px; height: 1.5px; background: var(--apricot);
}
.eyebrow.center::after {
  content: ''; width: 26px; height: 1.5px; background: var(--apricot);
}
.eyebrow.center { justify-content: center; }

.script { font-style: italic; color: var(--apricot-600); font-family: var(--font-display); }

/* ---------- Layout ---------- */
.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: 3.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 1.6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 100px;
  font-weight: 600; font-size: .98rem; border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  will-change: transform;
}
.btn svg { transition: transform .35s var(--ease); }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--teal-800); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-accent { background: var(--apricot); color: var(--teal-900); box-shadow: 0 14px 30px -12px rgba(15,171,219,.55); }
.btn-accent:hover { background: var(--apricot-600); color:#fff; transform: translateY(-3px); }
.btn-accent:hover svg { transform: translateX(4px); }
.btn-ghost { border-color: var(--teal-300); color: var(--teal-800); background: transparent; }
.btn-ghost:hover { background: var(--teal-800); color: #fff; border-color: var(--teal-800); transform: translateY(-3px); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(4px); }
.btn-light:hover { background: #fff; color: var(--teal-800); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

/* =============================================================
   TOP BAR + HEADER
   ============================================================= */
.topbar {
  background: var(--teal-900); color: #cfe6e2;
  font-size: .84rem; letter-spacing: .01em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; color: #cfe6e2; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 1.6rem; }
.topbar svg { color: var(--teal-300); }
.topbar .tb-hours { color: #8fb8b2; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { height: 44px; width: auto; flex: none; }

.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; padding: .5rem .9rem; font-weight: 500; font-size: .96rem;
  color: var(--ink-soft); border-radius: 8px; transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px;
  background: var(--apricot); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--teal-800); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: .8rem; }

.nav-toggle { display: none; background: none; border: 0; color: var(--teal-800); padding: .3rem; }

/* =============================================================
   HERO
   ============================================================= */
.hero { position: relative; overflow: hidden; background: var(--paper); padding: clamp(3rem,7vw,5.5rem) 0 clamp(4rem,8vw,6rem); }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 88% -8%, var(--teal-50), transparent 60%),
    radial-gradient(700px 500px at 6% 108%, var(--apricot-100), transparent 55%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero-copy h1 { margin-top: 1rem; }
.hero-copy h1 .script { display: block; font-size: .78em; }
.hero-copy .lead { max-width: 30rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }
.hero-trust { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-trust .stat b { font-family: var(--font-display); font-size: 2rem; color: var(--teal-800); display: block; line-height: 1; }
.hero-trust .stat span { font-size: .82rem; color: var(--muted); }

/* Hero visual — layered iris portrait */
.hero-visual { position: relative; }
.hero-portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 140px 140px 32px 32px;
  background: linear-gradient(160deg, var(--teal-600), var(--teal-800));
  overflow: hidden; box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.hero-portrait .iris { width: 78%; }
.hero-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-portrait::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, transparent 40%, rgba(5,46,58,.4));
}
.hero-badge {
  position: absolute; background: var(--paper); border-radius: 16px; box-shadow: var(--shadow);
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .7rem; z-index: 3;
}
.hero-badge .hb-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.hero-badge b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--teal-900); line-height: 1; }
.hero-badge span { font-size: .76rem; color: var(--muted); }
.hero-badge.b1 { top: 8%; left: -6%; }
.hero-badge.b2 { bottom: 9%; right: -5%; }
.hero-badge.b1 .hb-icon { background: var(--apricot); }
.hero-badge.b2 .hb-icon { background: var(--teal-600); }

/* Marquee of trusted terms */
.marquee { background: var(--teal-900); color: #bfe0db; overflow: hidden; padding: .95rem 0; }
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: slide 32s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; opacity: .85; display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: '✦'; color: var(--apricot); font-style: normal; font-size: .8rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* =============================================================
   FEATURE / VALUE CARDS
   ============================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.9rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-600); margin-bottom: 1.2rem; transition: background .35s, color .35s;
}
.card:hover .card-icon { background: var(--teal-700); color: #fff; }
.card h3 { font-size: 1.32rem; }
.card p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 0; }
.card .card-link {
  margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .9rem; color: var(--teal-700);
}
.card .card-link svg { transition: transform .3s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* =============================================================
   ABOUT / SPLIT
   ============================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-frame {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4;
  background: linear-gradient(150deg, var(--teal-100), var(--teal-50));
  box-shadow: var(--shadow); display: grid; place-items: center; border: 1px solid var(--line);
}
.split-frame .iris { width: 62%; }
.split-frame img { width: 100%; height: 100%; object-fit: cover; }
.stat-chip {
  position: absolute; bottom: -1.4rem; right: -1rem; background: var(--teal-800); color: #fff;
  border-radius: 18px; padding: 1.2rem 1.5rem; box-shadow: var(--shadow-lg); text-align: center;
}
.stat-chip b { font-family: var(--font-display); font-size: 2.4rem; display: block; line-height: 1; }
.stat-chip span { font-size: .78rem; color: var(--teal-100); letter-spacing: .05em; }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .9rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-soft); }
.check-list li .tick {
  width: 26px; height: 26px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600);
  display: grid; place-items: center; flex: none; margin-top: 2px;
}

/* =============================================================
   STATS BAND
   ============================================================= */
.band {
  background: linear-gradient(140deg, var(--teal-800), var(--teal-900));
  color: #fff; position: relative; overflow: hidden;
}
.band::before {
  content: ''; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px;
  border-radius: 50%; border: 60px solid rgba(255,255,255,.04);
}
.band .container { position: relative; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.band-grid .stat b { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); display: block; line-height: 1; }
.band-grid .stat b span { color: var(--apricot); }
.band-grid .stat p { color: #a9cfca; font-size: .92rem; margin: .5rem 0 0; }

/* =============================================================
   DOCTORS
   ============================================================= */
.doctor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.doctor {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.doctor:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.doctor-photo {
  aspect-ratio: 1/1; background: linear-gradient(160deg, var(--teal-100), var(--teal-50));
  display: grid; place-items: center; position: relative;
}
.doctor-photo .iris { width: 58%; opacity: .9; }
.doctor-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.doctor-photo .tag {
  position: absolute; top: 1rem; left: 1rem; background: var(--paper); color: var(--teal-700);
  font-size: .72rem; font-weight: 600; padding: .35rem .7rem; border-radius: 100px; box-shadow: var(--shadow-sm);
}
.doctor-body { padding: 1.3rem 1.4rem 1.6rem; }
.doctor-body h3 { font-size: 1.25rem; margin-bottom: .15rem; }
.doctor-body .qual { font-size: .82rem; color: var(--muted); margin-bottom: .5rem; }
.doctor-body .spec { font-size: .92rem; color: var(--apricot-600); font-weight: 600; margin: 0; }

/* =============================================================
   TESTIMONIALS (Trustindex Google-reviews widget)
   ============================================================= */
.testi-widget { min-height: 220px; }

/* =============================================================
   CTA BANNER
   ============================================================= */
.cta-banner { position: relative; }
.cta-inner {
  background: linear-gradient(140deg, var(--apricot), var(--apricot-600));
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-inner::before, .cta-inner::after {
  content: ''; position: absolute; border-radius: 50%; border: 50px solid rgba(255,255,255,.12);
}
.cta-inner::before { width: 320px; height: 320px; top: -160px; left: -80px; }
.cta-inner::after { width: 240px; height: 240px; bottom: -140px; right: -40px; }
.cta-inner h2 { color: #fff; position: relative; }
.cta-inner p { color: #fff2ea; position: relative; max-width: 40rem; margin: 0 auto 1.8rem; }
.cta-inner .hero-actions { position: relative; justify-content: center; margin: 0; }

/* =============================================================
   PAGE HERO (interior pages)
   ============================================================= */
.page-hero { background: var(--paper); position: relative; overflow: hidden; padding: clamp(3rem,6vw,4.5rem) 0; text-align: center; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 50% -30%, var(--teal-50), transparent 60%);
}
.page-hero .container { position: relative; }
.crumbs { display: flex; gap: .5rem; justify-content: center; font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.crumbs a { color: var(--teal-600); }
.crumbs span { color: var(--line); }

/* =============================================================
   FORMS
   ============================================================= */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.15rem; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 0; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--teal-800); margin-bottom: .45rem; }
.field label .req { color: var(--apricot-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper-2); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); background: #fff;
  box-shadow: 0 0 0 4px var(--teal-50);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.row + .field { margin-top: 1.15rem; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; flex: none; }
.info-list b { display: block; color: var(--teal-900); font-family: var(--font-display); font-size: 1.05rem; }
.info-list span { color: var(--ink-soft); font-size: .95rem; }
.info-list a { color: var(--ink-soft); }
.info-list a:hover { color: var(--teal-700); }

.hours-card { background: var(--teal-900); color: #cfe6e2; border-radius: var(--radius-lg); padding: 2rem; margin-top: 1.8rem; }
.hours-card h3 { color: #fff; }
.hours-card .row { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: .95rem; }
.hours-card .row:last-child { border-bottom: 0; }
.hours-card .row span:last-child { color: #fff; font-weight: 600; }
.hours-card .row.em span:last-child { color: var(--apricot); }

/* =============================================================
   ALERTS / FLASH
   ============================================================= */
.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.4rem; display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.alert-success { background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-100); }
.alert-error { background: #fdeae2; color: #a23c1c; border: 1px solid #f6d3c4; }
.alert svg { flex: none; margin-top: 2px; }

/* =============================================================
   MAP
   ============================================================= */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { width: 100%; height: 420px; border: 0; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--teal-900); color: #a9cfca; padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer-brand .footer-mark { height: 48px; }
.footer-brand p { margin: 1.2rem 0; font-size: .95rem; max-width: 22rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-col a { font-size: .95rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .95rem; align-items: flex-start; }
.footer-contact svg { color: var(--apricot); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.6rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--teal-300); }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s; }
.footer-social a:hover { background: var(--apricot); color: #fff; border-color: var(--apricot); }

/* Floating call button (mobile) */
.fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--apricot); color: #fff;
  display: none; place-items: center; box-shadow: var(--shadow-lg);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(42,196,244,.5); } 50% { box-shadow: 0 0 0 14px rgba(42,196,244,0); } }

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .fab { animation: none; }
  html { scroll-behavior: auto; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .cards, .doctor-grid { grid-template-columns: repeat(2, 1fr); }
  .band-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: -1; }
  .stat-chip { right: 1rem; }
  .form-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar .tb-hours, .topbar .tb-mail-label { display: none; }
  .nav-links, .nav-cta .btn-appt-label { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--paper); padding: 1rem; gap: .2rem; box-shadow: var(--shadow); border-top: 1px solid var(--line);
  }
  .nav-links.open a { padding: .8rem 1rem; border-radius: 10px; }
  .nav-links.open a::after { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .cards, .doctor-grid { grid-template-columns: 1fr; }
  .fab { display: grid; }
  .hero-badge.b1 { left: 0; }
  .hero-badge.b2 { right: 0; }
  .field.row { grid-template-columns: 1fr; gap: 0; }
  .field.row > * { margin-bottom: 1.15rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* =============================================================
   INDIVIDUAL SERVICE PAGE
   ============================================================= */
.service-content h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.7rem); margin-top: 2.4rem;
}
.service-content h2:first-child { margin-top: 0; }
.service-content h4 { font-size: 1rem; color: var(--teal-800); margin-bottom: .8rem; }
.service-content p { color: var(--ink-soft); font-size: 1.02rem; }
.service-content .check-list { margin: 1rem 0 1.5rem; }
.service-content .check-list li b { color: var(--ink); }

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 1.2rem 0 1.8rem; }
.compare-col { border-radius: var(--radius); padding: 1.6rem 1.7rem; border: 1px solid var(--line); }
.compare-col.good { background: var(--teal-50); }
.compare-col.caution { background: var(--apricot-100); }
.compare-col .check-list { margin: 0; }
.compare-col .check-list li .tick { display: none; }
.compare-col .check-list li { padding-left: 1.2rem; position: relative; }
.compare-col .check-list li::before { content: '•'; position: absolute; left: 0; color: var(--teal-600); }
.compare-col.caution .check-list li::before { color: var(--apricot-600); }

.table-scroll { overflow-x: auto; margin: 1.2rem 0 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); }
.price-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.price-table th {
  text-align: left; padding: .85rem 1.2rem; font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); background: var(--cream); font-weight: 600; white-space: nowrap;
}
.price-table td { padding: .75rem 1.2rem; border-top: 1px solid var(--line); color: var(--ink-soft); }
.price-table td:last-child { text-align: right; font-weight: 600; color: var(--teal-900); white-space: nowrap; }
.price-table tr:hover td { background: var(--teal-50); }
.price-note { font-size: .85rem; color: var(--muted); margin-top: -1rem; margin-bottom: 1.8rem; }

.service-cta { background: var(--teal-50); border: 1px solid var(--teal-100); }

@media (max-width: 720px) {
  .compare-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   PRELOADER
   ============================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--teal-900), var(--teal-800));
  transition: opacity .5s var(--ease), visibility 0s linear 0s;
}
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.preloader-mark { width: 96px; height: 96px; animation: preloader-pulse 1.6s ease-in-out infinite; }
.preloader-mark svg { width: 100%; height: 100%; }
.preloader-logo { height: 24px; width: auto; filter: brightness(0) invert(1); opacity: .9; }

@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: .75; }
}

.preloader.is-hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}

@media (prefers-reduced-motion: reduce) {
  .preloader-mark { animation: none; }
}
