*, *::before, *::after { box-sizing: border-box; }

:root {
  --navy: #34608c;
  --navy-deep: #274a6d;
  --navy-soft: #3f6c96;
  --ink: #23303d;
  --ink-soft: #48586a;
  --paper: #faf8f2;
  --cream: #fffdf7;
  --sand: #f1ede2;
  --sky: #aec0d6;
  --sky-tint: #e9eff6;
  --sky-line: #c6d4e3;
  --line: #e2ddd0;
  --open-green: #0c6b3d;
  --closed-red: #9c1c1c;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 1px 2px rgba(32, 31, 51, 0.06), 0 4px 14px rgba(32, 31, 51, 0.06);
  --shadow-2: 0 2px 6px rgba(32, 31, 51, 0.08), 0 12px 32px rgba(32, 31, 51, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--navy); margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 5.4vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.35rem); }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-soft); }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 3px; }
.on-dark :focus-visible, .topbar :focus-visible, .site-footer :focus-visible { outline-color: var(--sky); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--navy); color: #fffdf7; padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fffdf7; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .wrap { padding: 0 2rem; } }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #dbe6fb; font-size: 0.875rem; }
.topbar .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 42px; flex-wrap: wrap; padding-top: 0.3rem; padding-bottom: 0.3rem; }
.topbar a { color: #fffdf7; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 32px; }
.topbar a:hover { color: var(--sky); }
.topbar .tb-addr, .topbar .tb-hours { display: none; }
@media (min-width: 768px) { .topbar .tb-hours { display: inline-flex; align-items: center; gap: 0.4rem; } }
@media (min-width: 1024px) { .topbar .tb-addr { display: inline-flex; } }
.topbar .spacer { flex: 1; }
.open-now { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: #fffdf7; }
.open-now .dot { width: 9px; height: 9px; border-radius: 50%; background: #8b8b9e; flex: none; }
.open-now.is-open .dot { background: #4ade80; }
.open-now.is-closed .dot { background: #f87171; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--sky); border-bottom: 1px solid #9cb2cc; }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--navy); flex: none; }
.brand img { height: 100px; width: auto; border-radius: 10px; }
.detail-figure { margin: 0; }
.marquee { margin-top: 1.75rem; overflow: hidden; border-radius: var(--radius); max-width: 100%; }
.detail-grid > * { min-width: 0; }
.marquee-track { display: flex; gap: 0.75rem; width: max-content; animation: marquee-scroll 40s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track img { width: 240px; height: 320px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); flex: none; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }
.marquee-tall .marquee-track img { width: 300px; height: 400px; }
.marquee-tall .marquee-track { animation-duration: 38s; }
.detail-figure img { width: 100%; max-width: 560px; height: auto; border-radius: 14px; border: 1px solid var(--line); }

.primary-nav { display: none; }
@media (min-width: 1024px) {
  .primary-nav { display: flex; align-items: center; gap: 0.25rem; margin-left: 0.5rem; }
}
.primary-nav > a, .nav-drop > button {
  font: inherit; font-weight: 600; font-size: 1rem; color: var(--navy-deep); text-decoration: none;
  padding: 0.55rem 0.8rem; border: 0; background: none; border-radius: 10px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px;
}
.primary-nav > a:hover, .nav-drop > button:hover { background: rgba(255, 253, 247, 0.55); color: var(--navy-deep); }
.primary-nav > a[aria-current="page"] { color: var(--navy-deep); text-decoration: underline; text-underline-offset: 6px; }
.nav-drop { position: relative; }
.nav-drop > button svg { transition: transform 0.2s var(--ease); }
.nav-drop > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 340px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: 0.5rem; display: none; z-index: 120;
}
.drop-menu.open { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.drop-menu a {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.65rem; border-radius: 10px;
  text-decoration: none; color: var(--ink); font-size: 0.95rem; font-weight: 500; min-height: 44px;
}
.drop-menu a:hover { background: var(--sky-tint); color: var(--navy); }
.drop-menu a svg { color: var(--navy); flex: none; }
.drop-menu .drop-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 4px; font-weight: 700; color: var(--navy); }

.header-ctas { display: none; margin-left: auto; }
@media (min-width: 1024px) { .header-ctas { display: flex; align-items: center; gap: 0.6rem; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: 0.7rem 1.35rem; min-height: 48px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
  border: 2px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--navy); color: #fffdf7; }
.btn-solid:hover { background: var(--navy-soft); color: #fffdf7; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--sky-tint); color: var(--navy); }
.btn-ghost { color: var(--navy); background: transparent; padding: 0.7rem 0.9rem; }
.btn-ghost:hover { background: var(--sand); color: var(--navy); }
.btn-light { background: var(--cream); color: var(--navy); }
.btn-light:hover { background: var(--sky-tint); color: var(--navy); }
.btn-sky { background: var(--sky); color: var(--navy-deep); }
.btn-sky:hover { background: #9cc2ff; color: var(--navy-deep); }
.header-ctas .btn { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.95rem; white-space: nowrap; }

.menu-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem;
  background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 999px;
  font: inherit; font-weight: 700; padding: 0.5rem 1rem; min-height: 44px; cursor: pointer;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.site-header .btn-ghost, .site-header .menu-toggle { color: var(--navy-deep); border-color: var(--navy-deep); }
.site-header .btn-ghost:hover { background: rgba(255, 253, 247, 0.55); color: var(--navy-deep); }
.site-header .btn-outline { border-color: var(--navy-deep); color: var(--navy-deep); }
.site-header .btn-outline:hover { background: rgba(255, 253, 247, 0.55); color: var(--navy-deep); }

/* ---------- Mobile drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(15, 14, 40, 0.5); z-index: 190;
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease);
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); z-index: 200;
  background: var(--cream); box-shadow: var(--shadow-2); transform: translateX(102%);
  transition: transform 0.3s var(--ease); display: flex; flex-direction: column; overflow-y: auto;
  padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.drawer-close { background: var(--sand); border: 0; border-radius: 999px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav > a, .drawer-svc-toggle {
  font: inherit; font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none;
  padding: 0.8rem 0.5rem; border: 0; background: none; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 48px;
  border-bottom: 1px solid var(--line);
}
.drawer-svc-list { display: none; padding: 0.25rem 0 0.5rem; border-bottom: 1px solid var(--line); }
.drawer-svc-list.open { display: block; }
.drawer-svc-list a { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.75rem; min-height: 44px; text-decoration: none; color: var(--ink-soft); font-weight: 500; border-radius: 10px; }
.drawer-svc-list a:hover { background: var(--sky-tint); color: var(--navy); }
.drawer-svc-list a svg { color: var(--navy); }
.drawer-ctas { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.1rem; }
.drawer-svc-toggle svg { transition: transform 0.2s var(--ease); }
.drawer-svc-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---------- Hero ---------- */
.hero { background: var(--paper); overflow: hidden; }
.hero .wrap { display: grid; gap: 1.5rem; padding-top: 2rem; padding-bottom: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 11fr 9fr; gap: 3.5rem; padding-top: 4rem; padding-bottom: 4.5rem; }
}
.hero-kicker { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); background: var(--sky-tint); border: 1px solid var(--sky-line); border-radius: 999px; padding: 0.35rem 0.9rem; margin-bottom: 1.1rem; }
.hero h1 { margin-bottom: 0.4em; }
.hero .hero-sub { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-note { margin-top: 1.1rem; font-size: 0.95rem; color: var(--ink-soft); }
.hero-full { position: relative; }
.hero-full .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: 0.75; }
.hero-full .wrap { position: relative; grid-template-columns: 1fr; }
.hero-full .hero-content { max-width: 560px; background: rgba(255, 253, 247, 0.82); backdrop-filter: blur(2px); border-radius: var(--radius-lg); padding: 1.75rem; }
.hero-full .wrap { padding-top: 3rem; padding-bottom: 3.5rem; }
@media (min-width: 900px) { .hero-full .wrap { padding-top: 7rem; padding-bottom: 7rem; } }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-2); width: 100%; height: auto; object-fit: cover; }
.hero-badge {
  position: absolute; left: 1rem; bottom: 1rem; background: var(--cream); border-radius: var(--radius);
  box-shadow: var(--shadow-1); padding: 0.6rem 1rem; font-weight: 700; color: var(--navy); font-size: 0.95rem;
  display: flex; align-items: center; gap: 0.5rem;
}

/* ---------- Sections ---------- */
.section { padding: 2.25rem 0; }
@media (min-width: 900px) { .section { padding: 3.375rem 0; } }
.section-tight { padding: 1.7rem 0; }
@media (min-width: 900px) { .section-tight { padding: 2.5rem 0; } }
.section-alt { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--navy); color: #e4ecfc; }
.section-navy h2, .section-navy h3 { color: #fffdf7; }
.section-navy a { color: var(--sky-line); }
.eyebrow { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-soft); margin: 0 0 0.5rem; }
.section-navy .eyebrow { color: var(--sky-line); }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head p { color: var(--ink-soft); }
.section-navy .section-head p { color: #c3d3f2; }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.svc-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.25rem; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 0.55rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
a.svc-card:hover { border-color: var(--sky); box-shadow: var(--shadow-1); transform: translateY(-2px); color: var(--ink); }
.svc-card .svc-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sky-tint); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.svc-card h3 { margin: 0; font-size: 1.15rem; }
.svc-card p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.svc-card .svc-more { margin-top: auto; padding-top: 0.4rem; font-weight: 700; color: var(--navy); font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.35rem; }

/* ---------- Hours table ---------- */
.hours-block { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .hours-block { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.hours-table { width: 100%; border-collapse: collapse; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours-table caption { text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--navy); padding: 0 0 0.75rem; }
.hours-table th, .hours-table td { text-align: left; padding: 0.7rem 1.1rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-weight: 600; color: var(--ink); width: 45%; }
.hours-table td { color: var(--ink-soft); }
.hours-table tr.is-today th, .hours-table tr.is-today td { background: var(--sky-tint); color: var(--navy); font-weight: 700; }

/* ---------- Trust band ---------- */
.trust-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.trust-item .t-num { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--sky); line-height: 1; min-width: 2.2rem; }
.trust-item h3 { font-size: 1.05rem; margin-bottom: 0.25rem; font-family: var(--font-body); font-weight: 700; }
.trust-item p { margin: 0; font-size: 0.95rem; color: #c3d3f2; }

/* ---------- Callout ---------- */
.callout {
  background: var(--sky-tint); border: 1px solid var(--sky-line); border-radius: var(--radius-lg);
  padding: 1.75rem; display: grid; gap: 1rem;
}
@media (min-width: 900px) { .callout { grid-template-columns: 1fr auto; align-items: center; padding: 2.25rem 2.5rem; } }
.callout h2, .callout h3 { margin-bottom: 0.35rem; }
.callout p { margin: 0; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }
.faq-list details { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.75rem; }
.faq-list summary {
  cursor: pointer; font-weight: 700; font-size: 1.05rem; color: var(--navy);
  padding: 1rem 3rem 1rem 1.25rem; list-style: none; position: relative; min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list .faq-a { padding: 0 1.25rem 1.1rem; color: var(--ink-soft); }
.faq-list .faq-a p { margin-bottom: 0.5em; }

/* ---------- Page hero band ---------- */
.page-hero { position: relative; background: var(--navy); color: #fffdf7; overflow: hidden; }
.page-hero .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.page-hero .wrap { position: relative; padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .page-hero .wrap { padding-top: 4.5rem; padding-bottom: 4.5rem; } }
.page-hero h1 { color: #fffdf7; margin-bottom: 0.3em; }
.page-hero .ph-sub { color: #d4e0f7; font-size: 1.1rem; max-width: 62ch; margin: 0; }
.breadcrumbs { font-size: 0.9rem; margin: 0 0 1rem; color: #b9c9ec; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: #7a8cc0; }
.breadcrumbs a { color: #d4e0f7; text-decoration: none; }
.breadcrumbs a:hover { color: var(--sky); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: #fffdf7; font-weight: 600; }

/* ---------- Prose / detail pages ---------- */
.detail-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 7fr 4fr; gap: 4rem; } }
.prose p { color: var(--ink); }
.prose ul { padding-left: 1.3rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.lead { font-size: 1.2rem; color: var(--navy); font-weight: 500; }
.aside-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; position: sticky; top: 96px; }
.aside-card h2 { font-size: 1.25rem; }
.aside-card .btn { width: 100%; margin-bottom: 0.6rem; }
.aside-card .aside-meta { font-size: 0.95rem; color: var(--ink-soft); margin: 0.75rem 0 0; }
.aside-card .aside-meta a { font-weight: 600; }
.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0 0 1.25rem; list-style: none; }
.chip-list li { background: var(--sky-tint); border: 1px solid var(--sky-line); color: var(--navy); font-weight: 600; border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.95rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-1); }
.gallery figcaption { font-size: 0.85rem; color: var(--ink-soft); padding-top: 0.4rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list .c-icon { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--sky-tint); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.contact-list .c-label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list a { font-weight: 600; font-size: 1.05rem; }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c3d3f2; padding: 3rem 0 1rem; font-size: 0.95rem; }
.site-footer a { color: #e4ecfc; text-decoration-color: rgba(228, 236, 252, 0.4); }
.site-footer a:hover { color: var(--sky); }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 40px; width: auto; background: #fffdf7; border-radius: 10px; padding: 5px; }
.footer-brand p { margin: 0.9rem 0 0; max-width: 34ch; }
.site-footer h2 { font-size: 0.85rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--sky); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(130, 178, 255, 0.25); padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between; font-size: 0.85rem; color: #9db1dd; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- Sticky bottom CTA bar (mobile) ---------- */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; height: calc(66px + env(safe-area-inset-bottom));
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 253, 247, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); display: flex; gap: 0.6rem;
  transform: translateY(110%); transition: transform 0.3s var(--ease);
}
.cta-bar.visible { transform: translateY(0); }
.cta-bar.suppressed { transform: translateY(110%); }
.cta-bar .btn { flex: 1; min-height: 50px; font-size: 1.05rem; }
@media (min-width: 1024px) { .cta-bar { display: none; } }
body.has-ctabar-visible { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { body.has-ctabar-visible { padding-bottom: 0; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 220;
  max-width: 560px; margin: 0 auto; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2); padding: 1.1rem 1.25rem;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.8rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.cookie-actions .btn { min-height: 44px; padding: 0.45rem 1.1rem; font-size: 0.92rem; }
.cookie-actions a { font-size: 0.92rem; }

/* ---------- Misc ---------- */
.icon-inline { vertical-align: -0.18em; }
.checklist { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.65rem; }
.checklist li { display: flex; gap: 0.65rem; align-items: flex-start; }
.checklist svg { color: var(--open-green); flex: none; margin-top: 0.2rem; }
.notice-box { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.35rem; margin: 0 0 1.5rem; }
.notice-box p { margin: 0; font-size: 0.98rem; }
.privacy-body h2 { margin-top: 2rem; }
.privacy-body ul { padding-left: 1.3rem; }
.step-list { counter-reset: step; list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.1rem; }
.step-list li { display: flex; gap: 1rem; align-items: flex-start; }
.step-list .step-n {
  counter-increment: step; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fffdf7; font-weight: 700; font-family: var(--font-display);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.two-col-media { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .two-col-media { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.two-col-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-1); width: 100%; }
.affil-list { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.affil-list li { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1.1rem; font-size: 0.92rem; font-weight: 600; color: var(--ink); }

/* Patient Portal page */
.portal-split { align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 1.4rem 0 1.7rem; display: grid; gap: 1.15rem; }
.feature-list li { display: flex; gap: 0.9rem; align-items: flex-start; max-width: 60ch; }
.feature-list li svg { flex: none; margin-top: 3px; color: var(--navy); }
.feature-list li strong { color: var(--navy); }
.feature-list li span { color: var(--ink-soft); }
.portal-phones { display: flex; gap: 1.25rem; justify-content: center; align-items: flex-start; }
.portal-phones img { width: min(300px, 46%); height: auto; border-radius: 20px; box-shadow: var(--shadow-2); }
.homescreen { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.homescreen-copy { max-width: 640px; }
.homescreen-copy .btn { margin-top: 0.5rem; }
.homescreen-img { flex: none; width: 160px; height: 160px; border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
@media (max-width: 640px) { .homescreen { justify-content: center; text-align: left; } }

/* Carousel */
.carousel-section { padding-top: 2.5rem; padding-bottom: 0.5rem; }
.carousel-heading { margin: 0 0 1.1rem; }
.carousel { position: relative; }
.carousel-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 0.75rem; -webkit-overflow-scrolling: touch; }
.carousel-track:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; border-radius: var(--radius); }
.carousel-slide { flex: 0 0 auto; width: min(460px, 82%); margin: 0; scroll-snap-align: start; }
.carousel-slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-1); display: block; }
.carousel-nav { display: flex; gap: 0.6rem; justify-content: flex-end; margin-top: 0.35rem; }
.carousel-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.carousel-btn:hover { background: var(--navy); color: #fff; }
.carousel-btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Legal pages */
.legal-body h2 { margin-top: 2.2rem; }
.legal-body h3 { margin-top: 1.5rem; }
.legal-caps { font-size: 0.95rem; letter-spacing: 0.01em; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.95rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line, #d9d4c8); padding: 0.75rem 0.9rem; text-align: left; vertical-align: top; }
.legal-table th { background: var(--paper-deep, #f1ede3); color: var(--navy); }
.legal-table td > p:first-child { margin-top: 0; }
.legal-table td > p:last-child, .legal-table td > ul:last-child { margin-bottom: 0; }
