/* ==========================================================================
   San Fernando Pacoima Family Dental — Design System
   Palette  : Ink navy + logo teal, warmed with cream & marigold
   Type     : Fraunces (display) / Manrope (UI & body)
   Motif    : The arch — taken from the tooth outline in the logo
   ========================================================================== */

:root {
  /* Color */
  --ink-900: #0b2036;
  --ink-800: #102c49;
  --ink-700: #1a3d60;
  --ink-500: #4a6580;
  --teal-800: #0b5c64;
  --teal-700: #0f6e78;
  --teal-600: #14808a;
  --teal-500: #2a9da6;
  --teal-200: #bfe3e4;
  --teal-100: #dcf0f0;
  --teal-50: #eef7f7;
  --sun-600: #d98a24;
  --sun-500: #f2a541;
  --sun-200: #fbdcae;
  --sun-100: #fdf0dc;
  --cream: #fbf7f1;
  --sand: #f3ece1;
  --line: #e7dfd3;
  --line-cool: #dfe7ee;
  --text: #1d2a36;
  --muted: #5b6977;
  --white: #fff;
  --danger: #c2412d;
  --success: #1f8a5b;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --arch: 999px 999px var(--r) var(--r);

  /* Depth */
  --shadow-xs: 0 1px 2px rgba(16, 44, 73, .06);
  --shadow-sm: 0 4px 14px -6px rgba(16, 44, 73, .14);
  --shadow: 0 22px 44px -22px rgba(16, 44, 73, .32);
  --shadow-lg: 0 40px 80px -32px rgba(11, 32, 54, .45);

  /* Motion */
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 84px;

  /* Bootstrap hooks */
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--text);
  --bs-body-bg: var(--white);
  --bs-link-color: var(--teal-700);
  --bs-link-color-rgb: 15, 110, 120;
  --bs-link-hover-color: var(--ink-800);
  --bs-link-hover-color-rgb: 16, 44, 73;
  --bs-border-color: var(--line);
  --bs-primary: var(--teal-700);
  --bs-primary-rgb: 15, 110, 120;
}

/* --------------------------------------------------------------------------
   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(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
::selection { background: var(--teal-200); color: var(--ink-900); }
:focus-visible { outline: 3px solid var(--sun-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--ink-800); color: #fff; padding: 10px 18px; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1240px; padding-left: 20px; padding-right: 20px; }
@media (max-width: 575.98px) { .container { padding-left: 16px; padding-right: 16px; } }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .h1, .h2, .h3, .h4, .font-display {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink-800);
  letter-spacing: -.015em;
  line-height: 1.12;
  font-optical-sizing: auto;
}
h1, .h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem); }
h2, .h2 { font-size: clamp(1.85rem, 1.4rem + 1.9vw, 2.9rem); }
h3, .h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
h4, .h4 { font-size: 1.15rem; }
h1 em, h2 em, h3 em, .accent-italic {
  font-style: italic; font-weight: 400; color: var(--teal-700);
}
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); line-height: 1.7; font-weight: 400; }
.text-muted-2 { color: var(--muted) !important; }
.small-caps { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sun-500); border-radius: 2px; }
.eyebrow.on-dark { color: var(--teal-200); }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --bs-btn-font-weight: 700;
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: .8rem;
  --bs-btn-border-radius: var(--r-pill);
  --bs-btn-font-size: .98rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  letter-spacing: .005em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn i { font-size: 1.05em; line-height: 1; }
.btn:active { transform: translateY(1px); }
.btn-sm { --bs-btn-padding-x: 1.05rem; --bs-btn-padding-y: .5rem; --bs-btn-font-size: .88rem; }
.btn-lg { --bs-btn-padding-x: 1.9rem; --bs-btn-padding-y: 1rem; --bs-btn-font-size: 1.04rem; }

.btn-brand {
  --bs-btn-color: #fff; --bs-btn-bg: var(--teal-700); --bs-btn-border-color: var(--teal-700);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--teal-800); --bs-btn-hover-border-color: var(--teal-800);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--ink-800); --bs-btn-active-border-color: var(--ink-800);
  box-shadow: 0 10px 22px -12px rgba(15, 110, 120, .8);
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(15, 110, 120, .9); }
.btn-ink {
  --bs-btn-color: #fff; --bs-btn-bg: var(--ink-800); --bs-btn-border-color: var(--ink-800);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ink-900); --bs-btn-hover-border-color: var(--ink-900);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--ink-900);
}
.btn-ink:hover { transform: translateY(-2px); }
.btn-sun {
  --bs-btn-color: var(--ink-900); --bs-btn-bg: var(--sun-500); --bs-btn-border-color: var(--sun-500);
  --bs-btn-hover-color: var(--ink-900); --bs-btn-hover-bg: #f6b45c; --bs-btn-hover-border-color: #f6b45c;
  --bs-btn-active-color: var(--ink-900); --bs-btn-active-bg: var(--sun-600);
  box-shadow: 0 10px 22px -12px rgba(217, 138, 36, .9);
}
.btn-sun:hover { transform: translateY(-2px); }
.btn-line {
  --bs-btn-color: var(--ink-800); --bs-btn-bg: transparent; --bs-btn-border-color: rgba(16, 44, 73, .22);
  --bs-btn-hover-color: var(--ink-800); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: var(--ink-800);
  --bs-btn-active-color: var(--ink-800); --bs-btn-active-bg: var(--sand);
  --bs-btn-border-width: 1.5px;
}
.btn-line-light {
  --bs-btn-color: #fff; --bs-btn-bg: transparent; --bs-btn-border-color: rgba(255, 255, 255, .4);
  --bs-btn-hover-color: var(--ink-900); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: var(--ink-900); --bs-btn-active-bg: #fff;
  --bs-btn-border-width: 1.5px;
}
.btn-white {
  --bs-btn-color: var(--ink-800); --bs-btn-bg: #fff; --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--ink-900); --bs-btn-hover-bg: var(--sun-100); --bs-btn-hover-border-color: var(--sun-100);
  --bs-btn-active-color: var(--ink-900); --bs-btn-active-bg: var(--sun-200);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; color: var(--teal-700); text-decoration: none;
}
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--ink-800); }
.link-arrow:hover i { transform: translateX(4px); }

/* Chips & badges */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .38rem .85rem; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 700; line-height: 1.3;
  background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-100);
}
.chip-sun { background: var(--sun-100); color: #8a5310; border-color: var(--sun-200); }
.chip-ink { background: var(--ink-800); color: #fff; border-color: var(--ink-800); }
.chip-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.icon-svg { width: 1.6em; height: 1.6em; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; position: relative; }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-mist { background: var(--teal-50); }
.bg-ink { background: var(--ink-800); color: #d6e1ea; }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }
.bg-ink h2 em, .bg-ink h3 em { color: var(--sun-500); }
.bg-ink .lead, .bg-ink .section-head p { color: #b8c7d5; }

.wave-top { position: absolute; top: -1px; left: 0; width: 100%; height: 48px; display: block; }

/* --------------------------------------------------------------------------
   Top bar & header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink-900); color: #c3d1de; font-size: .84rem;
  padding: 8px 0;
}
.topbar a { color: #e6eef5; text-decoration: none; }
.topbar a:hover { color: var(--sun-500); }
.topbar .sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .18); }
.topbar i { color: var(--teal-500); margin-right: 6px; }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.open-status .pulse { width: 8px; height: 8px; border-radius: 50%; background: #8a9aab; position: relative; }
.open-status.is-open .pulse { background: #3ecf8e; }
.open-status.is-open .pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #3ecf8e; animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* Space held for the JS-loaded header so the page doesn't jump when it arrives */
#site-header { display: block; min-height: var(--header-h); }
@media (min-width: 992px) { #site-header { min-height: calc(var(--header-h) + 37px); } }

.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line-cool); box-shadow: 0 10px 30px -20px rgba(16, 44, 73, .35); }
.site-header .navbar { min-height: var(--header-h); padding: 0; transition: min-height .3s var(--ease); }
.site-header.is-scrolled .navbar { min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 58px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 48px; }

.main-nav .nav-link {
  font-weight: 600; font-size: .96rem; color: var(--ink-800);
  padding: .6rem .95rem !important; border-radius: var(--r-pill);
  position: relative;
}
.main-nav .nav-link:hover, .main-nav .nav-link:focus-visible, .main-nav .show > .nav-link { color: var(--teal-700); background: var(--teal-50); }
.main-nav .nav-link.active { color: var(--teal-700); }
.main-nav .nav-link.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px;
  background: var(--sun-500); border-radius: 50%; transform: translateX(-50%);
}
.main-nav .dropdown-toggle::after {
  border: 0; content: "\F282"; font-family: "bootstrap-icons"; font-size: .7rem;
  vertical-align: middle; margin-left: .3rem; transition: transform .25s;
}
.main-nav .show > .dropdown-toggle::after { transform: rotate(180deg); }

.dropdown-menu {
  --bs-dropdown-border-color: var(--line-cool);
  --bs-dropdown-border-radius: var(--r);
  --bs-dropdown-link-active-bg: var(--teal-50);
  --bs-dropdown-link-active-color: var(--teal-700);
  --bs-dropdown-link-hover-bg: var(--teal-50);
  --bs-dropdown-link-hover-color: var(--teal-700);
  box-shadow: var(--shadow); padding: 10px; margin-top: 10px !important;
}
.dropdown-menu .dropdown-item { border-radius: var(--r-sm); padding: .6rem .85rem; font-weight: 600; color: var(--ink-800); display: flex; align-items: center; gap: .7rem; }
.dropdown-menu .dropdown-item i { color: var(--teal-600); }
.dropdown-menu .dropdown-item small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }

.mega-menu { width: min(1080px, calc(100vw - 40px)); padding: 0; overflow: hidden; left: 50% !important; transform: translateX(-50%) !important; top: 100% !important; }
.mega-inner { display: grid; grid-template-columns: repeat(3, 1fr) 280px; }
.mega-col { padding: 26px 24px; }
.mega-col + .mega-col { border-left: 1px solid var(--line-cool); }
.mega-col h6 {
  display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 800;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-800); margin: 0 0 12px;
}
.mega-col h6 .icon-svg { color: var(--teal-600); width: 22px; height: 22px; }
.mega-col h6 + ul { margin-bottom: 22px; }
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; }
.mega-col li a:hover { color: var(--teal-700); transform: translateX(3px); }
.mega-col li a { transition: color .2s, transform .2s; }
.mega-promo {
  background: var(--ink-800); color: #cfdbe6; padding: 28px 24px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.mega-promo::before {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 260px;
  border-radius: var(--arch); background: rgba(42, 157, 166, .25);
}
.mega-promo .price { font-family: var(--font-display); font-size: 2.6rem; color: #fff; line-height: 1; margin: 8px 0 6px; }
.mega-promo .price small { font-family: var(--font-body); font-size: .85rem; color: #9fb3c5; }
.mega-promo p { font-size: .88rem; margin-bottom: 18px; position: relative; }
.mega-promo .btn { margin-top: auto; position: relative; align-self: flex-start; }
.mega-foot {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px; background: var(--cream); border-top: 1px solid var(--line-cool); font-size: .88rem; color: var(--muted); font-weight: 600;
}
.mega-foot i.bi-geo-alt { color: var(--teal-600); margin-right: 4px; }

.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-800); }
.header-phone .ic {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun-100); color: var(--sun-600); font-size: 1.05rem;
}
.header-phone small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; line-height: 1.1; }
.header-phone strong { font-size: 1rem; line-height: 1.2; }
.header-phone:hover strong { color: var(--teal-700); }

