/* ==========================================================================
   Fitchburg Dental Associates — Global Stylesheet
   Design system inherited from the reference theme (DM Sans + Manrope),
   colors derived from the Fitchburg Dental logo (olive + slate teal).
   ========================================================================== */

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
  --brand: #316073;
  --brand-dark: #24495A;
  --brand-deep: #183441;
  --brand-mid: #4C7F93;
  --brand-light: #E4EEF1;
  --brand-50: #F2F7F8;
  --olive: #838310;
  --olive-text: #63650F;
  --olive-dark: #4F510C;
  --olive-light: #F4F5E6;
  --navy: #15303A;
  --slate: #4A5B62;
  --slate-light: #5B6C73;
  --bd: #DCE5E8;
  --bd-light: #E8EEF0;
  --bg: #F2F7F8;
  --base: #FBFCFC;
  --ok: #2F7A5C;
  --danger: #B42318;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 3px rgba(21, 48, 58, 0.06);
  --shadow-md: 0 10px 28px -8px rgba(21, 48, 58, 0.16);
  --shadow-lg: 0 22px 48px -12px rgba(21, 48, 58, 0.22);

  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 84px;
  --fs-scale: 1;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
html {
  scroll-behavior: smooth;
  font-size: calc(16px * var(--fs-scale));
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.65;
  background: var(--base);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-size: 1.2rem; }

a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-dark); }

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

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

