/* ==========================================================================
   State Street Dental - Global Stylesheet
   Design system inherited from the theme (DM Sans + Manrope, rounded cards,
   tinted sections). Palette derived from the State Street Dental logo:
   navy #303983, sky #52AEF9, red #BD1E2C.
   Loaded AFTER Bootstrap 5 so theme rules take precedence.
   ========================================================================== */

/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
  --t9: #1E2463;        /* deep navy (hover / dark surfaces) */
  --t7: #303983;        /* brand navy (primary) */
  --t5: #1D6FC2;        /* accessible link blue (from logo sky) */
  --sky: #52AEF9;       /* logo sky blue (decorative / on dark) */
  --t1: #E8F3FE;        /* light tint */
  --navy: #161B45;      /* headings */
  --slate: #4A5068;     /* body text */
  --bd: #DCE3EF;        /* borders */
  --bg: #F2F6FC;        /* tinted section */
  --base: #FBFCFE;      /* page background */
  --accent: #BD1E2C;    /* logo red */
  --ok: #2F8064;
  --star: #F5A524;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(22, 27, 69, 0.05), 0 2px 8px rgba(22, 27, 69, 0.04);
  --shadow-md: 0 8px 24px -6px rgba(22, 27, 69, 0.12);
  --shadow-lg: 0 18px 40px -12px rgba(22, 27, 69, 0.22);
  --header-h: 84px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.65;
  background: var(--base);
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
  margin: 0;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 650; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0; }

a { color: var(--t5); }
a:hover { color: var(--t7); }

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

:focus-visible {
  outline: 3px solid var(--t5);
  outline-offset: 3px;
}

/* Focus ring must stay visible (3:1) on dark sections */
.topbar :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.emerg :focus-visible,
.book :focus-visible,
.cta-section :focus-visible,
.sidebar-card.primary :focus-visible,
.site-footer :focus-visible,
.a11y-toggle:focus-visible {
  outline-color: #FFD54F;
}

/* Reserve header space while the include loads (prevents layout shift) */
div[data-include="header"] { min-height: calc(var(--header-h) + 41px); }

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
}

/* Skip link */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* ==========================================================================
   Layout & Utility Classes
   ========================================================================== */
.w {
  width: min(1240px, 92%);
  margin-left: auto;
  margin-right: auto;
}

section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.tint { background: var(--bg); }
.bg-white { background: #fff; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-head { margin-bottom: 2.4rem; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

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

/* ==========================================================================
   Buttons & Links (override Bootstrap .btn)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border-radius: 12px;
  background: var(--t7);
  color: #fff;
  font: 600 1rem 'DM Sans', sans-serif;
  text-decoration: none;
  border: 2px solid var(--t7);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn:hover,
.btn:focus-visible {
  background: var(--t9);
  border-color: var(--t9);
  color: #fff;
}
.btn:active { transform: translateY(1px); }
.btn .bi { font-size: 1.05em; line-height: 1; }
.btn .btn-arrow { transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn.btn-primary-grad {
  background: linear-gradient(135deg, var(--t7) 0%, var(--t5) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 22px rgba(48, 57, 131, 0.45);
}
.btn.btn-primary-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(29, 111, 194, 0.5);
}

.btn.ghost {
  background: transparent;
  color: var(--t7);
}
.btn.ghost:hover {
  background: var(--t1);
  border-color: var(--t7);
  color: var(--t7);
}

.btn.white {
  background: #fff;
  color: var(--t9);
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.btn.white:hover { background: var(--t1); border-color: var(--t1); color: var(--t9); }

.btn.glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}
.btn.glass:hover { background: rgba(255, 255, 255, 0.24); border-color: #fff; color: #fff; }

.btn.accent { background: var(--accent); border-color: var(--accent); }
.btn.accent:hover { background: #9B1824; border-color: #9B1824; }

.btn.sm { min-height: 44px; padding: 0 1.1rem; font-size: 0.94rem; border-radius: 10px; }

.link {
  font-weight: 700;
  text-decoration: none;
  color: var(--t7);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.link:hover { color: var(--t9); text-decoration: underline; }
.link .bi { transition: transform 0.2s ease; }
.link:hover .bi { transform: translateX(3px); }

/* ==========================================================================
   Top Bar
   ========================================================================== */
.topbar {
  background: var(--navy);
  color: #DCE5FF;
  font-size: 0.875rem;
}
.topbar .w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--sky); text-decoration: underline; }
.topbar-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar-item .bi { color: var(--sky); }
.topbar-tag {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-full);
}
.topbar-right { display: flex; gap: 1.4rem; align-items: center; }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(251, 252, 254, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bd);
}
/* the include placeholder must not trap the sticky header */
#site-header { display: contents; }

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

