/* =========================================================
   Rideau MD Family Health Organization · Home page preview
   Prosomo · concept 1
   ========================================================= */

:root {
  --navy: #165994;
  --navy-deep: #0E3E69;
  --navy-hover: #0F4677;
  --teal-dark: #0D6F79;
  --teal-hover: #0A5A63;
  --teal: #2FB1BD;
  --blue: #1792C2;
  --light-blue: #65BEE4;
  --green: #62A35E;
  --green-dark: #3E7B3A;
  --ink: #1B2B3A;
  --ink-2: #34485A;
  --muted: #4A5B6C;
  --sky: #EEF6FB;
  --aqua: #E8F5F6;
  --line: #D6E4EF;
  --line-2: #E3EDF5;
  --warm: #9A3412;
  --warm-bg: #FDF1E8;
  --warm-line: #E9B796;
  --on-dark: #C9E6F4;
  --font-display: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 140px;
  --shadow-card: 0 1px 2px rgba(14, 62, 105, .06), 0 18px 40px -22px rgba(14, 62, 105, .24);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-hover); }
button { font: inherit; color: inherit; }
hr { border: 0; height: 1px; background: var(--line-2); margin: 0; }
[hidden] { display: none !important; }
section[id], [id="after-hours"], footer[id], h2[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--light-blue); }

.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: absolute; left: 16px; top: 12px; z-index: 100;
  padding: 12px 20px; border-radius: 999px;
  background: var(--navy); color: #FFFFFF; font-family: var(--font-display); font-weight: 700;
  transform: translateY(-200%); transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); color: #FFFFFF; }

.container { width: 100%; max-width: 1344px; margin-inline: auto; padding-inline: 32px; }

.icon {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon-xs { width: 14px; height: 14px; stroke-width: 3; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }
.icon-navy { color: var(--navy); }
.icon-chev { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .15s ease; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 18px; }
.btn-sm { min-height: 48px; padding: 0 20px; font-size: 15px; gap: 8px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.btn-primary:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: #FFFFFF; }
.btn-phone { background: var(--teal-dark); border-color: var(--teal-dark); color: #FFFFFF; }
.btn-phone:hover { background: var(--teal-hover); border-color: var(--teal-hover); color: #FFFFFF; }
.btn-secondary { background: #FFFFFF; border-color: var(--navy); color: var(--navy); }
.btn-secondary:hover { background: var(--sky); color: var(--navy-hover); }
.btn-outline-phone { background: #FFFFFF; border-color: var(--teal-dark); color: var(--teal-dark); }
.btn-outline-phone:hover { background: var(--aqua); color: var(--teal-hover); }
.btn-light { background: #FFFFFF; border-color: #FFFFFF; color: var(--navy-deep); }
.btn-light:hover { background: #E3F0FA; border-color: #E3F0FA; color: var(--navy-deep); }
.btn-ghost-light { min-height: 48px; padding: 0 22px; font-size: 16px; background: transparent; border-color: var(--on-dark); color: #FFFFFF; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; }
.btn-outline-light-line { background: #FFFFFF; border-color: var(--line); color: var(--navy); }
.btn-outline-light-line:hover { background: var(--sky); }

[data-charlotte-online="false"] .charlotte-online { display: none !important; }

/* ---------- Shared bits ---------- */
.accent-bar { display: block; width: 56px; height: 5px; border-radius: 3px; background: var(--green); }
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark);
}
.strong-link { font-weight: 700; color: var(--navy); }
.warm-text, .warm-link { color: var(--warm); font-weight: 700; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none;
}
.arrow-link:hover { text-decoration: underline; }
.arrow-link.light { color: #FFFFFF; font-size: 16px; }
.phone-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 16px; color: var(--teal-dark); }
.phone-link:hover { color: var(--teal-hover); }

.step-dot {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: #FFFFFF; font-family: var(--font-display); font-weight: 700; font-size: 13px;
}
.step-dot.lg { width: 36px; height: 36px; font-size: 16px; }
.step-dot.warm { background: var(--warm); }

.photo { position: relative; overflow: hidden; background: #DCEAF4; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-chip {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  max-width: calc(100% - 32px); padding: 8px 12px; border-radius: 10px;
  background: #FFFFFF; color: var(--ink); font-size: 14px; line-height: 1.3;
}
.ph-chip strong { font-size: 12px; letter-spacing: .08em; color: var(--warm); }

.emergency-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%; background: var(--warm-bg); color: var(--warm);
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.topbar { background: var(--navy-deep); color: var(--on-dark); font-size: 15px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 4px 24px; min-height: 44px; flex-wrap: wrap; }
.topbar-note { display: flex; align-items: center; gap: 10px; }
.topbar-note .icon { color: var(--light-blue); }
.topbar-note a { color: #FFFFFF; font-weight: 700; }
.topbar-lang {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--font-display); font-weight: 600; color: #FFFFFF; text-decoration: none;
}
.topbar-lang .icon { color: var(--light-blue); }
.topbar-lang:hover { color: #FFFFFF; text-decoration: underline; }

.header-main { display: flex; align-items: center; gap: 20px; padding-block: 16px; }
.logo { display: flex; flex-shrink: 0; }
.logo img { height: 60px; width: auto; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item-rel { position: relative; }
.nav-trigger, .nav-link {
  position: relative; display: flex; align-items: center; gap: 4px;
  min-height: 48px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink);
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav-trigger:hover, .nav-link:hover { background: var(--sky); color: var(--navy-hover); }
.nav-trigger[aria-expanded="true"] { background: var(--sky); color: var(--navy); font-weight: 700; }
.nav-trigger[aria-expanded="true"] .icon-chev { transform: rotate(180deg); }
.nav-trigger[aria-expanded="true"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -22px; height: 3px; border-radius: 2px; background: var(--teal);
}
.header-book { min-height: 52px; padding: 0 24px; font-size: 16px; white-space: nowrap; }

.mobile-actions { display: none; align-items: center; gap: 4px; margin-left: auto; }
.lang-mobile {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none;
}
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; color: var(--navy); cursor: pointer;
}
.menu-toggle:hover { background: var(--sky); }

/* Mega menus */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 49;
  background: #FFFFFF; border-top: 1px solid var(--line); border-radius: 0 0 32px 32px;
  box-shadow: 0 30px 60px -30px rgba(9, 32, 56, .5);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mega-inner { display: grid; gap: 32px; padding-top: 36px; padding-bottom: 40px; align-items: stretch; }
.mega-hours { grid-template-columns: 220px minmax(0, 1fr) 330px; }
.mega-clinics { grid-template-columns: 240px minmax(0, 1fr); }
.mega-patients { grid-template-columns: 240px minmax(0, 1fr) 380px; align-items: start; }
.mega-rail { display: flex; flex-direction: column; gap: 6px; padding-right: 28px; border-right: 1px solid var(--line-2); align-self: stretch; }
.rail-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 56px; padding: 0 16px; border-radius: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); text-decoration: none;
}
.rail-link .icon { color: #5E85A8; }
.rail-link.is-primary { font-weight: 700; color: var(--navy); }
.rail-link.is-primary .icon { color: var(--navy); }
.rail-link:hover { background: var(--sky); color: var(--navy-hover); }
.rail-note { padding: 8px 16px 0; font-size: 16px; color: var(--muted); }

.mega-hours-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mini-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; }
.mini-card .eyebrow, .clinic-tile .eyebrow { font-size: 12px; }
.mini-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--navy-deep); }
.hours-stack { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.35; }
.hours-stack dt { color: var(--muted); }
.hours-stack dd { font-weight: 700; }
.mini-actions { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; padding-top: 10px; border-top: 1px solid var(--line-2); }

.mega-feature {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  padding: 26px; border-radius: 22px; background: var(--navy-deep); color: #FFFFFF;
}
.mega-feature::before {
  content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%;
  background: var(--navy); opacity: .6;
}
.mega-feature > * { position: relative; }
.feature-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--light-blue);
}
.feature-title { font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1.25; }
.on-dark-dl dt { color: var(--light-blue); font-weight: 700; }
.on-dark-dl dd { font-weight: 400; }
.feature-note { font-size: 15px; line-height: 1.45; color: var(--on-dark); }
.mega-feature .arrow-link { margin-top: auto; }

.mega-clinic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.clinic-tile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.clinic-tile img { width: 100%; height: 96px; object-fit: cover; }
.clinic-tile-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 14px; flex-grow: 1; }
.tile-address { font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.tile-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; padding-top: 8px; border-top: 1px solid var(--line-2); }

.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile {
  display: flex; align-items: center; gap: 16px; min-height: 92px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 20px; text-decoration: none;
}
.tile:hover { background: var(--sky); border-color: var(--navy); }
.tile-icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 16px; background: var(--aqua); color: var(--teal-dark);
}
.tile-icon .icon { width: 24px; height: 24px; }
.tile-label { flex-grow: 1; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy-deep); }
.tile-arrow { color: #5E85A8; }
.mega-path { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 22px; background: var(--aqua); }
.mega-path-title { font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.3; color: var(--navy); }
.mini-steps { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.45; }
.mini-steps li { display: flex; gap: 12px; align-items: flex-start; }
.mini-steps a { font-weight: 700; }

.dropdown {
  position: absolute; right: -12px; top: calc(100% + 26px); z-index: 51; width: 280px;
  display: flex; flex-direction: column; gap: 2px; padding: 10px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 24px 48px -20px rgba(14, 62, 105, .35);
}
.dropdown-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 54px; padding: 0 16px; border-radius: 14px; font-size: 18px; color: var(--ink); text-decoration: none;
}
.dropdown-link.is-primary { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--navy); }
.dropdown-link:hover { background: var(--sky); }