::selection { background: var(--brand); color: #fff; }

/* Skip-link target receives programmatic focus; no outline around the whole page */
main:focus { outline: none; }

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:hover, .skip-link:focus { color: #fff; }

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.w { width: min(1240px, 92%); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-sm { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.tint { background: var(--bg); }
.olive-tint { background: var(--olive-light); }

.lead {
  font-size: 1.125rem;
  font-weight: 400;
  max-width: 62ch;
  margin-top: 1rem;
  color: var(--slate);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--olive-text);
  margin-bottom: .75rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--olive);
  border-radius: 2px;
}
.eyebrow.light { color: #E6E8B8; }
.eyebrow.light::before { background: #C9CB5A; }

.section-head { max-width: 760px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center .eyebrow::after {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--olive);
  border-radius: 2px;
}

.text-highlight {
  background: linear-gradient(135deg, var(--brand) 0%, var(--olive) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-fd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font: 600 1rem var(--font-body);
  border: 2px solid var(--brand);
  cursor: pointer;
  text-align: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn-fd:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(49, 96, 115, .55);
}
.btn-fd .bi-arrow-right { transition: transform .2s ease; }
.btn-fd:hover .bi-arrow-right { transform: translateX(3px); }

.btn-fd.olive { background: var(--olive-text); border-color: var(--olive-text); }
.btn-fd.olive:hover { background: var(--olive-dark); border-color: var(--olive-dark); box-shadow: 0 10px 24px -8px rgba(99, 101, 15, .5); }

.btn-fd.ghost { background: transparent; color: var(--brand); }
.btn-fd.ghost:hover { background: var(--brand-light); color: var(--brand-dark); box-shadow: none; }

.btn-fd.white { background: #fff; color: var(--brand-dark); border-color: #fff; }
.btn-fd.white:hover { background: var(--brand-light); border-color: var(--brand-light); color: var(--brand-deep); }

.btn-fd.glass {
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .45);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn-fd.glass:hover { background: rgba(255, 255, 255, .24); border-color: #fff; color: #fff; }

.btn-fd.sm { min-height: 44px; padding: 0 1.15rem; font-size: .95rem; border-radius: 10px; }
.btn-fd.block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  color: var(--brand);
}
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* ==========================================================================
   Top Bar
   ========================================================================== */
.topbar {
  background: var(--brand-deep);
  color: #DCE7EB;
  font-size: .88rem;
}
.topbar .w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; }
.topbar a:hover { color: #E6E8B8; }
.topbar .tb-group { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .tb-item i { color: #C9CB5A; }
.topbar .walkin {
  background: var(--olive-text);
  color: #fff;
  padding: .15rem .6rem;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(251, 252, 252, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bd);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -10px rgba(21, 48, 58, .22); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand-logo img { height: 58px; width: auto; }

.main-nav { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav > li { position: relative; }
.main-nav > li > a,
.main-nav > li > button {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
  padding: .6rem .75rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: .98rem;
  color: var(--navy);
  background: none;
  border: 0;
}
.main-nav > li > a:hover,
.main-nav > li > button:hover,
.main-nav > li > a.active,
.main-nav > li > button.active { color: var(--brand); background: var(--brand-50); }
.main-nav > li > a.active,
.main-nav > li > button.active { font-weight: 600; }
.main-nav .bi-chevron-down { font-size: .7rem; transition: transform .2s ease; }
.main-nav .dropdown.show .bi-chevron-down,
.main-nav .has-sub:hover .bi-chevron-down { transform: rotate(180deg); }

.main-nav .dropdown-menu {
  border: 1px solid var(--bd);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  min-width: 250px;
  margin-top: .4rem !important;
}
.main-nav .dropdown-item {
  border-radius: 8px;
  padding: .55rem .8rem;
  font-size: .95rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.main-nav .dropdown-item i { color: var(--olive-text); width: 18px; }
.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus,
.main-nav .dropdown-item.active { background: var(--brand-light); color: var(--brand-dark); }
.main-nav .dropdown-divider { border-color: var(--bd-light); }

.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: var(--navy);
}
.nav-tel .ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--olive-light);
  color: var(--olive-text);
}
.nav-tel small { display: block; font-size: .72rem; font-weight: 500; color: var(--slate-light); line-height: 1.1; }
.nav-tel, .nav-actions .btn-fd { white-space: nowrap; }
@media (max-width: 1439.98px) { .nav-actions .nav-tel { display: none; } }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--bd);
  background: #fff;
  color: var(--navy);
  font-size: 1.5rem;
  align-items: center;
  justify-content: center;
}

/* Offcanvas mobile menu */
.offcanvas.mobile-menu { width: min(360px, 88vw); }
.mobile-menu .offcanvas-header { border-bottom: 1px solid var(--bd); }
.mobile-menu .offcanvas-header img { height: 46px; }
.mobile-menu .m-nav { list-style: none; padding: 0; margin: 0; }
.mobile-menu .m-nav a,
.mobile-menu .m-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .85rem .4rem;
  font-weight: 600;
  color: var(--navy);
  border: 0;
  border-bottom: 1px solid var(--bd-light);
  background: none;
  text-align: left;
}
.mobile-menu .m-nav a.active { color: var(--brand); }
.mobile-menu .m-sub { list-style: none; padding: .3rem 0 .6rem .8rem; margin: 0; }
.mobile-menu .m-sub a { font-weight: 500; border-bottom: 0; padding: .5rem .4rem; color: var(--slate); }
.mobile-menu .m-cta { display: grid; gap: .7rem; margin-top: 1.5rem; }

@media (max-width: 1199.98px) {
  .main-nav, .nav-actions .nav-tel, .nav-actions .btn-fd { display: none !important; }
  .nav-toggle { display: inline-flex; }
  .brand-logo img { height: 50px; }
  :root { --header-h: 74px; }
}

/* ==========================================================================
   Home Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(calc(100vh - var(--header-h) - 42px), 760px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 9vh, 7rem) 0;
  overflow: hidden;
  background: var(--brand-deep);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 36, 44, .9) 0%, rgba(16, 36, 44, .74) 42%, rgba(16, 36, 44, .32) 78%, rgba(16, 36, 44, .2) 100%),
    linear-gradient(180deg, rgba(16, 36, 44, .25) 0%, transparent 40%, rgba(16, 36, 44, .55) 100%);
}
.hero-content { max-width: 690px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(244, 245, 230, .14);
  border: 1px solid rgba(244, 245, 230, .35);
  color: #F4F5E6;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #B9D25C;
  box-shadow: 0 0 0 3px rgba(185, 210, 92, .3);
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: .7; } }

.hero h1 { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .3); margin: 0; }
.hero h1 .hl {
  background: linear-gradient(135deg, #D9DC7A 0%, #F4F5E6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: rgba(242, 247, 248, .93);
  max-width: 56ch;
  margin: 1.2rem 0 .8rem;
}
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #E6E8B8;
  font-weight: 600;
  margin-bottom: 1.8rem;
}
.acts { display: flex; gap: .85rem; flex-wrap: wrap; align-items: center; }

.trust {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  flex-wrap: wrap;
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .9rem;
  color: rgba(228, 238, 241, .9);
}
.trust-item { display: flex; flex-direction: column; gap: .15rem; }
.trust b { font-family: var(--font-head); font-size: 1.2rem; color: #fff; display: inline-flex; align-items: center; gap: .45rem; }
.trust b i { color: #D9DC7A; }
.trust-divider { width: 1px; height: 34px; background: rgba(255, 255, 255, .22); }

/* ==========================================================================
   Page Hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  color: #fff;
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3.5rem, 5vw, 4.8rem);
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark) 50%, var(--brand) 100%);
  isolation: isolate;
}
.page-hero .ph-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(24, 52, 65, .95) 0%, rgba(24, 52, 65, .84) 50%, rgba(36, 73, 90, .6) 100%),
    radial-gradient(circle at 12% 85%, rgba(131, 131, 16, .3), transparent 50%);
}
.page-hero .hero-inner { max-width: 820px; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero .lead { color: #D8E6EA; font-size: clamp(1.08rem, 1.8vw, 1.25rem); margin-top: 0; }
.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-badge-tag { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-size: .93rem; font-weight: 500; }
.hero-badge-tag i { color: #D9DC7A; font-size: 1.05rem; }

/* Breadcrumbs */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  font-size: .9rem;
  color: #C5D7DD;
}
.crumbs a { color: #fff; font-weight: 500; }
.crumbs a:hover { color: #E6E8B8; text-decoration: underline; }
.crumbs i { font-size: .7rem; opacity: .7; }
.crumbs [aria-current] { color: #E6E8B8; font-weight: 600; }

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.card-fd {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-fd:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(49, 96, 115, .3); }

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.icon-badge.olive { background: var(--olive-light); color: var(--olive-text); }

/* Insurance logos */
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.logo-tile {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 1rem;
  display: grid;
  place-items: center;
  height: 120px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.logo-tile:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.logo-tile img { max-height: 76px; width: auto; object-fit: contain; }
@media (max-width: 991.98px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } .logo-tile { height: 100px; } }

/* Offers */
.offer-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bd);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.offer-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.offer-feature img { aspect-ratio: auto; height: 100%; }
.fine-print { font-size: .82rem; color: var(--slate-light); margin-top: 1.2rem; }

/* Financing */
.finance-box {
  background: linear-gradient(135deg, var(--olive-light) 0%, #fff 100%);
  border: 1px solid #E3E5C3;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
}
.finance-logos { display: flex; flex-wrap: wrap; gap: 1rem; }
.finance-logos a {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 14px;
  padding: 1rem 1.6rem;
  display: grid;
  place-items: center;
  height: 92px;
  min-width: 180px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.finance-logos a:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.finance-logos img { max-height: 54px; width: auto; }

/* Services cards */
.service-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(49, 96, 115, .35); }
.service-card .card-img-wrap { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-50); }
.service-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .card-img-wrap img { transform: scale(1.06); }
.cat-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(21, 48, 58, .86);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}
.service-card .card-content { padding: 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.service-card h3 { font-size: 1.22rem; margin-bottom: .6rem; }
.service-card h3 a { color: var(--navy); }
.service-card h3 a:hover { color: var(--brand); }
.service-card h3 a::after { content: ''; position: absolute; inset: 0; }
.service-card { position: relative; }
.service-card p { font-size: .95rem; margin-bottom: 1.3rem; flex-grow: 1; }
.service-card .card-action { padding-top: 1rem; border-top: 1px solid var(--bd-light); }

/* Filter bar */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--bd);
  padding: 1.1rem 0;
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .03);
}
.filter-bar .w { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-btn {
  background: var(--bg);
  border: 1px solid var(--bd);
  color: var(--navy);
  padding: .5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--brand); background: var(--brand-light); }
.filter-btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.search-field { position: relative; min-width: 260px; }
.search-field input {
  width: 100%;
  padding: .6rem 1rem .6rem 2.5rem;
  border: 1px solid var(--bd);
  border-radius: var(--radius-full);
  font-size: .95rem;
  color: var(--navy);
}
.search-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(49, 96, 115, .18); }
.search-field i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--slate-light); }
.no-results { display: none; text-align: center; padding: 3rem 1rem; color: var(--slate-light); }
.no-results.show { display: block; }