.main-nav > ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
.main-nav a,
.main-nav .dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  color: var(--navy);
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover,
.main-nav .dd-toggle:hover { color: var(--t7); background: var(--t1); }
.main-nav a.active,
.main-nav .dd-toggle.active { color: var(--t7); font-weight: 700; }
.main-nav .dd-toggle .bi { font-size: 0.75rem; transition: transform 0.2s ease; }
.main-nav .has-dd { position: relative; }
.main-nav .dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 20;
}
.main-nav .dd-menu a { display: flex; width: 100%; padding: 0.6rem 0.8rem; font-size: 0.95rem; }
.main-nav .has-dd.open .dd-menu,
.main-nav .has-dd:hover .dd-menu,
.main-nav .has-dd:focus-within .dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .has-dd.open .dd-toggle .bi { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.tel {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--t7);
  text-decoration: none;
  white-space: nowrap;
}
.tel:hover { color: var(--t9); text-decoration: underline; }
.tel .bi {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--t1);
}

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

/* ==========================================================================
   Home Hero (background video)
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(calc(100vh - var(--header-h) - 40px), 860px);
  min-height: min(calc(100dvh - var(--header-h) - 40px), 860px);
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 8vh, 6rem) 0;
  overflow: hidden;
  background: var(--navy);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(22, 27, 69, 0.9) 0%, rgba(22, 27, 69, 0.72) 45%, rgba(22, 27, 69, 0.35) 80%, rgba(22, 27, 69, 0.25) 100%),
    linear-gradient(180deg, rgba(22, 27, 69, 0.25) 0%, transparent 40%, rgba(22, 27, 69, 0.6) 100%);
}
.hero .w { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }

.hero-badge,
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(232, 243, 254, 0.14);
  border: 1px solid rgba(232, 243, 254, 0.34);
  color: #E8F3FE;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.15rem;
  backdrop-filter: blur(10px);
}
.badge-pill.light {
  background: rgba(48, 57, 131, 0.07);
  border-color: rgba(48, 57, 131, 0.2);
  color: var(--t7);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.28);
  display: inline-block;
  animation: pulseDot 2s ease infinite;
}
.badge-pill.light .badge-dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(47, 128, 100, 0.2); }
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.75; }
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.4vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}
.hero h1 .text-highlight {
  background: linear-gradient(135deg, var(--sky) 0%, #E8F3FE 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: rgba(241, 246, 255, 0.94);
  max-width: 56ch;
  margin: 1.1rem 0 1.9rem;
}
.acts { display: flex; gap: 0.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, 0.2);
  font-size: 0.9rem;
  color: rgba(232, 243, 254, 0.9);
}
.trust-item { display: flex; flex-direction: column; gap: 0.15rem; }
.trust b {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.trust .stars { color: var(--star); font-size: 0.85rem; letter-spacing: 1px; }
.trust-divider { width: 1px; height: 34px; background: rgba(255, 255, 255, 0.24); }

.media-toggle {
  position: absolute;
  right: clamp(16px, 4vw, 50px);
  bottom: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(22, 27, 69, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.media-toggle:hover { background: rgba(22, 27, 69, 0.9); }

/* ==========================================================================
   Page Hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #12164A 0%, var(--t7) 55%, #2A4FA0 100%);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(82, 174, 249, 0.28), transparent 45%),
    radial-gradient(circle at 8% 85%, rgba(189, 30, 44, 0.16), transparent 50%);
  pointer-events: none;
}
.page-hero .w { position: relative; z-index: 2; }
.page-hero .hero-inner { max-width: 860px; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero .lead { color: #D6E2FF; font-size: clamp(1.08rem, 1.8vw, 1.25rem); margin-top: 0; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.8rem; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 500;
}
.hero-tag .bi { color: var(--sky); font-size: 1.1rem; }

/* Breadcrumbs */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  font-size: 0.9rem;
  color: #C9D6FF;
}
.crumbs a { color: #fff; text-decoration: none; font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .bi { font-size: 0.7rem; opacity: 0.7; }
.crumbs [aria-current] { color: #C9D6FF; }

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.ss-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--t1);
  color: var(--t7);
  font-size: 1.45rem;
  flex-shrink: 0;
}
.icon-box.red { background: #FCE9EB; color: var(--accent); }
.icon-box.green { background: #E4F4EE; color: var(--ok); }

/* Why choose us */
.why-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(48, 57, 131, 0.3); }
.why-card h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.why-card p { font-size: 0.94rem; }

/* Insurance logos */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
}
.logo-tile {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 140px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.logo-tile img { max-height: 80px; width: auto; object-fit: contain; }
.logo-tile span { font-size: 0.85rem; font-weight: 600; color: var(--navy); text-align: center; }
.logo-tile .badge-status {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ok);
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
}

