/* ==========================================================================
   North Shore Smile Center — Theme "Harbor"
   Palette derived from the practice logo (navy + coastal orange).
   Built on Bootstrap 5.3. Icons: Font Awesome 6.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy-950: #081634;
  --navy-900: #0C1F4A;
  --navy-800: #122B63;
  --navy: #17377D;          /* logo blue */
  --blue-600: #2457B8;
  --blue-200: #C9D8F3;
  --blue-100: #E4ECFA;
  --blue-50: #F3F7FD;

  --orange: #F26B1D;        /* logo orange (decorative / large) */
  --orange-600: #C64C0A;    /* AA-compliant for text & buttons on white */
  --orange-700: #A63E06;
  --orange-300: #F9A66F;    /* AA on navy backgrounds */
  --orange-100: #FDEBDD;

  --ink: #0E1A33;
  --body: #3B4862;
  --muted: #5B6880;
  --line: #DCE4F1;
  --white: #ffffff;
  --success: #17803D;
  --danger: #B42318;

  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-xs: 0 1px 2px rgba(12, 31, 74, .06);
  --shadow-sm: 0 4px 14px rgba(12, 31, 74, .07);
  --shadow: 0 14px 40px -12px rgba(12, 31, 74, .18);
  --shadow-lg: 0 30px 70px -20px rgba(12, 31, 74, .30);

  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Bootstrap overrides */
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--body);
  --bs-link-color: var(--navy);
  --bs-link-color-rgb: 23, 55, 125;
  --bs-link-hover-color: var(--orange-600);
  --bs-link-hover-color-rgb: 198, 76, 10;
  --bs-border-color: var(--line);
  --bs-primary: var(--navy);
  --bs-primary-rgb: 23, 55, 125;
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* safety net against horizontal scroll; does not break sticky header */
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
}
h1, .h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); letter-spacing: -.025em; }
h2, .h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
h3, .h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4, .h4 { font-size: 1.2rem; }
p { margin-bottom: 1.1rem; }
a { color: var(--navy); text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: var(--orange-600); }
img { max-width: 100%; height: auto; }
::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .form-control:focus, .form-select:focus, .form-check-input:focus {
  box-shadow: 0 0 0 .25rem rgba(242, 107, 29, .35);
  outline: none;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }

.text-accent { color: var(--orange-600); }
.text-navy { color: var(--navy) !important; }
.bg-ice { background: var(--blue-50); }
.bg-navy { background: var(--navy-900); }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }

/* Eyebrow with brand wave (echoes the waves in the logo) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 10px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 10'%3E%3Cpath d='M1 5c4-4 6-4 8 0s4 4 8 0 6-4 8 0 4 4 8 0' fill='none' stroke='%23F26B1D' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.eyebrow.on-dark { color: var(--orange-300); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin-bottom: 0; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- 3. Buttons ---------- */
.btn {
  --bs-btn-font-family: var(--font-head);
  --bs-btn-font-weight: 600;
  --bs-btn-padding-x: 1.6rem;
  --bs-btn-padding-y: .85rem;
  --bs-btn-border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn i { font-size: .95em; }
.btn-lg { --bs-btn-padding-x: 2rem; --bs-btn-padding-y: 1rem; --bs-btn-font-size: 1.05rem; }
.btn-sm { --bs-btn-padding-x: 1.1rem; --bs-btn-padding-y: .5rem; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-brand {
  --bs-btn-color: #fff; --bs-btn-bg: var(--orange-600); --bs-btn-border-color: var(--orange-600);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--orange-700); --bs-btn-hover-border-color: var(--orange-700);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--orange-700); --bs-btn-active-border-color: var(--orange-700);
  box-shadow: 0 10px 24px -10px rgba(198, 76, 10, .65);
}
.btn-navy {
  --bs-btn-color: #fff; --bs-btn-bg: var(--navy); --bs-btn-border-color: var(--navy);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--navy-900); --bs-btn-hover-border-color: var(--navy-900);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--navy-900); --bs-btn-active-border-color: var(--navy-900);
  box-shadow: 0 10px 24px -12px rgba(23, 55, 125, .7);
}
.btn-outline-navy {
  --bs-btn-color: var(--navy); --bs-btn-border-color: var(--blue-200); --bs-btn-bg: #fff;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--navy); --bs-btn-hover-border-color: var(--navy);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--navy); --bs-btn-active-border-color: var(--navy);
}
.btn-outline-light {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .45);
  --bs-btn-hover-color: var(--navy-900); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
}
.btn-white {
  --bs-btn-color: var(--navy-900); --bs-btn-bg: #fff; --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--navy-900); --bs-btn-hover-bg: var(--orange-100); --bs-btn-hover-border-color: var(--orange-100);
}
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; color: var(--navy); text-decoration: none;
}
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--orange-600); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- 4. Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .82);
  font-size: .85rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.topbar i { color: var(--orange-300); margin-right: 6px; }