/* Why choose us */
.why-card { position: relative; padding-top: 2rem; }
.why-card .num {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--brand-light);
  line-height: 1;
}
.why-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.why-card p { font-size: .97rem; margin: 0; }

/* About split */
.split-img { position: relative; }
.split-img img.main { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-img .float-card {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--bd);
  border-radius: 14px;
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  box-shadow: var(--shadow-md);
  animation: floatBadge 4s ease-in-out infinite;
}
.split-img .float-card i { font-size: 1.5rem; color: var(--olive-text); }
.split-img .float-card strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.split-img .float-card span { font-size: .8rem; color: var(--slate-light); }
@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (max-width: 767.98px) { .split-img .float-card { left: 10px; bottom: 12px; } }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list i { color: var(--olive-text); font-size: 1.15rem; margin-top: .1rem; flex-shrink: 0; }

/* Doctors */
.doc-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.doc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.doc-card .doc-img { background: linear-gradient(180deg, var(--brand-light), var(--olive-light)); aspect-ratio: 1 / 1; overflow: hidden; }
.doc-card .doc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doc-card .doc-body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex-grow: 1; }
.doc-card h3 { margin-bottom: .2rem; }
.doc-role { color: var(--olive-text); font-weight: 600; font-size: .95rem; margin-bottom: .9rem; display: inline-flex; gap: .4rem; align-items: center; }
.doc-card p { font-size: .97rem; flex-grow: 1; }

.doc-profile {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.doc-profile + .doc-profile { margin-top: 2.5rem; }
.doc-profile.reverse { grid-template-columns: 1fr 380px; }
.doc-profile.reverse .doc-photo { order: 2; }
.doc-photo { position: relative; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, var(--brand-light), var(--olive-light)); }
.doc-photo img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: top center; }
.doc-photo .exp-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-full);
  padding: .35rem .85rem;
  font-size: .78rem;
  font-weight: 600;
  display: inline-flex;
  gap: .4rem;
  align-items: center;
}
.doc-photo .exp-pill i { color: #D9DC7A; }
.doc-info h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.doc-info p { font-size: 1.03rem; line-height: 1.8; }
.cred-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 1.4rem; }
.cred-row span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--brand-50);
  border: 1px solid var(--bd);
  color: var(--navy);
  font-size: .86rem;
  font-weight: 600;
  padding: .4rem .85rem;
  border-radius: var(--radius-full);
}
.cred-row i { color: var(--brand); }
@media (max-width: 991.98px) {
  .doc-profile, .doc-profile.reverse { grid-template-columns: 1fr; }
  .doc-profile.reverse .doc-photo { order: 0; }
  .doc-photo { max-width: 420px; }
}