/* Service 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%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(48, 57, 131, 0.35); color: inherit; }
.card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--t1);
}
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .card-img-wrap img { transform: scale(1.06); }
.cat-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(22, 27, 69, 0.86);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}
.card-content { padding: 1.5rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-content h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card-content p { font-size: 0.95rem; margin-bottom: 1.2rem; flex-grow: 1; }
.card-action { padding-top: 1rem; border-top: 1px solid var(--bd); }
.service-cta-link { font-weight: 700; color: var(--t7); display: inline-flex; align-items: center; gap: 0.4rem; }
.service-card:hover .service-cta-link .bi { transform: translateX(4px); }
.service-cta-link .bi { transition: transform 0.2s ease; }

/* Filter bar */
.filter-section {
  background: #fff;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--bd);
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.filter-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-btn {
  background: var(--bg);
  border: 1px solid var(--bd);
  color: var(--navy);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--t7); background: var(--t1); }
.filter-btn.active,
.filter-btn[aria-pressed="true"] { background: var(--t7); border-color: var(--t7); color: #fff; }
.search-box { position: relative; min-width: 280px; }
.search-box .bi { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--slate); }
.search-box input { padding-left: 2.6rem !important; border-radius: var(--radius-full) !important; }
.results-count { font-size: 0.92rem; margin-bottom: 1.5rem; }
.no-results { text-align: center; padding: 3rem 1rem; display: none; }
.no-results .bi { font-size: 2.5rem; color: var(--t5); }

/* ==========================================================================
   Doctor Spotlight / Photo frame
   ========================================================================== */
.photo-frame { position: relative; max-width: 460px; margin: 0 auto; }
.photo-glow {
  position: absolute;
  inset: 5%;
  background: radial-gradient(circle, rgba(82, 174, 249, 0.35) 0%, rgba(232, 243, 254, 0) 70%);
  filter: blur(28px);
  z-index: 0;
}
.photo-wrapper {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(22, 27, 69, 0.2), 0 0 0 1px rgba(220, 227, 239, 0.8);
  background: #fff;
}
.photo-wrapper img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; }
.floating-badge {
  position: absolute;
  bottom: 18px;
  left: -14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--bd);
  border-radius: 14px;
  padding: 0.7rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: var(--shadow-md);
  animation: floatBadge 4s ease-in-out infinite;
}
.floating-badge .icon-box { width: 40px; height: 40px; font-size: 1.15rem; border-radius: 10px; }
.floating-badge strong { display: block; font-family: 'Manrope', sans-serif; font-size: 0.9rem; color: var(--navy); }
.floating-badge span { font-size: 0.78rem; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.exp-pill {
  position: absolute;
  top: 16px;
  right: -10px;
  z-index: 2;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-md);
}
.exp-pill .bi { color: var(--sky); }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.check-list .bi { color: var(--ok); font-size: 1.15rem; line-height: 1.4; flex-shrink: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--t1);
  color: var(--t7);
  border-radius: var(--radius-full);
  padding: 0.38rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.chip.red { background: #FCE9EB; color: var(--accent); }

blockquote.pull {
  font: 650 1.3rem/1.4 'Manrope', sans-serif;
  color: var(--t7);
  margin: 1.4rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

/* Media feature image */
.media-img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--bd);
}

/* Video cards */
.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--bd);
  box-shadow: var(--shadow-sm);
}
.video-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }

/* Offers */
.offer-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--bd);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.offer-card img { width: 100%; height: auto; }
.offer-note { font-size: 0.82rem; margin-top: 1rem; text-align: center; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.review-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 1.7rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.review-card .quote-icon { position: absolute; top: 1.2rem; right: 1.4rem; font-size: 2.2rem; color: var(--t1); }
.review-top { display: flex; align-items: center; gap: 0.7rem; }
.review-top img { width: 28px; height: 28px; object-fit: contain; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 0.95rem; }
.review-card p { flex-grow: 1; color: var(--slate); }
.review-author { display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--bd); }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--t7), var(--t5));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
}
.review-author strong { color: var(--navy); display: block; line-height: 1.2; }
.review-author span { font-size: 0.82rem; }

/* ==========================================================================
   Emergency band / CTA
   ========================================================================== */
.emerg {
  position: relative;
  color: #E3EAFF;
  overflow: hidden;
  background: var(--navy);
}
.emerg-bg { position: absolute; inset: 0; }
.emerg-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.emerg .w { position: relative; z-index: 1; }
.emerg h2 { color: #fff; }
.emerg p { font-size: 1.125rem; max-width: 56ch; margin: 1rem 0 2rem; }

.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--t7) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
  border-radius: 36px;
  margin: clamp(3rem, 6vw, 5rem) auto;
  width: min(1200px, 92%);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(82, 174, 249, 0.3), transparent 60%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; padding: 0 1rem; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: #D6E2FF; font-size: 1.12rem; margin-bottom: 2.2rem; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   Blog Cards
   ========================================================================== */
.bp-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%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.bp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); 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 0.4s ease; }
.bp-card:hover .bp-card-img img { transform: scale(1.04); }
.bp-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--t7);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
}
.bp-card-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.bp-meta { display: flex; gap: 1rem; font-size: 0.8rem; margin-bottom: 0.6rem; color: var(--slate); }
.bp-meta span { display: inline-flex; gap: 0.35rem; align-items: center; }
.bp-card-body h3 { font-size: 1.08rem; line-height: 1.35; margin-bottom: 0.6rem; transition: color 0.2s ease; }
.bp-card:hover h3 { color: var(--t7); }
.bp-card-body p { font-size: 0.92rem; margin-bottom: 1.2rem; flex: 1; }
.bp-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 0.9rem; border-top: 1px solid var(--bd); }
.bp-read { font-weight: 700; color: var(--t7); font-size: 0.9rem; }
.bp-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--bd);
  display: grid;
  place-items: center;
  color: var(--t7);
  transition: all 0.2s ease;
}
.bp-card:hover .bp-arrow { background: var(--t7); border-color: var(--t7); color: #fff; }

/* ==========================================================================
   Service detail / Article layout
   ========================================================================== */
.service-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.45);
  border: 4px solid rgba(255, 255, 255, 0.15);
}
.service-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
}
.pill .bi { color: #7CE0B0; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }

.prose { font-size: 1.06rem; color: #3E4459; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2.4rem; }
.prose h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); margin-top: 2rem; padding-left: 0.9rem; border-left: 4px solid var(--t5); }
.prose h4 { margin-top: 1.6rem; }
/* Headings promoted for correct document outline keep their original look */
.prose h2.as-h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); font-weight: 650; margin-top: 2rem; padding-left: 0.9rem; border-left: 4px solid var(--t5); }
.prose h3.as-h4 { font-size: 1.2rem; font-weight: 600; margin-top: 1.6rem; padding-left: 0; border-left: 0; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.75rem; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 0.65rem; }
.prose ul li { position: relative; padding-left: 1.9rem; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.45em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--t1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23303983'%3E%3Cpath d='M12.7 4.7a1 1 0 0 1 0 1.4l-5.5 5.5a1 1 0 0 1-1.4 0L3.3 9.1a1 1 0 1 1 1.4-1.4l1.8 1.8 4.8-4.8a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.prose ol { counter-reset: step; }
.prose ol li { counter-increment: step; position: relative; padding-left: 2.6rem; }
.prose ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--t7);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}
.prose strong { color: var(--navy); }
.prose a { font-weight: 600; }
.prose img { border-radius: var(--radius-md); margin: 1.5rem auto; }
.prose .video-embed {
  position: relative;
  max-width: 340px;
  margin: 2rem auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.prose .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--bd); padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; }
.prose th { background: var(--bg); color: var(--navy); }

.note-box {
  display: flex;
  gap: 0.9rem;
  background: var(--bg);
  border: 1px solid var(--bd);
  border-left: 4px solid var(--t5);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  font-size: 0.92rem;
  margin-top: 2.5rem;
}
.note-box .bi { color: var(--t5); font-size: 1.3rem; line-height: 1.3; }
.note-box.warn { border-left-color: var(--accent); }
.note-box.warn .bi { color: var(--accent); }