.topbar a, .topbar button { color: rgba(255, 255, 255, .88); text-decoration: none; }
.topbar a:hover, .topbar button:hover { color: #fff; }
.topbar .topbar-a11y {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px; padding: 3px 12px; font-size: .8rem; display: inline-flex; align-items: center;
}
.topbar .topbar-a11y i { margin-right: 6px; }

/* ---------- 5. Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(12, 31, 74, .35); border-color: var(--line); }
.site-header .navbar { min-height: var(--header-h); padding: 0; transition: min-height .3s var(--ease); }
.site-header.is-scrolled .navbar { min-height: 70px; }
.navbar-brand img { height: 54px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .navbar-brand img { height: 46px; }

.main-nav .nav-link {
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  color: var(--ink); padding: .6rem 1rem !important; border-radius: 999px;
  position: relative;
}
.main-nav .nav-link:hover, .main-nav .nav-link:focus-visible { color: var(--navy); background: var(--blue-50); }
.main-nav .nav-link.active, .main-nav .nav-link[aria-current="page"] { color: var(--navy); background: var(--blue-100); font-weight: 600; }
.main-nav .dropdown-toggle::after {
  border: 0; content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: .7rem; vertical-align: 1px; margin-left: 6px; transition: transform .25s;
}
.main-nav .dropdown.show .dropdown-toggle::after { transform: rotate(180deg); }

.mega-menu {
  --bs-dropdown-border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 22px; margin-top: 12px !important;
  width: min(940px, 92vw);
  left: 50% !important; transform: translateX(-50%) !important;
}
.mega-menu .mega-col-title {
  font-family: var(--font-head); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin: 4px 12px 10px;
}
.mega-link {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink);
}
.mega-link .mi {
  width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--navy); font-size: 1rem; transition: background .2s, color .2s;
}
.mega-link strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.mega-link small { color: var(--muted); font-size: .8rem; line-height: 1.35; display: block; }
.mega-link:hover, .mega-link:focus-visible { background: var(--blue-50); color: var(--navy); }
.mega-link:hover .mi, .mega-link:focus-visible .mi { background: var(--navy); color: #fff; }
.mega-promo {
  height: 100%; border-radius: var(--radius); padding: 22px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
}
.mega-promo::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  right: -60px; bottom: -70px; border: 26px solid rgba(242, 107, 29, .5);
}
.mega-promo .tag {
  display: inline-block; background: var(--orange); color: var(--navy-950); font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.mega-promo h3 { color: #fff; font-size: 1.5rem; margin: 14px 0 6px; }
.mega-promo p { color: rgba(255, 255, 255, .8); font-size: .88rem; margin-bottom: 16px; }
.mega-promo a { color: #fff; position: relative; z-index: 1; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-family: var(--font-head); line-height: 1.15;
}
.header-phone .ph-ic {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange-100); color: var(--orange-600);
}
.header-phone small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.header-phone strong { font-weight: 700; font-size: 1.02rem; }
.header-phone:hover { color: var(--orange-600); }

.nav-burger {
  border: 1px solid var(--line); background: #fff; width: 48px; height: 48px; border-radius: 14px;
  display: inline-grid; place-items: center; color: var(--navy); font-size: 1.15rem;
}
.nav-burger:hover { background: var(--blue-50); }

/* Offcanvas mobile nav */
.mobile-nav { --bs-offcanvas-width: min(400px, 92vw); }
.mobile-nav .offcanvas-header { border-bottom: 1px solid var(--line); padding: 18px 22px; }
.mobile-nav .offcanvas-header img { height: 44px; width: auto; }
.mobile-nav .offcanvas-body { padding: 14px 22px 28px; display: flex; flex-direction: column; }
.mobile-nav .m-link, .mobile-nav .accordion-button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink);
  padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; background: none; box-shadow: none;
}
.mobile-nav .m-link.active { color: var(--orange-600); }
.mobile-nav .accordion-button::after { background-size: 1rem; }
.mobile-nav .accordion-button:not(.collapsed) { color: var(--navy); background: none; }
.mobile-nav .accordion-item { border: 0; }
.mobile-nav .m-sub { list-style: none; padding: 8px 0 8px 4px; margin: 0; border-bottom: 1px solid var(--line); }
.mobile-nav .m-sub a { display: flex; gap: 12px; align-items: center; padding: 8px 0; text-decoration: none; color: var(--body); }
.mobile-nav .m-sub a i { width: 22px; color: var(--navy); }
.mobile-nav .m-cta { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }

/* ---------- 6. Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--blue-50);
  min-height: clamp(640px, 90vh, 880px);
  display: flex; align-items: center;
  padding: 72px 0 150px;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% center;
  transform: scale(1.09); transition: transform 8s linear;
}
.hero-slide.is-active img { transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(243, 247, 253, .97) 0%, rgba(243, 247, 253, .92) 30%, rgba(243, 247, 253, .45) 52%, rgba(243, 247, 253, 0) 66%);
}
.hero-deco {
  position: absolute; z-index: -1; pointer-events: none;
  width: 560px; height: 560px; border-radius: 50%;
  left: -220px; top: -180px;
  background: radial-gradient(circle, rgba(36, 87, 184, .12) 0%, rgba(36, 87, 184, 0) 70%);
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; display: block; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  padding: 7px 16px 7px 8px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink);
  margin-bottom: 24px;
}
.hero-pill .dot {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange-100); color: var(--orange-600); font-size: .75rem;
}
.hero-captions { display: grid; }
.hero-caption {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s .7s;
}
.hero-caption.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .25s, .25s, 0s; }
.hero-title {
  font-family: var(--font-head); font-weight: 800; color: var(--navy-900);
  font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 20px;
}
.hero-title em {
  font-style: normal; color: var(--orange-600); position: relative; white-space: nowrap;
}
.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c30-7 50-7 66-2s38 6 64 0 46-6 66 0' fill='none' stroke='%23F26B1D' stroke-width='4' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero-sub { font-size: 1.14rem; color: var(--body); max-width: 520px; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding: 0; list-style: none; }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.hero-trust i { color: var(--success); }

.hero-controls { display: flex; align-items: center; gap: 14px; margin-top: 44px; max-width: 560px; }
.hero-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; flex: 1; padding: 0; margin: 0; list-style: none; }
.hero-tab {
  all: unset; cursor: pointer; display: block; width: 100%; box-sizing: border-box;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600; color: var(--muted); padding-top: 12px; position: relative;
}
.hero-tab::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(23, 55, 125, .15); }
.hero-tab .bar { position: absolute; top: 0; left: 0; height: 3px; width: 0; border-radius: 3px; background: var(--orange); }
.hero-tab.is-active { color: var(--navy-900); }
.hero-tab.is-active .bar { animation: heroProgress var(--hero-interval, 6500ms) linear forwards; }
.hero.is-paused .hero-tab.is-active .bar,
.hero.is-hover .hero-tab.is-active .bar { animation-play-state: paused; }
.hero-tab:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.hero-tab .num { color: var(--orange-600); margin-right: 4px; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }
.hero-pause {
  width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--navy); display: grid; place-items: center; font-size: .8rem;
}
.hero-pause:hover { background: var(--navy); color: #fff; }

.hero-status {
  position: absolute; right: clamp(24px, 5vw, 80px); bottom: 170px; z-index: 1;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 18px; display: flex; gap: 14px; align-items: center; min-width: 250px;
}
.hero-status .st-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.hero-status .st-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.hero-status .st-value { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; line-height: 1.25; }
.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--success); margin-right: 6px; box-shadow: 0 0 0 4px rgba(23, 128, 61, .18); }
.status-dot.closed { background: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, .15); }

/* Quick access cards under hero */
.quick-cards { position: relative; z-index: 2; margin-top: -110px; }
.quick-card {
  height: 100%; background: #fff; border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quick-card .qc-ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem;
  background: var(--blue-50); color: var(--navy);
}
.quick-card h2 { font-size: 1.35rem; margin: 6px 0 0; }
.quick-card p { color: var(--muted); margin: 0; font-size: .96rem; }
.quick-card .link-arrow { margin-top: auto; padding-top: 6px; }
.quick-card.is-feature { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-900) 100%); border-color: var(--navy); }
.quick-card.is-feature h2, .quick-card.is-feature .link-arrow { color: #fff; }
.quick-card.is-feature p { color: rgba(255, 255, 255, .78); }
.quick-card.is-feature .qc-ic { background: rgba(255, 255, 255, .12); color: var(--orange-300); }
.quick-card.is-feature .link-arrow:hover { color: var(--orange-300); }

/* ---------- 7. About / Welcome ---------- */
.media-stack { position: relative; padding: 0 0 40px 40px; }
.media-stack .main-img {
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 6px;
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow);
}
.media-stack .frame {
  position: absolute; left: 0; bottom: 0; width: 62%; height: 70%; z-index: -1;
  border-radius: var(--radius-xl); background: var(--blue-100);
  background-image: radial-gradient(rgba(23, 55, 125, .22) 1.4px, transparent 1.5px);
  background-size: 18px 18px;
}
.stat-badge {
  position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.stat-badge .sb-num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--navy); line-height: 1; }
.stat-badge .sb-text { font-size: .85rem; line-height: 1.3; color: var(--muted); font-weight: 500; }
.stat-badge.b1 { right: -14px; top: 28px; }
.stat-badge.b2 { left: 0; bottom: 56px; background: var(--orange-600); }
.stat-badge.b2 .sb-num, .stat-badge.b2 .sb-text { color: #fff; }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 28px 0 32px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item .fi-ic {
  width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: var(--orange-100); color: var(--orange-600); font-size: 1.05rem;
}
.feature-item h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.feature-item p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- 8. Services ---------- */
.service-card {
  position: relative; height: 100%; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); color: inherit; }
.service-card .sc-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--blue-50); }
.service-card .sc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .sc-media img { transform: scale(1.06); }
.service-card .sc-ic {
  position: absolute; left: 22px; top: -27px; z-index: 1;
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: 1.2rem; box-shadow: 0 10px 20px -8px rgba(12, 31, 74, .5);
  border: 4px solid #fff; transition: background .3s;
}
.service-card:hover .sc-ic { background: var(--orange-600); }
.service-card .sc-body { position: relative; padding: 40px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .94rem; margin-bottom: 18px; }
.service-card .link-arrow { margin-top: auto; }