/* Video */
.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.video-poster::after { content: ''; position: absolute; inset: 0; background: rgba(21, 48, 58, .45); }
.video-poster .play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, .22);
  transition: transform .2s ease;
}
.video-poster:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video-poster .vlabel {
  position: absolute;
  z-index: 2;
  left: 1.2rem;
  bottom: 1rem;
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
}

/* Emergency banner */
.emerg {
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.emerg .em-bg { position: absolute; inset: 0; z-index: -2; }
.emerg .em-bg img { width: 100%; height: 100%; object-fit: cover; }
.emerg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(79, 81, 12, .94) 0%, rgba(79, 81, 12, .82) 45%, rgba(24, 52, 65, .55) 100%);
}
.emerg h2 { color: #fff; }
.emerg p { color: #F1F2DC; font-size: 1.15rem; max-width: 54ch; }

/* CTA box */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark) 55%, var(--brand) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.2rem;
  border-radius: 32px;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 25%, rgba(131, 131, 16, .35), transparent 55%), radial-gradient(circle at 90% 90%, rgba(255, 255, 255, .08), transparent 45%);
  pointer-events: none;
}
.cta-section > * { position: relative; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: #D4E3E8; font-size: 1.12rem; max-width: 60ch; margin: 0 auto 2rem; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Affiliations */
.aff-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.2rem; }
.aff-row .logo-tile { width: 220px; height: 130px; }
.aff-row .logo-tile img { max-height: 96px; }

/* Location & booking */
.info-tiles { display: grid; gap: 1rem; }
.info-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
}
.info-tile .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.info-tile h3 { font-size: 1.02rem; margin: 0 0 .2rem; }
.info-tile p { margin: 0; font-size: .96rem; }
.info-tile a { font-weight: 600; }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bd);
  box-shadow: var(--shadow-md);
  min-height: 380px;
  height: 100%;
  background: var(--bg);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

.book {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark) 60%, var(--brand) 100%);
  color: #D4E3E8;
  position: relative;
  overflow: hidden;
}
.book::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 8% 90%, rgba(131, 131, 16, .32), transparent 45%);
  pointer-events: none;
}
.book .w { position: relative; }
.book h2 { color: #fff; }
.book .lead { color: #D4E3E8; }
.book-points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.book-points li { display: flex; gap: .9rem; align-items: center; }
.book-points .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #D9DC7A;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.book-points a { color: #fff; font-weight: 700; }
.book-points a:hover { color: #E6E8B8; }
.book-points small { display: block; color: #AFC6CE; font-size: .8rem; }
.book-points strong { color: #fff; }

/* Forms */
.form-card {
  background: #fff;
  border-radius: 22px;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-lg);
  color: var(--slate);
}
.form-card h3 { margin-bottom: .3rem; }
.form-card .form-sub { font-size: .93rem; margin-bottom: 1.4rem; }
.form-label { font-weight: 600; font-size: .93rem; color: var(--navy); margin-bottom: .35rem; }
.form-label .req { color: var(--danger); }
.form-control, .form-select {
  font: inherit;
  color: var(--navy);
  padding: .75rem 1rem;
  border: 1px solid #C9D6DA;
  border-radius: 10px;
  min-height: 50px;
}
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .22rem rgba(49, 96, 115, .2); }
.form-control::placeholder { color: #66777E; opacity: 1; }
.form-check-input { width: 1.2em; height: 1.2em; margin-top: .2em; border-color: #9FB2B8; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { box-shadow: 0 0 0 .22rem rgba(49, 96, 115, .2); border-color: var(--brand); }
.form-check-label { font-size: .86rem; line-height: 1.5; color: var(--slate); }
.form-check-label a { font-weight: 600; text-decoration: underline; }
.invalid-feedback { font-size: .82rem; color: var(--danger); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--danger); }
.form-check-input.is-invalid { border-color: var(--danger); }
.hipaa-note {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  background: var(--olive-light);
  border: 1px solid #E3E5C3;
  border-radius: 10px;
  padding: .75rem .9rem;
  font-size: .83rem;
  color: #4B4D10;
  line-height: 1.5;
}
.hipaa-note i { color: var(--olive-text); font-size: 1rem; margin-top: .05rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .9rem; margin-top: .6rem; }
.form-status.error { color: var(--danger); }

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 14px;
  margin-bottom: .8rem;
  overflow: hidden;
}
.faq-item .accordion-button {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  background: #fff;
  padding: 1.1rem 1.3rem;
  box-shadow: none;
}
.faq-item .accordion-button:not(.collapsed) { color: var(--brand); background: var(--brand-50); }
.faq-item .accordion-button:focus { box-shadow: inset 0 0 0 3px rgba(131, 131, 16, .5); }
.faq-item .accordion-body { padding: .2rem 1.3rem 1.2rem; }

/* ==========================================================================
   Service detail & article layouts
   ========================================================================== */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 991.98px) { .detail-grid { grid-template-columns: 1fr; } }

.detail-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.2rem;
  background: var(--brand-50);
}
.detail-hero-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.prose { font-size: 1.05rem; line-height: 1.82; color: #3E5057; }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  margin: 2.6rem 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--brand-light);
}
.prose h3 { font-size: clamp(1.15rem, 1.8vw, 1.32rem); margin: 1.9rem 0 .7rem; color: var(--brand-dark); }
.prose h4 { font-size: 1.08rem; margin: 1.5rem 0 .5rem; }
.prose p { margin-bottom: 1.15rem; }
.prose strong { color: var(--navy); }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.4rem; list-style: none; }
.prose li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.prose ul > li::before {
  content: '';
  position: absolute;
  left: .2rem;
  top: .62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 4px var(--olive-light);
}
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; }
.prose ol > li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: .15em;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: .8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.2rem; color: #D4E3E8; font-size: .93rem; }
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta i { color: #D9DC7A; }

.author-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--brand-50);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}
.author-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.author-card strong { display: block; color: var(--navy); }
.author-card span { font-size: .86rem; color: var(--slate-light); }

