/* ============================================================
   Bluestar Hospital — logo-blue system
   Star logo is sky-blue #A8D8F0; the brand runs on that hue.
   Deep navy spine/bands, cool white-blue paper, sky accents,
   hairline rules, restrained motion.
   ============================================================ */

:root {
  --brand: #15587A;         /* primary: buttons, links, active */
  --brand-dark: #10384C;
  --brand-deep: #0A1F29;    /* darkest: spine base, footer, CTA */
  --tint: #E0F1FA;          /* chip / hover / table backgrounds  */
  --sky: #A8D8F0;           /* logo accent on dark surfaces */
  --sky-mid: #96D0ED;
  --ink: #0A1F29;
  --text: #2A3A44;
  --muted: #66747E;
  --paper: #F4F9FC;         /* cool white-blue ground */
  --card: #FBFEFF;          /* raised surface */
  --off: #EAF4FA;
  --hair: #D9E8F1;          /* hairline */
  --dark: #0A1F29;
  --teal: #15587A;          /* alias — legacy refs resolve to brand */
  --teal-dark: #10384C;
  --teal-darker: #0A1F29;
  --teal-tint: #E0F1FA;
  --link: #15587A;
  --focus: #15587A;
  --accent: #15587A;
  --accent-dark: #10384C;
  --accent-tint: #E0F1FA;
  --accent-light: #A8D8F0;  /* sky on dark surfaces */
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Figtree', sans-serif;
  --container: 1150px;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-lg: 14px;
  --shadow-1: 0 1px 2px rgba(15,40,58,.06), 0 6px 16px rgba(15,40,58,.05);
  --shadow-2: 0 2px 4px rgba(15,40,58,.08), 0 12px 28px rgba(15,40,58,.08);
  --shadow-3: 0 4px 8px rgba(15,40,58,.10), 0 20px 40px rgba(15,40,58,.12);
  --shadow-4: 0 8px 20px rgba(15,40,58,.12), 0 32px 60px rgba(15,40,58,.16);
  --glass: rgba(255,255,255,.10);
  --glass-line: rgba(255,255,255,.22);
  --glow-sky: radial-gradient(60% 55% at 22% 18%, rgba(168,216,240,.16), transparent 70%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spine-w: 240px;
  --header-h: 64px;
  --reveal: 0px;            /* opacity-only reveal */
  --pad-section: clamp(60px, 8vw, 92px);
  --fs-display: clamp(3rem, 6vw, 5rem);
  --fs-h2: clamp(2.2rem, 3.8vw, 3rem);
  --fs-h3: 1.2rem;
  --fs-body: 1.04rem;
  --fs-small: .9rem;
  --leading-tight: 1.05;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 24px; overflow-x: clip; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.65; background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { display: block; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .18s ease; }
ul { list-style: none; }

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

.skip-link { position: absolute; top: -120px; left: 16px; background: var(--teal); color: #fff; padding: 12px 22px; border-radius: var(--radius-sm); font-weight: 600; z-index: 9999; transition: top .2s ease; }
.skip-link:focus { top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.section-title { font-family: var(--font-head); font-size: var(--fs-h2); font-weight: 700; color: var(--ink); line-height: var(--leading-tight); letter-spacing: -.03em; }
.section-title::before { content: ""; display: inline-block; width: .62em; height: .62em; margin-right: .42em; vertical-align: .08em; background: url("../images/logo-128.png") no-repeat center / contain; }
.section-lead { font-family: var(--font-body); font-size: 1.1rem; color: var(--muted); margin-top: 14px; max-width: 62ch; line-height: 1.7; }
.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head .section-title { margin-bottom: 0; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 28px; border-radius: var(--radius); font-weight: 600; font-size: .98rem; font-family: var(--font-body); cursor: pointer; border: 1.5px solid transparent; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-outline { background: transparent; color: var(--teal-dark); border-color: var(--hair); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-sky { background: var(--sky); color: var(--brand-deep); border-color: var(--sky); box-shadow: var(--shadow-1); }
.btn-sky:hover { background: #fff; border-color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-light { background: var(--card); color: var(--teal-dark); border-color: var(--hair); }
.btn-light:hover { background: var(--teal-tint); border-color: var(--teal); transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-ghost-light:focus-visible { outline-color: #fff; }
.read-more { display: inline-flex; align-items: center; color: var(--brand); font-weight: 600; font-size: .93rem; margin-top: 14px; }
.read-more:hover { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   SPINE NAV — full-height left rail (index2)
   ============================================================ */
body { padding-left: 0; }

.spine {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--spine-w);
  background: linear-gradient(180deg, var(--brand-deep) 0%, var(--brand-dark) 55%, var(--brand) 100%);
  color: #fff; z-index: 1000; display: flex; flex-direction: column;
  padding: 30px 22px 26px; overflow-y: auto;
}
.spine-brand { display: block; margin-bottom: 34px; }
.spine-logo { height: 56px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.spine-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.spine-link {
  position: relative; padding: 10px 14px; font-size: .95rem; font-weight: 500;
  color: rgba(255,255,255,.78); border-left: 3px solid transparent; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 11px;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.spine-link i { font-size: .85rem; width: 18px; text-align: center; color: rgba(255,255,255,.55); transition: color .18s ease; }
.spine-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.spine-link:hover i { color: var(--sky); }
.spine-link.active { color: #fff; border-left-color: var(--sky); font-weight: 600; background: linear-gradient(90deg, rgba(168,216,240,.16), transparent 70%); }
.spine-link.active i { color: var(--sky); }
.spine-progress { position: absolute; top: 0; left: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--sky), var(--brand)); transform-origin: top; transform: scaleY(0); z-index: 2; }
.spine-cta { margin-top: auto; padding-top: 26px; display: grid; gap: 12px; }
.spine-book {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sky); color: var(--brand-deep); font-weight: 700; font-size: .95rem;
  padding: 13px 16px; border-radius: var(--radius); gap: 8px;
  transition: background .18s ease, transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease;
}
.spine-book:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10,31,41,.30); }
.spine-tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.84);
}
.spine-tel:hover { color: #fff; }
.spine-tel i { font-size: .8rem; color: var(--sky); }

.mob-toggle { display: none; }

.menu-backdrop { position: fixed; inset: 0; background: rgba(10,31,41,.5); opacity: 0; pointer-events: none; transition: opacity .28s ease; z-index: 998; }
.menu-backdrop.visible { opacity: 1; pointer-events: auto; }

/* content offset for the fixed spine */
.main-wrap { margin-left: var(--spine-w); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.main-wrap > main { flex: 1; }

/* ============================================================
   HERO — navy anchor band, photo-forward centerpiece
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 118px) 0; background: linear-gradient(180deg, var(--brand-deep) 0%, var(--brand-dark) 62%, var(--brand) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--glow-sky); pointer-events: none; }
.hero::after { content: ""; position: absolute; right: -140px; bottom: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(168,216,240,.16), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-panel { display: flex; flex-direction: column; justify-content: center; padding-right: clamp(0px, 1vw, 18px); }
.hero-title { font-family: var(--font-head); font-size: var(--fs-display); font-weight: 800; line-height: var(--leading-tight); letter-spacing: -.03em; color: #fff; }
.hero-tagline { font-family: var(--font-body); font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.65; color: rgba(255,255,255,.84); margin: 20px 0 28px; max-width: 42ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-status { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0 0 22px; font-size: .9rem; font-weight: 600; color: #fff; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px rgba(255,255,255,.14); }
.status-dot.is-open { background: #48C97C; box-shadow: 0 0 0 4px rgba(72,201,124,.26); animation: breathe 3.2s var(--ease) infinite; }
.status-dot.is-closed { background: rgba(255,255,255,.55); }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 4px rgba(72,201,124,.22); } 50% { box-shadow: 0 0 0 7px rgba(72,201,124,.08); } }
.status-sub { font-size: .8rem; font-weight: 400; color: rgba(255,255,255,.62); }
.hero-status .status-sub + .status-sub { border-left: 1px solid rgba(255,255,255,.25); padding-left: 12px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin-top: 32px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 7px 14px; border-radius: var(--radius); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hero-chips i { color: var(--sky); font-size: .7rem; }

.hero-media { position: relative; }
.hero-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow-4); animation: kenburns 24s ease-in-out infinite alternate; }
.visit-card {
  margin-top: -58px; margin-left: clamp(10px, 4vw, 44px); max-width: 360px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg);
  padding: 20px 22px; color: #fff; box-shadow: var(--shadow-3); position: relative; z-index: 2;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.visit-card h3 { font-family: var(--font-head); font-size: .98rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.visit-row { display: flex; justify-content: space-between; font-size: .86rem; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.14); }
.visit-row:first-of-type { border-top: none; }
.visit-row span:first-child { color: rgba(255,255,255,.66); }
.visit-row a { color: var(--sky); font-weight: 600; }
.visit-row a:hover { text-decoration: underline; }

/* ---- Mission ---- */
.mission { padding: var(--pad-section) 0; background: #fff; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.mission-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.mission-text { font-family: var(--font-body); font-size: 1.14rem; line-height: 1.8; color: var(--text); font-weight: 400; }

.mission-image { position: relative; }
.mission-image::before { content: ""; position: absolute; top: 18px; left: 18px; width: 100%; height: 100%; border-radius: var(--radius-lg); background: var(--tint); }
.mission-image::after { content: ""; position: absolute; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--sky), var(--brand) 70%); opacity: .35; filter: blur(1px); z-index: 1; }
.mission-image img { position: relative; z-index: 1; border-radius: var(--radius-lg); border: 1px solid var(--hair); box-shadow: var(--shadow-3); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* ---- Stats (editorial metric row) ---- */
.stats { background: var(--card); padding: clamp(44px, 6vw, 72px) 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 4px 30px; border-left: 1px solid var(--hair); }
.stat-item:first-child { padding-left: 0; border-left: 0; }
.stat-number { font-family: var(--font-head); font-size: 2.9rem; font-weight: 800; line-height: 1; color: var(--brand); letter-spacing: -.02em; }
.stat-label { margin-top: 10px; font-size: .9rem; line-height: 1.5; color: var(--muted); }

/* ---- Services ---- */
.services { padding: var(--pad-section) 0; background: var(--off); }
.featured { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hair); margin-bottom: 32px; background: var(--card); position: relative; transition: box-shadow .3s var(--ease); }
.featured:hover { box-shadow: var(--shadow-4); }
.featured-media { position: relative; min-height: 300px; background: var(--brand-deep); overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.featured:hover .featured-media img { transform: scale(1.04); }
.featured-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-body h3 { font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; color: var(--ink); line-height: 1.2; letter-spacing: -.01em; margin-bottom: 10px; }
.featured-body p { color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.featured-body .read-more { margin-top: 18px; }

.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.service-card { background: var(--card); border: 1px solid var(--hair); border-left: 3px solid transparent; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease; position: relative; width: calc((100% - 44px) / 3); }
.service-card:hover { box-shadow: var(--shadow-1); border-left-color: var(--sky); transform: translateY(-2px); }
.service-card-image { height: auto; aspect-ratio: 16 / 10; overflow: hidden; background: var(--off); position: relative; }
.card-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .72rem; font-weight: 700;   color: var(--brand-dark); background: rgba(255,255,255,.92); border: 1px solid var(--hair); padding: 5px 11px; border-radius: 100px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); box-shadow: 0 2px 8px rgba(10,31,41,.10); }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.service-card:hover .service-card-image img { transform: scale(1.06); }
.service-card-body { padding: 22px 24px 26px; flex: 1; }
.service-card-body h3 { font-family: var(--font-head); font-size: 1.14rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.service-card-body p { font-size: .93rem; color: var(--muted); line-height: 1.6; }
.service-card .read-more::before { content: ""; position: absolute; inset: 0; }

/* ---- Diagnostics (solid navy band) ---- */
.diagnostics { padding: var(--pad-section) 0; background: linear-gradient(180deg, var(--brand-deep) 0%, var(--brand-dark) 100%); color: #fff; position: relative; overflow: hidden; }
.diagnostics::before, .cta-section::before, .service-hero::before, .service-cta::before { content: ""; position: absolute; inset: 0; background: var(--glow-sky); pointer-events: none; }
.diagnostics::after, .cta-section::after, .service-cta::after { content: ""; position: absolute; right: clamp(-60px, -4vw, -20px); bottom: -70px; width: clamp(220px, 30vw, 380px); height: auto; aspect-ratio: 136/128; background: url("../images/logo-128.png") no-repeat center / contain; opacity: .08; pointer-events: none; }
.diagnostics .container, .cta-section .container, .service-hero-content, .service-cta .container { position: relative; z-index: 1; }
.diagnostics .section-title { color: #fff; }
.diagnostics .section-lead { color: rgba(255,255,255,.78); }
.diag-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.diag-item { border-left: 2px solid rgba(168,216,240,.35); padding-left: 20px; }
.diag-item > i { color: var(--sky); font-size: 1.3rem; }
.diag-item h3 { font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; color: #fff; margin: 10px 0 6px; }
.diag-item p { font-size: .92rem; color: rgba(255,255,255,.78); line-height: 1.65; }
.diag-stat { display: inline-block; margin-top: 14px; font-size: .74rem; font-weight: 700;   color: var(--sky); border: 1px solid rgba(168,216,240,.4); padding: 5px 12px; border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.diag-cta { margin-top: 44px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.diag-note { font-size: .88rem; color: rgba(255,255,255,.66); }
.diag-note a { color: var(--sky); font-weight: 600; }
.diag-note a:hover { text-decoration: underline; }

/* ---- Why ---- */
.why { padding: var(--pad-section) 0; background: var(--paper); }
.why-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: start; }
.why-intro .section-title { margin-bottom: 14px; }
.why-intro p { color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.why-list li { padding: 20px 0; border-top: 1px solid var(--hair); }
.why-list li:last-child { border-bottom: 1px solid var(--hair); }
.why-list h3 { font-family: var(--font-head); font-size: 1.06rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.why-list p { font-size: .94rem; color: var(--muted); line-height: 1.6; }

/* ---- Visit ---- */
.visit { padding: var(--pad-section) 0; background: var(--off); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.visit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.visit-block { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: 30px 26px; transition: box-shadow .25s ease, transform .25s ease; position: relative; }
.visit-block::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(90deg, var(--brand), var(--sky)); opacity: 0; transition: opacity .25s ease; }
.visit-block:hover::before { opacity: 1; }
.visit-block:hover { box-shadow: var(--shadow-3); transform: translateY(-3px); }
.visit-block h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.visit-block h3 i { color: var(--brand); font-size: .95rem; }
.visit-block p, .visit-block li { font-size: .92rem; color: var(--text); line-height: 1.6; }
.visit-block ul { display: grid; gap: 7px; }
.visit-block .label { display: block; font-size: .8rem; font-weight: 600; color: var(--brand);   margin-bottom: 4px; }
.visit-link { color: var(--link); font-weight: 600; }
.visit-link:hover { text-decoration: underline; }
.visit-block .more { margin-top: 10px; }
.visit-block .big { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.map-wrap { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hair); box-shadow: var(--shadow-2); background: var(--card); }
.map-wrap iframe { display: block; width: 100%; height: min(400px, 60vw); border: 0; }
.map-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; font-size: .85rem; background: var(--paper); border-top: 1px solid var(--hair); }
.map-foot .map-pin { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.map-foot .map-pin img { width: 16px; height: auto; }
.map-foot a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--brand); }
.map-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Doctors ---- */
.doctors { padding: var(--pad-section) 0; background: #fff; }
.doctors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.doctor-card { background: #fff; border: 1px solid var(--hair); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .3s ease, transform .3s ease; }
.doctor-card:hover { box-shadow: var(--shadow-3); transform: translateY(-4px); }
.doctor-image { height: auto; aspect-ratio: 4 / 5; overflow: hidden; background: var(--off); position: relative; }
.doctor-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,20,26,.5) 0%, transparent 50%); opacity: 0; transition: opacity .3s ease; }
.doctor-card:hover .doctor-image::after { opacity: 1; }
.doctor-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transition: transform .4s var(--ease); }
.doctor-card:hover .doctor-image img { transform: scale(1.04); }
.doctor-info { padding: 20px 22px 24px; }
.doctor-info h3 { font-family: var(--font-head); font-size: 1.14rem; font-weight: 600; color: var(--ink); }
.doctor-specialty { display: inline-block; margin-top: 5px; font-size: .78rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--accent-dark); background: var(--accent-tint); padding: 3px 10px; border-radius: 100px; }
.doctor-bio { margin-top: 10px; font-size: .9rem; color: var(--muted); line-height: 1.6; }
/* ---- FAQ ---- */
.faq { padding: var(--pad-section) 0; background: var(--off); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.faq-list { max-width: 820px; }
.faq-item { border-top: 1px solid var(--hair); background: var(--card); transition: background .2s ease; }
.faq-item:last-child { border-bottom: 1px solid var(--hair); }
.faq-item[aria-expanded="true"] { background: var(--tint); box-shadow: var(--shadow-1); border-radius: var(--radius); margin: 2px 0; }
.faq-item[aria-expanded="true"] .faq-q { color: var(--brand); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-head); font-size: 1.06rem; font-weight: 600; color: var(--ink); transition: color .2s ease; }
.faq-q .chev { transition: transform .25s var(--ease), color .25s ease; color: var(--brand); flex: none; }
.faq-item[aria-expanded="true"] .chev { transform: rotate(45deg); color: var(--brand-dark); }
.faq-a { overflow: hidden; transition: max-height .3s var(--ease); }
html.js .faq-a { max-height: 0; }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: .96rem; line-height: 1.7; }

/* ---- Contact ---- */
.contact { padding: var(--pad-section) 0; background: var(--paper); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.contact-list { margin-top: 18px; display: grid; gap: 14px; }
.contact-list li a { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; color: var(--text); }
.contact-list li a:hover { color: var(--brand); }
.contact-list li i { width: 22px; text-align: center; color: var(--brand); margin-top: 4px; font-size: 1.05rem; }
.contact-form form { display: flex; flex-direction: column; gap: 14px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--hair); border-radius: var(--radius); font-family: var(--font-body); font-size: .97rem; color: var(--text); background: var(--card); transition: border-color .18s ease, box-shadow .18s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(21,88,122,.16); }
.form-group input.error, .form-group textarea.error { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { align-self: flex-start; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.form-status { padding: 11px 15px; border-radius: var(--radius-sm); font-size: .92rem; margin-top: 4px; display: none; }
.form-status.is-visible { display: block; }
.form-status.success { background: rgba(21,88,122,.10); color: var(--brand); border: 1px solid rgba(21,88,122,.30); }
.form-status.error { background: rgba(185,28,28,.10); color: #B91C1C; border: 1px solid rgba(185,28,28,.30); }

/* ---- CTA (solid navy band) ---- */
.cta-section { padding: var(--pad-section) 0; background: linear-gradient(180deg, var(--brand-deep) 0%, var(--brand-dark) 100%); position: relative; overflow: hidden; }
.cta-section .container { display: grid; grid-template-columns: 1.3fr auto; gap: 36px; align-items: center; position: relative; z-index: 1; }
.cta-title { font-family: var(--font-head); font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: #fff; line-height: var(--leading-tight); letter-spacing: -.02em; }
.cta-text { color: rgba(255,255,255,.86); margin-top: 10px; font-size: 1.02rem; max-width: 52ch; }
.cta-section .hero-actions { justify-content: flex-end; }
.cta-section .btn-light { background: #fff; color: var(--brand); border-color: #fff; }
.cta-section .btn-light:hover { background: var(--sky); }
.cta-section .btn:hover { transform: translateY(-1px); }

/* ---- Footer ---- */
.footer { background: var(--dark); color: #fff; padding: 58px 0 26px; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--sky), var(--brand), transparent 90%); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; text-align: left; }
.footer-logo { height: 52px; width: auto; margin-bottom: 14px; display: block; opacity: .95; }
.footer-tagline { font-size: .92rem; line-height: 1.7; color: rgba(255,255,255,.72); max-width: 320px; }
.footer-col h4 { font-family: var(--font-head); font-size: .96rem; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col li a, .footer-contact li a { color: rgba(255,255,255,.76); font-size: .92rem; }
.footer-col li a:hover, .footer-contact li a:hover { color: var(--sky); text-decoration: underline; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: rgba(255,255,255,.76); }
.footer-hours .label { display: block; font-size: .72rem; font-weight: 700;   color: var(--sky); margin-bottom: 2px; }
.footer-hours li { font-size: .92rem; color: rgba(255,255,255,.76); }
.footer-contact li i { color: var(--sky); margin-top: 4px; width: 16px; text-align: center; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 38px; padding-top: 18px; text-align: center; font-size: .84rem; color: rgba(255,255,255,.58); }
.footer-legal a { color: rgba(255,255,255,.75); }
.footer-legal a:hover { color: var(--sky); text-decoration: underline; }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; background: rgba(10,31,41,.92); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 40px; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 86vh; border-radius: var(--radius); object-fit: contain; }
.lightbox figcaption { color: rgba(255,255,255,.85); font-size: .9rem; margin-top: 12px; text-align: center; }
.lightbox-close { position: absolute; top: 20px; right: 30px; background: none; border: none; color: #fff; font-size: 2.4rem; cursor: pointer; z-index: 2001; }
.lightbox-close:hover { color: var(--sky); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.92); color: var(--brand-dark); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-1); z-index: 2001; transition: background .18s ease; }
.lightbox-nav:hover { background: #fff; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
@media (max-width: 640px) { .lightbox { padding: 16px; } .lightbox-nav { width: 42px; height: 42px; } .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; } }

/* ---- Breadcrumbs ---- */
.breadcrumbs { background: var(--off); padding: 13px 0; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--hair); }
.breadcrumbs .container { display: flex; gap: 8px; align-items: center; }
.breadcrumbs a { color: var(--link); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* ---- Reveal (opacity-only) ---- */
html.js .reveal { opacity: 0; transition: opacity .55s var(--ease); }
html.js .reveal.is-visible { opacity: 1; }

/* shimmer for image placeholders */
.service-card-image, .doctor-image, .featured-media { background: linear-gradient(90deg, var(--off) 25%, var(--hair) 50%, var(--off) 75%); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
.service-card-image img, .doctor-image img, .featured-media img { position: relative; z-index: 1; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.04); } }

/* ---- Floating widgets ---- */
.back-to-top { position: fixed; bottom: 90px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: var(--shadow-2); opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, background .18s ease; z-index: 900; pointer-events: none; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--brand-dark); }

.floating-contact { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 4px 16px rgba(21,88,122,.35); opacity: 0; transform: scale(.8); transition: opacity .25s ease, transform .25s ease, background .18s ease; z-index: 900; pointer-events: none; }
.floating-contact.visible { opacity: 1; transform: scale(1); pointer-events: auto; }
.floating-contact:hover { background: var(--brand-dark); transform: scale(1.08); }

/* scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-dark); }
html { scrollbar-width: thin; scrollbar-color: var(--brand) transparent; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transition: none; }
  .back-to-top, .floating-contact { transition: none; }
  .hero, .service-hero { animation: none !important; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .section-title { font-size: 1.7rem; }
  .featured, .mission-inner, .why-inner, .contact-inner { grid-template-columns: 1fr; gap: 34px; }
  .mission-image { order: -1; }
  .featured-body { padding: 32px; }
  .cta-section .container { grid-template-columns: 1fr; }
  .cta-section .hero-actions { justify-content: flex-start; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 680px; margin-inline: auto; width: 100%; }
}

/* collapsible spine -> top bar below 900px */
@media (max-width: 900px) {
  html { scroll-padding-top: calc(var(--header-h) + 12px); }
  .spine {
    top: 0; left: 0; right: 0; bottom: auto; width: 100%; height: var(--header-h);
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: 0 18px; background: linear-gradient(90deg, var(--brand-deep) 0%, var(--brand-dark) 100%);
  }
  .spine-brand { margin-bottom: 0; display: flex; align-items: center; }
  .spine-logo { height: 42px; }
  .spine-progress { top: auto; bottom: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--sky), var(--brand)); transform-origin: left; }
  .spine-nav {
    position: fixed; top: var(--header-h); left: 0; bottom: 0; width: min(300px, 82vw);
    background: var(--brand-deep); flex-direction: column; padding: 18px 14px 24px; gap: 4px;
    transform: translateX(-110%); visibility: hidden; transition: transform .28s ease, visibility .28s ease;
    z-index: 999; box-shadow: 4px 0 24px rgba(10,31,41,.35); overflow-y: auto;
  }
  .spine-nav.open { transform: translateX(0); visibility: visible; }
  .main-wrap { margin-left: 0; padding-top: var(--header-h); }
  .spine-cta { margin: 26px 0 0; padding-top: 0; gap: 14px; }
  .spine-book { padding: 13px 16px; font-size: .95rem; }
  .spine-link { padding: 13px 14px; font-size: 1rem; }
  .menu-backdrop { display: block; }
  .mob-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer; padding: 10px; margin-left: 4px;
    border-radius: var(--radius-sm); position: relative; z-index: 2;
    width: 42px; height: 42px; gap: 5px; flex-direction: column; justify-content: center;
  }
  .mob-toggle .bar { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--sky); transition: transform .34s cubic-bezier(.34,1.56,.64,1), opacity .18s ease, background .18s ease; }
  .mob-toggle:hover .bar { background: #fff; }
  .mob-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mob-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .mob-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mob-toggle:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
  .menu-backdrop { background: rgba(10,31,41,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

  .spine-nav.open .spine-link, .spine-nav.open .spine-cta { animation: menuLinkIn .4s cubic-bezier(.22,1,.36,1) both; }
  .spine-nav.open .spine-link:nth-of-type(1) { animation-delay: .05s; }
  .spine-nav.open .spine-link:nth-of-type(2) { animation-delay: .09s; }
  .spine-nav.open .spine-link:nth-of-type(3) { animation-delay: .13s; }
  .spine-nav.open .spine-link:nth-of-type(4) { animation-delay: .17s; }
  .spine-nav.open .spine-link:nth-of-type(5) { animation-delay: .21s; }
  .spine-nav.open .spine-link:nth-of-type(6) { animation-delay: .25s; }
  .spine-nav.open .spine-link:nth-of-type(7) { animation-delay: .29s; }
  .spine-nav.open .spine-cta { animation-delay: .22s; }
}

@keyframes menuLinkIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .services-grid { display: grid; grid-template-columns: 1fr; }
  .service-card { width: 100%; }
  .stats-grid, .visit-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
  .doctor-card { flex: 1 0 100%; flex-direction: column; text-align: center; padding: 26px 20px; }
  .doctor-image { width: 100%; max-width: 210px; height: 250px; min-width: 0; margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions, .cta-section .hero-actions, .service-cta .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .service-cta .btn { width: 100%; }
  .section-title { font-size: 1.45rem; }
  .btn { min-height: 46px; }
  .section-head { margin-bottom: 30px; }
  .service-cta h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: var(--fs-display); }
  .hero-tagline { font-size: 1.02rem; }
  .spine-logo { height: 36px; }
  .service-hero-content h1 { font-size: 1.9rem; }
  .footer-logo { height: 44px; }
}

/* ============================================================
   SERVICE PAGES — inherit spine + paper system
   ============================================================ */
.service-hero { background: linear-gradient(180deg, var(--brand-deep) 0%, var(--brand-dark) 100%); color: #fff; padding: 76px 0 68px; text-align: left; position: relative; overflow: hidden; }
.service-hero-content { max-width: 720px; padding: 0 22px; position: relative; z-index: 1; }
.service-hero-content h1 { font-family: var(--font-head); font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; line-height: var(--leading-tight); color: #fff; letter-spacing: -.01em; }
.service-hero-content p { font-size: 1.1rem; color: rgba(255,255,255,.88); line-height: 1.7; margin-top: 16px; max-width: 56ch; }
.service-hero-bg { background-image: none; }
.service-hero-overlay { display: none; }
.service-hero .btn-light { background: #fff; border-color: #fff; color: var(--teal-dark); }
.service-hero .btn-ghost-light { border-color: rgba(255,255,255,.5); }

.service-content { padding: 78px 0 90px; background: var(--paper); }
.service-content .container { max-width: 940px; }
.service-content h2 { font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; color: var(--ink); margin: 8px 0 16px; letter-spacing: -.01em; }
.service-content p { font-size: 1.06rem; line-height: 1.8; color: var(--text); margin-bottom: 18px; }
.service-content p.lead { font-size: 1.1rem; color: var(--brand); font-weight: 500; line-height: 1.7; margin-bottom: 24px; }

.service-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0; }
.service-feature { padding: 24px 22px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--hair); transition: box-shadow .25s ease, transform .25s ease; }
.service-feature:hover { box-shadow: var(--shadow-3); transform: translateY(-3px); }
.service-feature-icon { width: 44px; height: 44px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; background: var(--tint); box-shadow: inset 0 0 0 1px rgba(21,88,122,.06); }
.service-feature-icon i { font-size: 1.1rem; color: var(--brand); }
.service-feature h2 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.service-feature p { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-bottom: 0; }

.service-content ul.bullet-list { margin: 18px 0; }
.service-content ul.bullet-list li { padding: 8px 0 8px 26px; position: relative; font-size: 1.02rem; color: var(--text); line-height: 1.6; }
.service-content ul.bullet-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 7px; font-size: .78rem; color: var(--brand); }
.service-content ul.bullet-list li strong { color: var(--ink); }

.service-content .highlight-box { margin: 32px 0; padding: 22px 26px; background: var(--tint); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; }
.service-content .highlight-box p { margin-bottom: 0; color: var(--brand); font-weight: 500; }

.service-cta { padding: 74px 0; background: linear-gradient(180deg, var(--brand-deep) 0%, var(--brand-dark) 100%); text-align: left; position: relative; overflow: hidden; }
.service-cta .container { display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; position: relative; z-index: 1; }
.service-cta h2 { font-family: var(--font-head); font-size: clamp(1.9rem, 3.2vw, 2.4rem); color: #fff; margin-bottom: 8px; letter-spacing: -.02em; }
.service-cta p { color: rgba(255,255,255,.86); max-width: 50ch; font-size: 1.02rem; }
.service-cta .hero-actions { justify-content: flex-end; }
.service-cta .btn-light { background: #fff; color: var(--brand); border-color: #fff; }
.service-cta .btn-light:hover { background: var(--sky); }
.service-cta .btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.service-cta .btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.service-cta .btn:hover { transform: translateY(-1px); }

.specialist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0; }
.specialist-item { display: flex; gap: 15px; padding: 22px 20px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--hair); transition: box-shadow .25s ease, transform .25s ease; }
.specialist-item:hover { box-shadow: var(--shadow-3); transform: translateY(-3px); }
.specialist-icon { width: 46px; height: 46px; min-width: 46px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; background: var(--tint); box-shadow: inset 0 0 0 1px rgba(21,88,122,.06); }
.specialist-icon i { font-size: 1.1rem; color: var(--brand); }
.specialist-item h2 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.specialist-item p { font-size: .88rem; color: var(--muted); line-height: 1.55; margin-bottom: 0; }

.two-col-section { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin: 28px 0; }
.two-col h2 { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.two-col h2 i { color: var(--brand); font-size: 1.1rem; }
.two-col .bullet-list li { padding: 5px 0 5px 22px; font-size: .98rem; line-height: 1.55; }

@media (max-width: 860px) {
  .service-features, .specialist-grid, .two-col-section { grid-template-columns: 1fr; }
  .service-cta .container { grid-template-columns: 1fr; }
  .service-cta .hero-actions { justify-content: flex-start; }
}