.service-cta-card {
  height: 100%; border-radius: var(--radius-lg); padding: 34px 30px; color: #fff;
  background: linear-gradient(160deg, var(--orange-600) 0%, #9E3A05 100%);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.service-cta-card::before {
  content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, .12);
}
.service-cta-card h3 { color: #fff; font-size: 1.7rem; margin-bottom: 10px; }
.service-cta-card p { color: rgba(255, 255, 255, .88); }
.service-cta-card .btn { margin-top: auto; align-self: flex-start; }

/* Service chip list (services index) */
.svc-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.svc-filter button {
  border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px;
  padding: 9px 20px; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
}
.svc-filter button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.svc-filter button:hover:not([aria-pressed="true"]) { background: var(--blue-50); }

/* ---------- 9. Offer band ---------- */
.offer-band {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; isolation: isolate;
  background: var(--navy-900); color: #fff; min-height: 380px; display: flex; align-items: center;
}
.offer-band .ob-img { position: absolute; inset: 0; z-index: -2; }
.offer-band .ob-img img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 30%; }
.offer-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 22, 52, .96) 0%, rgba(12, 31, 74, .9) 42%, rgba(12, 31, 74, .2) 75%, rgba(12, 31, 74, 0) 100%);
}
.offer-band .ob-content { padding: clamp(36px, 5vw, 64px); max-width: 640px; }
.offer-band h2 { color: #fff; }
.offer-band p { color: rgba(255, 255, 255, .82); }
.offer-price {
  display: inline-flex; align-items: baseline; gap: 10px; margin: 6px 0 14px;
  font-family: var(--font-head); font-weight: 800; color: var(--orange-300);
}
.offer-price .big { font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.03em; }
.offer-price .small { font-size: 1.2rem; color: #fff; font-weight: 600; }
.offer-fine { font-size: .82rem; color: rgba(255, 255, 255, .7); margin-top: 16px; margin-bottom: 0; }

/* ---------- 10. Doctors ---------- */
.doctor-card {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; height: 100%;
  display: grid; grid-template-columns: 44% 1fr; transition: box-shadow .3s, transform .3s var(--ease);
}
.doctor-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.doctor-card .dc-photo { position: relative; background: var(--blue-100); min-height: 320px; }
.doctor-card .dc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.doctor-card .dc-body { padding: 30px 28px; display: flex; flex-direction: column; }
.doctor-card .dc-role {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: var(--blue-50); color: var(--navy); font-weight: 600; font-size: .8rem;
  border-radius: 999px; padding: 5px 12px; margin-bottom: 14px;
}
.doctor-card h3 { font-size: 1.55rem; margin-bottom: 4px; }
.doctor-card .dc-cred { color: var(--orange-600); font-family: var(--font-head); font-weight: 600; margin-bottom: 12px; }
.doctor-card p { color: var(--muted); font-size: .94rem; }
.doctor-card .dc-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
/* Stacked variant: photo on top (used for 3-up doctor grids and team members) */
.doctor-card.stacked { grid-template-columns: 1fr; }
.doctor-card.stacked .dc-photo { min-height: 0; aspect-ratio: 1 / 1; }
.doctor-card.stacked .dc-body { padding: 26px 24px; }
.doctor-card.stacked h3 { font-size: 1.4rem; }
.doctor-card .dc-photo.no-photo { display: grid; place-items: center; background: linear-gradient(155deg, var(--navy) 0%, var(--navy-900) 100%); color: var(--orange-300); font-size: 4rem; }
.doctor-card .dc-photo img.grayscale-photo { object-position: center 25%; }
.profile-photo.no-photo { display: grid; place-items: center; aspect-ratio: 4 / 4.6; background: linear-gradient(155deg, var(--navy) 0%, var(--navy-900) 100%); color: var(--orange-300); font-size: 5rem; }

/* ---------- 11. Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(249, 166, 111, .55) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step .st-num {
  width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  border: 2px solid rgba(255, 255, 255, .15); position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--navy-900);
}
.step:hover .st-num { background: var(--orange-600); }
.step h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: rgba(255, 255, 255, .72); font-size: .93rem; margin: 0; }
.section-dark { background: var(--navy-900); color: rgba(255, 255, 255, .8); overflow: hidden; }
.section-dark h2 { color: #fff; }
.section-dark .section-head p { color: rgba(255, 255, 255, .72); }
.section-dark::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -300px; top: -350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 87, 184, .45), transparent 70%); pointer-events: none;
}

/* ---------- 12. Testimonials ---------- */
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: thin;
}
.review-card {
  scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column; position: relative;
}
.review-card .quote-ic { position: absolute; right: 24px; top: 22px; font-size: 2.4rem; color: var(--blue-100); }
.review-card .stars { color: #E7A33E; font-size: .9rem; margin-bottom: 14px; display: flex; gap: 3px; }
.review-card blockquote { margin: 0 0 22px; font-size: .98rem; line-height: 1.7; color: var(--body); }
.review-card .rv-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); }
.review-card .rv-avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700;
}
.review-card .rv-name { font-family: var(--font-head); font-weight: 700; color: var(--ink); line-height: 1.2; }
.review-card .rv-meta { font-size: .82rem; color: var(--muted); }
.reviews-nav { display: flex; gap: 10px; }
.reviews-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy);
}
.reviews-nav button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- 13. Forms ---------- */
.form-card {
  background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.form-label { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 6px; }
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-control, .form-select {
  border-radius: var(--radius-sm); border: 1.5px solid var(--line); padding: .8rem 1rem; font-size: 1rem;
  color: var(--ink); background-color: #fff;
}
.form-control::placeholder { color: #7A869C; }
.form-control:focus, .form-select:focus { border-color: var(--orange); }
.input-ic { position: relative; }
.input-ic > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-ic .form-control, .input-ic .form-select { padding-left: 2.8rem; }
.input-ic textarea + i, .input-ic > i.top { top: 22px; transform: none; }
.form-check-input { width: 1.2em; height: 1.2em; border: 1.5px solid #8D99B0; margin-top: .2em; }
.form-check-input:checked { background-color: var(--navy); border-color: var(--navy); }
.form-check-label { font-size: .88rem; line-height: 1.55; color: var(--body); }
.consent-box {
  background: var(--blue-50); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; display: grid; gap: 12px;
}
.form-note { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.form-note i { color: var(--navy); margin-top: 3px; }
.was-validated .form-control:invalid, .form-control.is-invalid,
.was-validated .form-select:invalid, .form-select.is-invalid { border-color: var(--danger); }
.invalid-feedback { color: var(--danger); font-size: .84rem; }
.radio-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pills input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pills label {
  cursor: pointer; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 22px;
  font-weight: 600; font-size: .92rem; color: var(--ink); background: #fff;
}
.radio-pills input:checked + label { background: var(--navy); border-color: var(--navy); color: #fff; }
.radio-pills input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }

.appt-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.appt-aside {
  position: relative; color: #fff; padding: clamp(32px, 4vw, 52px); display: flex; flex-direction: column; isolation: isolate;
  background: var(--navy-900);
}
.appt-aside > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.appt-aside::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 31, 74, .7), rgba(8, 22, 52, .96)); }
.appt-aside h2 { color: #fff; }
.appt-aside p { color: rgba(255, 255, 255, .8); }
.appt-aside .info-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.appt-aside .info-row i { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--orange-300); }
.appt-aside .info-row a { color: #fff; text-decoration: none; }
.appt-aside .info-row a:hover { color: var(--orange-300); }
.appt-aside .info-row small { display: block; color: rgba(255, 255, 255, .62); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.appt-form { padding: clamp(28px, 4vw, 52px); }

/* ---------- 14. Insurance strip ---------- */
.insurance-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 34px;
}
.insurance-strip .ins-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.1rem; margin: 0; }
.insurance-strip .ins-title small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .88rem; }
.insurance-logos { display: flex; align-items: center; gap: clamp(20px, 4vw, 52px); flex-wrap: wrap; }
.insurance-logos img { height: 44px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.insurance-logos img:hover { filter: none; opacity: 1; }

/* ---------- 15. Blog ---------- */
.post-card { height: 100%; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card .pc-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--blue-50); position: relative; }
.post-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .pc-media img { transform: scale(1.05); }
.post-card .pc-date {
  position: absolute; left: 14px; top: 14px; background: #fff; border-radius: 12px; padding: 6px 12px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--navy); box-shadow: var(--shadow-sm);
}
.post-card .pc-cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange-600); font-weight: 600; margin: 18px 0 8px; }
.post-card h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: 10px; transition: color .2s; }
.post-card:hover h3 { color: var(--navy); }
.post-card p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }

/* ---------- 16. Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding: clamp(56px, 7vw, 96px) 0 clamp(90px, 10vw, 130px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(36, 87, 184, .55), transparent 70%),
    radial-gradient(400px 300px at 5% 100%, rgba(242, 107, 29, .22), transparent 70%);
}
.page-hero .ph-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(.3); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .8); font-size: 1.1rem; max-width: 640px; margin: 0; }
.page-hero .ph-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.page-hero .ph-wave svg { width: 100%; height: 70px; display: block; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 0 0 18px; font-size: .88rem; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); }
.crumbs li + li::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem; color: var(--orange-300); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--orange-300); text-decoration: underline; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ph-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .88rem; color: #fff;
}
.ph-chip i { color: var(--orange-300); }

/* ---------- 17. Content (articles / service detail) ---------- */
.content-body { font-size: 1.04rem; }
.content-body > *:first-child { margin-top: 0; }
.content-body h2 { font-size: clamp(1.55rem, 2.5vw, 2rem); margin: 2.4rem 0 1rem; }
.content-body h3 { font-size: 1.3rem; margin: 2rem 0 .8rem; }
.content-body h4 { font-size: 1.1rem; margin: 1.6rem 0 .6rem; }
.content-body ul.check, .content-body ol.num { padding: 0; list-style: none; margin: 0 0 1.4rem; display: grid; gap: 12px; }
.content-body ul.check li { position: relative; padding-left: 34px; }
.content-body ul.check li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem;
  position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange-100); color: var(--orange-600);
}
.content-body ol.num { counter-reset: n; }
.content-body ol.num li { position: relative; padding-left: 46px; counter-increment: n; }
.content-body ol.num li::before {
  content: counter(n); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 10px;
  background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .85rem;
}
.content-body strong { color: var(--ink); }
.featured-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow-sm); }
.featured-img img { width: 100%; display: block; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 0 1.6rem; }
.benefit {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.benefit:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.benefit .b-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--navy); margin-bottom: 12px; }
.benefit h3, .benefit h4 { font-size: 1.05rem; margin: 0 0 6px; }
.benefit p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.6; }

.callout {
  display: flex; gap: 16px; align-items: flex-start; border-radius: var(--radius); padding: 20px 22px; margin: 1.8rem 0;
  background: var(--orange-100); border-left: 4px solid var(--orange);
}
.callout i { color: var(--orange-600); font-size: 1.2rem; margin-top: 4px; }
.callout p { margin: 0; color: var(--ink); }
.callout.info { background: var(--blue-50); border-left-color: var(--navy); }
.callout.info i { color: var(--navy); }

/* FAQ accordion */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; overflow: hidden; margin-bottom: 12px; background: #fff; }
.faq .accordion-button {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); padding: 18px 22px; background: #fff; box-shadow: none;
}
.faq .accordion-button:not(.collapsed) { color: var(--navy); background: var(--blue-50); }
.faq .accordion-button::after {
  background-image: none; content: "\2b"; font-family: var(--font-head); font-size: 1.4rem; font-weight: 400;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--navy); transform: none;
}
.faq .accordion-button:not(.collapsed)::after { content: "\2212"; background: var(--navy); color: #fff; transform: none; }
.faq .accordion-body { padding: 4px 22px 20px; background: var(--blue-50); color: var(--body); }

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.side-card h2, .side-card h3 { font-size: 1.15rem; margin-bottom: 16px; }
.side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--body); font-weight: 500; font-size: .95rem;
}
.side-nav a i { width: 20px; text-align: center; color: var(--navy); }
.side-nav a:hover { background: var(--blue-50); color: var(--navy); }
.side-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.side-nav a[aria-current="page"] i { color: var(--orange-300); }
.side-cta {
  border-radius: var(--radius-lg); padding: 28px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
}
.side-cta::after { content: ""; position: absolute; width: 160px; height: 160px; right: -50px; bottom: -60px; border-radius: 50%; border: 22px solid rgba(242, 107, 29, .45); }
.side-cta h2, .side-cta h3 { color: #fff; font-size: 1.35rem; }
.side-cta p { color: rgba(255, 255, 255, .8); font-size: .94rem; }
.side-cta .btn { position: relative; z-index: 1; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list li span:last-child { font-weight: 600; color: var(--ink); }
.hours-list li.is-today { color: var(--navy); }
.hours-list li.is-today span:first-child::after { content: "Today"; margin-left: 8px; font-size: .68rem; font-weight: 700; background: var(--orange-100); color: var(--orange-700); padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }

/* Article meta */
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255, 255, 255, .78); font-size: .92rem; margin-top: 18px; }
.post-meta i { color: var(--orange-300); margin-right: 6px; }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; text-decoration: none; color: var(--body); font-size: .92rem; }
.toc a:hover { background: var(--blue-50); color: var(--navy); }
.share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 28px; margin-top: 36px; border-top: 1px solid var(--line); }
.share-row a, .share-row button {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line);
  background: #fff; color: var(--navy); text-decoration: none;
}
.share-row a:hover, .share-row button:hover { background: var(--navy); color: #fff; }

/* Doctor profile */
.profile-photo { border-radius: var(--radius-xl); overflow: hidden; position: relative; background: var(--blue-100); box-shadow: var(--shadow); }
.profile-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 15%; display: block; }
.profile-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.profile-facts li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.profile-facts li:last-child { border-bottom: 0; }
.profile-facts i { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--navy); }
.profile-facts small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.profile-facts span, .profile-facts a { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.profile-facts li > div { min-width: 0; }
.profile-facts a:hover { color: var(--orange-600); }
.edu-timeline { list-style: none; padding: 0; margin: 0 0 1.5rem; position: relative; }
.edu-timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.edu-timeline li { position: relative; padding: 0 0 22px 58px; }
.edu-timeline li i {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--blue-200); color: var(--navy); font-size: .9rem;
}
.edu-timeline strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }
.edu-timeline span { color: var(--muted); font-size: .93rem; }