.inline-cta {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem;
  margin-top: 2.8rem;
  color: #D4E3E8;
}
.inline-cta h2, .inline-cta h3 { color: #fff; margin-bottom: .5rem; font-size: 1.4rem; border: 0; padding: 0; }
.inline-cta p { margin-bottom: 1.3rem; }
.inline-cta .acts .btn-fd { min-height: 48px; }

.med-disclaimer {
  display: flex;
  gap: .8rem;
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--olive);
  background: var(--olive-light);
  border-radius: 0 12px 12px 0;
  font-size: .88rem;
  color: #4B4D10;
}
.med-disclaimer i { color: var(--olive-text); font-size: 1.1rem; }
.med-disclaimer a { font-weight: 600; text-decoration: underline; color: var(--olive-dark); }

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 1.5rem; }
@media (max-width: 991.98px) { .sidebar { position: static; } }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h2, .sidebar-card h3 {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1rem;
  padding-bottom: .7rem;
  border-bottom: 2px solid var(--brand-light);
}
.sidebar-card.primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--brand-dark) 100%);
  color: #D4E3E8;
  border: 0;
  box-shadow: var(--shadow-md);
}
.sidebar-card.primary h2, .sidebar-card.primary h3 { color: #fff; text-transform: none; letter-spacing: 0; font-size: 1.3rem; border-color: rgba(255, 255, 255, .15); }
.sidebar-card.primary p { font-size: .95rem; }
.sidebar-phone { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.25rem; font-weight: 700; color: #E6E8B8; margin: .3rem 0 1.2rem; font-family: var(--font-head); }
.sidebar-phone:hover { color: #fff; }
.sidebar-hours { list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: .9rem; }
.sidebar-hours li { display: flex; justify-content: space-between; padding: .35rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .15); }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .6rem .85rem;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 500;
  font-size: .94rem;
  background: var(--bg);
  border: 1px solid var(--bd-light);
  transition: all .2s ease;
}
.side-list a:hover { background: var(--brand-light); border-color: var(--brand); color: var(--brand-dark); transform: translateX(3px); }
.side-list a[aria-current="page"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.side-list i { font-size: .85rem; }
.toc-list { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc-list li { counter-increment: toc; }
.toc-list a {
  display: flex;
  gap: .55rem;
  padding: .45rem .6rem;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--slate);
  line-height: 1.4;
}
.toc-list a::before { content: counter(toc, decimal-leading-zero); color: var(--olive-text); font-weight: 700; flex-shrink: 0; }
.toc-list a:hover, .toc-list a.active { background: var(--brand-50); color: var(--brand-dark); }
.related-post { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--bd-light); color: inherit; }
.related-post:last-child { border-bottom: 0; }
.related-post img { width: 76px; height: 58px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.related-post strong { font-size: .86rem; color: var(--navy); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-post span { font-size: .75rem; color: var(--slate-light); }
.related-post:hover strong { color: var(--brand); }

/* Blog cards */
.bp-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(21, 48, 58, .06);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bp-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(21, 48, 58, .13); border-color: rgba(49, 96, 115, .3); color: inherit; }
.bp-card-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); }
.bp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bp-card:hover .bp-card-img img { transform: scale(1.05); }
.bp-badge {
  position: absolute;
  top: .8rem;
  left: .8rem;
  background: var(--brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 30px;
}
.bp-badge.featured { background: var(--olive-text); }
.bp-card-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.bp-date { font-size: .8rem; color: var(--slate-light); display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .5rem; }
.bp-card-body h3 { font-size: 1.1rem; line-height: 1.38; margin-bottom: .6rem; transition: color .2s ease; }
.bp-card:hover h3 { color: var(--brand); }
.bp-card-body p { font-size: .93rem; margin-bottom: 1.2rem; flex: 1; }
.bp-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: .9rem; border-top: 1px solid var(--bd-light); }
.bp-author { display: flex; align-items: center; gap: .6rem; }
.bp-author img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--brand-light); }
.bp-author strong { display: block; font-size: .82rem; color: var(--navy); line-height: 1.2; }
.bp-author span { font-size: .75rem; color: var(--slate-light); }
.bp-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--bd);
  display: grid;
  place-items: center;
  color: var(--brand);
  transition: all .2s ease;
}
.bp-card:hover .bp-arrow { background: var(--brand); border-color: var(--brand); color: #fff; }

.featured-post { display: grid; grid-template-columns: 1.15fr 1fr; }
.featured-post .bp-card-img { aspect-ratio: auto; min-height: 340px; }
.featured-post .bp-card-body { padding: clamp(1.6rem, 3vw, 2.6rem); justify-content: center; }
.featured-post h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
@media (max-width: 767.98px) { .featured-post { grid-template-columns: 1fr; } .featured-post .bp-card-img { min-height: 220px; aspect-ratio: 16 / 9; } }

/* Reviews */
.review-cta {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.review-cta .platform { display: flex; align-items: center; gap: .8rem; }
.review-cta .platform i { font-size: 2rem; }
.review-cta .platform .bi-google { color: #4285F4; }
.review-cta .platform .bi-facebook { color: #1877F2; }
.stars { color: #C98A06; letter-spacing: 2px; }

/* Testimonials */
.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-full);
  padding: .55rem 1.2rem .55rem .6rem;
  box-shadow: var(--shadow-sm);
}
.rating-summary .g-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-50);
  display: grid;
  place-items: center;
  color: #4285F4;
  font-size: 1.2rem;
}
.rating-summary strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); line-height: 1; }
.rating-summary span { font-size: .9rem; color: var(--slate-light); }
.testi-card { display: flex; flex-direction: column; gap: 1rem; position: relative; }
.testi-card .bi-quote { position: absolute; top: 1rem; right: 1.3rem; font-size: 2.6rem; color: var(--brand-light); line-height: 1; }
.testi-card blockquote { margin: 0; font-size: 1rem; color: var(--slate); flex-grow: 1; }
.testi-card figcaption { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--bd-light); }
.testi-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--olive) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.testi-card .testi-meta { display: flex; flex-direction: column; line-height: 1.35; }
.testi-card .testi-meta strong { color: var(--navy); font-size: .95rem; }
.testi-card .testi-src { font-size: .8rem; color: var(--slate-light); display: inline-flex; align-items: center; gap: .3rem; }