.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.5rem; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card.primary {
  background: linear-gradient(145deg, var(--t7) 0%, var(--navy) 100%);
  color: #D6E2FF;
  border: 0;
}
.sidebar-card.primary h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.6rem; }
.sidebar-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.sidebar-phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font: 700 1.3rem 'Manrope', sans-serif;
  text-decoration: none;
  margin: 1.1rem 0;
}
.sidebar-phone:hover { color: var(--sky); }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li + li { border-top: 1px solid var(--bd); }
.sidebar-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.2rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.sidebar-list a:hover,
.sidebar-list a[aria-current] { color: var(--t7); font-weight: 700; }
.sidebar-list .bi { color: var(--t5); font-size: 0.8rem; }

.toc-list { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: grid; gap: 0.2rem; }
.toc-list a {
  display: flex;
  gap: 0.6rem;
  padding: 0.45rem 0.3rem;
  font-size: 0.9rem;
  color: var(--slate);
  text-decoration: none;
  border-radius: 6px;
}
.toc-list a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  font-weight: 700;
  color: var(--t5);
  font-size: 0.8rem;
  padding-top: 0.12rem;
}
.toc-list a:hover { background: var(--bg); color: var(--t7); }

.related-post { display: flex; gap: 0.8rem; align-items: center; text-decoration: none; padding: 0.5rem 0; }
.related-post img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.related-post strong { font-size: 0.9rem; color: var(--navy); line-height: 1.3; display: block; }
.related-post span { font-size: 0.78rem; color: var(--slate); }
.related-post:hover strong { color: var(--t7); }

.article-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.2rem; color: #D6E2FF; font-size: 0.92rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-meta .bi { color: var(--sky); }
.article-hero-img {
  margin-top: -3rem;
  position: relative;
  z-index: 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.article-hero-img img { width: 100%; max-height: 520px; object-fit: cover; }

/* Share buttons */
.share { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--bd); }
.share a, .share button {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1px solid var(--bd);
  color: var(--t7);
  text-decoration: none;
  cursor: pointer;
}
.share a:hover, .share button:hover { background: var(--t7); color: #fff; }

/* ==========================================================================
   FAQ (Bootstrap accordion skin)
   ========================================================================== */
.faq .accordion-item {
  border: 1px solid var(--bd);
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 0.8rem;
  background: #fff;
}
.faq .accordion-button {
  font: 600 1.06rem 'Manrope', sans-serif;
  color: var(--navy);
  padding: 1.15rem 1.3rem;
  background: #fff;
  box-shadow: none;
}
.faq .accordion-button:not(.collapsed) { background: var(--t1); color: var(--t7); }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(29, 111, 194, 0.35); }
.faq .accordion-body { padding: 0.4rem 1.3rem 1.3rem; }
.faq .accordion-button:not(.collapsed) + * .accordion-body,
.faq .accordion-collapse.show .accordion-body { background: var(--t1); }

/* ==========================================================================
   Contact / Booking
   ========================================================================== */