/* Contact */
.contact-tile {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 6px; transition: box-shadow .3s, transform .3s var(--ease);
}
.contact-tile:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-tile .ct-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 1.15rem; margin-bottom: 12px; }
.contact-tile h2 { font-size: 1.2rem; margin: 0 0 4px; }
.contact-tile p, .contact-tile a { margin: 0; color: var(--body); text-decoration: none; }
.contact-tile a:hover { color: var(--orange-600); }
.map-frame { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); line-height: 0; }
.map-frame iframe { width: 100%; height: 440px; border: 0; }

/* Legal pages */
.legal-body h2 { font-size: 1.5rem; margin: 2.6rem 0 .9rem; padding-top: .4rem; }
.legal-body h3 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { margin-bottom: .5rem; }
.legal-updated { display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: .85rem; margin-top: 18px; }
.legal-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; font-size: .94rem; }
.legal-table th, .legal-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.legal-table th { background: var(--blue-50); color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.legal-table tr:last-child td { border-bottom: 0; }

/* Thank you */
.thanks-wrap { min-height: 70vh; display: flex; align-items: center; background: var(--blue-50); position: relative; overflow: hidden; isolation: isolate; }
.thanks-wrap::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; left: -260px; bottom: -320px; background: radial-gradient(circle, rgba(242, 107, 29, .16), transparent 70%); z-index: -1; }
.thanks-wrap::after { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; right: -280px; top: -300px; background: radial-gradient(circle, rgba(36, 87, 184, .16), transparent 70%); z-index: -1; }
.thanks-card { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: clamp(32px, 6vw, 64px); text-align: center; max-width: 760px; margin: 0 auto; }
.thanks-check {
  width: 104px; height: 104px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: 2.6rem; position: relative;
  box-shadow: 0 0 0 12px var(--blue-100), 0 0 0 24px var(--blue-50);
  animation: popIn .7s var(--ease) both;
}
@keyframes popIn { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.thanks-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0; text-align: left; }
.thanks-steps div { background: var(--blue-50); border-radius: var(--radius); padding: 18px; }
.thanks-steps i { color: var(--orange-600); font-size: 1.2rem; margin-bottom: 10px; display: block; }
.thanks-steps strong { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 4px; }
.thanks-steps span { font-size: .88rem; color: var(--muted); line-height: 1.5; display: block; }

/* 404 */
.err-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; letter-spacing: -.05em; color: var(--navy); }
.err-code span { color: var(--orange); }