.page-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(9, 32, 56, .45); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--sky); padding: 72px 0 136px; }
.hero-leaf { position: absolute; left: -60px; top: -40px; width: 300px; height: 300px; transform: rotate(-18deg); fill: var(--teal); opacity: .14; }
.hero-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 620px; }
.hero-copy .accent-bar { width: 64px; height: 6px; }
.hero h1 { font-weight: 800; font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1.06; letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
.accent-word { color: var(--teal-dark); }
.lead { font-size: 21px; line-height: 1.6; color: var(--ink-2); max-width: 560px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.emergency-line {
  display: flex; align-items: center; gap: 14px; align-self: flex-start; max-width: 100%;
  padding: 12px 20px 12px 12px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 999px;
  font-size: 17px; line-height: 1.45;
}
.emergency-line strong { color: var(--warm); }
.hero-media { position: relative; padding: 28px 0 0 28px; }
.hero-photo { height: 520px; border-radius: 32px 32px 32px 120px; }
.hero-photo img { object-position: 50% 40%; }
.hero-photo .ph-chip { left: auto; right: 20px; bottom: 20px; font-size: 15px; }
.logo-tile {
  position: absolute; left: 0; top: 0; width: 128px; height: 128px; border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  background: #FFFFFF; box-shadow: 0 18px 40px -16px rgba(14, 62, 105, .35);
}
.logo-tile img { width: 88px; height: auto; }

/* ---------- Info strip ---------- */
.strip-wrap { position: relative; z-index: 2; margin-top: -80px; }
.info-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px;
  box-shadow: 0 24px 48px -24px rgba(14, 62, 105, .28);
}
.strip-item { display: flex; gap: 18px; padding: 32px; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-title { font-weight: 700; font-size: 18px; color: var(--navy-deep); margin-bottom: 6px; }
.strip-item p { font-size: 17px; line-height: 1.5; color: var(--muted); }
.strip-item p.small { font-size: 15px; margin-top: 6px; }
.chip-icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 50%; background: var(--aqua); color: var(--teal-dark);
}
.chip-icon .icon { width: 24px; height: 24px; }

/* ---------- Sections ---------- */
.section { padding: 104px 0 112px; }
.section-sky { background: var(--sky); }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; }
.section-head h2 { font-weight: 800; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.12; letter-spacing: -.015em; color: var(--navy); }
.lead-sm { font-size: 21px; line-height: 1.5; color: var(--muted); }

/* Clinic cards */
.clinic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.clinic-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-card);
}
.card-photo { height: 168px; }
.card-photo img { object-position: 50% 55%; }
.card-body { display: flex; flex-direction: column; gap: 22px; padding: 28px 32px 32px; flex-grow: 1; }
.card-body .eyebrow { margin-bottom: 8px; }
.card-title { font-weight: 700; font-size: 25px; line-height: 1.2; color: var(--navy-deep); }
.icon-row { display: flex; gap: 12px; font-size: 18px; line-height: 1.5; }
.icon-row > .icon { margin-top: 3px; width: 22px; height: 22px; }
.hours { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; }
.hours-label { font-weight: 700; }
.hours-table { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; font-size: 17px; color: var(--ink-2); }
.contact-list {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; align-items: center;
  padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 17px; line-height: 1.45;
}
.contact-list dt { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.contact-list dd { overflow-wrap: anywhere; }
.booking-note { padding: 14px 18px; background: var(--sky); border-radius: 16px; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

/* Ways to get care */
.method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px; }
.method-card { display: flex; gap: 20px; padding: 32px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; }
.method-card h3 { font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--navy-deep); margin-bottom: 8px; }
.method-card p { color: var(--ink-2); line-height: 1.6; }
.square-icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 18px; background: var(--aqua); color: var(--teal-dark);
}