.nav-toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-cool); background: #fff;
  display: grid; place-items: center; padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink-800); border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink-800); border-radius: 2px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; width: 12px; }

.offcanvas.mobile-nav { --bs-offcanvas-width: min(400px, 90vw); background: var(--cream); }
.mobile-nav .offcanvas-header { border-bottom: 1px solid var(--line); }
.mobile-nav .offcanvas-header img { height: 46px; }
.mobile-nav .m-link {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 14px 4px; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink-800);
  text-decoration: none; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left;
}
.mobile-nav .m-link i { font-size: 1rem; transition: transform .25s; }
.mobile-nav .m-link[aria-expanded="true"] i { transform: rotate(45deg); }
.mobile-nav .m-sub { list-style: none; padding: 8px 0 12px 8px; margin: 0; border-bottom: 1px solid var(--line); }
.mobile-nav .m-sub a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; font-weight: 600; }
.mobile-nav .m-sub a:hover { color: var(--teal-700); }

/* --------------------------------------------------------------------------
   Hero — the "Arch Accordion" slider
   -------------------------------------------------------------------------- */
.hero {
  position: relative; background: var(--cream); overflow: hidden;
  padding: clamp(40px, 5vw, 72px) 0 clamp(110px, 10vw, 150px);
}
.hero::before {
  content: ""; position: absolute; top: -220px; right: -180px; width: 720px; height: 720px;
  background: radial-gradient(circle at center, rgba(42, 157, 166, .16), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px;
  background: radial-gradient(circle at center, rgba(242, 165, 65, .18), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em; margin: 18px 0 22px; }
.hero h1 em { color: var(--teal-700); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .3em; color: var(--sun-500); }
.hero .lead { max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 38px; padding-top: 28px; border-top: 1px dashed var(--line); }
.proof-item { display: flex; align-items: center; gap: 12px; }
.proof-item .num { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink-800); line-height: 1; }
.proof-item .lbl { font-size: .8rem; color: var(--muted); line-height: 1.3; font-weight: 600; }
.proof-item .stars { color: var(--sun-500); font-size: .78rem; letter-spacing: 1px; }
.g-badge { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-xs); font-weight: 800; font-size: 1.1rem; color: #4285f4; }

.arch-slider { position: relative; }
.arch-track { display: flex; gap: 12px; height: clamp(460px, 44vw, 600px); }
.arch-panel {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: 999px 999px 26px 26px; overflow: hidden;
  cursor: pointer; background: var(--ink-800); border: 0; padding: 0; text-align: left; color: #fff;
  transition: flex-grow .85s var(--ease), box-shadow .5s;
  isolation: isolate;
}
.arch-panel.is-active { flex-grow: 5.2; cursor: default; box-shadow: var(--shadow-lg); }
.arch-panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); transition: transform 1.6s var(--ease), filter .6s;
  filter: saturate(.75) brightness(.7);
}
.arch-panel.is-active img { transform: scale(1); filter: none; }
.arch-panel::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11, 32, 54, .15) 0%, rgba(11, 32, 54, 0) 35%, rgba(11, 32, 54, .78) 100%);
}
.arch-panel:not(.is-active):hover img { filter: saturate(.9) brightness(.85); }
.arch-tab {
  position: absolute; z-index: 2; inset: auto 0 22px 0; display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: opacity .35s;
}
.arch-tab .n { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--sun-500); }
.arch-tab .t { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.arch-panel.is-active .arch-tab { opacity: 0; pointer-events: none; }
.arch-caption {
  position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 20px; padding: 18px 20px 20px; color: #fff;
  opacity: 0; transform: translateY(18px); transition: opacity .45s .25s, transform .6s .25s var(--ease);
  pointer-events: none;
}
.arch-panel.is-active .arch-caption { opacity: 1; transform: none; pointer-events: auto; }
.arch-caption .tag { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-500); }
.arch-caption h3 { color: #fff; font-size: 1.45rem; margin: 6px 0 6px; }
.arch-caption p { font-size: .9rem; margin: 0 0 12px; color: rgba(255, 255, 255, .85); line-height: 1.5; }
.arch-caption a { color: #fff; font-weight: 700; text-decoration: none; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.arch-caption a:hover { color: var(--sun-500); }
.arch-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .18); border-radius: 0 0 20px 20px; overflow: hidden; }
.arch-progress span { display: block; height: 100%; width: 0; background: var(--sun-500); }
.arch-panel.is-active.is-playing .arch-progress span { animation: archProgress var(--arch-duration, 6s) linear forwards; }
.arch-slider.is-paused .arch-progress span { animation-play-state: paused !important; }
@keyframes archProgress { to { width: 100%; } }