.book { background: var(--t7); color: #D6E2FF; position: relative; overflow: hidden; }
.book::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(82, 174, 249, 0.25), transparent 50%);
  pointer-events: none;
}
.book .w { position: relative; }
.book h2 { color: #fff; }
.book .lead { color: #D6E2FF; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list .icon-box { background: rgba(255, 255, 255, 0.12); color: #fff; width: 46px; height: 46px; font-size: 1.2rem; }
.contact-list strong { display: block; color: #fff; font-size: 0.95rem; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--sky); text-decoration: underline; }
.map-frame { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: var(--shadow-md); }
.map-frame iframe { width: 100%; height: 300px; border: 0; display: block; }

.form-card {
  background: #fff;
  border-radius: 22px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--slate);
  box-shadow: var(--shadow-lg);
}
.form-card h3 { margin-bottom: 0.35rem; }
.form-card .form-sub { font-size: 0.92rem; margin-bottom: 1.4rem; }
.form-label { font-weight: 600; font-size: 0.93rem; color: var(--navy); margin-bottom: 0.35rem; }
.form-label .req { color: var(--accent); }
.form-control,
.form-select {
  font: inherit;
  color: var(--navy);
  padding: 0.75rem 1rem;
  border: 1px solid #C5CEDE;
  border-radius: 10px;
  min-height: 50px;
}
.form-control:focus,
.form-select:focus { border-color: var(--t7); box-shadow: 0 0 0 3px rgba(48, 57, 131, 0.18); }
.form-check-input { width: 1.2em; height: 1.2em; margin-top: 0.2em; border-color: #8C95AD; }
.form-check-input:checked { background-color: var(--t7); border-color: var(--t7); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(48, 57, 131, 0.25); }
.form-check-label { font-size: 0.85rem; line-height: 1.5; }
.form-legal { font-size: 0.8rem; color: #5D6378; margin-top: 0.4rem; }
.form-legal .bi { color: var(--t5); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 0.9rem; font-weight: 600; }
.form-status.error { color: var(--accent); }
.invalid-feedback { color: var(--accent); }
.was-validated .form-control:invalid,
.form-control.is-invalid,
.was-validated .form-select:invalid { border-color: var(--accent); }

.info-card { display: flex; gap: 1rem; align-items: flex-start; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.info-card a { text-decoration: none; font-weight: 600; }

.hours-table { width: 100%; font-size: 0.95rem; }
.hours-table td { padding: 0.4rem 0; border-bottom: 1px dashed var(--bd); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--navy); }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-wrap { max-width: 880px; }
.legal-meta { font-size: 0.9rem; color: #D6E2FF; }
.legal-toc {
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.5rem;
}
.legal-toc h2 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; font-size: 0.94rem; }
.legal-toc li { margin-bottom: 0.3rem; break-inside: avoid; }

/* ==========================================================================
   Thank-you page
   ========================================================================== */
.thanks {
  min-height: 70vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(82, 174, 249, 0.18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(48, 57, 131, 0.12), transparent 45%),
    var(--bg);
}
.thanks-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 760px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.success-mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: #E4F4EE;
  color: var(--ok);
  display: grid;
  place-items: center;
  font-size: 3rem;
  box-shadow: 0 0 0 10px rgba(47, 128, 100, 0.08);
  animation: popIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.2) both;
}
@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.next-steps { text-align: left; display: grid; gap: 1rem; margin: 2rem 0; }
.next-step { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg); border-radius: 14px; padding: 1rem 1.2rem; }
.next-step .num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--t7);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.next-step strong { color: var(--navy); display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(135deg, var(--navy) 0%, #0E1235 100%);
  color: #B9C3E3;
  padding: 5rem 0 2rem;
  font-size: 0.95rem;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 2rem;
}
.site-footer h2 {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.55rem 0; }
.site-footer a { text-decoration: none; color: #C9D2EE; transition: color 0.2s ease, transform 0.2s ease; display: inline-flex; align-items: center; gap: 0.45rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo img { height: 90px; width: auto; margin-bottom: 1.2rem; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact .bi { color: var(--sky); margin-top: 0.15rem; }
.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(189, 30, 44, 0.18);
  border: 1px solid rgba(255, 120, 130, 0.4);
  color: #FFD7DB;
  font-size: 0.82rem;
  font-weight: 600;
}
.social-links { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  justify-content: center;
  font-size: 1.1rem;
}
.social-links a:hover { background: var(--t5); transform: translateY(-3px); text-decoration: none; }
.footer-disclaimer {
  margin-top: 3rem;
  padding: 1.2rem 1.4rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #A9B4D6;
}
.footer-disclaimer strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.legal-links button {
  background: none;
  border: 0;
  padding: 0;
  color: #C9D2EE;
  font: inherit;
  cursor: pointer;
}
.legal-links button:hover { color: #fff; text-decoration: underline; }

/* Floating action buttons */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--t7) 0%, var(--t9) 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(48, 57, 131, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1040;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px); }

/* Mobile action bar */
.bar { display: none; }

/* ==========================================================================
   Accessibility Menu
   ========================================================================== */
