/* ==========================================================================
   Pulse — Free Clinic & Hospital Website Template  ·  uiCookies
   Design: cobalt-indigo + coral "pulse" accent on a cool paper neutral.
   Type:  Lexend (display) + Mulish (body). ECG heartbeat-line motif.
   ========================================================================== */

:root {
  /* Core palette (hued neutrals, not pure grey) */
  --ink:        #111c30;   /* deep royal navy — headings, footer */
  --ink-2:      #42506a;   /* body text */
  --ink-3:      #68758c;   /* muted */
  --brand:      #2245d9;   /* royal blue primary */
  --brand-700:  #1732ad;   /* hover */
  --brand-100:  #e6ebfd;   /* tint */
  --brand-050:  #f1f5fe;
  --pulse:      #2e63e7;   /* azure heartbeat accent (blue family) */
  --pulse-100:  #e3ebfe;
  --paper:      #f4f6fc;   /* cool off-white page bg */
  --mist:       #dde4f1;   /* borders / hairlines */
  --sage:       #e9f4ee;   /* positive tint */
  --sage-ink:   #2c8a5b;
  --white:      #ffffff;

  --shadow-sm:  0 1px 2px rgba(20,32,51,.06), 0 2px 6px rgba(20,32,51,.05);
  --shadow:     0 6px 18px rgba(20,32,51,.08), 0 2px 6px rgba(20,32,51,.05);
  --shadow-lg:  0 24px 60px rgba(20,32,51,.14), 0 8px 20px rgba(20,32,51,.08);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;

  --ff-display: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body:    "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 76px;
  --container: 1200px;
}

/* ------------------------------ base ------------------------------ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html { scroll-padding-top: calc(var(--header-h) + 18px); }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 600;
}

p { margin: 0 0 1rem; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }

img { max-width: 100%; display: block; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 1200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; color: #fff; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------- shared type bits ----------------------- */
.section { padding: clamp(64px, 8vw, 108px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pulse);
  box-shadow: 0 0 0 4px var(--pulse-100);
}
.eyebrow--pulse { color: var(--pulse); }
.eyebrow--light { color: rgba(255,255,255,.85); }

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 700;
  margin: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px 48px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-intro { color: var(--ink-3); font-size: 1.06rem; margin: 0; }

.lead { font-size: 1.18rem; color: var(--ink-2); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--brand);
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

/* ------------------------------ buttons --------------------------- */
.pbtn {
  --_bg: var(--brand);
  --_fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  background: var(--_bg);
  color: var(--_fg);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.pbtn svg { width: 18px; height: 18px; }
.pbtn:hover { transform: translateY(-2px); color: var(--_fg); }
.pbtn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(39,79,212,.28); }
.pbtn--primary:hover { background: var(--brand-700); color: #fff; box-shadow: 0 12px 26px rgba(39,79,212,.34); }
.pbtn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--mist);
}
.pbtn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-050); }
.pbtn--light { background: #fff; color: var(--ink); }
.pbtn--light:hover { background: var(--paper); color: var(--ink); }
.pbtn--lg { padding: 16px 28px; font-size: 1.02rem; }
.pbtn--block { width: 100%; }

/* ------------------------------ header ---------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: var(--mist);
  background: rgba(255,255,255,.96);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand-text {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: -.02em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand-text small {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.main-nav a {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--pulse);
  transition: width .22s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
}
.header-phone svg { width: 18px; height: 18px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.header-phone:hover { color: var(--brand); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 1px solid var(--mist);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.mobile-nav {
  border-top: 1px solid var(--mist);
  background: #fff;
  padding: 14px 22px 26px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav nav a {
  display: block;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--ink);
  padding: 14px 4px;
  border-bottom: 1px solid var(--paper);
}
.mobile-nav .header-phone { margin: 6px 4px 16px; }

/* generic inline-icon default (stroke) */
svg[viewBox] { color: inherit; }

/* ------------------------------ hero ------------------------------ */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 86px) 0 clamp(56px, 6vw, 92px);
  background:
    radial-gradient(1100px 460px at 82% -6%, var(--brand-100) 0%, rgba(231,236,251,0) 60%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.35rem, 5vw, 3.7rem);
  font-weight: 700;
  margin: 0 0 20px;
}
.hero-copy .lead { max-width: 34ch; margin-bottom: 26px; }

.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: var(--pill);
  padding: 9px 15px 9px 12px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hero-chips svg { width: 18px; height: 18px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero media */
.hero-media { position: relative; }
.hero-frame {
  position: relative;
  aspect-ratio: 5 / 5.6;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--brand-100);
  box-shadow: var(--shadow-lg);
}
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