.arch-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding: 0 6px; }
.arch-count { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-800); }
.arch-count b { font-size: 1.6rem; font-weight: 500; }
.arch-count span { color: var(--muted); }
.arch-btns { display: flex; gap: 8px; }
.round-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(16, 44, 73, .2); background: #fff;
  color: var(--ink-800); display: grid; place-items: center; font-size: 1.05rem; transition: all .2s;
}
.round-btn:hover { background: var(--ink-800); color: #fff; border-color: var(--ink-800); }

.hero-float {
  position: absolute; z-index: 3; left: -34px; top: 54px;
  background: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; max-width: 230px;
  animation: floaty 6s ease-in-out infinite;
}
.hero-float .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sun-100); color: var(--sun-600); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.hero-float strong { display: block; color: var(--ink-800); font-size: .95rem; line-height: 1.2; }
.hero-float small { color: var(--muted); font-size: .78rem; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

@media (max-width: 991.98px) {
  .arch-track { flex-direction: column; height: auto; gap: 10px; }
  .arch-panel { flex: 0 0 58px; border-radius: 22px; transition: flex-basis .8s var(--ease); }
  .arch-panel.is-active { flex: 0 0 380px; border-radius: 160px 160px 24px 24px; }
  .arch-tab { inset: 0 20px; flex-direction: row; justify-content: space-between; }
  .arch-tab .t { writing-mode: horizontal-tb; transform: none; }
  .arch-tab::after { content: "\F4FE"; font-family: "bootstrap-icons"; font-size: 1.1rem; }
  .hero-float { display: none; }
}
@media (max-width: 575.98px) {
  .arch-panel.is-active { flex-basis: 360px; border-radius: 120px 120px 22px 22px; }
  .arch-caption { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px 16px; }
  .arch-caption h3 { font-size: 1.25rem; }
  .arch-caption p { display: none; }
}

/* Quick paths (overlaps hero) */
.quick-paths { position: relative; z-index: 5; margin-top: -78px; }
.qp-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line-cool); }
.qp {
  display: flex; gap: 16px; padding: 26px 24px; text-decoration: none; color: var(--text);
  position: relative; transition: background .25s;
}
.qp + .qp { border-left: 1px solid var(--line-cool); }
.qp .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); font-size: 1.35rem; flex-shrink: 0; transition: all .3s var(--ease); }
.qp.is-urgent .ic { background: #fdeae5; color: var(--danger); }
.qp h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; margin: 2px 0 4px; color: var(--ink-800); letter-spacing: 0; }
.qp p { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.5; }
.qp .go { position: absolute; top: 22px; right: 20px; color: var(--teal-600); opacity: 0; transform: translate(-6px, 6px); transition: all .3s var(--ease); }
.qp:hover { background: var(--cream); }
.qp:hover .ic { background: var(--teal-700); color: #fff; transform: rotate(-6deg); }
.qp.is-urgent:hover .ic { background: var(--danger); }
.qp:hover .go { opacity: 1; transform: none; }
@media (max-width: 991.98px) {
  .qp-grid { grid-template-columns: 1fr 1fr; }
  .qp:nth-child(3) { border-left: 0; }
  .qp:nth-child(n+3) { border-top: 1px solid var(--line-cool); }
}
@media (max-width: 575.98px) {
  .quick-paths { margin-top: -60px; }
  .qp-grid { grid-template-columns: 1fr; }
  .qp + .qp { border-left: 0; border-top: 1px solid var(--line-cool); }
  .qp { padding: 18px; }
}

/* --------------------------------------------------------------------------
   Arch media & collages
   -------------------------------------------------------------------------- */
.arch-media { border-radius: var(--arch); overflow: hidden; position: relative; background: var(--teal-50); }
.arch-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-collage { position: relative; padding: 0 0 40px 40px; max-width: 540px; }
.about-collage .main { aspect-ratio: 4 / 5; }
.about-collage .sub {
  position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4;
  border: 8px solid #fff; box-shadow: var(--shadow);
}
.about-collage .years {
  position: absolute; right: -14px; top: 18%; background: var(--sun-500); color: var(--ink-900);
  width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  box-shadow: var(--shadow); line-height: 1.1;
}
.about-collage .years b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; display: block; }
.about-collage .years span { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.arch-media.tint { background: var(--teal-100); }
.arch-media.tint img { mix-blend-mode: multiply; }
@media (max-width: 575.98px) {
  .about-collage { padding: 0 0 30px 20px; }
  .about-collage .years { right: 0; width: 108px; height: 108px; }
  .about-collage .years b { font-size: 2.1rem; }
}
.about-collage .ring { position: absolute; right: -10px; bottom: 50px; width: 120px; height: 120px; color: var(--teal-200); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink-800); }
.check-list li i { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; font-size: .8rem; flex-shrink: 0; margin-top: 1px; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); color: var(--ink-800); line-height: 1; }
.stat .num sup { font-size: .5em; color: var(--sun-600); top: -.8em; margin-left: 2px; }
.stat .lbl { color: var(--muted); font-size: .88rem; font-weight: 600; margin-top: 8px; }
@media (max-width: 767.98px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   Department switcher (home)
   -------------------------------------------------------------------------- */
.dept { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: stretch; }
.dept-list { display: flex; flex-direction: column; gap: 8px; }
.dept-btn {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  padding: 16px 18px; border-radius: var(--r); background: transparent; border: 1px solid transparent;
  color: var(--ink-800); transition: all .3s var(--ease); position: relative;
}
.dept-btn .icon-svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: #fff; color: var(--teal-700); box-shadow: var(--shadow-xs); transition: all .3s; }
.dept-btn strong { display: block; font-size: 1.04rem; }
.dept-btn small { color: var(--muted); font-size: .82rem; font-weight: 600; }
.dept-btn .bi-arrow-right { margin-left: auto; opacity: 0; transform: translateX(-8px); transition: all .3s var(--ease); }
.dept-btn:hover { background: rgba(255, 255, 255, .6); }
.dept-btn.is-active { background: #fff; border-color: var(--line-cool); box-shadow: var(--shadow-sm); }
.dept-btn.is-active .icon-svg { background: var(--teal-700); color: #fff; }
.dept-btn.is-active .bi-arrow-right { opacity: 1; transform: none; color: var(--teal-700); }
.dept-panels { position: relative; min-height: 470px; }
.dept-panel {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1.05fr 1fr; background: #fff;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line-cool);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .45s, transform .55s var(--ease), visibility .45s;
}
.dept-panel.is-active { opacity: 1; visibility: visible; transform: none; }
.dept-panel .media { position: relative; }
.dept-panel .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dept-panel .body { padding: 36px 34px; display: flex; flex-direction: column; }
.dept-panel h3 { margin-bottom: 10px; }
.dept-panel p { color: var(--muted); font-size: .96rem; }
.treat-list { list-style: none; padding: 0; margin: 6px 0 24px; display: grid; gap: 2px; }
.treat-list a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--ink-800); font-weight: 600; text-decoration: none; font-size: .94rem; }
.treat-list a i { color: var(--teal-600); transition: transform .25s; }
.treat-list a:hover { color: var(--teal-700); }
.treat-list a:hover i { transform: translateX(4px); }
.dept-panel .body .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 991.98px) {
  .dept { grid-template-columns: 1fr; }
  .dept-list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .dept-list::-webkit-scrollbar { display: none; }
  .dept-btn { flex: 0 0 auto; width: auto; padding: 10px 14px; }
  .dept-btn small, .dept-btn .bi-arrow-right { display: none; }
  .dept-btn .icon-svg { width: 36px; height: 36px; padding: 8px; }
  .dept-panels { min-height: 0; }
  .dept-panel { position: relative; inset: auto; display: none; grid-template-columns: 1fr; }
  .dept-panel.is-active { display: grid; }
  .dept-panel .media { height: 220px; }
  .dept-panel .body { padding: 26px 22px; }
}