.a11y-toggle {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 1060;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--t5);
  color: #fff;
  font-size: 1.7rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(22, 27, 69, 0.35);
  transition: transform 0.2s ease;
}
.a11y-toggle:hover { transform: scale(1.06); }
.a11y-panel {
  position: fixed;
  left: 20px;
  bottom: 92px;
  z-index: 1061;
  width: min(380px, calc(100vw - 32px));
  max-height: min(78vh, 680px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(22, 27, 69, 0.35);
  border: 1px solid var(--bd);
  display: none;
}
.a11y-panel.open { display: block; }
.a11y-head {
  position: sticky;
  top: 0;
  background: var(--t7);
  color: #fff;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  z-index: 1;
}
.a11y-head h2 { color: #fff; font-size: 1.05rem; display: flex; gap: 0.5rem; align-items: center; }
.a11y-close {
  background: rgba(255, 255, 255, 0.15);
  border: 0;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}
.a11y-body { padding: 1.1rem; }
.a11y-size {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.9rem;
}
.a11y-size span { font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.a11y-size .ctrls { display: flex; align-items: center; gap: 0.5rem; }
.a11y-size button {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--bd);
  background: #fff;
  color: var(--t7);
  cursor: pointer;
  font-size: 1rem;
}
.a11y-size output { min-width: 3.2rem; text-align: center; font-weight: 700; color: var(--t7); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.a11y-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 86px;
  padding: 0.7rem;
  border-radius: 12px;
  border: 2px solid var(--bd);
  background: #fff;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.a11y-opt .bi { font-size: 1.4rem; color: var(--t7); }
.a11y-opt:hover { border-color: var(--t5); }
.a11y-opt[aria-pressed="true"] { border-color: var(--t7); background: var(--t1); }
.a11y-opt[aria-pressed="true"]::after {
  content: 'On';
  font-size: 0.68rem;
  background: var(--t7);
  color: #fff;
  border-radius: 999px;
  padding: 0 0.5rem;
}
.a11y-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem 1.1rem;
  border-top: 1px solid var(--bd);
  font-size: 0.85rem;
}
.a11y-foot button {
  background: none;
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}
.reading-guide {
  position: fixed;
  left: 0;
  right: 0;
  height: 14px;
  background: rgba(255, 213, 0, 0.35);
  border-top: 2px solid #E0A800;
  border-bottom: 2px solid #E0A800;
  pointer-events: none;
  z-index: 1055;
  display: none;
}
html.a11y-guide .reading-guide { display: block; }

/* Accessibility modes */
html.a11y-text-1 { font-size: 112.5%; }
html.a11y-text-2 { font-size: 125%; }
html.a11y-text-3 { font-size: 140%; }

html.a11y-contrast body,
html.a11y-contrast main,
html.a11y-contrast section,
html.a11y-contrast .tint,
html.a11y-contrast .site-header,
html.a11y-contrast .ss-card,
html.a11y-contrast .service-card,
html.a11y-contrast .bp-card,
html.a11y-contrast .review-card,
html.a11y-contrast .sidebar-card,
html.a11y-contrast .form-card,
html.a11y-contrast .logo-tile,
html.a11y-contrast .page-hero,
html.a11y-contrast .cta-section,
html.a11y-contrast .book,
html.a11y-contrast .site-footer,
html.a11y-contrast .topbar,
html.a11y-contrast .filter-section,
html.a11y-contrast .accordion-item,
html.a11y-contrast .accordion-button,
html.a11y-contrast .thanks-card,
html.a11y-contrast .next-step,
html.a11y-contrast .note-box,
html.a11y-contrast .dd-menu {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3,
html.a11y-contrast h4, html.a11y-contrast p, html.a11y-contrast li,
html.a11y-contrast span, html.a11y-contrast strong, html.a11y-contrast label,
html.a11y-contrast td { color: #fff !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 { background: #FFEB3B !important; color: #000 !important; border-color: #FFEB3B !important; }
html.a11y-contrast .btn * { color: #000 !important; -webkit-text-fill-color: #000 !important; }
html.a11y-contrast .hero-overlay { background: rgba(0, 0, 0, 0.85) !important; }
html.a11y-contrast .a11y-panel, html.a11y-contrast .a11y-panel * { background-color: #fff; color: #000 !important; -webkit-text-fill-color: #000 !important; }
html.a11y-contrast .a11y-head, html.a11y-contrast .a11y-head * { background: #000 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }

html.a11y-gray main,
html.a11y-gray .site-header,
html.a11y-gray .site-footer,
html.a11y-gray .topbar { filter: grayscale(1); }

html.a11y-links a:not(.btn) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px;
  outline: 2px dashed currentColor;
  outline-offset: 2px;
}

html.a11y-font body,
html.a11y-font h1, html.a11y-font h2, html.a11y-font h3, html.a11y-font h4,
html.a11y-font .btn, html.a11y-font input, html.a11y-font select, html.a11y-font textarea {
  font-family: Verdana, Tahoma, Arial, sans-serif !important;
  letter-spacing: 0.02em;
}

html.a11y-spacing body { line-height: 1.95 !important; }
html.a11y-spacing p, html.a11y-spacing li { letter-spacing: 0.12em !important; word-spacing: 0.16em !important; line-height: 2 !important; }

html.a11y-motion *,
html.a11y-motion *::before,
html.a11y-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !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 24 24'%3E%3Cpath fill='%23000' stroke='%23fff' stroke-width='1.2' d='M4 2l15 11-6.5 1 4 7-3 1.5-4-7L4 20z'/%3E%3C/svg%3E") 4 2, auto !important;
}

html.a11y-hideimg img:not(.brand-img),
html.a11y-hideimg video,
html.a11y-hideimg .hero-media { visibility: hidden !important; }

html.a11y-align main p,
html.a11y-align main li,
html.a11y-align main h1,
html.a11y-align main h2,
html.a11y-align main h3 { text-align: left !important; }

/* ==========================================================================
   Cookie Consent
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(1040px, calc(100% - 32px));
  z-index: 1070;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(22, 27, 69, 0.3);
  padding: 1.3rem 1.5rem;
  display: none;
  gap: 1.2rem;
  align-items: center;
}
.cookie-banner.show { display: flex; }
/* Keep the accessibility button reachable above the cookie banner */
html.cookie-open .a11y-toggle { bottom: var(--a11y-lift, 24px); }
html.cookie-open .a11y-panel { bottom: calc(var(--a11y-lift, 24px) + 68px); }
.cookie-banner .icon-box { width: 48px; height: 48px; }
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.cookie-banner p { font-size: 0.88rem; }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; flex-shrink: 0; }
.cookie-actions .btn { min-height: 44px; padding: 0 1.1rem; font-size: 0.9rem; }

.consent-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--bd);
}
.consent-row:last-child { border-bottom: 0; }
.consent-row h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.consent-row p { font-size: 0.86rem; }
.consent-row .form-switch .form-check-input { width: 2.6em; height: 1.4em; cursor: pointer; }
.modal-content { border-radius: 20px; border: 0; }
.modal-header { border-bottom-color: var(--bd); }
.modal-title { font-size: 1.2rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
  .main-nav a, .main-nav .dd-toggle { padding: 0.5rem 0.55rem; font-size: 0.95rem; }
  .nav-actions .tel span { display: none; }
}

@media (max-width: 991.98px) {
  :root { --header-h: 72px; }
  .brand img { height: 50px; }
  #mb { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--bd);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 0.8rem 4% 1.2rem; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--bd); }
  .main-nav a, .main-nav .dd-toggle { width: 100%; justify-content: space-between; padding: 0.85rem 0.4rem; font-size: 1.02rem; }
  .main-nav .dd-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.6rem 0.8rem;
    display: none;
    min-width: 0;
  }
  .main-nav .has-dd:hover .dd-menu { display: none; }
  .main-nav .has-dd.open .dd-menu { display: block; }
  .nav-actions .tel, .nav-actions .btn { display: none !important; }
  .topbar-right .hide-sm { display: none; }

  body { padding-bottom: 74px; }
  .bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1045;
    background: #fff;
    padding: 0.7rem 4%;
    border-top: 1px solid var(--bd);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  }
  .bar .btn { min-height: 48px; padding: 0 0.4rem; font-size: 0.92rem; white-space: nowrap; }
  .scroll-top { bottom: 92px; }
  .a11y-toggle { bottom: 92px; left: 16px; width: 50px; height: 50px; font-size: 1.5rem; }
  .a11y-panel { bottom: 152px; left: 16px; }
  .cookie-banner { bottom: 86px; flex-direction: column; align-items: flex-start; }
  .sidebar { position: static; }
  .floating-badge { left: 6px; }
  .exp-pill { right: 6px; }
  .legal-toc ol { columns: 1; }
  .filter-section { top: var(--header-h); }
}

@media (max-width: 767.98px) {
  .topbar .w { justify-content: center; text-align: center; padding: 0.4rem 0; }
  .topbar-left { display: none; }
  .hero { min-height: auto; padding: 3rem 0 5rem; }
  .trust-divider { display: none; }
  .search-box { min-width: 100%; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; }
  .site-footer { border-radius: 28px 28px 0 0; }
}

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

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