/* ---------- 18. Footer ---------- */
.footer-cta { position: relative; z-index: 2; margin-bottom: -90px; }
.footer-cta-inner {
  border-radius: var(--radius-xl); padding: clamp(32px, 4.5vw, 56px); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, var(--orange-600) 0%, #A93F06 100%);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  box-shadow: 0 30px 60px -28px rgba(166, 62, 6, .7);
}
.footer-cta-inner::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cpath d='M0 12c15-12 25-12 30 0s15 12 30 0 25-12 30 0 15 12 30 0' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='2'/%3E%3C/svg%3E") repeat;
}
.footer-cta-inner h2 { color: #fff; margin-bottom: 8px; }
.footer-cta-inner p { color: rgba(255, 255, 255, .88); margin: 0; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .74); padding-top: 160px; font-size: .95rem; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; width: 800px; height: 800px; right: -400px; bottom: -400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 87, 184, .3), transparent 70%); pointer-events: none;
}
.footer-logo { display: inline-block; background: #fff; padding: 12px 18px; border-radius: var(--radius); margin-bottom: 22px; }
.footer-logo img { height: 46px; width: auto; display: block; }
.site-footer h2 { color: #fff; font-size: 1.05rem; letter-spacing: .02em; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .74); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ""; width: 0; height: 2px; background: var(--orange); transition: width .25s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { width: 12px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--orange-300); margin-top: 5px; width: 16px; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { color: var(--orange-300); }
.footer-hours li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.footer-hours li span:last-child { color: #fff; font-weight: 500; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: background .25s, transform .25s;
}
.socials a:hover { background: var(--orange-600); transform: translateY(-3px); color: #fff; }
.newsletter { position: relative; margin-top: 8px; }
.newsletter .form-control { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; border-radius: 999px; padding: .85rem 3.6rem .85rem 1.2rem; }
.newsletter .form-control::placeholder { color: rgba(255, 255, 255, .55); }
.newsletter button {
  position: absolute; right: 6px; top: 6px; bottom: 6px; width: 44px; border-radius: 50%; border: 0;
  background: var(--orange-600); color: #fff;
}
.newsletter button:hover { background: var(--orange-700); }
.newsletter-consent { font-size: .78rem; color: rgba(255, 255, 255, .6); margin-top: 10px; }
.newsletter-consent a { color: rgba(255, 255, 255, .85); }
.footer-disclaimer {
  margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem; color: rgba(255, 255, 255, .6); line-height: 1.65;
}
.footer-disclaimer strong { color: rgba(255, 255, 255, .85); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0 28px; font-size: .85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.legal-links a, .legal-links button { color: rgba(255, 255, 255, .74); text-decoration: none; background: none; border: 0; padding: 0; font-size: .85rem; }
.legal-links a:hover, .legal-links button:hover { color: #fff; text-decoration: underline; }
.privacy-choices-ic { display: inline-block; width: 28px; height: 14px; vertical-align: -2px; margin-left: 4px; }

/* ---------- 19. Floating widgets ---------- */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 1040; width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: var(--navy); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--orange-600); }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1045; display: none;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(12, 31, 74, .25);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; border-radius: 12px;
  font-size: .75rem; font-weight: 600; color: var(--ink); text-decoration: none; font-family: var(--font-head);
}
.mobile-bar a i { font-size: 1.05rem; color: var(--navy); }
.mobile-bar a.primary { background: var(--orange-600); color: #fff; flex-direction: row; gap: 8px; font-size: .92rem; }
.mobile-bar a.primary i { color: #fff; }

/* Accessibility widget */
.a11y-fab {
  position: fixed; left: 20px; bottom: 20px; z-index: 1050; width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff;
  background: var(--navy); color: #fff; font-size: 1.45rem; box-shadow: 0 12px 28px -8px rgba(12, 31, 74, .55);
  display: grid; place-items: center; transition: transform .25s var(--ease), background .2s;
}
.a11y-fab:hover { transform: scale(1.07); background: var(--navy-900); }
.a11y-panel {
  position: fixed; left: 20px; bottom: 88px; z-index: 1060; width: min(380px, calc(100vw - 40px));
  max-height: calc(100vh - 120px); overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transform-origin: bottom left;
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  font-family: var(--font-body) !important; font-size: 16px; line-height: 1.5;
}
.a11y-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.a11y-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px;
  background: var(--navy); color: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; position: sticky; top: 0; z-index: 1;
}
.a11y-head h2 { color: #fff; font-size: 1.1rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.a11y-head button { background: rgba(255, 255, 255, .14); border: 0; color: #fff; width: 36px; height: 36px; border-radius: 50%; }
.a11y-head button:hover { background: rgba(255, 255, 255, .26); }
.a11y-body { padding: 18px 20px 20px; }
.a11y-size { display: flex; align-items: center; justify-content: space-between; background: var(--blue-50); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 14px; }
.a11y-size span { font-weight: 600; color: var(--ink); font-size: .95rem; }
.a11y-size .ctrl { display: flex; align-items: center; gap: 8px; }
.a11y-size button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; }
.a11y-size button:hover { background: var(--navy); color: #fff; }
.a11y-size output { min-width: 48px; text-align: center; font-weight: 700; color: var(--navy); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.a11y-opt {
  border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius); padding: 14px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  font-size: .85rem; font-weight: 600; color: var(--ink); line-height: 1.25; transition: border-color .2s, background .2s;
}
.a11y-opt i { font-size: 1.25rem; color: var(--navy); }
.a11y-opt:hover { border-color: var(--blue-200); background: var(--blue-50); }
.a11y-opt[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.a11y-opt[aria-pressed="true"] i { color: var(--orange-300); }
.a11y-foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; }
.a11y-foot a { color: var(--navy); font-weight: 600; }

/* Cookie consent */
.cookie-banner {
  position: fixed; right: 20px; bottom: 20px; z-index: 1070; width: min(460px, calc(100vw - 40px));
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 24px; display: none;
}
.cookie-banner.is-visible { display: block; animation: slideUp .45s var(--ease) both; }
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-banner h2 { font-size: 1.12rem; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cookie-banner h2 i { color: var(--orange-600); }
.cookie-banner p { font-size: .88rem; color: var(--body); margin-bottom: 16px; }
.cookie-banner .cb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-banner .cb-actions .btn { --bs-btn-padding-y: .6rem; --bs-btn-padding-x: 1.1rem; font-size: .9rem; flex: 1 1 auto; }
.cookie-banner .gpc-note { font-size: .8rem; background: var(--blue-50); border-radius: 10px; padding: 8px 12px; color: var(--navy); margin-bottom: 14px; display: none; }
.cookie-banner .gpc-note.show { display: block; }
.consent-modal .modal-content { border-radius: var(--radius-lg); border: 0; }
.consent-modal .modal-header { border-bottom: 1px solid var(--line); padding: 20px 24px; }
.consent-modal .modal-body { padding: 20px 24px; }
.consent-modal .modal-footer { border-top: 1px solid var(--line); padding: 16px 24px; }
.consent-row { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.consent-row:last-child { border-bottom: 0; }
.consent-row h3 { font-size: 1rem; margin-bottom: 4px; }
.consent-row p { font-size: .87rem; color: var(--muted); margin: 0; }
.consent-row .form-switch .form-check-input { width: 3em; height: 1.6em; margin: 0; cursor: pointer; }
.consent-row .badge-always { font-size: .75rem; font-weight: 700; color: var(--success); white-space: nowrap; }

/* ---------- 20. Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 21. Accessibility modes (toggled by widget) ---------- */
html.a11y-text-1 { font-size: 112.5%; }
html.a11y-text-2 { font-size: 125%; }
html.a11y-text-3 { font-size: 137.5%; }
html.a11y-text-4 { font-size: 150%; }

html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable h4,
html.a11y-readable h5, html.a11y-readable h6, html.a11y-readable .btn, html.a11y-readable .hero-title,
html.a11y-readable .nav-link, html.a11y-readable p, html.a11y-readable li, html.a11y-readable a, html.a11y-readable label {
  font-family: "Atkinson Hyperlegible", Verdana, Tahoma, sans-serif !important; letter-spacing: .01em !important;
}
html.a11y-spacing body p, html.a11y-spacing body li, html.a11y-spacing body blockquote {
  line-height: 2 !important; letter-spacing: .06em !important; word-spacing: .12em !important;
}
html.a11y-links a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; background: #FFF3B0 !important; color: #0B1D45 !important; }
html.a11y-links .btn { outline: 3px dashed var(--orange) !important; outline-offset: 2px; }
html.a11y-grayscale .topbar, html.a11y-grayscale .site-header, html.a11y-grayscale main,
html.a11y-grayscale .site-footer, html.a11y-grayscale .footer-cta { filter: grayscale(1); }
html.a11y-bigcursor, html.a11y-bigcursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 3l30 20-13 2 8 16-6 3-8-16-11 9z' fill='%23000' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
}
html.a11y-noimg main img, html.a11y-noimg .hero-slides { visibility: hidden !important; }
html.a11y-stopmotion *, html.a11y-stopmotion *::before, html.a11y-stopmotion *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
html.a11y-stopmotion .reveal { opacity: 1 !important; transform: none !important; }

/* High contrast */
html.a11y-contrast body, html.a11y-contrast main, html.a11y-contrast section, html.a11y-contrast header, html.a11y-contrast footer,
html.a11y-contrast .topbar, html.a11y-contrast nav, html.a11y-contrast div:not(.a11y-panel *):not(.hero-slides *), html.a11y-contrast article, html.a11y-contrast aside,
html.a11y-contrast .card, html.a11y-contrast .form-control, html.a11y-contrast .form-select, html.a11y-contrast .dropdown-menu, html.a11y-contrast .offcanvas, html.a11y-contrast blockquote {
  background-color: #000 !important; background-image: none !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important;
}
html.a11y-contrast .hero::before, html.a11y-contrast .page-hero::before, html.a11y-contrast .offer-band::before, html.a11y-contrast .appt-aside::before { background: rgba(0, 0, 0, .88) !important; }
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3, html.a11y-contrast h4, html.a11y-contrast p, html.a11y-contrast li,
html.a11y-contrast span:not(.a11y-panel *), html.a11y-contrast strong, html.a11y-contrast small, html.a11y-contrast label, html.a11y-contrast i:not(.a11y-panel *) { color: #fff !important; }
html.a11y-contrast a:not(.a11y-panel *), html.a11y-contrast a *:not(.a11y-panel *), html.a11y-contrast .hero-title em { color: #FFE600 !important; }
html.a11y-contrast .btn { background: #FFE600 !important; color: #000 !important; border: 2px solid #FFE600 !important; }
html.a11y-contrast .btn * { color: #000 !important; }
html.a11y-contrast .footer-logo, html.a11y-contrast .navbar-brand { background: #fff !important; }

/* ---------- 22. Responsive ---------- */
@media (min-width: 1200px) {
  .main-nav .dropdown:hover > .dropdown-menu { display: block; }
  .main-nav .dropdown > .dropdown-menu { animation: menuIn .22s var(--ease); }
  @keyframes menuIn { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
  .main-nav .dropdown::after { content: ""; position: absolute; left: 0; right: 0; height: 16px; top: 100%; } /* hover bridge */
}
@media (max-width: 1399.98px) {
  .header-phone small { display: none; }
}
@media (max-width: 1199.98px) {
  :root { --header-h: 74px; }
  .navbar-brand img { height: 46px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .reviews-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .hero-status { display: none !important; }
}
@media (max-width: 991.98px) {
  .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
  .hero { min-height: 0; padding: 330px 0 150px; align-items: flex-end; }
  .hero-slide img { object-position: 78% 18%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(243, 247, 253, 0) 0px, rgba(243, 247, 253, 0) 170px, rgba(243, 247, 253, .94) 320px, rgba(243, 247, 253, 1) 400px);
  }
  .appt-wrap { grid-template-columns: 1fr; }
  .doctor-card { grid-template-columns: 1fr; }
  .doctor-card .dc-photo { min-height: 0; aspect-ratio: 4 / 3.6; }
  .footer-cta-inner { grid-template-columns: 1fr; }
  .footer-cta-actions { justify-content: flex-start; }
  .sidebar { position: static; }
  .media-stack { padding: 0 0 30px 24px; margin-bottom: 20px; }
  .thanks-steps { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 74px; }
  .back-to-top { bottom: 92px; }
  .a11y-fab { bottom: 92px; width: 50px; height: 50px; font-size: 1.25rem; }
  .a11y-panel { bottom: 152px; max-height: calc(100vh - 180px); }
  .cookie-banner { bottom: 152px; right: 12px; left: 12px; width: auto; max-height: calc(100vh - 170px); overflow-y: auto; }
}
@media (max-width: 767.98px) {
  .feature-list, .benefit-grid { grid-template-columns: 1fr; }
  .reviews-track { grid-auto-columns: 88%; }
  .hero-tab .lbl { display: none; }
  .hero-tabs { gap: 6px; }
  .quick-cards { margin-top: -90px; }
  .stat-badge.b1 { right: 6px; top: 12px; padding: 12px 14px; }
  .stat-badge.b2 { bottom: 40px; padding: 12px 14px; }
  .stat-badge .sb-num { font-size: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .insurance-strip { padding: 22px; justify-content: center; text-align: center; }
  .insurance-logos { justify-content: center; }
  .offer-band::before { background: linear-gradient(180deg, rgba(8, 22, 52, .55) 0%, rgba(8, 22, 52, .96) 55%); }
  .offer-band { align-items: flex-end; min-height: 520px; }
  .map-frame iframe { height: 340px; }
  .topbar .topbar-hours { display: none; }
}
@media (max-width: 575.98px) {
  .topbar .topbar-address { display: none; }
  .hero { padding-top: 290px; }
  .hero-actions .btn { width: 100%; }
  .a11y-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slide img { transform: none !important; }
}

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .page-hero, .section-dark { background: #fff !important; color: #000 !important; }
  .page-hero h1, .page-hero p, .crumbs li { color: #000 !important; }
  .topbar, .site-header, .footer-cta, .site-footer, .a11y-fab, .a11y-panel, .cookie-banner, .mobile-bar, .back-to-top { display: none !important; }
  body { padding: 0; }
}