/* --------------------------------------------------------------------------
   Bento features
   -------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 18px; }
.bento-card {
  background: #fff; border: 1px solid var(--line-cool); border-radius: var(--r-lg); padding: 28px;
  position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-card .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; }
.bento-card h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.1rem; letter-spacing: 0; margin-bottom: 8px; }
.bento-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.row-2 { grid-row: span 2; }
.bento-card.is-ink { background: var(--ink-800); border-color: var(--ink-800); color: #c9d6e2; }
.bento-card.is-ink h3 { color: #fff; }
.bento-card.is-ink p { color: #aebfce; }
.bento-card.is-ink .ic { background: rgba(255, 255, 255, .1); color: var(--sun-500); }
.bento-card.is-sun { background: var(--sun-100); border-color: var(--sun-200); }
.bento-card.is-sun .ic { background: #fff; color: var(--sun-600); }
.bento-card .big-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); color: #fff; line-height: 1.1; margin: 8px 0 14px; }
.bento-card .big-quote span { color: var(--sun-500); }
.bento-card .deco-arch { position: absolute; right: -40px; bottom: -60px; width: 180px; height: 220px; border-radius: var(--arch); border: 2px solid rgba(255, 255, 255, .08); }
.bento-card .deco-arch::after { content: ""; position: absolute; inset: 18px; border-radius: inherit; border: 2px solid rgba(255, 255, 255, .06); }
@media (max-width: 991.98px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .bento { grid-template-columns: 1fr; } .bento-card.span-2 { grid-column: auto; } .bento-card.row-2 { grid-row: auto; } }

/* --------------------------------------------------------------------------
   Offer band
   -------------------------------------------------------------------------- */
.offer {
  position: relative; border-radius: 36px; overflow: hidden; background: var(--ink-800);
  display: grid; grid-template-columns: 1.15fr 1fr; color: #cdd9e5;
}
.offer .copy { padding: clamp(36px, 5vw, 64px); position: relative; z-index: 1; }
.offer h2 { color: #fff; }
.offer h2 em { color: var(--sun-500); }
.offer .price-tag { display: flex; align-items: flex-end; gap: 14px; margin: 22px 0 8px; }
.offer .price-tag b { font-family: var(--font-display); font-weight: 500; font-size: clamp(3.4rem, 2.6rem + 3vw, 5.2rem); color: #fff; line-height: .9; }
.offer .price-tag span { font-weight: 700; color: var(--sun-500); padding-bottom: 8px; }
.offer .fine { font-size: .82rem; color: #93a8bb; margin-top: 16px; }
.offer .visual { position: relative; min-height: 340px; }
.offer .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer .visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink-800) 0%, rgba(16, 44, 73, 0) 40%); }
.offer .stamp {
  position: absolute; z-index: 2; left: 16px; top: 24px; width: 118px; height: 118px; border-radius: 50%;
  background: var(--sun-500); color: var(--ink-900); display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.25;
  transform: rotate(-10deg); box-shadow: var(--shadow);
}
@media (max-width: 767.98px) {
  .offer { grid-template-columns: 1fr; }
  .offer .visual { min-height: 240px; order: -1; }
  .offer .visual::before { background: linear-gradient(0deg, var(--ink-800) 0%, rgba(16, 44, 73, 0) 50%); }
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; border-top: 2px dashed var(--teal-200); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .num {
  width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 2px solid var(--teal-200);
  display: grid; place-items: center; margin: 0 auto 20px; position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 1.6rem; color: var(--teal-700); transition: all .3s;
}
.step:hover .num { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
.step h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.06rem; letter-spacing: 0; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 991.98px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } .steps::before { display: none; } }
@media (max-width: 575.98px) {
  .steps { grid-template-columns: 1fr; row-gap: 26px; }
  .step { display: grid; grid-template-columns: 60px 1fr; gap: 16px; text-align: left; }
  .step .num { width: 56px; height: 56px; margin: 0; font-size: 1.3rem; }
}