/* Legal pages */
.legal-wrap { max-width: 900px; margin-inline: auto; }
.legal-wrap .prose h2 { font-size: 1.45rem; }
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--brand-50);
  border: 1px solid var(--bd);
  border-radius: var(--radius-full);
  padding: .4rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.6rem;
}
.legal-toc {
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.4rem;
}
.legal-toc h2 { font-size: 1rem !important; margin: 0 0 .7rem !important; border: 0 !important; padding: 0 !important; }
.legal-toc ol { columns: 2; column-gap: 2rem; margin: 0 !important; }
@media (max-width: 575.98px) { .legal-toc ol { columns: 1; } }
.callout {
  background: var(--brand-50);
  border: 1px solid var(--bd);
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.3rem;
  margin: 1.5rem 0;
}
.callout.warn { border-left-color: var(--olive); background: var(--olive-light); }
.table-legal { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: .95rem; }
.table-legal th, .table-legal td { border: 1px solid var(--bd); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.table-legal th { background: var(--brand-50); color: var(--navy); }

/* Thank you */
.ty-wrap { text-align: center; max-width: 720px; margin-inline: auto; }
.ty-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 1.6rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--olive) 100%);
  color: #fff;
  font-size: 3.4rem;
  box-shadow: 0 0 0 14px var(--brand-light), var(--shadow-lg);
  animation: popIn .6s cubic-bezier(.2, 1.4, .4, 1) both;
}
@keyframes popIn { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ty-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.5rem 0; text-align: left; }
@media (max-width: 767.98px) { .ty-steps { grid-template-columns: 1fr; } }
.ty-steps .card-fd { padding: 1.4rem; }
.ty-steps .step-n { font-family: var(--font-head); font-weight: 800; color: var(--olive-text); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.ty-steps h3 { font-size: 1.05rem; margin: .4rem 0; }
.ty-steps p { font-size: .9rem; margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(135deg, var(--navy) 0%, #0F232B 100%);
  color: #B5C8CE;
  padding: 4.5rem 0 0;
  font-size: .95rem;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 3rem;
}
.site-footer h2 { color: #fff; font-size: 1.08rem; margin-bottom: 1.1rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .55rem 0; }
.site-footer a { color: #B5C8CE; display: inline-flex; align-items: center; gap: .45rem; transition: color .2s ease, transform .2s ease; }
.site-footer a:hover { color: #fff; transform: translateX(3px); }
.footer-logo img { height: 68px; width: auto; margin-bottom: 1.2rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact i { color: #D9DC7A; margin-top: .2rem; }
.footer-contact a:hover { transform: none; }
.social-links { display: flex; gap: .7rem; margin-top: 1.4rem; }
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.05rem;
}
.social-links a:hover { background: var(--olive-text); transform: translateY(-3px); }
.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  padding: .4rem .85rem;
  border-radius: var(--radius-full);
  background: rgba(131, 131, 16, .22);
  border: 1px solid rgba(217, 220, 122, .35);
  color: #E6E8B8;
  font-size: .82rem;
  font-weight: 600;
}
.footer-disclaimer {
  margin-top: 3rem;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .82rem;
  line-height: 1.6;
  color: #93AAB1;
}
.footer-disclaimer strong { color: #C9D8DC; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.3rem 0 1.6rem;
  font-size: .86rem;
}
.footer-bottom .w { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 1.5rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }
.legal-links a, .legal-links button { font-size: .86rem; color: #B5C8CE; background: none; border: 0; padding: 0; }
.legal-links a:hover, .legal-links button:hover { color: #fff; text-decoration: underline; transform: none; }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 991.98px) {
  body { padding-bottom: 74px; }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
    background: #fff;
    padding: .7rem 4%;
    border-top: 1px solid var(--bd);
    box-shadow: 0 -6px 20px rgba(21, 48, 58, .08);
  }
  .mobile-bar .btn-fd { min-height: 48px; padding: 0 .5rem; font-size: .95rem; }
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(49, 96, 115, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .3s ease;
  z-index: 1025;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); }
@media (max-width: 991.98px) { .scroll-top { bottom: 90px; right: 16px; } }

/* ==========================================================================
   Accessibility Widget
   ========================================================================== */
.a11y-toggle {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 1040;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--brand-deep);
  color: #fff;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(21, 48, 58, .35);
  transition: transform .2s ease, background .2s ease;
}
.a11y-toggle:hover { transform: scale(1.06); background: var(--brand); }
@media (max-width: 991.98px) { .a11y-toggle { bottom: 90px; left: 14px; width: 50px; height: 50px; font-size: 1.4rem; } }

.a11y-panel {
  position: fixed;
  left: 20px;
  bottom: 92px;
  z-index: 1045;
  width: min(380px, calc(100vw - 28px));
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(21, 48, 58, .3);
  display: none;
}
.a11y-panel.open { display: block; animation: panelIn .22s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 991.98px) { .a11y-panel { left: 14px; bottom: 150px; max-height: calc(100vh - 180px); } }
.a11y-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--brand-deep);
  color: #fff;
  border-radius: 20px 20px 0 0;
  position: sticky;
  top: 0;
  z-index: 1;
}
.a11y-head h2 { color: #fff; font-size: 1.05rem; margin: 0; display: flex; gap: .5rem; align-items: center; }
.a11y-close { background: rgba(255, 255, 255, .14); border: 0; color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; display: grid; place-items: center; }
.a11y-close:hover { background: rgba(255, 255, 255, .28); }
.a11y-body { padding: 1.1rem 1.2rem 1.3rem; }
.a11y-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-light); margin: .4rem 0 .6rem; }
.a11y-size { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: var(--bg); border: 1px solid var(--bd); border-radius: 12px; padding: .5rem; margin-bottom: 1rem; }
.a11y-size button { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--bd); background: #fff; color: var(--navy); font-size: 1.1rem; }
.a11y-size button:hover { border-color: var(--brand); color: var(--brand); }
.a11y-size output { font-weight: 700; color: var(--navy); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.a11y-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 84px;
  padding: .7rem .5rem;
  border-radius: 12px;
  border: 1.5px solid var(--bd);
  background: #fff;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  transition: all .15s ease;
}
.a11y-opt i { font-size: 1.35rem; color: var(--brand); }
.a11y-opt:hover { border-color: var(--brand); background: var(--brand-50); }
.a11y-opt[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.a11y-opt[aria-pressed="true"] i { color: #fff; }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--bd-light); font-size: .82rem; }
.a11y-reset { background: none; border: 1.5px solid var(--bd); border-radius: 10px; padding: .5rem .9rem; font-weight: 600; color: var(--navy); display: inline-flex; gap: .4rem; align-items: center; }
.a11y-reset:hover { border-color: var(--danger); color: var(--danger); }

/* Accessibility modes (applied on <html>) */
html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast body *:not(img):not(video):not(iframe):not(svg):not(path):not(.bi) {
  background-color: #000 !important;
  background-image: none !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #fff !important;
}
html.a11y-contrast a, html.a11y-contrast a * { color: #FFEB3B !important; -webkit-text-fill-color: #FFEB3B !important; }
html.a11y-contrast .btn-fd, html.a11y-contrast button { border: 2px solid #FFEB3B !important; }
html.a11y-contrast .a11y-opt[aria-pressed="true"] { background: #FFEB3B !important; color: #000 !important; -webkit-text-fill-color: #000 !important; }
html.a11y-contrast .a11y-opt[aria-pressed="true"] * { background: #FFEB3B !important; color: #000 !important; }
html.a11y-contrast .hero::after, html.a11y-contrast .page-hero::before, html.a11y-contrast .emerg::before { background: rgba(0, 0, 0, .9) !important; }
html.a11y-grayscale body > *:not(.a11y-panel):not(.a11y-toggle) { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed currentColor; outline-offset: 2px; }
html.a11y-readable body, html.a11y-readable body * { font-family: Verdana, Tahoma, 'Segoe UI', Arial, sans-serif !important; }
html.a11y-readable .bi::before { font-family: bootstrap-icons !important; }
html.a11y-spacing body * { letter-spacing: .12em !important; word-spacing: .16em !important; }
html.a11y-lineheight body * { line-height: 2 !important; }
html.a11y-hideimg img:not(.keep-img), html.a11y-hideimg video, html.a11y-hideimg .hero-bg, html.a11y-hideimg .ph-bg, html.a11y-hideimg .em-bg { visibility: hidden !important; }
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 3l30 18-13 3 8 16-6 3-8-16-11 9z' fill='%23000' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
}
html.a11y-focus *:focus { outline: 4px solid #FF6F00 !important; outline-offset: 3px !important; }
html.a11y-pause *, html.a11y-pause *::before, html.a11y-pause *::after {
  animation-duration: 0s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0s !important;
  scroll-behavior: auto !important;
}
html.a11y-align body p, html.a11y-align body li, html.a11y-align body h1, html.a11y-align body h2, html.a11y-align body h3 { text-align: left !important; }

.reading-guide {
  position: fixed;
  left: 0;
  right: 0;
  height: 14px;
  background: rgba(255, 213, 0, .35);
  border-top: 2px solid #C98A06;
  border-bottom: 2px solid #C98A06;
  pointer-events: none;
  z-index: 9998;
  display: none;
}
html.a11y-guide .reading-guide { display: block; }

/* ==========================================================================
   Cookie Consent
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(20px);
  width: min(1040px, calc(100vw - 28px));
  z-index: 1050;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(21, 48, 58, .28);
  padding: 1.3rem 1.5rem;
  display: none;
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
}
.cookie-banner.show { display: block; opacity: 1; transform: translateX(-50%) translateY(0); }
.cookie-banner .cb-inner { display: flex; gap: 1.3rem; align-items: center; }
.cookie-banner .cb-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--olive-light); color: var(--olive-text); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.cookie-banner h2 { font-size: 1.05rem; margin: 0 0 .25rem; }
.cookie-banner p { font-size: .88rem; margin: 0; }
.cookie-banner p a { font-weight: 600; text-decoration: underline; }
.cookie-banner .cb-actions { display: flex; gap: .6rem; flex-wrap: wrap; flex-shrink: 0; }
.cookie-banner .btn-fd { min-height: 44px; padding: 0 1.1rem; font-size: .9rem; }
@media (max-width: 991.98px) {
  .cookie-banner { bottom: 84px; }
  .cookie-banner .cb-inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner .cb-icon { display: none; }
  .cookie-banner .cb-actions { width: 100%; }
  .cookie-banner .cb-actions .btn-fd { flex: 1 1 auto; }
}
.consent-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--bd-light);
}
.consent-row:last-child { border-bottom: 0; }
.consent-row h3 { font-size: 1rem; margin: 0 0 .2rem; }
.consent-row p { font-size: .87rem; margin: 0; }
.consent-row .form-switch .form-check-input { width: 2.8em; height: 1.45em; }
.modal-content { border-radius: 20px; border: 0; }
.modal-header { border-bottom: 1px solid var(--bd-light); }
.modal-footer { border-top: 1px solid var(--bd-light); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

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

/* Include placeholders keep layout stable while header/footer load */
#site-header:empty { min-height: calc(var(--header-h) + 42px); }

@media print {
  .topbar, .site-header, .site-footer, .mobile-bar, .scroll-top, .a11y-toggle, .a11y-panel, .cookie-banner, .book { display: none !important; }
  body { padding: 0; }
}

/* ==========================================================================
   WordPress additions
   ========================================================================== */
/* Keep the sticky header below the admin toolbar for logged-in users */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.admin-bar .offcanvas { top: 32px; }
@media (max-width: 782px) { .admin-bar .offcanvas { top: 46px; } }
/* Images WordPress adds to post/service content */
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose .alignleft { float: left; margin: 0 1.25rem 1rem 0; }
.prose .alignright { float: right; margin: 0 0 1rem 1.25rem; }
.prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.prose .wp-caption-text { font-size: .875rem; color: var(--bs-secondary-color); }
/* Form sent confirmation */
.form-status.success { color: #1d5e36; background: #eaf6ee; border: 1px solid #bfe3cb; border-radius: 10px; padding: .8rem 1rem; font-weight: 600; outline: none; }
.form-status.error:not(:empty) { background: #fdf0f0; border: 1px solid #f3caca; border-radius: 10px; padding: .8rem 1rem; }