.hero-card {
  position: absolute;
  left: -26px; bottom: 44px;
  width: 250px;
  background: #fff;
  border-radius: var(--r);
  padding: 16px 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--mist);
}
.hero-card__label {
  display: flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--sage-ink);
  margin: 0 0 8px;
}
.hero-card__slot { font-family: var(--ff-display); font-size: 1.28rem; color: var(--ink); margin: 0 0 12px; }
.hero-card__slot strong { color: var(--brand); }
.hero-card__doc {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: var(--ink-2); margin: 0 0 12px;
}
.hero-card__doc img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.hero-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-display); font-weight: 600; font-size: .9rem;
}
.hero-card__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage-ink);
  box-shadow: 0 0 0 0 rgba(44,138,91,.5);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(44,138,91,.45); }
  70%  { box-shadow: 0 0 0 7px rgba(44,138,91,0); }
  100% { box-shadow: 0 0 0 0 rgba(44,138,91,0); }
}

.hero-badge {
  position: absolute;
  right: -14px; top: 34px;
  display: flex; align-items: center; gap: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--pill);
  padding: 10px 16px 10px 12px;
  box-shadow: var(--shadow-lg);
  font-size: .82rem;
}
.hero-badge span { font-weight: 500; white-space: nowrap; }
.hero-badge strong { font-family: var(--ff-display); }
.hero-badge .ecg { width: 46px; height: 20px; fill: none; stroke: var(--pulse); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------- trust strip ------------------------- */
.trustbar { background: var(--white); border-block: 1px solid var(--mist); padding: 26px 0; }
.trustbar .container {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 14px 34px;
}
.trustbar__label {
  font-family: var(--ff-display); font-weight: 600;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin: 0;
}
.trustbar__list {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: 12px 26px; margin: 0; padding: 0;
}
.trustbar__list li {
  font-family: var(--ff-display); font-weight: 600;
  color: var(--ink); font-size: .96rem; opacity: .82;
}

/* ---------------------------- departments ------------------------- */
.departments { background: var(--paper); }
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.dept-grid--single {
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
}
.dept-card {
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.dept-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  margin-bottom: 20px;
}
.dept-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dept-ic--rose   { background: var(--pulse-100); color: var(--pulse); }.dept-ic--blue   { background: var(--brand-100); color: var(--brand); }
.dept-ic--indigo { background: #dfecff; color: #1d5fd0; }
.dept-ic--teal   { background: #d9e5ff; color: #1746bd; }
.dept-ic--plum   { background: #e3ebfe; color: #2e63e7; }
.dept-ic--amber  { background: #eef2fe; color: #2245d9; }
.dept-card h3 { font-size: 1.28rem; margin: 0 0 8px; }
.dept-card > p { color: var(--ink-2); font-size: .98rem; margin: 0 0 14px; }
.dept-meta { font-size: .9rem; color: var(--ink-3) !important; margin: 0 0 16px !important; }
.dept-meta strong { color: var(--ink); font-family: var(--ff-display); }

/* ------------------------------- why ------------------------------ */
.why { background: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}
.why-copy { max-width: 700px; margin-inline: auto; }
.why-media { position: relative; }
.why-frame {
  position: relative;
  aspect-ratio: 4 / 4.3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--brand-100);
  box-shadow: var(--shadow);
}
.why-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-stat {
  position: absolute;
  right: -18px; bottom: -18px;
  width: 210px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.why-stat strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: #fff;
  margin-bottom: 6px;
}
.why-stat span { font-size: .84rem; color: rgba(255,255,255,.78); }

.why-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 22px; }
.why-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.why-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-050);
  color: var(--brand);
  border: 1px solid var(--brand-100);
}
.why-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-list h3 { font-size: 1.16rem; margin: 2px 0 4px; }
.why-list p { margin: 0; font-size: .98rem; color: var(--ink-2); }

/* ----------------------------- doctors ---------------------------- */
.doctors { background: var(--paper); }
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 780px; margin-inline: auto; }
.doc-card {
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.doc-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--brand-100);
}
.doc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.doc-body { padding: 20px 22px 24px; }
.doc-avail {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .74rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: var(--sage-ink);
  margin-bottom: 10px;
}
.doc-avail--soon { color: var(--ink-3); }
.doc-avail--soon .live-dot { background: var(--ink-3); animation: none; box-shadow: none; }
.doc-card h3 { font-size: 1.16rem; margin: 0 0 4px; }
.doc-role { font-size: .9rem; color: var(--ink-3); margin: 0 0 14px; }
.doc-social { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.doc-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink-2);
  border: 1px solid var(--mist);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.doc-social a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.doc-social svg { width: 16px; height: 16px; }
.doc-social svg.fill { fill: currentColor; stroke: none; }