.after-hours { position: relative; overflow: hidden; padding: 56px; border-radius: 32px; background: var(--navy-deep); color: #FFFFFF; }
.ah-circle { position: absolute; right: -160px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: var(--navy); opacity: .55; }
.ah-leaf { position: absolute; right: 48px; top: 40px; width: 120px; height: 120px; transform: rotate(12deg); fill: var(--light-blue); opacity: .18; }
.ah-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.ah-main { display: flex; flex-direction: column; gap: 28px; }
.feature-eyebrow.lg { font-size: 15px; gap: 14px; }
.ah-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(101, 190, 228, .16); }
.ah-head { display: flex; flex-direction: column; gap: 12px; }
.ah-head h3 { font-weight: 800; font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.15; }
.ah-lead { font-size: 20px; line-height: 1.55; color: var(--on-dark); }
.schedule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.schedule-tile { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(101, 190, 228, .4); }
.schedule-tile dt { font-size: 17px; font-weight: 700; color: var(--on-dark); }
.schedule-tile dd { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; }
.ah-email { display: flex; flex-direction: column; gap: 10px; }
.ah-email p { font-size: 19px; color: var(--on-dark); }
.ah-email a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-family: var(--font-display); font-weight: 700; font-size: 26px; color: #FFFFFF;
  text-underline-offset: 6px; text-decoration-thickness: 2px; overflow-wrap: anywhere;
}
.ah-email a .icon { color: var(--light-blue); width: 28px; height: 28px; }
.ah-card { display: flex; flex-direction: column; gap: 24px; padding: 36px; background: #FFFFFF; border-radius: 24px; color: var(--ink); }
.ah-card h4 { font-weight: 700; font-size: 20px; color: var(--navy-deep); }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; font-size: 18px; line-height: 1.4; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.check {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%; background: #E9F3E8; color: var(--green-dark);
}
.steps { display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.5; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps .step-dot { width: 32px; height: 32px; font-size: 15px; }
.ah-footer {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(201, 230, 244, .25);
}
.ah-notes { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.ah-notes p { display: flex; gap: 12px; font-size: 18px; line-height: 1.5; color: var(--on-dark); }
.ah-notes .icon { color: var(--light-blue); margin-top: 3px; width: 22px; height: 22px; }

/* Path */
.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 44px; }
.path-step {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 32px; border-radius: 24px; background: var(--sky); border: 1px solid var(--line);
  font-size: 19px; line-height: 1.55;
}
.path-head { display: flex; align-items: center; gap: 12px; }
.path-label { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.1; color: var(--navy); }
.path-emergency { background: var(--warm-bg); border: 2px solid var(--warm-line); }
.path-emergency .path-label { color: var(--warm); }
.path-arrow {
  position: absolute; right: -38px; top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  background: #FFFFFF; border: 1px solid var(--line); color: var(--navy); box-shadow: 0 6px 16px -6px rgba(14, 62, 105, .3);
}
.path-arrow .icon { width: 22px; height: 22px; stroke-width: 2.2; }

/* Languages + family doctor */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: 104px; align-items: stretch; }
.lang-card { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 48px; border-radius: 28px; background: var(--aqua); }
.lang-card h2, .doctor-body h2 { font-weight: 800; font-size: clamp(1.7rem, 2.4vw, 2.125rem); line-height: 1.15; color: var(--navy); }
.lang-card p { font-size: 19px; line-height: 1.6; max-width: 520px; }
.lang-card a { color: var(--teal-dark); font-weight: 700; }
.lang-bubbles { display: flex; gap: 10px; }
.lang-bubbles span {
  display: flex; align-items: center; justify-content: center; width: 64px; height: 52px;
  border-radius: 16px 16px 16px 4px; background: #FFFFFF;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--navy);
}
.lang-bubbles .fr { margin-top: 18px; border-radius: 16px 16px 4px 16px; background: var(--teal-dark); color: #FFFFFF; }
.doctor-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.doctor-photo { height: 240px; }
.doctor-photo img { object-position: 50% 35%; }
.doctor-body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 40px 48px 48px; }
.doctor-body p { font-size: 19px; line-height: 1.6; }

/* New patients band */
.np-wrap { padding-bottom: 112px; }
.np-band {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  padding: 64px; border-radius: 32px; background: var(--navy); color: #FFFFFF;
}
.np-watermark { position: absolute; right: 56px; top: -30px; width: 300px; height: auto; opacity: .08; pointer-events: none; }
.np-copy { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.np-copy h2 { font-weight: 800; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.12; letter-spacing: -.015em; }
.np-copy p { font-size: 20px; line-height: 1.6; color: #E6F1FA; }
.np-band .btn { position: relative; color: var(--navy); }

/* ---------- Footer ---------- */
.footer-edge { background: var(--teal); clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%); }
.site-footer { background: var(--navy-deep); color: var(--on-dark); clip-path: polygon(0 66px, 100% 10px, 100% 100%, 0 100%); padding-top: 112px; }
.footer-inner { display: flex; flex-direction: column; gap: 48px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.footer-brand img { height: 72px; width: auto; }
.footer-logo { display: flex; }
.footer-divider { width: 1px; height: 56px; background: rgba(201, 230, 244, .3); }
.footer-brand p { flex: 1 1 320px; max-width: 560px; font-size: 18px; line-height: 1.6; }
.footer-clinics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-clinic {
  display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 24px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(201, 230, 244, .18);
}
.footer-clinic h3 { font-weight: 700; font-size: 20px; line-height: 1.3; color: #FFFFFF; }
.footer-clinic p { font-size: 17px; line-height: 1.5; }
.footer-clinic dl { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 6px 12px; font-size: 17px; line-height: 1.45; }
.footer-clinic dt { color: var(--light-blue); }
.footer-clinic dd { overflow-wrap: anywhere; }
.footer-clinic a { color: var(--on-dark); }
.footer-clinic a:hover, .site-footer a:hover { color: #FFFFFF; }
.site-footer a.strong { color: #FFFFFF; font-weight: 700; }
.footer-clinic .btn { margin-top: auto; align-self: flex-start; color: #FFFFFF; }
.footer-notices {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 48px;
  padding: 28px 0; border-top: 1px solid rgba(201, 230, 244, .22); border-bottom: 1px solid rgba(201, 230, 244, .22);
}
.footer-notices p { display: flex; align-items: center; gap: 14px; font-size: 18px; line-height: 1.5; color: #FFFFFF; }
.notice-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(101, 190, 228, .18); color: var(--light-blue); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 40px; font-size: 16px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); }

/* ---------- Mobile quick bar ---------- */
.quick-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  background: #FFFFFF; border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -12px rgba(14, 62, 105, .25);
}
.quick-bar .btn { min-height: 56px; padding: 0 12px; gap: 8px; }

/* ---------- Dialogs ---------- */
body.has-modal { overflow: hidden; }
dialog.panel {
  width: calc(100% - 48px); max-width: 660px; max-height: calc(100% - 48px);
  padding: 0; border: 0; border-radius: 28px; background: #FFFFFF; color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(9, 32, 56, .5); overflow-y: auto;
}
dialog::backdrop { background: rgba(9, 32, 56, .58); }
.panel-body { display: flex; flex-direction: column; gap: 6px; padding: 28px 32px; }
.sheet-handle { display: none; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 6px; }
.panel-head h2 { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 24px; line-height: 1.25; color: var(--navy); }
.head-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--navy); }
.head-icon.teal { background: var(--aqua); color: var(--teal-dark); }
.icon-btn {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--sky); color: var(--navy); cursor: pointer;
}
.icon-btn:hover { background: #DCEAF4; }
.panel-intro { font-size: 17px; color: var(--muted); padding-bottom: 6px; }
.panel-list li { display: flex; flex-direction: column; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.panel-list li:last-child { border-bottom: 1px solid var(--line-2); }
.panel-list h3 { font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--navy-deep); }
.panel-meta { font-size: 16px; line-height: 1.45; color: var(--ink-2); overflow-wrap: anywhere; }
.panel-hours { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.call-row { flex-direction: row !important; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.panel-ah {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
  margin-top: 14px; padding: 16px 20px; border-radius: 18px; background: var(--navy-deep); color: #FFFFFF;
}
.panel-ah-text { display: flex; align-items: flex-start; gap: 12px; }
.panel-ah-text .icon { color: var(--light-blue); margin-top: 2px; }
.panel-ah-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.panel-ah-text p:not(.panel-ah-title) { font-size: 15px; line-height: 1.4; color: var(--on-dark); }
.panel-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.panel-note .icon { margin-top: 1px; width: 18px; height: 18px; }
.panel-note.info { background: var(--sky); }
.panel-note.info .icon { color: var(--teal-dark); }
.panel-note.warm { background: var(--warm-bg); }
.panel-note.warm .icon, .panel-note.warm strong { color: var(--warm); }
.panel-note + .panel-note { margin-top: 6px; }

/* Mobile menu */
dialog.mobile-menu {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: #FFFFFF; color: var(--ink);
}
.mm-inner { min-height: 100%; display: flex; flex-direction: column; }
.mm-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mm-head .logo img { height: 46px; }
.mm-close {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 0; border-radius: 14px; background: var(--navy); color: #FFFFFF; cursor: pointer;
}
.mm-list > li { border-bottom: 1px solid var(--line-2); }
.mm-group:has(> [aria-expanded="true"]) { background: var(--sky); }
.acc-trigger, .mm-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 64px; padding: 0 20px; border: 0; background: transparent; text-align: left; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); text-decoration: none;
}
.acc-trigger .icon-chev { color: var(--navy); width: 22px; height: 22px; }
.acc-trigger[aria-expanded="true"] { color: var(--navy); font-weight: 700; }
.acc-trigger[aria-expanded="true"] .icon-chev { transform: rotate(180deg); }
.mm-link .icon { color: #5E85A8; }
.acc-panel { display: flex; flex-direction: column; gap: 6px; padding: 0 16px 16px; }
.acc-link {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px;
  border-radius: 14px; background: #FFFFFF; font-size: 18px; color: var(--ink); text-decoration: none;
}
.acc-link .icon { color: #5E85A8; }
.acc-link.is-primary { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy); }
.acc-link.is-primary .icon { color: var(--navy); }
.acc-link.plain { background: transparent; padding: 0 4px; }
.mm-clinic { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; }
.mm-clinic-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--navy-deep); }
.mm-clinic-area { font-size: 15px; color: var(--muted); }
.mm-clinic-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mm-clinic-actions .btn { padding: 0 10px; }
.mm-extras { display: flex; flex-direction: column; gap: 6px; padding: 24px 16px; }
.mm-extras .btn { margin-bottom: 10px; }
.mm-bar {
  position: sticky; bottom: 0; margin-top: auto;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  background: #FFFFFF; border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -12px rgba(14, 62, 105, .25);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1360px) {
  .mega-hours { grid-template-columns: 200px minmax(0, 1fr) 290px; }
  .mega-patients { grid-template-columns: 200px minmax(0, 1fr) 320px; }
  .nav-trigger, .nav-link { padding: 0 10px; }
}

@media (max-width: 1279px) {
  :root { --header-h: 74px; }
  .topbar, .main-nav, .header-book, .page-overlay { display: none !important; }
  .mobile-actions { display: flex; }
  .header-main { padding-block: 12px; }
  .logo img { height: 46px; }
  .quick-bar { display: grid; }
  body { padding-bottom: 92px; }

  .clinic-grid, .footer-clinics { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .path { grid-template-columns: minmax(0, 1fr); gap: 52px; max-width: 680px; }
  .path-arrow { right: auto; left: 50%; top: auto; bottom: -42px; transform: translateX(-50%) rotate(90deg); }
  .path-emergency + * { margin-top: 0; }
}

@media (max-width: 1000px) {
  .hero-grid, .ah-grid, .method-grid, .duo { grid-template-columns: minmax(0, 1fr); }
  .info-strip { grid-template-columns: minmax(0, 1fr); }
  .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--line); }
  .hero { padding: 48px 0 80px; }
  .hero-copy { max-width: none; }
  .hero-photo { height: 380px; }
  .strip-wrap { margin-top: -40px; }
  .footer-notices { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 18px; }
  .container { padding-inline: 16px; }
  .hero { padding: 32px 0 56px; }
  .hero-copy { gap: 22px; }
  .lead { font-size: 19px; }
  .btn-row { flex-direction: column; gap: 12px; }
  .btn-row .btn { width: 100%; }
  .emergency-line { border-radius: 20px; padding: 14px 16px; align-items: flex-start; }
  .emergency-line .emergency-icon { width: 32px; height: 32px; }
  .hero-media { padding: 18px 0 0 18px; }
  .hero-photo { height: 240px; border-radius: 24px 24px 24px 72px; }
  .hero-photo .ph-chip { right: 12px; bottom: 12px; font-size: 13px; padding: 6px 10px; }
  .logo-tile { width: 84px; height: 84px; border-radius: 20px; }
  .logo-tile img { width: 58px; }
  .strip-wrap { margin-top: -20px; }
  .strip-item { padding: 22px 20px; gap: 14px; }
  .chip-icon { width: 44px; height: 44px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; gap: 12px; }
  .lead-sm { font-size: 19px; }
  .card-photo { height: 140px; }
  .card-body { padding: 24px 20px; gap: 20px; }
  .card-title { font-size: 23px; }
  .hours-table { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hours-table dd { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
  .contact-list { grid-template-columns: auto minmax(0, 1fr); }

  .method-card { flex-direction: column; gap: 12px; padding: 24px 20px; }
  .after-hours { padding: 32px 20px; border-radius: 24px; }
  .ah-circle { width: 280px; height: 280px; right: -120px; top: -100px; }
  .ah-leaf { display: none; }
  .schedule { grid-template-columns: minmax(0, 1fr); }
  .schedule-tile dd { font-size: 24px; }
  .ah-email a { font-size: 19px; }
  .ah-email a .icon { display: none; }
  .ah-card { padding: 24px 20px; }
  .checklist { grid-template-columns: minmax(0, 1fr); font-size: 17px; }
  .ah-footer { flex-direction: column; align-items: stretch; }
  .ah-notes p { font-size: 17px; }

  .path-step { padding: 24px 20px; font-size: 18px; }
  .path-label { font-size: 26px; }
  .path + .btn, .doctor-body .btn, .np-band .btn { width: 100%; }

  .duo { padding-bottom: 56px; gap: 20px; }
  .lang-card { padding: 28px 24px; }
  .doctor-photo { height: 200px; }
  .doctor-body { padding: 28px 24px; }
  .np-wrap { padding-bottom: 64px; }
  .np-band { padding: 36px 24px; border-radius: 24px; }
  .np-watermark { width: 200px; right: -20px; top: auto; bottom: -40px; }

  .footer-edge { clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%); }
  .site-footer { clip-path: polygon(0 40px, 100% 8px, 100% 100%, 0 100%); padding-top: 76px; }
  .footer-inner { gap: 28px; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-brand img { height: 56px; }
  .footer-divider { display: none; }
  .footer-clinic { padding: 24px 20px; }
  .footer-clinic .btn { align-self: stretch; }

  /* Dialogs become bottom sheets */
  dialog.panel {
    width: 100%; max-width: none; max-height: 92vh; margin: auto 0 0 0;
    border-radius: 28px 28px 0 0; inset: auto 0 0 0;
  }
  .panel-body { padding: 10px 20px calc(22px + env(safe-area-inset-bottom)); }
  .sheet-handle { display: block; align-self: center; width: 44px; height: 5px; border-radius: 3px; background: #C3D5E4; margin-bottom: 6px; }
  .panel-head h2 { font-size: 21px; }
  .panel-head .head-icon { display: none; }
  .panel-list li { padding: 14px 0; }
  .panel-actions .btn { flex: 1 1 calc(50% - 5px); }
  .call-row { flex-direction: column !important; align-items: stretch; }
  .call-row .btn { width: 100%; min-height: 52px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (forced-colors: active) {
  .btn, .tile, .mini-card, .clinic-card { border: 2px solid ButtonText; }
  .accent-bar, .ah-circle, .hero-leaf, .ah-leaf { forced-color-adjust: none; }
}

/* ---------- Preview notice (links to pages not built yet) ---------- */
.preview-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  width: max-content; max-width: min(560px, calc(100% - 32px));
  padding: 12px 8px 12px 18px; border-radius: 18px;
  background: var(--navy-deep); color: #FFFFFF; border: 1px solid rgba(101, 190, 228, .55);
  box-shadow: 0 20px 40px -16px rgba(9, 32, 56, .55);
  font-size: 16px; line-height: 1.45;
  animation: toast-in .2s ease-out;
}
.preview-toast > .icon { color: var(--light-blue); }
.toast-msg { flex: 1 1 auto; }
.toast-close {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: #FFFFFF; cursor: pointer;
}
.toast-close:hover { background: rgba(255, 255, 255, .12); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 1279px) {
  .preview-toast { bottom: 104px; }
  .preview-toast.in-dialog { bottom: 24px; }
}

/* =========================================================
   v2 · Client follow-ups (ticket #537485)
   ========================================================= */

/* Header */
.topbar-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.nav-link[aria-current="page"] { color: var(--navy); font-weight: 700; }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--teal);
}
@media (max-width: 1440px) {
  .book-long { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-book { padding: 0 22px; }
}
.mm-link[aria-current="page"], .acc-link[aria-current="page"] { color: var(--navy); font-weight: 700; }
.tile[aria-current="page"] { background: var(--sky); border-color: var(--navy); }

/* Home · after-hours band */
.ah-head h2 { font-weight: 800; font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.15; }
.ah-today { gap: 18px; }
.ah-today.bordered { border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.ah-today-label {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 6px 14px; border-radius: 999px; background: var(--aqua); color: var(--teal-dark);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
}
.ah-today-label .icon { width: 18px; height: 18px; }
.ah-today-body { display: flex; flex-direction: column; gap: 6px; }
.ah-today-note { font-size: 16px; color: var(--ink-2); padding: 10px 14px; border-radius: 12px; background: var(--sky); margin-bottom: 6px; }
.ah-today-date { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.2; color: var(--navy-deep); }
.ah-today-time { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--teal-dark); }
.ah-today-where { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.ah-today-clinic { font-weight: 700; font-size: 19px; color: var(--ink); }
.ah-today-meta { font-size: 17px; color: var(--ink-2); }
.ah-today-email { margin-top: 6px; font-size: 16px; color: var(--muted); }
.ah-today .btn { align-self: flex-start; }

/* Languages card */
.lang-icon {
  display: flex; align-items: center; justify-content: center; width: 64px; height: 64px;
  border-radius: 20px 20px 20px 6px; background: #FFFFFF; color: var(--teal-dark);
}
.lang-icon .icon { width: 30px; height: 30px; }
.arrow-link.teal { color: var(--teal-dark); font-size: 17px; }

/* New patients band */
.np-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px 48px; }
.np-band .btn { justify-self: end; }
.np-clinics { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.np-clinics li {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-radius: 20px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(201, 230, 244, .35);
}
.np-clinic-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.3; color: #FFFFFF; }
.np-clinics a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; align-self: flex-start;
  font-weight: 700; font-size: 18px; color: #FFFFFF; text-underline-offset: 4px;
}
.np-clinics a .icon { color: var(--light-blue); }
.np-clinics a:hover { color: #E3F0FA; }

/* FAQ */
.faq-section { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 20px; background: #FFFFFF; }
.faq-item[open] { border-color: var(--navy); background: var(--sky); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px; padding: 16px 24px; cursor: pointer; list-style: none; border-radius: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.35; color: var(--navy-deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon-chev { color: var(--navy); }
.faq-item[open] summary .icon-chev { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--navy-hover); }
.faq-body { padding: 0 24px 22px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.faq-body a { font-weight: 700; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; background: var(--sky); padding: 56px 0 120px; }
.page-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.page-hero-copy { display: flex; flex-direction: column; gap: 24px; }
.page-hero h1 { font-weight: 800; font-size: clamp(2.375rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
.page-hero .lead { max-width: 640px; }
.page-hero + .section { padding-top: 88px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 16px; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--muted); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-2); }
.breadcrumb a[aria-current="page"] { color: var(--navy); font-weight: 700; text-decoration: none; }

.ah-hours-card {
  position: relative; display: flex; flex-direction: column; gap: 22px; padding: 36px;
  border-radius: 32px 32px 32px 96px; background: var(--navy-deep); color: #FFFFFF; overflow: hidden;
}
.ah-hours-card::before { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: var(--navy); opacity: .6; }
.ah-hours-card > * { position: relative; }
.schedule-stack { grid-template-columns: minmax(0, 1fr); }
.ah-hours-note { font-size: 17px; line-height: 1.5; color: var(--on-dark); padding-left: 4px; }

/* Calendar */
.cal-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 40px; align-items: start; }
.cal-aside { display: flex; flex-direction: column; gap: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
.ah-up-title { font-weight: 700; font-size: 20px; color: var(--navy-deep); margin-bottom: 12px; }
.ah-up-list { display: flex; flex-direction: column; gap: 10px; }
.ah-up-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 14px; padding: 14px 16px 14px 18px;
  border: 1px solid var(--line); border-left-width: 6px; border-radius: 14px; background: #FFFFFF;
}
.ah-up-date { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy-deep); }
.ah-up-time { font-size: 16px; color: var(--ink-2); text-align: right; }
.ah-up-clinic { grid-column: 1 / -1; font-weight: 700; font-size: 16px; line-height: 1.35; margin-top: 4px; }
.ah-up-doc { grid-column: 1 / -1; font-size: 15px; color: var(--muted); }
.charlotte { --clinic: var(--navy); --clinic-bg: #E6F0F8; }
.donald { --clinic: var(--teal-dark); --clinic-bg: #E2F3F4; }
.montreal { --clinic: var(--green-dark); --clinic-bg: #E9F3E8; }
.ah-up-item { border-left-color: var(--clinic, var(--line)); }

.cal { padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: #FFFFFF; box-shadow: var(--shadow-card); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.cal-title { font-weight: 800; font-size: 26px; color: var(--navy); text-align: center; }
.cal-head .icon-btn:disabled { opacity: .35; cursor: not-allowed; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; font-size: 15px; color: var(--ink-2); }
.cal-legend li { display: flex; align-items: center; gap: 8px; }
.cal-legend li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--clinic); }
.cal-grid { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 6px; margin: 0 -6px; width: calc(100% + 12px); }
.cal-grid th { padding: 6px 0; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cal-grid td { vertical-align: top; height: 112px; padding: 8px; border-radius: 14px; background: #F7FAFC; }
.cal-grid td.cal-empty { background: transparent; }
.cal-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink-2); margin-bottom: 6px; }
.cal-day.is-today { outline: 3px solid var(--teal); outline-offset: -3px; }
.cal-day.is-today .cal-num { color: var(--teal-dark); }
.cal-day.has-session { background: var(--clinic-bg); box-shadow: inset 4px 0 0 var(--clinic); }
.cal-session { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.3; }
.cal-time { font-weight: 700; color: var(--ink); }
.cal-clinic { font-weight: 700; color: var(--clinic); }
.cal-doc { color: var(--ink-2); }
.cal-day.is-holiday { background: var(--warm-bg); }
.cal-holiday { display: block; font-size: 13px; line-height: 1.3; color: var(--warm); font-weight: 700; }
.cal-list { display: none; flex-direction: column; gap: 10px; }
.cal-list-item { padding: 14px 16px; border: 1px solid var(--line); border-left: 6px solid var(--clinic, var(--line)); border-radius: 14px; background: var(--clinic-bg, #FFFFFF); }
.cal-list-item.is-holiday { border-left-color: var(--warm); background: var(--warm-bg); }
.cal-list-item.is-today { outline: 3px solid var(--teal); outline-offset: 1px; }
.cal-list-date { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--navy-deep); }
.cal-list-meta { font-size: 17px; color: var(--ink); }
.cal-list-doc { font-size: 16px; color: var(--ink-2); }
.cal-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.cal-note .icon { margin-top: 4px; color: var(--teal-dark); }

/* How to book (dark band) */
.steps-light { color: #FFFFFF; }
.steps-light .step-dot { background: var(--light-blue); color: var(--navy-deep); }
.steps-light a { color: #FFFFFF; font-weight: 700; }
.ah-card h3 { font-weight: 700; font-size: 20px; color: var(--navy-deep); }
.ah-card .btn { align-self: flex-start; }

/* Triage */
.triage-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.triage-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.triage-item { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: #FFFFFF; }
.triage-item h3 { font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--navy-deep); }
.triage-item p { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.triage-item p.triage-er { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--warm-bg); color: var(--warm); font-weight: 700; font-size: 16px; }
.triage-er .icon { margin-top: 3px; }
.triage-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.er-box { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 24px; background: var(--warm-bg); border: 2px solid var(--warm-line); }
.er-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.3; color: var(--warm); }
.er-list { display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.45; }
.er-list li { position: relative; padding-left: 22px; }
.er-list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--warm); }
.btn-warm { background: var(--warm); border-color: var(--warm); color: #FFFFFF; align-self: flex-start; }
.btn-warm:hover { background: #7C2A0E; border-color: #7C2A0E; color: #FFFFFF; }
.info-box { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px; border-radius: 24px; background: var(--sky); border: 1px solid var(--line); }
.info-box h3 { font-weight: 700; font-size: 19px; color: var(--navy-deep); }
.info-box p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }

.path-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-bottom: 0; }
.path-step.bg-white { background: #FFFFFF; }

/* Block fee */
.price-badge {
  justify-self: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 300px; height: 300px; border-radius: 50%; background: var(--navy-deep); color: #FFFFFF;
  box-shadow: 0 0 0 14px rgba(47, 177, 189, .18), 0 30px 60px -30px rgba(9, 32, 56, .6);
}
.price-from { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--light-blue); }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 84px; line-height: 1; letter-spacing: -.03em; }
.price-per { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--on-dark); }
.price-period { margin-top: 12px; padding: 4px 14px; border-radius: 999px; background: rgba(101, 190, 228, .18); font-size: 15px; color: #FFFFFF; }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan-card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: #FFFFFF; box-shadow: var(--shadow-card); }
.plan-card.is-featured { border: 2px solid var(--navy); background: var(--sky); }
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); }
.plan-price { display: flex; align-items: baseline; gap: 10px; }
.plan-amount { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.plan-per { font-size: 18px; color: var(--muted); }
.plan-note { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.plan-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.perk { display: flex; gap: 20px; padding: 28px; border-radius: 24px; background: var(--aqua); }
.perk h3 { font-weight: 700; font-size: 20px; color: var(--navy-deep); margin-bottom: 6px; }
.perk p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.perk .square-icon { background: #FFFFFF; }

.fee-table-wrap { border: 1px solid var(--line); border-radius: 28px; background: #FFFFFF; overflow: hidden; box-shadow: var(--shadow-card); }
.fee-table { width: 100%; border-collapse: collapse; font-size: 18px; }
.fee-table thead th {
  padding: 18px 28px; background: var(--navy-deep); color: #FFFFFF; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
}
.fee-table tbody th { padding: 16px 28px; text-align: left; font-weight: 400; color: var(--ink); }
.fee-table td { padding: 16px 28px; }
.fee-table tbody tr + tr { border-top: 1px solid var(--line-2); }
.fee-table tbody tr:nth-child(even) { background: #F8FBFD; }
.fee-table .col-inc { width: 24%; }
.fee-table .col-fee { width: 22%; text-align: right; font-family: var(--font-display); font-weight: 700; color: var(--navy-deep); }
.fee-table thead .col-fee { text-align: right; color: #FFFFFF; }
.inc { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-dark); }
.inc .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #E9F3E8; stroke-width: 3; }
.na { display: inline-flex; align-items: center; gap: 8px; color: var(--warm); }
.na .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--warm-bg); stroke-width: 3; }
.row-portal { background: var(--aqua) !important; }

.nc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.nc-group { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #FFFFFF; }
.nc-group h3 { font-weight: 700; font-size: 20px; color: var(--navy-deep); margin-bottom: 12px; }
.nc-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 17px; line-height: 1.4; }
.nc-list dd { flex-shrink: 0; font-family: var(--font-display); font-weight: 700; color: var(--navy-deep); }
.fee-footnote { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; font-size: 17px; color: var(--muted); }
.fee-footnote .icon { margin-top: 4px; color: var(--teal-dark); }

.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.choice-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 24px; background: #FFFFFF; border: 1px solid var(--line); }
.choice-card h3 { font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--navy-deep); }
.choice-card p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.questions-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 32px; padding: 32px 36px; border-radius: 24px; background: var(--navy-deep); color: #FFFFFF;
}
.questions-band h3 { font-weight: 800; font-size: 24px; margin-bottom: 8px; }
.questions-band p { max-width: 720px; font-size: 18px; line-height: 1.55; color: var(--on-dark); }
.questions-band a { color: #FFFFFF; font-weight: 700; }

/* v2 responsive */
@media (max-width: 1279px) {
  .cal-layout, .triage-layout { grid-template-columns: minmax(0, 1fr); }
  .cal-aside, .triage-side { position: static; }
  .cal-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq-grid .section-head { position: static; }
}
@media (max-width: 1000px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .np-band { grid-template-columns: minmax(0, 1fr); }
  .np-band .btn { justify-self: start; }
  .np-clinics, .plan-grid, .nc-grid, .choice-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-perks, .triage-list { grid-template-columns: minmax(0, 1fr); }
  .price-badge { justify-self: start; width: 220px; height: 220px; }
  .price-amount { font-size: 60px; }
}
@media (max-width: 760px) {
  .cal-grid { display: none; }
  .cal-list { display: flex; }
  .cal-aside { grid-template-columns: minmax(0, 1fr); }
  .cal-legend { display: none; }
  .ah-up { display: none; }
}
@media (max-width: 640px) {
  .page-hero { padding: 32px 0 64px; }
  .page-hero + .section { padding-top: 56px; }
  .page-hero-copy { gap: 20px; }
  .ah-hours-card { padding: 28px 20px; border-radius: 24px 24px 24px 64px; }
  .ah-today-date { font-size: 23px; }
  .cal { padding: 20px 16px; border-radius: 22px; }
  .cal-title { font-size: 22px; }
  .faq-item summary { padding: 14px 18px; font-size: 18px; }
  .faq-body { padding: 0 18px 18px; }
  .np-clinics li { padding: 14px 18px; }
  .er-box, .info-box { padding: 22px 20px; }
  .btn-warm, .ah-card .btn, .ah-today .btn { align-self: stretch; }
  .path-2 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .plan-card, .perk, .nc-group, .choice-card { padding: 24px 20px; }
  .perk { flex-direction: column; gap: 12px; }
  .plan-amount { font-size: 48px; }
  .questions-band { padding: 24px 20px; }
  .questions-band .btn { width: 100%; }
  /* Fee table stacks */
  .fee-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fee-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 16px 18px; }
  .fee-table tbody th { grid-column: 1 / -1; padding: 0; font-weight: 700; }
  .fee-table td { padding: 0; width: auto !important; }
  .fee-table .col-fee { text-align: right; }
  .fee-table .col-fee::before { content: "Without: "; font-family: var(--font-body); font-weight: 400; color: var(--muted); }
  .fee-table .row-portal .col-fee::before { content: ""; }
}
@media (forced-colors: active) {
  .cal-day.has-session, .cal-list-item, .ah-up-item, .faq-item, .plan-card, .triage-item { border: 2px solid CanvasText; }
}

/* =========================================================
   v3 · Inner pages from the brief
   ========================================================= */
.nav-trigger.is-current { color: var(--navy); font-weight: 700; }
.nav-trigger.is-current::before { content: ""; position: absolute; left: 12px; right: 30px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--teal); }
.nav-trigger.is-current[aria-expanded="true"]::before { display: none; }

/* Placeholder chips (missing info, to confirm with the client) */
.tbc {
  display: inline-flex; align-items: flex-start; gap: 6px; max-width: 100%;
  padding: 3px 10px; border: 1.5px dashed var(--warm-line); border-radius: 8px;
  background: var(--warm-bg); color: var(--warm); font-size: 15px; font-weight: 700; line-height: 1.4; vertical-align: middle;
}
.tbc .icon { margin-top: 2px; }
.on-dark .tbc { background: #FFFFFF; }
.muted { color: var(--muted); }

/* Hero side cards */
.quick-card { gap: 18px; }
.quick-phones { display: flex; flex-direction: column; gap: 10px; }
.quick-phones li { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(101, 190, 228, .35); }
.quick-phones span { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--on-dark); }
.quick-phones a { display: inline-flex; align-items: center; min-height: 40px; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #FFFFFF; }
.ah-hours-note a { color: #FFFFFF; font-weight: 700; }
.quick-phones.inline { flex-direction: row; flex-wrap: wrap; margin-top: 8px; }
.quick-phones.inline li { flex: 1 1 220px; background: var(--sky); border-color: var(--line); }
.quick-phones.inline span { color: var(--ink-2); }
.quick-phones.inline a { color: var(--teal-dark); font-size: 20px; }
.side-big { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.35; }
.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-chips li { padding: 4px 12px; border-radius: 999px; background: var(--aqua); color: var(--teal-dark); font-size: 15px; font-weight: 700; }
.lang-chips.light li { background: rgba(255, 255, 255, .12); color: #FFFFFF; border: 1px solid rgba(101, 190, 228, .35); }
.clinic-hero-photo { height: 380px; border-radius: 32px 32px 32px 110px; box-shadow: var(--shadow-card); }

/* Content layout */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; }
.content-main { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.content-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.block { display: flex; flex-direction: column; gap: 16px; }
.block h2 { font-weight: 800; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.2; color: var(--navy); }
.block p { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.block .btn-row { margin-top: 4px; }
.side-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #FFFFFF; box-shadow: var(--shadow-card); }
.side-title { font-weight: 700; font-size: 21px; color: var(--navy-deep); }
.side-card p { font-size: 17px; line-height: 1.55; }
.side-card .hours-table { font-size: 18px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; line-height: 1.5; }
.feature-list .icon { margin-top: 5px; color: var(--green-dark); stroke-width: 3; }
.hours-note { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--muted); }
.hours-note .icon { margin-top: 4px; color: var(--teal-dark); }
.hours-note.warn { color: var(--warm); font-weight: 700; }
.hours-note.warn .icon { color: var(--warm); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.section.tight { padding: 72px 0; }
.section.tight .section-head { margin-bottom: 28px; }
.center-row { justify-content: center; margin-top: 40px; }
.path-cta { margin-top: 32px; }
.path-stack { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }
.feature-eyebrow.ink { color: var(--teal-dark); }

/* Physicians */
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.doc-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; }
.doc-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #FFFFFF; }
.doc-avatar {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 64px; height: 64px;
  border-radius: 20px 20px 20px 6px; background: var(--sky); color: var(--navy);
  font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: .02em;
}
.doc-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.doc-name { font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--navy-deep); }
.doc-role { font-size: 16px; color: var(--ink-2); }
.doc-clinic { display: flex; align-items: center; gap: 6px; font-size: 16px; }
.doc-lang-label { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc-tbc { align-items: center; justify-content: center; border-style: dashed; background: var(--warm-bg); border-color: var(--warm-line); }

/* Info cards */
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.info-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 24px; background: #FFFFFF; border: 1px solid var(--line); }
.info-card h3 { font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--navy-deep); }
.info-card p, .info-card li { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.doc-mini { display: flex; flex-direction: column; gap: 10px; }
.doc-mini li { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.doc-mini strong { color: var(--navy-deep); }
.bullets { display: flex; flex-direction: column; gap: 8px; }
.bullets li { position: relative; padding-left: 20px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.link-row { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: auto; }

/* Hours */
.hours-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.hours-card { display: flex; flex-direction: column; gap: 18px; padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: #FFFFFF; box-shadow: var(--shadow-card); }
.hours-card-head { display: flex; flex-direction: column; gap: 8px; }
.hours-big { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 18px; background: var(--sky); }
.hours-big dt { font-size: 16px; color: var(--muted); }
.hours-big dd { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--navy-deep); }
.hours-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.hours-actions .btn { flex: 1 1 auto; }

/* Map placeholder */
.map-ph {
  position: relative; height: 400px; border-radius: 32px 32px 32px 110px; overflow: hidden;
  background-color: #DCEAF4; background-image: repeating-linear-gradient(135deg, rgba(22, 89, 148, .06) 0 16px, rgba(22, 89, 148, 0) 16px 32px);
  box-shadow: var(--shadow-card);
}
.map-road { position: absolute; background: #FFFFFF; opacity: .9; border-radius: 6px; }
.map-road.r1 { left: -10%; right: -10%; top: 46%; height: 14px; transform: rotate(-8deg); }
.map-road.r2 { top: -10%; bottom: -10%; left: 38%; width: 12px; transform: rotate(14deg); }
.map-road.r3 { left: 10%; right: -10%; top: 72%; height: 10px; transform: rotate(4deg); }
.map-pin { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--navy-deep); color: #FFFFFF; font-family: var(--font-display); font-weight: 700; font-size: 15px; box-shadow: 0 10px 24px -10px rgba(9, 32, 56, .6); }
.map-pin .icon { color: var(--light-blue); }
.map-pin.p1 { left: 10%; top: 22%; }
.map-pin.p2 { left: 44%; top: 52%; }
.map-pin.p3 { left: 56%; top: 20%; }
.map-chip { left: auto; right: 20px; bottom: 20px; }

.services-band { display: flex; flex-direction: column; gap: 18px; padding: 36px; border-radius: 28px; background: #FFFFFF; border: 1px solid var(--line); }
.services-band p { font-size: 19px; line-height: 1.6; max-width: 900px; }
.web-list { display: flex; flex-direction: column; }
.web-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 16px 0; border-top: 1px solid var(--line-2); font-size: 18px; }
.web-list li > span:first-child { font-family: var(--font-display); font-weight: 700; color: var(--navy-deep); }
.web-list a { font-weight: 700; }

/* Patients hub */
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hub-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border: 1px solid var(--line); border-radius: 26px; background: #FFFFFF; box-shadow: var(--shadow-card); }
.hub-card h3 { font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--navy-deep); }
.hub-card p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.hub-card .arrow-link { margin-top: auto; }
.hub-card.is-soon { background: var(--sky); box-shadow: none; }

/* Before your visit */
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.check-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #FFFFFF; font-size: 18px; line-height: 1.5; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 19px; line-height: 1.5; }

/* Where to get care steps */
.step-list { display: flex; flex-direction: column; gap: 20px; max-width: 980px; }
.step-item { display: flex; gap: 24px; align-items: flex-start; padding: 32px; border: 1px solid var(--line); border-radius: 26px; background: #FFFFFF; box-shadow: var(--shadow-card); }
.step-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1; }
.step-body h3 { font-weight: 800; font-size: 24px; line-height: 1.25; color: var(--navy); }
.step-body p { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.step-item.step-warm { background: var(--warm-bg); border: 2px solid var(--warm-line); box-shadow: none; }
.step-item.step-warm h3 { color: var(--warm); }

/* New patients */
.np-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.np-card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border: 1px solid var(--line); border-radius: 26px; background: #FFFFFF; box-shadow: var(--shadow-card); }
.np-card h3 { font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--navy-deep); }
.np-card p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.np-card .phone-link { margin-top: auto; font-size: 18px; }
.np-card.is-closed { background: #F7FAFC; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--warm-bg); color: var(--warm) !important; font-weight: 700; font-size: 15px !important; }
.read-box .er-title { font-size: 22px; }

/* About */
.history { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; padding: 20px 24px; border-radius: 18px; background: var(--sky); }
.belief-card { display: flex; flex-direction: column; gap: 22px; padding: 40px; border-radius: 28px; background: var(--aqua); }
.belief-card h2 { font-weight: 800; font-size: 30px; color: var(--navy); }
.mission-card .side-big { font-size: 26px; }
.questions-band.light { background: var(--sky); color: var(--ink); border: 1px solid var(--line); margin-top: 0; margin-bottom: 24px; }
.questions-band.light p { color: var(--ink-2); }
.np-band.compact { padding: 40px 48px; }
.np-title { font-weight: 800; font-size: 28px; line-height: 1.2; color: #FFFFFF; }

/* Contact */
.contact-card { display: flex; flex-direction: column; gap: 20px; padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: #FFFFFF; box-shadow: var(--shadow-card); }
.link-list { display: flex; flex-direction: column; }
.link-list li { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 17px; line-height: 1.5; }
.link-list li:first-child { border-top: 0; padding-top: 0; }
.link-list .arrow-link { align-self: flex-start; }

/* Legal pages */
.legal-hero { padding-bottom: 72px; }
.page-hero-copy.narrow { max-width: 860px; }
.prose { min-width: 0; max-width: 820px; }
.prose h2 { margin: 48px 0 16px; font-weight: 800; font-size: 30px; line-height: 1.2; color: var(--navy); }
.prose h2:first-of-type { margin-top: 8px; }
.prose h3 { margin: 28px 0 10px; font-weight: 700; font-size: 21px; color: var(--navy-deep); }
.prose p, .prose li { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.review-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; background: var(--sky); font-size: 16px !important; color: var(--ink-2); }
.review-note .icon { margin-top: 4px; color: var(--teal-dark); }
.table-box { margin: 16px 0; border: 1px solid var(--line); border-radius: 20px; overflow-x: auto; }
.fee-table.plain { font-size: 17px; }
.fee-table.plain thead th { padding: 14px 20px; }
.fee-table.plain tbody th, .fee-table.plain td { padding: 14px 20px; vertical-align: top; }
.toc ul { display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--ink-2); }

/* 404 */
.nf-hero { padding: 80px 0 120px; }
.nf-grid { max-width: 900px; }
.nf-code { font-family: var(--font-display); font-weight: 800; font-size: 120px; line-height: 1; letter-spacing: -.04em; color: var(--teal-dark); }
.nf-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nf-links .tile { background: #FFFFFF; }

/* Language chooser */
.page-bare { background: var(--sky); }
.lang-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.lang-box { display: flex; flex-direction: column; align-items: center; gap: 28px; max-width: 640px; width: 100%; padding: 56px 40px; border-radius: 32px; background: #FFFFFF; box-shadow: var(--shadow-card); text-align: center; }
.lang-box img { width: 260px; height: auto; }
.lang-names { display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--navy-deep); }
.lang-sep { width: 56px; height: 4px; border-radius: 2px; background: var(--green); }
.lang-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
.lang-note { font-size: 16px; color: var(--muted); }
body.page-bare { padding-bottom: 0 !important; }

.panel-more { margin-top: 8px; }

/* v3 responsive */
@media (max-width: 1279px) {
  .content-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .content-side { position: static; }
  .hours-grid, .np-grid, .hub-grid, .check-grid, .info-cards, .doc-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .two-col, .info-cards.two { grid-template-columns: minmax(0, 1fr); }
  .clinic-hero-photo, .map-ph { height: 280px; }
}
@media (max-width: 760px) {
  .hours-grid, .np-grid, .hub-grid, .check-grid, .info-cards, .doc-grid, .doc-grid.three, .nf-links, .lang-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .clinic-hero-photo, .map-ph { height: 230px; border-radius: 24px 24px 24px 72px; }
  .map-pin { font-size: 13px; padding: 6px 10px 6px 8px; }
  .map-pin.p2 { left: 30%; } .map-pin.p3 { left: 48%; top: 10%; }
  .side-card, .info-card, .hours-card, .hub-card, .np-card, .contact-card, .services-band, .belief-card { padding: 24px 20px; }
  .step-item { flex-direction: column; gap: 14px; padding: 24px 20px; }
  .step-body h3 { font-size: 21px; }
  .doc-card { padding: 20px; }
  .nf-code { font-size: 84px; }
  .prose h2 { font-size: 25px; }
  .lang-box { padding: 40px 20px; }
  .np-band.compact { padding: 32px 22px; }
  .hours-actions .btn { width: 100%; }
}

.toc a { display: inline-flex; min-height: 32px; align-items: center; }
.prose h2[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* The footer's angled top overlaps the last section, so a light-blue section runs under the angle (no white gap) */
.footer-edge { position: relative; margin-top: -56px; }
@media (max-width: 640px) { .footer-edge { margin-top: -32px; } }

/* Review fixes */
@media (max-width: 1279px) { .content-grid.side-first .content-side { order: -1; } }
@media (max-width: 760px) { .page-hero .quick-card { display: none; } }

.triage-item p.triage-988 { font-size: 16px; color: var(--ink-2); }
.triage-988 a, .er-988 a { font-weight: 700; }
.er-988 { font-size: 16px; line-height: 1.5; color: var(--ink); }

/* Urgent care: simplified "when to use" (client v3) */
.triage-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.care-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.care-card, .mh-card { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #FFFFFF; }
.care-card h3, .mh-card h3 { font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--navy-deep); margin-bottom: 6px; }
.care-card p, .mh-card p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.mh-card { background: var(--sky); }
.mh-card p + p { margin-top: 8px; }
.mh-card a { font-weight: 700; }
@media (max-width: 760px) { .care-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .care-card, .mh-card { padding: 20px; gap: 14px; } }

/* Block fee: savings card (client v4) */
.savings-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 28px; padding: 40px 44px; border-radius: 28px; background: var(--navy-deep); color: #FFFFFF; box-shadow: var(--shadow-card); }
.savings-kicker { font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #9FE0E6; margin-bottom: 10px; }
.savings-main h3 { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.2; color: #FFFFFF; margin-bottom: 12px; }
.savings-main p:last-child { font-size: 18px; line-height: 1.55; color: #DCE8F2; }
.savings-math { display: flex; flex-direction: column; border-radius: 20px; background: rgba(255, 255, 255, .08); padding: 8px 24px; }
.savings-math div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.savings-math div:last-child { border-bottom: 0; }
.savings-math dt { font-size: 17px; color: #DCE8F2; }
.savings-math dd { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #FFFFFF; white-space: nowrap; }
.savings-math .is-total dt { font-weight: 700; color: #FFFFFF; }
.savings-math .is-total dd { font-size: 32px; font-weight: 800; color: #9FE0E6; }
@media (max-width: 900px) { .savings-card { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px 28px; } }
@media (max-width: 640px) { .savings-card { padding: 26px 20px; border-radius: 22px; } .savings-main h3 { font-size: 24px; } .savings-math { padding: 4px 18px; } }

/* Charlotte Street email next to its phone (client v5) */
.quick-phones a.qp-email { gap: 8px; min-height: 36px; font-family: var(--font-body, inherit); font-weight: 700; font-size: 16px; color: #DCEBF7; overflow-wrap: anywhere; }
.quick-phones a.qp-email .icon { flex: none; }
.quick-phones.inline a.qp-email { color: var(--teal-dark); }
.np-clinics a { overflow-wrap: anywhere; }
.panel-email { margin-top: 8px; }
.panel-email a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 700; font-size: 16px; color: var(--teal-dark); overflow-wrap: anywhere; }
.mm-clinic-actions .mm-email { grid-column: 1 / -1; gap: 8px; font-size: 15px; }
.mail-link { display: inline-flex; align-items: center; min-height: 32px; font-weight: 700; font-size: 15px; color: var(--teal-dark); overflow-wrap: anywhere; }
.mail-link:hover { color: var(--teal-hover); }
.tile-actions .mail-link { order: 3; flex-basis: 100%; }

/* Physician bio (client v6) */
.doc-bio { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* Physician photos (client v7) */
.doc-avatar { width: 88px; height: 88px; font-size: 28px; }
img.doc-photo { display: block; object-fit: cover; background: var(--sky); }
@media (max-width: 640px) { .doc-avatar { width: 72px; height: 72px; font-size: 24px; } }
img.doc-photo { border: 1px solid var(--line); }
img[src*="charlotte-building"] { object-position: 35% 72%; }

/* Launch v1: clinic policy, AI scribe (client v8) */
.bullet-list, .prose ul.dot { display: flex; flex-direction: column; gap: 10px; }
.bullet-list li, .prose article li, .prose > ul li, .policy-cols li { position: relative; padding-left: 22px; }
.bullet-list li::before, .prose > ul li::before, .policy-cols li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.bullet-list li { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.policy-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.policy-cols ul { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.policy-cols h3 { margin-top: 12px !important; }
.prose .fee-table-wrap { margin: 16px 0; }
.prose .fee-footnote { margin-top: 32px; }
.policy-points { position: relative; display: flex; flex-direction: column; gap: 12px; }
.policy-points li { position: relative; padding-left: 30px; font-size: 18px; line-height: 1.45; color: #FFFFFF; }
.policy-points li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.link-list + .link-list { margin-top: 12px; }
@media (max-width: 760px) { .policy-cols { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.prose ul + p, .prose .policy-cols + p { margin-top: 16px; }
.prose .fee-table th.col-fee, .prose .fee-table td.col-fee { width: 240px; white-space: nowrap; }