/* --------------------------------------------------------------------------
   Doctors
   -------------------------------------------------------------------------- */
.doc-card {
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line-cool); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s;
}
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.doc-top { position: relative; padding: 30px 28px 0; background: linear-gradient(180deg, var(--teal-50), #fff); }
.doc-mono {
  width: 128px; height: 150px; border-radius: var(--arch); background: var(--ink-800); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 2.6rem; font-style: italic;
  position: relative; overflow: hidden;
}
.doc-mono::after { content: ""; position: absolute; inset: 8px; border-radius: inherit; border: 1.5px solid rgba(255, 255, 255, .2); }
.doc-card:nth-child(2) .doc-mono, .col:nth-child(2) .doc-mono { background: var(--teal-700); }
.col:nth-child(3) .doc-mono { background: var(--sun-600); }
.doc-top .chip { position: absolute; top: 30px; right: 24px; }
.doc-body { padding: 22px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.doc-body h3 { margin-bottom: 4px; }
.doc-role { color: var(--teal-700); font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.doc-meta { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: .88rem; color: var(--muted); }
.doc-meta li { display: flex; gap: 10px; }
.doc-meta i { color: var(--teal-600); }
.doc-body p { font-size: .93rem; color: var(--muted); }
.doc-body .btn { margin-top: auto; align-self: flex-start; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.reviews { position: relative; }
.review-card {
  background: #fff; border-radius: 32px; padding: clamp(28px, 4vw, 54px); position: relative;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-cool);
}
.review-card .q-mark { position: absolute; top: -26px; left: 40px; width: 58px; height: 58px; border-radius: 50%; background: var(--sun-500); color: var(--ink-900); display: grid; place-items: center; font-size: 1.6rem; }
.review-card blockquote { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); line-height: 1.45; color: var(--ink-800); margin: 10px 0 26px; font-weight: 400; }
.review-who { display: flex; align-items: center; gap: 14px; }
.review-who img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid var(--teal-50); }
.review-who strong { display: block; color: var(--ink-800); }
.review-who small { color: var(--muted); font-size: .85rem; }
.review-who .stars { color: var(--sun-500); font-size: .85rem; margin-left: auto; }
.review-lang { position: absolute; top: 26px; right: 30px; }
.review-nav { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.review-dots { display: flex; gap: 8px; margin: 0 auto 0 0; padding: 0; list-style: none; }
.review-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: var(--teal-200); padding: 0; transition: all .3s var(--ease); }
.review-dots button.active { width: 32px; background: var(--teal-700); }
.rating-panel { background: var(--ink-800); color: #cdd9e5; border-radius: 32px; padding: 36px 32px; height: 100%; position: relative; overflow: hidden; }
.rating-panel .score { font-family: var(--font-display); font-size: 5rem; color: #fff; line-height: 1; }
.rating-panel .stars { color: var(--sun-500); font-size: 1.15rem; letter-spacing: 3px; }
.rating-panel .bar { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: center; font-size: .82rem; margin-top: 8px; }
.rating-panel .bar div { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.rating-panel .bar div span { display: block; height: 100%; background: var(--sun-500); border-radius: 6px; }

/* --------------------------------------------------------------------------
   Smile gallery
   -------------------------------------------------------------------------- */
.smile-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.smile-grid a { position: relative; border-radius: var(--r); overflow: hidden; display: block; }
.smile-grid a:nth-child(1) { grid-row: span 2; border-radius: var(--arch); }
.smile-grid a:nth-child(4) { grid-row: span 2; border-radius: var(--arch); }
.smile-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.smile-grid a::after { content: "\F52A"; font-family: "bootstrap-icons"; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink-800); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: all .3s var(--ease); }
.smile-grid a:hover img { transform: scale(1.06); }
.smile-grid a:hover::after { opacity: 1; transform: none; }
@media (max-width: 767.98px) { .smile-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

.lightbox .modal-content { background: transparent; border: 0; }
.lightbox img { border-radius: var(--r-lg); max-height: 82vh; width: auto; margin: 0 auto; display: block; }
.lightbox .btn-close-lb { position: absolute; top: -50px; right: 0; color: #fff; background: rgba(255, 255, 255, .12); border: 0; width: 42px; height: 42px; border-radius: 50%; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: -60px; } .lightbox .lb-next { right: -60px; }
@media (max-width: 991.98px) { .lightbox .lb-prev { left: 8px; } .lightbox .lb-next { right: 8px; } }

/* --------------------------------------------------------------------------
   Insurance marquee & plan grid
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.plan-pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-cool); font-weight: 700; color: var(--ink-800); white-space: nowrap; }
.plan-pill i { color: var(--teal-600); }
@keyframes marquee { to { transform: translateX(-50%); } }

.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-cool); transition: all .3s var(--ease); }
.plan .mono { width: 46px; height: 46px; border-radius: 14px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; font-weight: 800; font-size: .9rem; flex-shrink: 0; }
.plan strong { display: block; color: var(--ink-800); line-height: 1.25; }
.plan small { color: var(--muted); font-size: .8rem; }
.plan.is-match { border-color: var(--teal-600); box-shadow: 0 0 0 3px var(--teal-100); }
.plan.is-dim { opacity: .35; }
.plan.is-featured { background: var(--sun-100); border-color: var(--sun-200); }
.plan.is-featured .mono { background: var(--sun-500); color: var(--ink-900); }
@media (max-width: 991.98px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .plan-grid { grid-template-columns: 1fr; } }

.plan-checker { background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line-cool); }
.plan-checker .search { position: relative; }
.plan-checker .search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.plan-checker .search input { padding-left: 48px; }
.checker-result { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; font-size: .94rem; display: none; gap: 10px; align-items: flex-start; }
.checker-result.show { display: flex; }
.checker-result.ok { background: #e6f5ee; color: #13623f; }
.checker-result.maybe { background: var(--sun-100); color: #7a4a0e; }

/* --------------------------------------------------------------------------
   Articles / journal
   -------------------------------------------------------------------------- */
.post-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-cool); transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--text); }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--teal-50); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .thumb .chip { position: absolute; left: 16px; top: 16px; background: #fff; }
.post-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.post-meta i { color: var(--teal-600); margin-right: 4px; }
.post-card h3 { font-size: 1.3rem; margin-bottom: 10px; transition: color .2s; }
.post-card:hover h3 { color: var(--teal-700); }
.post-card p { color: var(--muted); font-size: .93rem; }
.post-card .link-arrow { margin-top: auto; }
.post-card.is-feature { display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card.is-feature .thumb { aspect-ratio: auto; min-height: 340px; }
.post-card.is-feature h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.post-card.is-feature .body { padding: clamp(26px, 4vw, 48px); justify-content: center; }
@media (max-width: 767.98px) { .post-card.is-feature { grid-template-columns: 1fr; } .post-card.is-feature .thumb { min-height: 220px; } }

.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pills button { border: 1.5px solid var(--line-cool); background: #fff; color: var(--ink-800); font-weight: 700; font-size: .88rem; padding: .5rem 1.1rem; border-radius: var(--r-pill); transition: all .2s; }
.filter-pills button:hover { border-color: var(--teal-600); color: var(--teal-700); }
.filter-pills button.active { background: var(--ink-800); border-color: var(--ink-800); color: #fff; }
.filter-search { position: relative; min-width: 260px; }
.filter-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-search input { padding-left: 44px; border-radius: var(--r-pill) !important; }
.empty-state { text-align: center; padding: 48px 16px; color: var(--muted); display: none; }
.empty-state.show { display: block; }

/* Article page */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--sun-500); z-index: 1100; }
.article-hero { background: var(--cream); padding: clamp(40px, 5vw, 70px) 0 0; }
.article-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); max-width: 900px; margin: 14px 0 20px; }
.article-hero .lead { max-width: 760px; }
.author-row { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.author-row .av { width: 50px; height: 50px; border-radius: 50%; background: var(--ink-800); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; }
.author-row strong { display: block; color: var(--ink-800); line-height: 1.2; }
.author-row small { color: var(--muted); }
.article-cover { margin-top: 40px; border-radius: 32px 32px 0 0; overflow: hidden; aspect-ratio: 21 / 9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) { .article-cover { aspect-ratio: 4 / 3; border-radius: 22px 22px 0 0; } }

.prose { font-size: 1.08rem; line-height: 1.85; color: #2b3946; max-width: 720px; }
.prose > * + * { margin-top: 1.25em; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-top: 2em; margin-bottom: 0; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6em; margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--teal-600); font-weight: 700; }
.prose a { color: var(--teal-700); font-weight: 600; }
.prose strong { color: var(--ink-800); }
.prose blockquote { border-left: 4px solid var(--sun-500); padding: 6px 0 6px 24px; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--ink-800); line-height: 1.5; }
.callout { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r); background: var(--teal-50); border: 1px solid var(--teal-100); font-size: 1rem; line-height: 1.65; }
.callout i { font-size: 1.4rem; color: var(--teal-700); }
.callout.warn { background: #fdf0ec; border-color: #f6d5cb; }
.callout.warn i { color: var(--danger); }
.callout strong { display: block; margin-bottom: 2px; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line-cool); border-radius: var(--r); overflow: hidden; font-size: .95rem; }
.prose th, .prose td { padding: 14px 16px; border-bottom: 1px solid var(--line-cool); vertical-align: top; }
.prose th { background: var(--cream); color: var(--ink-800); font-weight: 800; text-align: left; }
.prose tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-box { background: var(--cream); border-radius: var(--r-lg); padding: 24px; }
.toc-box h6 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--ink-800); margin-bottom: 12px; }
.toc-box ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc-box li a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; line-height: 1.4; transition: all .2s; }
.toc-box li a:hover, .toc-box li a.active { color: var(--teal-700); border-color: var(--teal-700); }
.share-row { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.share-row a, .share-row button { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line-cool); color: var(--ink-800); display: grid; place-items: center; transition: all .2s; text-decoration: none; }
.share-row a:hover, .share-row button:hover { background: var(--ink-800); color: #fff; border-color: var(--ink-800); }
.side-cta { margin-top: 18px; background: var(--ink-800); color: #c9d6e2; border-radius: var(--r-lg); padding: 26px; }
.side-cta h4 { color: #fff; }
.side-cta p { font-size: .9rem; }

.author-box { display: flex; gap: 20px; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line-cool); background: #fff; margin-top: 56px; max-width: 720px; }
.author-box .av { width: 72px; height: 86px; border-radius: var(--arch); background: var(--teal-700); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; flex-shrink: 0; }
.author-box p { margin: 6px 0 0; color: var(--muted); font-size: .94rem; }
.disclaimer-note { max-width: 720px; font-size: .84rem; color: var(--muted); margin-top: 24px; font-style: italic; }

/* --------------------------------------------------------------------------
   Visit / hours / map
   -------------------------------------------------------------------------- */
.visit-card { background: #fff; border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; box-shadow: var(--shadow-sm); border: 1px solid var(--line-cool); }
.visit-info { padding: clamp(28px, 4vw, 52px); }
.visit-map { min-height: 420px; position: relative; background: var(--teal-50); }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.contact-line { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--text); }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.contact-line small { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-line strong { color: var(--ink-800); font-size: 1.02rem; word-break: break-word; }
a.contact-line:hover strong { color: var(--teal-700); }
.hours { width: 100%; font-size: .95rem; }
.hours tr td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours tr td:last-child { text-align: right; font-weight: 700; color: var(--ink-800); }
.hours tr.is-today td { color: var(--teal-700); }
.hours tr.is-today td:first-child::after { content: "Today"; margin-left: 8px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--teal-700); color: #fff; padding: 2px 8px; border-radius: 10px; vertical-align: 2px; }
.hours tr.is-closed td:last-child { color: var(--muted); font-weight: 600; }
@media (max-width: 991.98px) { .visit-card { grid-template-columns: 1fr; } .visit-map { min-height: 320px; } }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 40px; padding: clamp(40px, 6vw, 80px);
  background: var(--teal-700); color: #e2f2f3; text-align: center;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: var(--arch); border: 2px solid rgba(255, 255, 255, .14); }
.cta-band::before { width: 260px; height: 320px; left: -80px; bottom: -140px; }
.cta-band::after { width: 340px; height: 420px; right: -110px; top: -170px; transform: rotate(180deg); }
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 16px; position: relative; }
.cta-band h2 em { color: var(--sun-500); }
.cta-band p { max-width: 560px; margin: 0 auto 30px; color: #cdebec; position: relative; }
.cta-band .btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; position: relative; }
.cta-band .assure { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: .88rem; font-weight: 600; position: relative; }
.cta-band .assure i { color: var(--sun-500); margin-right: 6px; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero { background: var(--cream); position: relative; overflow: hidden; padding: clamp(44px, 6vw, 84px) 0 clamp(52px, 6vw, 90px); }
.page-hero::before { content: ""; position: absolute; top: -160px; right: -120px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(42, 157, 166, .15), transparent 62%); }
.page-hero .container { position: relative; }
.page-hero h1 { margin: 14px 0 18px; }
.page-hero .lead { max-width: 580px; }
.page-hero .art { aspect-ratio: 5 / 5.4; max-width: 440px; margin-left: auto; position: relative; }
.page-hero .art .arch-media { height: 100%; }
.page-hero .art .badge-float { position: absolute; left: -30px; bottom: 40px; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; }
.page-hero .art .badge-float .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; font-size: 1.15rem; }
.page-hero .art .badge-float strong { display: block; color: var(--ink-800); line-height: 1.2; }
.page-hero .art .badge-float small { color: var(--muted); font-size: .8rem; }
.page-hero.is-compact { padding-bottom: clamp(40px, 5vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: .86rem; font-weight: 600; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-700); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs li[aria-current] { color: var(--ink-800); }
@media (max-width: 991.98px) { .page-hero .art { margin: 40px auto 0; max-width: 380px; } .page-hero .art .badge-float { left: 0; } }

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */
.svc-nav { position: sticky; top: calc(var(--header-h) + 18px); display: flex; flex-direction: column; flex-wrap: nowrap; gap: 6px; background: var(--cream); border-radius: var(--r-lg); padding: 14px; }
.svc-nav .nav-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); color: var(--ink-800); font-weight: 700; text-align: left; background: transparent; border: 0; width: 100%; }
.svc-nav .nav-link .icon-svg { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: #fff; color: var(--teal-700); }
.svc-nav .nav-link small { display: block; font-weight: 600; color: var(--muted); font-size: .78rem; }
.svc-nav .nav-link:hover { background: rgba(255, 255, 255, .7); }
.svc-nav .nav-link.active { background: #fff; color: var(--teal-700); box-shadow: var(--shadow-sm); }
.svc-nav .nav-link.active .icon-svg { background: var(--teal-700); color: #fff; }
.svc-nav-help { margin-top: 10px; padding: 18px; border-radius: var(--r); background: var(--ink-800); color: #c9d6e2; font-size: .88rem; }
.svc-nav-help a { color: #fff; font-weight: 800; font-size: 1.1rem; text-decoration: none; display: block; margin-top: 4px; }
@media (max-width: 991.98px) {
  .svc-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 8px; }
  .svc-nav::-webkit-scrollbar { display: none; }
  .svc-nav .nav-link { flex: 0 0 auto; width: auto; padding: 8px 14px 8px 8px; }
  .svc-nav .nav-link small { display: none; }
  .svc-nav-help { display: none; }
}
.svc-intro { display: grid; grid-template-columns: 1fr 260px; gap: 30px; align-items: center; margin-bottom: 30px; }
.svc-intro .arch-media { height: 300px; }
@media (max-width: 767.98px) { .svc-intro { grid-template-columns: 1fr; } .svc-intro .arch-media { display: none; } }
.treat-acc .accordion-item { border: 1px solid var(--line-cool); border-radius: var(--r) !important; overflow: hidden; margin-bottom: 12px; background: #fff; }
.treat-acc .accordion-button { font-family: var(--font-body); letter-spacing: 0; padding: 20px 22px; font-weight: 800; color: var(--ink-800); background: #fff; box-shadow: none !important; gap: 14px; font-size: 1.05rem; }
.treat-acc .accordion-button small { display: block; font-weight: 600; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.treat-acc .accordion-button .n { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--sun-600); font-size: 1.1rem; min-width: 26px; }
.treat-acc .accordion-button:not(.collapsed) { background: var(--teal-50); }
.treat-acc .accordion-button::after { background-image: none; content: "\F4FE"; font-family: "bootstrap-icons"; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink-800); transition: transform .3s; }
.treat-acc .accordion-button:not(.collapsed)::after { transform: rotate(45deg); background: var(--teal-700); color: #fff; }
.treat-acc .accordion-body { padding: 4px 22px 22px 62px; color: var(--muted); }
.treat-acc .accordion-body .btn { margin-top: 6px; }
@media (max-width: 575.98px) { .treat-acc .accordion-body { padding-left: 22px; } }

/* --------------------------------------------------------------------------
   FAQ accordion (generic)
   -------------------------------------------------------------------------- */
.faq .accordion-item { border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.faq .accordion-button { background: transparent; box-shadow: none !important; padding: 22px 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-800); font-weight: 500; }
.faq .accordion-button:not(.collapsed) { color: var(--teal-700); }
.faq .accordion-button::after { background-image: none; content: "\F4FE"; font-family: "bootstrap-icons"; font-size: 1.2rem; transition: transform .3s; width: auto; height: auto; }
.faq .accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.faq .accordion-body { padding: 0 40px 24px 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card { background: #fff; border-radius: 32px; padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); border: 1px solid var(--line-cool); }
.form-label { font-weight: 700; font-size: .88rem; color: var(--ink-800); margin-bottom: 6px; }
.form-label .req { color: var(--danger); }
.form-control, .form-select {
  border: 1.5px solid var(--line-cool); border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .98rem;
  color: var(--text); background-color: #fcfdfe; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form-control::placeholder { color: #9aa7b3; }
.form-control:focus, .form-select:focus { border-color: var(--teal-600); box-shadow: 0 0 0 4px var(--teal-100); background-color: #fff; }
.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated .form-select:invalid { border-color: var(--danger); background-image: none; }
.was-validated .form-control:valid, .was-validated .form-select:valid { border-color: var(--line-cool); background-image: none; }
.invalid-feedback { font-weight: 600; font-size: .82rem; color: var(--danger); }
.form-text { color: var(--muted); font-size: .8rem; }
.form-check-input:checked { background-color: var(--teal-700); border-color: var(--teal-700); }
.form-check-input:focus { box-shadow: 0 0 0 4px var(--teal-100); border-color: var(--teal-600); }
.form-check-label { font-size: .92rem; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-cool); cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--ink-800); background: #fcfdfe; transition: all .2s; height: 100%; }
.choice label i { color: var(--teal-600); font-size: 1.1rem; }
.choice input:checked + label { border-color: var(--teal-700); background: var(--teal-50); box-shadow: 0 0 0 3px var(--teal-100); }
.choice input:focus-visible + label { outline: 3px solid var(--sun-500); outline-offset: 2px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: .8rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.form-privacy i { color: var(--teal-600); }
.form-step-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--ink-800); margin: 8px 0 16px; }
.form-step-title span { width: 28px; height: 28px; border-radius: 50%; background: var(--ink-800); color: #fff; display: grid; place-items: center; letter-spacing: 0; font-size: .8rem; }
.form-step-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-submit .spinner-border { display: none; width: 1rem; height: 1rem; border-width: .15em; }
.btn-submit.is-loading .spinner-border { display: inline-block; }
.btn-submit.is-loading .lbl-idle { display: none; }
.btn-submit .lbl-busy { display: none; }
.btn-submit.is-loading .lbl-busy { display: inline; }

.info-tile { display: flex; gap: 16px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-cool); height: 100%; text-decoration: none; color: var(--text); transition: all .3s var(--ease); }
a.info-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); color: var(--text); }
.info-tile .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.info-tile.is-urgent .ic { background: #fdeae5; color: var(--danger); }
.info-tile h3 { font-family: var(--font-body); font-weight: 800; font-size: 1rem; letter-spacing: 0; margin-bottom: 4px; }
.info-tile p { font-size: .88rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   Printable patient forms
   -------------------------------------------------------------------------- */
.print-head { display: none; }
.paper-form { background: #fff; border: 1px solid var(--line-cool); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); margin-bottom: 20px; }
.paper-form header { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.paper-form header .ic { width: 50px; height: 50px; border-radius: 16px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; font-size: 1.3rem; }
.paper-form header p { margin: 0; color: var(--muted); font-size: .9rem; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; margin-bottom: 10px; }
.pf-line { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; padding-top: 30px; border-bottom: 1.5px solid #c9d3dc; }
.pf-line.full { grid-column: 1 / -1; }
.pf-label { font-weight: 800; color: var(--ink-800); margin: 18px 0 10px; font-size: .95rem; }
.pf-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 8px; }
.pf-checks span { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; }
.pf-checks span::before { content: ""; width: 16px; height: 16px; border: 1.5px solid #8a9aab; border-radius: 4px; }
@media (max-width: 575.98px) { .pf-grid { grid-template-columns: 1fr; } }

@media print {
  body.page-forms-print > *:not(main), .page-forms-print main > *:not(.section), .page-forms-print .section .container > *:not(.printable-forms) { display: none !important; }
  .print-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; font-size: 12px; }
  .paper-form { border: 0; padding: 0; page-break-after: always; break-after: page; }
  .paper-form:last-child { page-break-after: auto; }
  .print-single .paper-form:not(.is-printing) { display: none !important; }
  .no-print { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   Thank you / 404
   -------------------------------------------------------------------------- */
.ty-wrap { min-height: 70vh; display: flex; align-items: center; }
.ty-check { display: block; width: 110px; height: 110px; margin: 0 auto 28px; }
.ty-check circle { stroke: var(--teal-200); stroke-width: 3; fill: var(--teal-50); }
.ty-check path { stroke: var(--teal-700); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ty-next { counter-reset: n; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; text-align: left; }
.ty-next li { counter-increment: n; display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-cool); }
.ty-next li::before { content: counter(n); width: 34px; height: 34px; border-radius: 50%; background: var(--sun-100); color: var(--sun-600); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.ty-next strong { display: block; color: var(--ink-800); }
.ty-next span { color: var(--muted); font-size: .92rem; }
.err-code { font-family: var(--font-display); font-size: clamp(7rem, 5rem + 10vw, 13rem); line-height: .9; color: var(--ink-800); letter-spacing: -.04em; }
.err-code em { color: var(--teal-700); }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.legal .prose h2 { font-size: 1.5rem; padding-top: .4em; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink-900); color: #a9bacb; padding-top: clamp(64px, 7vw, 96px); position: relative; overflow: hidden; font-size: .94rem; }
.site-footer::before { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 520px; border-radius: var(--arch); border: 2px solid rgba(255, 255, 255, .05); transform: rotate(180deg); }
.site-footer h5 { color: #fff; font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer a { color: #d3dee8; text-decoration: none; }
.site-footer a:hover { color: var(--sun-500); }
.site-footer a.btn { color: var(--bs-btn-color); }
.site-footer a.btn:hover { color: var(--bs-btn-hover-color); }
.footer-logo { background: #fff; display: inline-block; padding: 12px 16px; border-radius: var(--r); margin-bottom: 20px; }
.footer-logo img { height: 64px; width: auto; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-hours { width: 100%; }
.footer-hours td { padding: 5px 0; }
.footer-hours td:last-child { text-align: right; color: #fff; font-weight: 600; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; color: #fff; transition: all .2s; }
.socials a:hover { background: var(--sun-500); border-color: var(--sun-500); color: var(--ink-900); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 64px; }
.footer-cta h3 { color: #fff; margin: 0; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); }
.footer-cta h3 em { color: var(--sun-500); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 56px; padding: 22px 0; font-size: .84rem; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Mobile action bar & back to top */
.action-bar { display: none; }
@media (max-width: 767.98px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 1040;
    background: rgba(11, 32, 54, .94); backdrop-filter: blur(10px); padding: 8px; border-radius: var(--r-pill); box-shadow: var(--shadow-lg);
    transform: translateY(120%); transition: transform .4s var(--ease);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: var(--r-pill); font-weight: 800; font-size: .92rem; text-decoration: none; }
  .action-bar .call { color: #fff; }
  .action-bar .book { background: var(--sun-500); color: var(--ink-900); }
  body { padding-bottom: 76px; }
}
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 1035; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink-800); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal-700); }
@media (max-width: 767.98px) { .to-top { display: none; } }

/* Toast */
.toast-lite { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); background: var(--ink-800); color: #fff; padding: 12px 20px; border-radius: var(--r-pill); font-weight: 700; font-size: .9rem; opacity: 0; transition: all .3s var(--ease); z-index: 1200; pointer-events: none; }
.toast-lite.show { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

@media print {
  .topbar, .site-header, .site-footer, .action-bar, .to-top, .read-progress, .toc, .cta-band { display: none !important; }
  body { padding: 0; }
}

/* ---------- Online booking pop-up ---------- */
.book-modal .modal-content { border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
/* The form sits between .modal-content and .modal-body, so it has to pass the scrollable layout through. */
.book-modal form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.book-modal .modal-header { align-items: flex-start; border: 0; padding: 26px 28px 10px; }
.book-modal .modal-title { font-size: 1.6rem; margin: 4px 0 0; }
.book-modal .modal-body { padding: 18px 28px 24px; }
.book-modal .modal-footer { border-top: 1px solid var(--line); padding: 16px 28px; background: var(--cream); }
.book-modal .modal-footer > * { margin: 0; }
.bm-progress { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0 28px 14px; border-bottom: 1px solid var(--line); }
.bm-progress li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line-cool); }
.bm-progress li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; background: var(--line-cool); color: var(--ink-700); flex: none; }
.bm-progress li.is-active { color: var(--ink-800); border-top-color: var(--teal-700); }
.bm-progress li.is-active span { background: var(--teal-700); color: #fff; }
.bm-progress li.is-done { border-top-color: var(--teal-200); }
.bm-progress li.is-done span { background: var(--teal-100); color: var(--teal-800); }
.bm-heading { font-family: var(--font-body); font-size: 1rem; font-weight: 800; color: var(--ink-800); margin-bottom: 14px; }
.bm-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.bm-slots .choice label { justify-content: center; padding: 10px 8px; }
.bm-slots .form-text { grid-column: 1 / -1; }
.bm-summary { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 22px; padding: 18px 20px; background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--r); font-size: .92rem; }
.bm-summary dt { color: var(--muted); font-weight: 600; }
.bm-summary dd { margin: 0; color: var(--ink-800); font-weight: 700; }
@media (max-width: 575.98px) {
  .book-modal .modal-header, .book-modal .modal-body, .book-modal .modal-footer { padding-left: 18px; padding-right: 18px; }
  .bm-progress { padding: 0 18px 12px; }
  .bm-progress li { font-size: 0; gap: 0; }
  .bm-summary { grid-template-columns: 1fr; gap: 2px; }
  .bm-summary dd { margin-bottom: 8px; }
}