/* ----------------------------- booking ---------------------------- */
.book { background: #fff; }
.book-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.book-form-wrap .section-title { margin-bottom: 10px; }
.book-form-wrap .section-intro { margin-bottom: 30px; max-width: 46ch; }

.book-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field label {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.field label .opt { color: var(--ink-3); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--mist);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-100);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345536b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 42px;
}
.field--check { flex-direction: row; align-items: center; gap: 10px; }
.field--check input { width: 20px; height: 20px; accent-color: var(--brand); flex: 0 0 auto; }
.field--check label { margin: 0; font-weight: 500; color: var(--ink-2); }

.form-status { margin: 14px 0 0; font-weight: 600; font-family: var(--ff-display); font-size: .95rem; }
.form-status.is-error { color: #c22643; }
.form-status.is-success { color: var(--sage-ink); }
.form-privacy { margin: 10px 0 0; font-size: .8rem; line-height: 1.5; color: var(--ink-3); }

.book-side__panel {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.book-side__panel h3 { color: #fff; font-size: 1.28rem; margin: 0 0 14px; }
.book-side__panel h4 { color: #fff; font-size: 1.02rem; margin: 0 0 12px; }
.book-side__phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem;
  color: #fff;
}
.book-side__phone:hover { color: #fff; }
.book-side__phone svg { width: 22px; height: 22px; fill: none; stroke: var(--pulse); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.book-side__muted { color: rgba(255,255,255,.72); font-size: .88rem; margin: 8px 0 0; }
.book-side__panel hr { border: 0; border-top: 1px solid rgba(255,255,255,.2); margin: 24px 0; }
.check-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: .96rem; color: rgba(255,255,255,.92); }
.check-list svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--pulse); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.book-side__note {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 24px 0 0; font-size: .84rem; color: rgba(255,255,255,.72);
}
.book-side__note svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.5; }

/* ------------------------------ stats ----------------------------- */
.stats {
  position: relative;
  background:
    radial-gradient(600px 300px at 12% 0%, rgba(39,79,212,.5) 0%, rgba(39,79,212,0) 70%),
    linear-gradient(140deg, var(--ink) 0%, #0f1a2c 100%);
  color: #fff;
  padding: clamp(56px, 7vw, 92px) 0;
  overflow: hidden;
}
.stats-ecg {
  position: absolute; inset: auto 0 0 0;
  width: 100%; height: 120px;
  fill: none; stroke: rgba(93,133,255,.55); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .55;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -.03em;
}
.stat-label { display: block; margin-top: 10px; color: rgba(255,255,255,.72); font-size: .96rem; }

/* --------------------------- testimonials -------------------------- */
.stories { background: var(--paper); }
.slider { position: relative; }
.slider-viewport { overflow: hidden; border-radius: var(--r-lg); }
.slider-track {
  list-style: none; margin: 0; padding: 0;
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.story {
  flex: 0 0 100%;
  padding: clamp(30px, 4vw, 52px);
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: var(--r-lg);
}
.story-quote { width: 44px; height: 44px; fill: var(--pulse-100); stroke: none; margin-bottom: 6px; }
.story-quote-text {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -.01em;
  max-width: 46ch;
  margin: 0 0 22px;
}
.story-rating { display: flex; gap: 3px; margin-bottom: 22px; }
.story-rating svg { width: 20px; height: 20px; fill: #f4a72b; stroke: none; }
.story-person { display: flex; align-items: center; gap: 14px; }
.story-person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: var(--brand-100); }
.story-name { font-family: var(--ff-display); font-weight: 600; color: var(--ink); margin: 0; }
.story-role { font-size: .88rem; color: var(--ink-3); margin: 0; }

.slider-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; margin-top: 28px;
}
.slider-btn {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--mist);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .16s ease;
}
.slider-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }
.slider-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider-dots { display: flex; gap: 9px; }
.slider-dots button {
  width: 10px; height: 10px; padding: 0;
  border: none; border-radius: 50%;
  background: var(--mist);
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.slider-dots button[aria-selected="true"] { background: var(--brand); width: 26px; border-radius: 6px; }

/* --------------------------- insurance/hours ---------------------- */
.info { background: #fff; }
.info-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.info-card { border-radius: var(--r-lg); padding: clamp(30px, 4vw, 46px); }
.info-card--insurance {
  background: var(--sage);
  border: 1px solid #d3e9dc;
}
.info-card--insurance h3 { font-size: 1.5rem; margin: 0 0 12px; }
.info-lead { color: var(--ink-2); margin: 0 0 22px; max-width: 48ch; }
.insurers {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px;
  margin: 0 0 24px; padding: 0;
}
.insurers li {
  background: #fff;
  border: 1px solid #d3e9dc;
  border-radius: var(--pill);
  padding: 8px 16px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}
.info-card--hours {
  background: linear-gradient(160deg, var(--ink) 0%, #0f1a2c 100%);
  color: #fff;
}
.info-card--hours h3 { color: #fff; font-size: 1.5rem; margin: 0 0 18px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.hours th, .hours td { text-align: left; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .98rem; }
.hours th { font-family: var(--ff-body); font-weight: 500; color: rgba(255,255,255,.72); }
.hours td { color: #fff; font-family: var(--ff-display); font-weight: 600; text-align: right; }
.hours .hours--emergency th { color: #fff; font-weight: 700; }
.hours .hours--emergency td { color: var(--pulse); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }
.info-address {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,.86); font-size: .96rem; margin: 0 0 22px;
}
.info-address svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: var(--pulse); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------ footer ---------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.68); padding: clamp(56px, 7vw, 84px) 0 34px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; }
.brand--footer .brand-text { color: #fff; }
.brand--footer .brand-text small { color: rgba(255,255,255,.6); }
.footer-blurb { margin: 20px 0 22px; font-size: .95rem; max-width: 42ch; color: rgba(255,255,255,.62); }
.footer-social { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: background .18s ease, transform .16s ease;
}
.footer-social a:hover { background: var(--brand); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-social svg.fill { fill: currentColor; stroke: none; }

.footer-col h4 { color: #fff; font-size: 1rem; margin: 0 0 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.68); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact ul { gap: 15px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 11px; font-size: .95rem; }
.footer-contact svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 2px; fill: none; stroke: var(--pulse); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding-top: 26px;
}
.footer-bottom p { margin: 0; font-size: .9rem; }
.footer-bottom a { color: rgba(255,255,255,.85); }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.footer-legal a { font-size: .9rem; color: rgba(255,255,255,.6); }
.footer-legal a:hover { color: #fff; }

/* ---------------------------- back to top ------------------------- */
.to-top {
  position: fixed;
  right: 88px; bottom: 22px;
  z-index: 900;
  width: 50px; height: 50px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); }
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--brand-700); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------- floating call button ----------------------- */
.fab-call {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 880;
  display: none;
  align-items: center; gap: 9px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--ff-display);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: background .2s ease, transform .15s ease;
}
.fab-call:hover { background: var(--brand-700); transform: translateY(-2px); }
.fab-call svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.map-embed {
  display: block;
  width: 100%;
  height: 230px;
  border: 0;
  border-radius: var(--r);
  margin-top: 18px;
  box-shadow: var(--shadow);
}

/* ------------------------ chat assistant -------------------------- */
.chat-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 910;
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: background .2s ease, transform .15s ease;
}
.chat-fab:hover { background: var(--brand-700); transform: translateY(-2px); }
.chat-fab svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-fab .close-ic { display: none; }
.chat-fab[aria-expanded="true"] .chat-ic { display: none; }
.chat-fab[aria-expanded="true"] .close-ic { display: block; }

.chat-panel {
  position: fixed;
  right: 22px; bottom: 94px;
  z-index: 905;
  width: min(372px, calc(100vw - 28px));
  height: min(520px, calc(100vh - 150px));
  flex-direction: column;
  display: none;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--mist);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.chat-panel:not([hidden]) { display: flex; }

.chat-head { display: flex; align-items: center; gap: 11px; padding: 13px 16px; background: var(--brand); color: #fff; }
.chat-head img { width: 34px; height: 34px; border-radius: 50%; background: #fff; object-fit: contain; }
.chat-head h3 { margin: 0; font-size: .95rem; }
.chat-head p { margin: 0; font-size: .72rem; color: rgba(255,255,255,.78); }

.chat-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.msg { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: .92rem; line-height: 1.5; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--mist); border-bottom-left-radius: 4px; }
.msg.bot a { color: var(--brand); font-weight: 600; }
.msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg.user a { color: #fff; text-decoration: underline; }

.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px 4px; background: var(--paper); }
.chat-chips button {
  font: inherit; font-size: .8rem; font-weight: 600;
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.chat-chips button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.chat-note { margin: 0; padding: 8px 14px 4px; font-size: .72rem; color: var(--ink-3); background: var(--paper); }

.chat-input-row { display: flex; align-items: center; gap: 8px; padding: 10px 12px 12px; background: #fff; border-top: 1px solid var(--mist); }
.chat-input-row input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: .92rem;
  border: 1px solid var(--mist);
  border-radius: 999px;
  padding: 10px 15px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.chat-input-row input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.send-btn {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: var(--brand); color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}
.send-btn:hover { background: var(--brand-700); }
.send-btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* floating call button shows only on small screens */
@media (max-width: 820px) {
  .chat-fab { right: 12px; bottom: 84px; width: 52px; height: 52px; }
  .chat-panel { right: 12px; bottom: 146px; height: min(480px, calc(100vh - 200px)); }
  .to-top { right: auto; left: 12px; bottom: 14px; width: 44px; height: 44px; }
  .fab-call { display: inline-flex; right: 12px; bottom: 14px; }
}

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

/* --------------------------- responsive --------------------------- */
@media (max-width: 1080px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 992px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { order: 1; }
  .hero-media { order: 2; max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-copy .lead { max-width: 52ch; }
  .why-grid { grid-template-columns: 1fr; gap: 56px; }
  .why-media { max-width: 520px; }
  .book-grid { grid-template-columns: 1fr; }
  .book-side__panel { position: static; }
  .info-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 760px) {
  .dept-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .book-form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-card { left: 0; }
  .hero-badge { right: 0; }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .doc-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-card { position: static; width: auto; margin-top: 18px; left: 0; }
  .hero-badge { display: none; }
  .why-stat { position: static; width: auto; margin-top: 16px; right: 0; }
  .pbtn--lg { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .pbtn { width: 100%; }
}

/* ------------------------- reduced motion ------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .slider-track { transition: none; }
}

/* ==================== PREMIUM UPGRADE — OPD, RX, SERVICES, FAQ ==================== */
body { overflow-x: clip; }
.services { background: var(--paper); }
.faq { background: #fff; }

/* section-head under new rhythm */
.section-head { align-items: flex-end; }

/* ---------- general OPD band ---------- */
.opd-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 26px;
}
.opd-sched {
  position: relative;
  background:
    radial-gradient(420px 260px at 88% -10%, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(150deg, var(--brand-700) 0%, var(--brand) 78%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 34px 32px 30px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.opd-sched::after {
  content: "";
  position: absolute; right: -46px; bottom: -58px;
  width: 190px; height: 190px;
  fill: none;
  border: 26px solid rgba(255,255,255,.08);
  border-radius: 34px;
  transform: rotate(45deg);
}
.opd-sched__label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: #cfe0ff;
  margin: 0 0 14px;
}
.opd-sched__label .live-dot { background: #9ef2b0; box-shadow: 0 0 0 0 rgba(140,232,170,.5); }
.opd-sched h3 {
  font-size: 1.5rem; margin: 0 0 18px; color: #fff;
}
.opd-sched__list {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: grid; gap: 12px;
  position: relative; z-index: 1;
}
.opd-sched__list li {
  font-size: .96rem; color: rgba(255,255,255,.82);
  padding-left: 15px; position: relative;
}
.opd-sched__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: #9ef2b0;
}
.opd-sched__list strong { color: #fff; font-family: var(--ff-display); font-weight: 600; padding-right: 8px; white-space: nowrap; }
.opd-sched__cta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  position: relative; z-index: 1;
}
.opd-sched__tel {
  color: #cfe0ff; font-weight: 700; font-size: .95rem;
  text-decoration: none;
}
.opd-sched__tel:hover { color: #fff; }
.opd-sched__tel svg { display: none; }

.opd-cover {
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: var(--r-lg);
  padding: 34px 32px 30px;
  box-shadow: var(--shadow-sm);
}
.opd-cover h3 { font-size: 1.22rem; margin: 0 0 6px; color: var(--ink); }
.opd-cover__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 4px;
}
.opd-cover__list li {
  display: flex; gap: 14px;
  padding: 12px 10px 12px 0;
}
.opd-cover__list li + li { border-top: 1px solid var(--brand-050); }
.opd-cover__list svg {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px;
  fill: none; stroke: var(--brand); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.opd-cover__list strong { display: block; font-family: var(--ff-display); font-weight: 600; color: var(--ink); font-size: 1rem; }
.opd-cover__list span { color: var(--ink-2); font-size: .92rem; }
.opd-cover__note {
  margin: 14px 0 0; padding: 12px 15px;
  background: var(--brand-050); border-radius: var(--r-sm);
  font-size: .82rem; color: var(--ink-3);
}
@media (max-width: 900px) {
  .opd-band { grid-template-columns: 1fr; }
  .opd-sched strong { white-space: normal; }
  .opd-band .pbtn--light { width: 100%; text-align: center; }
}

/* ---------- pharmacy & diagnostics ---------- */
.rx { background: #fff; }
.rx-grid {
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center; margin-bottom: 30px;
}
.rx-ill {
  background: linear-gradient(160deg, #fff 0%, var(--brand-050) 100%);
  border: 1px solid var(--mist);
  border-radius: var(--r-xl);
  padding: clamp(14px, 2vw, 24px);
  box-shadow: var(--shadow-sm);
}
.rx-ill svg { display: block; width: 100%; height: auto; }
.rxf-a { animation: rxFloatA 7.5s ease-in-out infinite alternate; }
.rxf-b { animation: rxFloatB 9s ease-in-out infinite alternate; }
.rxf-c { animation: rxFloatC 8s ease-in-out infinite alternate .6s; }
.rxf-d { animation: rxFloatD 11s ease-in-out infinite alternate; }
@keyframes rxFloatA { from { transform: translateY(0); } to { transform: translateY(-9px); } }
@keyframes rxFloatB { from { transform: translateY(0); } to { transform: translateY(-7px); } }
@keyframes rxFloatC { from { transform: translateY(0); } to { transform: translateY(-11px); } }
@keyframes rxFloatD { from { transform: translateY(0); } to { transform: translateY(5px); } }
.rx-title-note { color: var(--ink-3); font-size: .92rem; margin: 10px 0 0; }
.rx-lead { color: var(--ink-2); font-size: 1.02rem; margin: 0 0 18px; max-width: 52ch; }
.rx-title-wrap { margin-bottom: 2px; }
.rx-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 4px; }
.rx-list li { display: flex; gap: 14px; padding: 12px 10px 12px 0; }
.rx-list li + li { border-top: 1px solid var(--brand-050); }
.rx-list svg {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px;
  fill: none; stroke: var(--brand); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.rx-list strong { display: block; font-family: var(--ff-display); font-weight: 600; color: var(--ink); font-size: 1rem; }
.rx-list span { color: var(--ink-2); font-size: .92rem; }
.rx-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.rx-note { margin: 0; font-size: .85rem; color: var(--ink-3); max-width: 30ch; }

.rx-dx {
  display: flex; align-items: center; gap: 22px;
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-lg);
  padding: 26px 30px;
}
.rx-dx__ic {
  flex: 0 0 auto; width: 62px; height: 62px; border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: var(--shadow-sm);
}
.rx-dx__ic svg { width: 30px; height: 30px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rx-dx__copy { min-width: 0; }
.rx-dx__copy h3 { margin: 0 0 6px; font-size: 1.12rem; color: var(--ink); }
.rx-dx__copy p { margin: 0; font-size: .95rem; color: var(--ink-2); max-width: 58ch; }
.rx-dx .pbtn { margin-left: auto; flex: 0 0 auto; }
@media (max-width: 900px) {
  .rx-grid { grid-template-columns: 1fr; }
  .rx-dx { flex-wrap: wrap; }
  .rx-dx .pbtn { margin-left: 0; }
}

/* diagnostics mimetype uses same check style */
.rx-dx__copy p { overflow-wrap: break-word; }

/* about section extra cards */
.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 900px;
  margin-top: 44px;
}
@media (max-width: 860px) {
  .about-cards { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 880px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: var(--r);
  margin-bottom: 12px;
  box-shadow: none;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.faq-item:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 22px;
  font-family: var(--ff-display); font-weight: 600; color: var(--ink);
  font-size: 1.02rem;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-050);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232245d9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 15px;
  transition: transform .3s ease, background-color .2s ease;
}
.faq-item[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232245d9' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
  background-size: 15px;
}
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin: 0; color: var(--ink-2); font-size: .97rem; max-width: 68ch; }
.faq-a a { color: var(--brand); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* nav active state (scrollspy) */
.main-nav a { position: relative; transition: color .2s ease; }
.main-nav a.is-active { color: var(--brand-700); }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -8px;
  height: 3px; border-radius: 2px; background: var(--brand);
}


/* ================================================================== */
/* =================== CAREFINITY-STYLE RESTYLE ==================== */
/* ================================================================== */

@media print { .hero-scene { display: none !important; } }

/* ---------- floating pill header ---------- */
.site-header { background: transparent !important; border-bottom: none !important; box-shadow: none !important; }
.header-inner {
  height: 68px; padding: 0 10px 0 6px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(168,193,246,.4);
  border-radius: 999px;
  box-shadow: 0 22px 44px rgba(31,54,102,.12);
  backdrop-filter: blur(16px) saturate(160%);
}
.brand-mark { width: 36px; height: 36px; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 72% 30%, rgba(178,203,255,.35), rgba(255,255,255,0) 70%),
    radial-gradient(700px 420px at 12% 82%, rgba(206,222,255,.42), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #eaf2ff 0%, #f7faff 34%, #ffffff 100%);
  padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 7vw, 110px);
}
.hero .pbtn--primary { background: var(--ink); box-shadow: 0 14px 30px rgba(17,28,55,.25); }
.hero .pbtn--primary:hover { background: #0b1730; }
.hero .pbtn--ghost { background: rgba(255,255,255,.66); }
.hero .lead { color: #46536d; }

.hero-scene { position: absolute; inset: 0; pointer-events: none; user-select: none; z-index: 0; }
.hero > .container { position: relative; z-index: 2; }
.hx-wash { position: absolute; border-radius: 50%; }
.hx-wash--1 { width: 620px; height: 620px; top: -170px; right: -60px; background: radial-gradient(closest-side, rgba(147,183,231,.42), rgba(147,183,231,0)); animation: hxWashA 26s ease-in-out infinite; }
.hx-wash--2 { width: 520px; height: 520px; bottom: -140px; left: -80px; background: radial-gradient(closest-side, rgba(174,205,255,.45), rgba(174,205,255,0)); animation: hxWashB 30s ease-in-out infinite; }

.hx-hills { position: absolute; left: 0; right: 0; bottom: -2px; height: 46%; opacity: .6; filter: blur(2px); pointer-events: none; }
.hx-hills svg { width: 100%; height: 100%; }
.hx-lake {
  position: absolute; left: 0; right: 0; bottom: 0; height: 27%;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.42) 0 2px, rgba(255,255,255,0) 2px 30px),
    linear-gradient(180deg, rgba(203,222,250,.5), rgba(234,242,255,.05));
  filter: blur(1px);
}
.hx-spark { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 0 0 3px rgba(255,255,255,.28), 0 2px 8px rgba(30,58,138,.18); animation: hxSpark 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.hx-ribbon { position: absolute; right: -1%; top: 24px; width: min(46vw, 600px); animation: hxBob 12s ease-in-out infinite; }
.hx-mol { position: absolute; left: 1%; bottom: 4%; width: clamp(130px, 15vw, 220px); animation: hxBobB 9s ease-in-out infinite; }
.hx-ribbon svg, .hx-mol svg { width: 100%; height: auto; display: block; }

@keyframes hxWashA { 50% { transform: translate(-30px, 24px) scale(1.05); } }
@keyframes hxWashB { 50% { transform: translate(26px, -20px) scale(1.04); } }
@keyframes hxSpark { 50% { opacity: .35; transform: scale(.75); } }
@keyframes hxBob { 50% { transform: translateY(-16px) rotate(-1.2deg); } }
@keyframes hxBobB { 50% { transform: translateY(10px) rotate(1deg); } }

/* floating mini card (personalized-care style) */
.hero-card {
  position: absolute; right: -18px; bottom: -6px; width: 302px;
  display: flex; gap: 12px; align-items: center;
  background: rgba(255,255,255,.94); border: 1px solid var(--mist);
  border-radius: 20px; padding: 12px 14px; box-shadow: 0 24px 48px rgba(31,54,102,.16);
}
.hero-card__thumb { width: 84px; height: 62px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; }
.hero-card__body { min-width: 0; }
.hero-card__title { font-family: var(--ff-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); margin: 0 0 2px; }
.hero-card__text { font-size: .8rem; line-height: 1.45; color: var(--ink-2); margin: 0 0 6px; }
.hero-card__link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-display); font-weight: 600; font-size: .84rem; color: var(--brand); }
.hero-card__link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- stats bento ---------- */
.stats { background: #fff; }
.stats .stats-ecg { display: none; }
.stats-grid { gap: 22px; max-width: 980px; margin: 0 auto; }
.stat {
  position: relative; overflow: hidden;
  background: #f4f5f8; border: none;
  border-radius: 26px; padding: 30px 30px 34px;
  box-shadow: none;
}
.stat-num { font-family: var(--ff-display); font-size: clamp(2.5rem, 4.6vw, 3.4rem); font-weight: 700; color: var(--ink); letter-spacing: -.03em; }
.stat-label { color: #67718a; font-size: .95rem; max-width: 26ch; }
.stat:nth-child(2) { background: #a9c4f8; }
.stat:nth-child(2) .stat-num { color: #fff; }
.stat:nth-child(2) .stat-label { color: rgba(255,255,255,.92); }
.stat::after {
  content: ""; position: absolute; right: -34px; bottom: -38px; width: 130px; height: 130px;
  background:
    radial-gradient(circle 10px at 38% 18%, rgba(255,255,255,.9) 0 100%, transparent) ,
    radial-gradient(circle 22px at 62% 44%, #cfe0ff 0 38%, rgba(207,224,255,0) 42%),
    radial-gradient(circle 30px at 32% 70%, #9cb8f2 0 40%, rgba(156,184,242,0) 44%);
  opacity: .75; pointer-events: none;
}

/* ---------- footer: dark rounded panel + giant wordmark ---------- */
.site-footer { background: transparent; padding: 0; margin-top: clamp(40px, 6vw, 90px); }
.site-footer .container { background: #0d1526; border-radius: 34px; padding: 0 50px 34px; position: relative; overflow: hidden; }
.footer-brand, .brand--footer { color: #fff; }
.footer-grid { padding: 60px 0 8px; }
.footer-col h4 { color: rgba(255,255,255,.45); }
.footer-col ul li a, .footer-blurb, .footer-contact li { color: rgba(255,255,255,.75); }
.footer-col ul li a:hover { color: #fff; }
.footer-blurb { color: rgba(255,255,255,.75); }
.footer-social a { background: rgba(255,255,255,.08); }
.footer-social a svg { stroke: #fff; }
.footer-giant {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(3.2rem, 10.5vw, 9.5rem); letter-spacing: -.045em;
  line-height: .95; color: #f2f5fc; text-align: center;
  margin: clamp(30px, 5vw, 70px) 10px 0; user-select: none;
}
.footer-bottom { color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.12); margin-top: clamp(24px, 3vw, 44px); }
.footer-bottom p, .footer-legal a { color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .site-footer .container { border-radius: 26px; padding: 0 30px 26px; margin: 0 14px; }
  .footer-grid { padding: 44px 0 4px; }
}
@media (max-width: 980px) {
  .stats-grid { max-width: 480px; }
}
@media (max-width: 900px) {
  .hx-ribbon { width: 62vw; opacity: .8; }
}
@media (max-width: 860px) {
  .hx-ribbon { width: 70vw; opacity: .75; top: 0; right: -6%; }
  .hx-mol { width: 120px; bottom: 2%; }
  .hx-spark { display: none; }
  .hero-card { position: static; width: auto; margin: 16px 0 0; }
}

/* ================================================================== */
/* ============= GLOBAL ICY BACKDROP + GLASS EVERYWHERE ============= */
/* ================================================================== */

body {
  background:
    linear-gradient(180deg, #e7efff 0%, #f6f9ff 22%, #ffffff 46%, #dbe8fa 88%, #cfe0f4 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
.atmo { position: fixed; left: 0; right: 0; bottom: 0; height: 40vh; z-index: -1; opacity: .45; pointer-events: none; }
.atmo svg { width: 100%; height: 100%; }

main > section { background: transparent; }

/* glass surfaces */
.dept-card, .doc-card, .opd-cover, .rx-panel, .rx-dx, .info-card,
.faq-item, .story, .stat, .hero-card, .hero-chips li, .book-side__panel, .book-form-wrap, .about-cards {
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.5));
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 24px 48px rgba(31,54,102,.10), inset 0 1px 0 rgba(255,255,255,.95);
  border-radius: 24px;
}

/* blue glass for panel */
.opd-sched {
  background: linear-gradient(135deg, rgba(28,52,166,.92), rgba(46,99,231,.88));
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 30px 60px rgba(23,46,132,.35), inset 0 1px 0 rgba(255,255,255,.35);
  position: relative; overflow: hidden;
}
.opd-sched::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 46%;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0));
  pointer-events: none;
}

/* book side panel inner glass nudge */
.book-side__panel { border-radius: 24px; }

/* lottie placements */
.lo { display: inline-block; }
.opd-sched { position: relative; }
.lo-scan { position: absolute; right: 22px; bottom: 16px; width: 118px; height: 118px; opacity: .95; pointer-events: none; mix-blend-mode: screen; }
.book-side__confirm { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.lo-success { width: 64px; height: 64px; flex: 0 0 auto; }
.book-side__confirm p { margin: 0; font-size: .84rem; color: var(--ink-2); }
.book-side__confirm strong { color: var(--brand-700); }

@media (max-width: 860px) {
  .atmo { height: 30vh; opacity: .35; }
  .lo-scan { width: 84px; height: 84px; right: 12px; bottom: 10px; }
}

/* ================================================================== */
/* =========== FIX: readable text on glassified panels ============== */
/* ================================================================== */

.book-side__panel { color: var(--ink-2); }
.book-side__panel h3 { color: var(--ink); }
.book-side__panel h4 { color: var(--ink); }
.book-side__phone { color: var(--ink); }
.book-side__phone svg { stroke: var(--brand); }
.book-side__phone:hover { color: var(--brand-700); }
.book-side__muted { color: var(--ink-2); }
.book-side__note { color: var(--ink-2); }
.book-side__panel hr { border: none; border-top: 1px solid var(--mist); }
.check-list li { color: var(--ink-2); }
.check-list li svg { stroke: var(--brand); flex: 0 0 auto; }

.info-card { color: var(--ink-2); }
.info-card--hours { color: var(--ink-2); }
.info-card--hours h3 { color: var(--ink); }
.info-card--hours .eyebrow--light { color: var(--brand-700); }
.hours th { color: var(--ink-2); }
.hours td { color: var(--ink); }
.hours .hours--emergency th { color: var(--ink); }
.info-address { color: var(--ink-2); }

/* ================================================================== */
/* ====== FIX: page-wide texture (same at every scroll depth) ======= */
/* ================================================================== */

body {
  background: #f2f6fd;
  background-attachment: scroll;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(780px 480px at 86% -6%, rgba(150,185,242,.6), rgba(150,185,242,0) 72%),
    radial-gradient(760px 520px at 2% 108%, rgba(172,203,255,.6), rgba(172,203,255,0) 72%),
    radial-gradient(rgba(120,156,234,.11) 1.2px, transparent 1.6px);
  background-size: auto, auto, 26px 26px;
}
.atmo { opacity: .72; }
