/* ==========================================================================
   Clinton Dental - Global Stylesheet
   Built on Bootstrap 5.3 + theme design system (Manrope / DM Sans)
   Brand colors derived from the Clinton Dental logo (green #23AA13, navy #182D63)
   ========================================================================== */

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
  /* Brand green (AA-compliant shades for text/buttons on white) */
  --p9: #0E5A08;
  --p7: #1A7A10;
  --p5: #23AA13;
  --p3: #9FD994;
  --p1: #E7F6E4;

  /* Brand navy */
  --navy: #182D63;
  --navy9: #0E1B3D;
  --navy7: #213C80;

  /* Neutrals */
  --ink: #1B2437;
  --slate: #4A5568;
  --slate-light: #6B7588;
  --bd: #DCE3EC;
  --bd-light: #EDF1F6;
  --bg: #F3F7FA;
  --base: #FBFCFD;
  --white: #FFFFFF;

  /* Accents */
  --gold: #F2B705;
  --gold-soft: #FFF6D6;
  --danger: #B42318;

  /* Radius & shadows */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 3px rgba(24, 45, 99, 0.06), 0 1px 2px rgba(24, 45, 99, 0.04);
  --shadow-md: 0 10px 24px -8px rgba(24, 45, 99, 0.16);
  --shadow-lg: 0 20px 40px -12px rgba(24, 45, 99, 0.22);

  /* Type */
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--slate);
  --bs-body-bg: var(--base);
  --bs-link-color: var(--p7);
  --bs-link-color-rgb: 26, 122, 16;
  --bs-link-hover-color: var(--p9);
  --bs-link-hover-color-rgb: 14, 90, 8;
  --bs-border-color: var(--bd);
  --bs-primary: var(--p7);
  --bs-primary-rgb: 26, 122, 16;

  /* Accessibility widget scaling */
  --a11y-font-scale: 1;
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
  scroll-behavior: smooth;
  font-size: calc(16px * var(--a11y-font-scale));
}

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,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  font-weight: 700;
}

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

a { color: var(--p7); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--p9); }

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

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

::selection { background: var(--p1); color: var(--navy9); }

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

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ==========================================================================
   Layout Helpers
   ========================================================================== */
.container-xl { max-width: 1240px; }

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-sm { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.tint { background: var(--bg); }
.text-navy { color: var(--navy) !important; }
.bg-white { background: #fff !important; }

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

.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(--p7);
  margin-bottom: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--p5);
  box-shadow: 0 0 0 3px rgba(35, 170, 19, 0.2);
}

.section-head { margin-bottom: 2.6rem; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head .lead { margin-top: 0.9rem; }

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

/* ==========================================================================
   Buttons (extend Bootstrap .btn)
   ========================================================================== */
.btn {
  --bs-btn-font-family: var(--font-body);
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: var(--radius-sm);
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.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-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--p7);
  --bs-btn-border-color: var(--p7);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--p9);
  --bs-btn-hover-border-color: var(--p9);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--p9);
  --bs-btn-active-border-color: var(--p9);
  --bs-btn-focus-shadow-rgb: 26, 122, 16;
  box-shadow: 0 4px 14px rgba(26, 122, 16, 0.25);
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(14, 90, 8, 0.3); }

.btn-navy {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--navy);
  --bs-btn-border-color: var(--navy);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--navy9);
  --bs-btn-hover-border-color: var(--navy9);
  --bs-btn-active-bg: var(--navy9);
  --bs-btn-active-color: #fff;
}
.btn-navy:hover { transform: translateY(-2px); }

.btn-outline-brand {
  --bs-btn-color: var(--p7);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--p7);
  --bs-btn-hover-color: var(--p9);
  --bs-btn-hover-bg: var(--p1);
  --bs-btn-hover-border-color: var(--p9);
  --bs-btn-active-bg: var(--p1);
  --bs-btn-active-color: var(--p9);
  border-width: 2px;
}

.btn-white {
  --bs-btn-color: var(--navy);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--navy9);
  --bs-btn-hover-bg: var(--p1);
  --bs-btn-hover-border-color: var(--p1);
  --bs-btn-active-bg: var(--p1);
  --bs-btn-active-color: var(--navy9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}
.btn-white:hover { transform: translateY(-2px); }

.btn-glass {
  --bs-btn-color: #fff;
  --bs-btn-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-border-color: rgba(255, 255, 255, 0.45);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.24);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-bg: rgba(255, 255, 255, 0.24);
  --bs-btn-active-color: #fff;
  border-width: 1.5px;
  backdrop-filter: blur(10px);
}
.btn-glass:hover { transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--p7);
  text-decoration: none;
}
.link-arrow .bi { transition: transform 0.2s ease; }
.link-arrow:hover { color: var(--p9); }
.link-arrow:hover .bi { transform: translateX(4px); }

/* ==========================================================================
   Top Bar
   ========================================================================== */
.topbar {
  background: var(--navy);
  color: #D7DEF0;
  font-size: 0.875rem;
}
.topbar .container-xl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--p3); text-decoration: underline; }
.topbar-list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.topbar-list li { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar-list .bi { color: var(--p3); }
.topbar .walkin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(35, 170, 19, 0.2);
  border: 1px solid rgba(159, 217, 148, 0.45);
  color: #fff;
  padding: 0.15rem 0.7rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
#site-header { min-height: 120px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(251, 252, 253, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bd);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(24, 45, 99, 0.08); }

.site-header .navbar { padding: 0.55rem 0; }
.site-header .navbar-brand img { height: 62px; width: auto; }

.site-header .nav-link {
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--navy);
  white-space: nowrap;
  padding: 0.5rem 0.75rem !important;
  border-radius: 8px;
  position: relative;
}
.site-header .nav-link:hover,
.site-header .nav-link:focus-visible { color: var(--p7); }
.site-header .nav-link.active { color: var(--p7); font-weight: 600; }
.site-header .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 2px;
  height: 2px;
  background: var(--p5);
  border-radius: 2px;
}

.site-header .dropdown-menu {
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  min-width: 260px;
  margin-top: 0.4rem;
}
.site-header .dropdown-item {
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font-size: 0.95rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.site-header .dropdown-item .bi { color: var(--p7); }
.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus { background: var(--p1); color: var(--p9); }
.site-header .dropdown-item.active { background: var(--p7); color: #fff; }
.site-header .dropdown-item.active .bi { color: #fff; }
.site-header .dropdown-divider { border-color: var(--bd-light); }

@media (min-width: 1200px) {
  .site-header .dropdown:hover > .dropdown-menu { display: block; }
  .site-header .dropdown > .dropdown-menu { top: 100%; }
}

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-actions .btn { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .nav-tel .tel-text { display: none; }
  .site-header .nav-link { padding: 0.5rem 0.6rem !important; font-size: 0.94rem; }
}
.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.nav-tel .tel-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--p1);
  color: var(--p7);
}
.nav-tel small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--slate-light); line-height: 1.1; }
.nav-tel:hover { color: var(--p7); }

.navbar-toggler {
  border: 1px solid var(--bd);
  border-radius: 10px;
  width: 46px;
  height: 46px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 1.5rem;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(26, 122, 16, 0.25); }

@media (max-width: 1199.98px) {
  .site-header .navbar-collapse {
    background: #fff;
    border-top: 1px solid var(--bd-light);
    margin-top: 0.6rem;
    padding: 0.8rem 0 1rem;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }
  .site-header .nav-link.active::after { display: none; }
  .site-header .dropdown-menu { box-shadow: none; border: 0; background: var(--bg); margin: 0.2rem 0 0.6rem; }
  .nav-actions { padding-top: 0.8rem; flex-wrap: wrap; }
}

@media (max-width: 575.98px) {
  .site-header .navbar-brand img { height: 50px; }
  #site-header { min-height: 80px; }
}

/* ==========================================================================
   Home Hero (video background)
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 9vh, 7rem) 0;
  overflow: hidden;
  background: var(--navy9);
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 27, 61, 0.9) 0%, rgba(14, 27, 61, 0.72) 45%, rgba(14, 27, 61, 0.35) 80%, rgba(14, 27, 61, 0.25) 100%),
    linear-gradient(180deg, rgba(14, 27, 61, 0.25) 0%, transparent 40%, rgba(14, 27, 61, 0.6) 100%);
}
.hero .container-xl { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}
.hero h1 .text-highlight {
  background: linear-gradient(135deg, #8BE07D 0%, #E8F8E4 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(240, 244, 252, 0.94);
  max-width: 56ch;
  margin: 1.2rem 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: rgba(225, 232, 246, 0.9);
}
.trust-item { display: flex; flex-direction: column; gap: 0.15rem; }
.trust-item b { font-family: var(--font-head); font-size: 1.3rem; color: #fff; line-height: 1.2; }
.trust-stars { color: var(--gold); font-size: 0.85rem; display: inline-flex; gap: 2px; }
.trust-divider { width: 1px; height: 36px; background: rgba(255, 255, 255, 0.25); }

.hero-video-toggle {
  position: absolute;
  right: clamp(16px, 4vw, 48px);
  bottom: 28px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(14, 27, 61, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  font-size: 1.1rem;
}
.hero-video-toggle:hover { background: rgba(14, 27, 61, 0.85); }

/* ==========================================================================
   Inner Page Hero
   ========================================================================== */
.page-hero {
  position: relative;
  color: #fff;
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3.5rem, 5vw, 4.5rem);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy9) 0%, var(--navy) 55%, var(--navy7) 100%);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 27, 61, 0.94) 0%, rgba(14, 27, 61, 0.8) 50%, rgba(14, 27, 61, 0.55) 100%),
    radial-gradient(circle at 10% 90%, rgba(35, 170, 19, 0.25), transparent 50%);
  pointer-events: none;
}
.page-hero .container-xl { position: relative; z-index: 2; }
.page-hero .hero-inner { max-width: 820px; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero .lead { color: #D9E1F2; font-size: clamp(1.08rem, 1.8vw, 1.25rem); max-width: 60ch; }

.breadcrumb-nav .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.55);
  --bs-breadcrumb-item-active-color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}
.breadcrumb-nav .breadcrumb a { color: #C8D3EC; text-decoration: none; }
.breadcrumb-nav .breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before { content: "\F285"; font-family: 'bootstrap-icons'; font-size: 0.7rem; padding-top: 0.3rem; }

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.93rem;
  font-weight: 500;
}
.hero-badge-tag .bi { color: var(--p3); font-size: 1.05rem; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card-soft {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-soft:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(26, 122, 16, 0.3); }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--p1);
  color: var(--p7);
  font-size: 1.45rem;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.icon-badge.navy { background: #E6ECF8; color: var(--navy); }

/* Service card (from theme) */
.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: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(26, 122, 16, 0.35); }
.service-card .card-img-wrap {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg);
}
.service-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.service-card:hover .card-img-wrap img { transform: scale(1.06); }
.cat-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(14, 27, 61, 0.86);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.32rem 0.8rem;
  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 h2, .service-card h3 { font-size: 1.2rem; margin-bottom: 0.65rem; }
.service-card h2 a, .service-card h3 a { color: var(--navy); text-decoration: none; }
.service-card:hover h2 a, .service-card:hover h3 a { color: var(--p7); }
.service-card h2 a::after, .service-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.service-card p { font-size: 0.95rem; flex-grow: 1; margin-bottom: 1.2rem; }
.service-card .card-action { padding-top: 1rem; border-top: 1px solid var(--bd-light); }
.service-card:hover .link-arrow .bi { transform: translateX(4px); }

/* Filter bar */
.filter-bar {
  background: #fff;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--bd);
  position: sticky;
  top: 90px;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.filter-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-btn {
  background: var(--bg);
  border: 1px solid var(--bd);
  color: var(--navy);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--p7); background: var(--p1); }
.filter-btn[aria-pressed="true"] { background: var(--p7); border-color: var(--p7); color: #fff; box-shadow: 0 2px 8px rgba(26, 122, 16, 0.25); }
.search-field { position: relative; min-width: 260px; }
.search-field .bi { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--slate-light); }
.search-field input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border: 1px solid var(--bd);
  border-radius: var(--radius-full);
  font-size: 0.93rem;
  color: var(--navy);
}
.search-field input:focus { outline: none; border-color: var(--p7); box-shadow: 0 0 0 3px rgba(26, 122, 16, 0.15); }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--slate-light); }
.empty-state .bi { font-size: 2.4rem; color: var(--bd); display: block; margin-bottom: 0.6rem; }

/* ==========================================================================
   Insurance Logos
   ========================================================================== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
@media (max-width: 575.98px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .logo-tile { padding: 0.5rem; }
}
.logo-tile {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  display: grid;
  place-items: center;
  aspect-ratio: 438 / 254;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--p3); }
.logo-tile img { max-height: 100%; width: 100%; object-fit: contain; }

/* ==========================================================================
   About / Doctor Spotlight
   ========================================================================== */
.photo-frame { position: relative; }
.photo-frame .photo-glow {
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(35, 170, 19, 0.25) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.photo-wrapper {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px -12px rgba(24, 45, 99, 0.25), 0 0 0 1px rgba(220, 227, 236, 0.9);
  background: #fff;
}
.photo-wrapper img { width: 100%; display: block; object-fit: cover; }
.floating-badge {
  position: absolute;
  bottom: 18px;
  left: -14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--bd);
  border-radius: 14px;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
  animation: floatBadge 4s ease-in-out infinite;
}
.floating-badge .icon-badge { width: 40px; height: 40px; font-size: 1.1rem; margin: 0; border-radius: 10px; }
.floating-badge strong { display: block; font-family: var(--font-head); font-size: 0.9rem; color: var(--navy); }
.floating-badge span { font-size: 0.78rem; color: var(--slate); }
.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.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-md);
}
.exp-pill .bi { color: var(--gold); }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@media (max-width: 767.98px) {
  .floating-badge { left: 8px; }
  .exp-pill { right: 8px; }
}

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

.blockquote-accent {
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 1.3rem;
  color: var(--p7);
  border-left: 4px solid var(--p5);
  padding-left: 1rem;
  margin: 1.4rem 0;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-card { display: flex; gap: 1rem; align-items: flex-start; }
.why-card .icon-badge { margin-bottom: 0; }
.why-card h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.why-card p { font-size: 0.94rem; margin: 0; }

/* ==========================================================================
   Offers
   ========================================================================== */
.offer-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bd);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  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%; aspect-ratio: 1 / 1; object-fit: cover; }
.offer-card .offer-body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 0.8rem; flex-grow: 1; }
.offer-card h3 { font-size: 1.1rem; margin: 0; }
.offer-card .btn { margin-top: auto; }
.fine-print { font-size: 0.8rem; color: var(--slate-light); }

/* ==========================================================================
   Media Videos
   ========================================================================== */
.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy9);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.review-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-card .stars { color: var(--gold); display: inline-flex; gap: 3px; }
.review-card blockquote { margin: 0; font-size: 1rem; color: var(--ink); flex-grow: 1; }
.review-card .reviewer { display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--bd-light); }
.reviewer .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--p1);
  color: var(--p7);
  font-family: var(--font-head);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.reviewer strong { display: block; color: var(--navy); font-size: 0.95rem; }
.reviewer span { font-size: 0.8rem; color: var(--slate-light); display: inline-flex; align-items: center; gap: 0.3rem; }
.reviewer img { width: 18px; height: 18px; }

.review-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.2rem 0.5rem 0.6rem;
  box-shadow: var(--shadow-sm);
}
.review-summary img { width: 34px; height: 34px; }

/* Carousel controls */
.carousel-ctrl { display: flex; gap: 0.6rem; }
.carousel-ctrl button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--bd);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}
.carousel-ctrl button:hover { background: var(--p7); border-color: var(--p7); color: #fff; }

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, calc((100% - 3rem) / 3));
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.25rem 0.25rem 1rem;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row > * { scroll-snap-align: start; }
@media (max-width: 991.98px) { .scroll-row { grid-auto-columns: minmax(280px, 80%); } }

/* ==========================================================================
   Emergency Band
   ========================================================================== */
.emergency-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--p9) 0%, var(--p7) 60%, #2A9A1C 100%);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem);
}
.emergency-band::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.emergency-band h2 { color: #fff; }
.emergency-band p { color: #E3F5DF; }
.emergency-band .container-inner { position: relative; z-index: 1; }

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy9) 0%, var(--navy) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(4rem, 7vw, 6rem) 1rem;
  border-radius: 36px;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 25%, rgba(35, 170, 19, 0.28), transparent 55%), radial-gradient(circle at 85% 85%, rgba(33, 60, 128, 0.6), transparent 50%);
  pointer-events: none;
}
.cta-section .cta-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: #D3DCEF; font-size: 1.12rem; margin-bottom: 2rem; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
.badge-pill.light { background: var(--p1); border-color: rgba(26, 122, 16, 0.2); color: var(--p9); }
.badge-pill.light .dot { background: var(--p5); }

/* ==========================================================================
   Contact / Booking Form
   ========================================================================== */
.contact-section { background: var(--bg); }
.contact-info-card {
  background: linear-gradient(150deg, var(--navy9) 0%, var(--navy) 100%);
  color: #D7DEF0;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.contact-info-card::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(35, 170, 19, 0.15);
}
.contact-info-card h2, .contact-info-card h3 { color: #fff; }
.contact-info-card p { color: #C9D3EA; }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: 1.1rem; position: relative; z-index: 1; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--p3);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-list small { display: block; color: #9FB0D3; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.contact-list a, .contact-list span.v { color: #fff; font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.05);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--bd);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-md);
  height: 100%;
}
.form-card h3 { margin-bottom: 0.4rem; }
.form-label { font-weight: 600; font-size: 0.93rem; color: var(--navy); margin-bottom: 0.35rem; }
.form-label .req { color: var(--danger); }
.form-control, .form-select {
  border: 1px solid var(--bd);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  min-height: 48px;
  color: var(--ink);
  font-size: 1rem;
}
.form-control:focus, .form-select:focus { border-color: var(--p7); box-shadow: 0 0 0 3px rgba(26, 122, 16, 0.18); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--danger); }
.invalid-feedback { color: var(--danger); font-size: 0.85rem; }
.form-check-input { width: 1.2em; height: 1.2em; margin-top: 0.2em; border-color: #9AA6B8; }
.form-check-input:checked { background-color: var(--p7); border-color: var(--p7); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(26, 122, 16, 0.2); }
.form-check-label { font-size: 0.88rem; color: var(--slate); }
.form-notice {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: var(--gold-soft);
  border: 1px solid #F5DE8A;
  color: #5C4A05;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.5;
}
.form-notice .bi { color: #9A7A00; font-size: 1.05rem; margin-top: 1px; }
.form-status.form-success { display: flex; gap: .5rem; align-items: flex-start; background: var(--p1); border: 1px solid var(--p3); color: var(--p9); border-radius: var(--radius-sm); padding: .85rem 1rem; font-weight: 600; }
.form-status.form-success .bi { color: var(--p7); font-size: 1.15rem; line-height: 1.3; }
.form-status.form-success:focus { outline: 3px solid var(--navy7); outline-offset: 2px; }
.form-status { font-size: 0.9rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Article (service detail / blog post)
   ========================================================================== */
.article-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.35);
  border: 5px solid rgba(255, 255, 255, 0.9);
  background: #fff;
}
.article-hero-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }

.article-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; color: #C9D3EA; font-size: 0.92rem; margin-top: 1rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-meta .bi { color: var(--p3); }

.prose { font-size: 1.06rem; line-height: 1.8; color: #3A4458; }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  margin: 2.6rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--p1);
}
.prose h3 { font-size: clamp(1.18rem, 1.8vw, 1.35rem); margin: 2rem 0 0.75rem; color: var(--navy7); }
.prose h4 { font-size: 1.1rem; margin: 1.6rem 0 0.6rem; }
.prose p { margin-bottom: 1.2rem; }
.prose ul, .prose ol { margin: 0 0 1.5rem; padding-left: 0; list-style: none; display: grid; gap: 0.75rem; }
.prose ul > li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 3rem;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.prose ul > li::before {
  content: "\F26E";
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 1rem;
  top: 0.9rem;
  color: var(--p5);
  font-size: 1.15rem;
  line-height: 1.6;
}
.prose ol { counter-reset: step; }
.prose ol > li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.6rem;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.prose ol > li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 0.95rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--p1);
  color: var(--p7);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
}
.prose strong { color: var(--navy); }
.prose a { font-weight: 600; }
.prose img { border-radius: var(--radius-md); margin: 1rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; 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); }
.prose blockquote { border-left: 4px solid var(--p5); padding-left: 1rem; font-style: italic; }

/* Sidebar */
.sidebar { position: sticky; top: 110px; display: grid; gap: 1.5rem; }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card.primary {
  background: linear-gradient(140deg, var(--navy9) 0%, var(--navy) 100%);
  border: none;
  color: #D7DEF0;
  box-shadow: var(--shadow-md);
}
.sidebar-card.primary h2, .sidebar-card.primary h3 { color: #fff; font-size: 1.3rem; }
.sidebar-card.primary p { color: #C9D3EA; font-size: 0.95rem; }
.sidebar-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-head);
  color: #fff;
  text-decoration: none;
  margin-bottom: 1.2rem;
}
.sidebar-phone .bi { color: var(--p3); }
.sidebar-phone:hover { color: var(--p3); }
.sidebar-card h2.sidebar-title, .sidebar-card h3.sidebar-title { font-size: 1.1rem; margin-bottom: 1rem; }
.sidebar-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.sidebar-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--bd);
  color: var(--navy);
  font-weight: 500;
  font-size: 0.94rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.sidebar-list a:hover { background: var(--p1); border-color: var(--p7); color: var(--p9); transform: translateX(3px); }
.sidebar-list a[aria-current="page"] { background: var(--p7); border-color: var(--p7); color: #fff; }
.sidebar-hours { list-style: none; padding: 0; margin: 0; font-size: 0.93rem; }
.sidebar-hours li { display: flex; justify-content: space-between; padding: 0.45rem 0; border-bottom: 1px dashed var(--bd); }
.sidebar-hours li:last-child { border-bottom: 0; }
.sidebar-hours strong { color: var(--navy); font-weight: 600; }

.mini-post { display: flex; gap: 0.8rem; text-decoration: none; align-items: center; padding: 0.4rem 0; }
.mini-post img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.mini-post span { font-size: 0.9rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.mini-post:hover span { color: var(--p7); }

.medical-note {
  display: flex;
  gap: 0.8rem;
  background: var(--bg);
  border: 1px solid var(--bd);
  border-left: 4px solid var(--navy);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: var(--slate);
  margin-top: 2.5rem;
}
.medical-note .bi { color: var(--navy); font-size: 1.2rem; flex-shrink: 0; }

.share-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--bd); }
.share-row a, .share-row button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--bd);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: all 0.2s ease;
}
.share-row a:hover, .share-row button:hover { background: var(--p7); border-color: var(--p7); color: #fff; }

/* ==========================================================================
   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%;
  position: relative;
  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); border-color: rgba(26, 122, 16, 0.3); }
.bp-card-img { position: relative; aspect-ratio: 16 / 10; 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.05); }
.bp-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: var(--p7);
  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);
}
.bp-card-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.bp-date { font-size: 0.82rem; color: var(--slate-light); display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 0.6rem; }
.bp-card h2, .bp-card h3 { font-size: 1.08rem; line-height: 1.38; margin-bottom: 0.6rem; }
.bp-card h2 a, .bp-card h3 a { color: var(--navy); text-decoration: none; }
.bp-card h2 a::after, .bp-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.bp-card:hover h2 a, .bp-card:hover h3 a { color: var(--p7); }
.bp-card p { font-size: 0.93rem; flex: 1; margin-bottom: 1.1rem; }
.bp-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 0.9rem; border-top: 1px solid var(--bd-light); font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.bp-arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: 1px solid var(--bd); display: grid; place-items: center; color: var(--p7); transition: all 0.2s ease; }
.bp-card:hover .bp-arrow { background: var(--p7); border-color: var(--p7); color: #fff; }

.pagination-wrap .page-link {
  color: var(--navy);
  border-color: var(--bd);
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.pagination-wrap .page-item.active .page-link { background: var(--p7); border-color: var(--p7); color: #fff; }
.pagination-wrap .page-link:focus { box-shadow: 0 0 0 3px rgba(26, 122, 16, 0.2); }

/* ==========================================================================
   Gallery & Lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}
.gallery-grid .g-item:first-child { grid-column: span 2; grid-row: span 2; }
.g-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.g-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(14, 27, 61, 0.45) 100%); opacity: 0; transition: opacity 0.3s ease; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item .zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}
.g-item:hover .zoom, .g-item:focus-visible .zoom { opacity: 1; transform: translateY(0); }
@media (max-width: 767.98px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

.lightbox-modal .modal-content { background: transparent; border: 0; }
.lightbox-modal .modal-body { padding: 0; text-align: center; }
.lightbox-modal img { max-height: 82vh; width: auto; max-width: 100%; border-radius: 12px; margin: 0 auto; }
.lightbox-modal .lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}
.lightbox-modal .lb-prev { left: 8px; }
.lightbox-modal .lb-next { right: 8px; }
.lightbox-modal .lb-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.9); color: var(--navy); font-size: 1.2rem; display: grid; place-items: center; }
.lightbox-modal .lb-count { color: #fff; margin-top: 0.8rem; font-size: 0.9rem; }

/* ==========================================================================
   Doctor Profile
   ========================================================================== */
.doctor-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.doctor-card .doctor-media { background: linear-gradient(160deg, var(--p1) 0%, #E6ECF8 100%); height: 100%; min-height: 360px; }
.doctor-card .doctor-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doctor-card .doctor-body { padding: clamp(1.8rem, 3.5vw, 3rem); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg);
  border: 1px solid var(--bd);
  color: var(--navy);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.83rem;
  font-weight: 600;
}
.chip .bi { color: var(--p7); }
.stat-box { background: var(--bg); border: 1px solid var(--bd); border-radius: var(--radius-md); padding: 1.2rem; text-align: center; height: 100%; }
.stat-box b { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--p7); line-height: 1.1; }
.stat-box span { font-size: 0.85rem; color: var(--slate); }

/* ==========================================================================
   FAQ (Bootstrap accordion)
   ========================================================================== */
.faq-accordion .accordion-item { border: 1px solid var(--bd); border-radius: var(--radius-sm) !important; margin-bottom: 0.75rem; overflow: hidden; background: #fff; }
.faq-accordion .accordion-button {
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--navy);
  padding: 1.1rem 1.3rem;
  background: #fff;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--p9); background: var(--p1); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(26, 122, 16, 0.2); }
.faq-accordion .accordion-body { padding: 1.1rem 1.3rem 1.3rem; }

/* ==========================================================================
   Legal Pages
   ========================================================================== */
.legal-layout { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.legal-toc { position: sticky; top: 110px; background: #fff; border: 1px solid var(--bd); border-radius: var(--radius-md); padding: 1.4rem; }
.legal-toc h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-light); margin-bottom: 0.8rem; }
.legal-toc ol { padding-left: 1.1rem; margin: 0; display: grid; gap: 0.45rem; font-size: 0.92rem; }
.legal-toc a { color: var(--navy); text-decoration: none; }
.legal-toc a:hover { color: var(--p7); text-decoration: underline; }
.legal-updated { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; color: #C9D3EA; margin-top: 0.4rem; }
.legal-box { background: var(--p1); border: 1px solid var(--p3); border-radius: var(--radius-md); padding: 1.2rem 1.4rem; margin: 1.5rem 0; color: var(--p9); }
.legal-box strong { color: var(--p9); }
.prose.legal ul > li { padding: 0.65rem 0.9rem 0.65rem 2.6rem; box-shadow: none; }
.prose.legal ul > li::before { left: 0.9rem; top: 0.62rem; font-size: 1rem; }
@media (max-width: 991.98px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

/* ==========================================================================
   Thank You / 404
   ========================================================================== */
.status-wrap { min-height: 70vh; display: grid; place-items: center; padding: 5rem 0; background: radial-gradient(circle at 20% 20%, var(--p1), transparent 45%), radial-gradient(circle at 80% 80%, #E6ECF8, transparent 45%), var(--base); }
.status-card { background: #fff; border: 1px solid var(--bd); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(2rem, 5vw, 3.5rem); max-width: 760px; margin: 0 auto; text-align: center; }
.status-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  font-size: 2.8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--p7), var(--p5));
  box-shadow: 0 0 0 10px var(--p1), 0 14px 30px rgba(26, 122, 16, 0.35);
  animation: popIn 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.status-icon.navy { background: linear-gradient(135deg, var(--navy), var(--navy7)); box-shadow: 0 0 0 10px #E6ECF8, 0 14px 30px rgba(24, 45, 99, 0.3); }
@keyframes popIn { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; text-align: left; }
.next-steps .step { background: var(--bg); border: 1px solid var(--bd); border-radius: var(--radius-md); padding: 1.1rem; }
.next-steps .step .num { width: 30px; height: 30px; border-radius: 50%; background: var(--p7); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 0.9rem; margin-bottom: 0.6rem; }
.next-steps .step h2 { font-size: 0.98rem; margin-bottom: 0.3rem; }
.next-steps .step p { font-size: 0.86rem; margin: 0; }
@media (max-width: 767.98px) { .next-steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(135deg, var(--navy9) 0%, #0A1430 100%);
  color: #B7C3DD;
  padding: 5rem 0 0;
  font-size: 0.95rem;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 4rem;
}
.site-footer h2 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: 0.01em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.55rem 0; }
.site-footer a { color: #B7C3DD; text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; display: inline-flex; align-items: center; gap: 0.4rem; }
.site-footer a:hover { color: #fff; transform: translateX(3px); }
.site-footer .footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 0.4rem 0.6rem; margin-bottom: 1.2rem; }
.site-footer .footer-logo img { height: 64px; width: auto; display: block; }
.site-footer .footer-logo:hover { transform: none; }
.footer-contact { display: grid; gap: 0.7rem; margin-top: 1.2rem; }
.footer-contact li { display: flex; gap: 0.6rem; margin: 0; }
.footer-contact .bi { color: var(--p3); margin-top: 0.15rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); padding-bottom: 0.5rem; }
.footer-hours strong { color: #fff; font-weight: 600; }
.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 0.45rem 0.85rem;
  background: rgba(35, 170, 19, 0.16);
  border: 1px solid rgba(159, 217, 148, 0.35);
  border-radius: 8px;
  font-size: 0.85rem;
  color: #DFF3DA;
}
.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.08);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}
.social-links a:hover { background: var(--p7); transform: translateY(-3px); }
.footer-legal {
  margin-top: 3rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  color: #8E9CBB;
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer-legal-links a, .footer-legal-links button { color: #B7C3DD; font-size: 0.86rem; }
.footer-legal-links button { background: none; border: 0; padding: 0; text-decoration: none; }
.footer-legal-links button:hover { color: #fff; text-decoration: underline; }
.footer-disclaimer { font-size: 0.8rem; color: #8492B2; margin-top: 1rem; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; margin-top: 1rem; }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 991.98px) {
  body { padding-bottom: 76px; }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
    background: #fff;
    padding: 0.7rem 4%;
    border-top: 1px solid var(--bd);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  }
  .mobile-bar .btn { min-height: 48px; padding: 0 0.5rem; font-size: 0.95rem; }
}

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

/* ==========================================================================
   Accessibility Widget
   ========================================================================== */
.a11y-trigger {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 1040;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--navy);
  color: #fff;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(24, 45, 99, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}
.a11y-trigger:hover { background: var(--navy7); transform: scale(1.06); }
@media (max-width: 991.98px) { .a11y-trigger { bottom: 92px; left: 14px; width: 50px; height: 50px; } }

.a11y-panel { --bs-offcanvas-width: 380px; }
.a11y-panel .offcanvas-header { background: var(--navy); color: #fff; }
.a11y-panel .offcanvas-title { color: #fff; font-size: 1.15rem; display: flex; align-items: center; gap: 0.5rem; }
.a11y-panel .btn-close { filter: invert(1) grayscale(1) brightness(2); opacity: 0.9; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.a11y-opt {
  border: 2px solid var(--bd);
  background: #fff;
  border-radius: 12px;
  padding: 0.9rem 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  min-height: 92px;
  transition: all 0.15s ease;
}
.a11y-opt .bi { font-size: 1.45rem; color: var(--navy7); }
.a11y-opt:hover { border-color: var(--navy7); background: #F2F5FC; }
.a11y-opt[aria-pressed="true"] { border-color: var(--p7); background: var(--p1); color: var(--p9); }
.a11y-opt[aria-pressed="true"] .bi { color: var(--p7); }
.a11y-size { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; border: 2px solid var(--bd); border-radius: 12px; padding: 0.6rem; margin-bottom: 0.9rem; }
.a11y-size button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--bd); background: var(--bg); color: var(--navy); font-size: 1.2rem; display: grid; place-items: center; }
.a11y-size button:hover { background: var(--p1); border-color: var(--p7); }
.a11y-size output { font-weight: 700; color: var(--navy); }
.a11y-section-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-light); font-weight: 700; margin: 1.1rem 0 0.6rem; }

/* Accessibility modes applied to <html> */
html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast body *:not(.a11y-panel):not(.a11y-panel *):not(img):not(video):not(svg):not(iframe) {
  background-color: #000 !important;
  background-image: none !important;
  color: #fff !important;
  border-color: #fff !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html.a11y-contrast a, html.a11y-contrast a * { color: #FFFF00 !important; }
html.a11y-contrast .btn { border: 2px solid #FFFF00 !important; }
html.a11y-contrast .text-highlight { -webkit-text-fill-color: #fff !important; }
html.a11y-contrast .hero-overlay, html.a11y-contrast .page-hero::before { background: rgba(0, 0, 0, 0.85) !important; }
html.a11y-grayscale body > *:not(.a11y-panel) { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; outline: 2px dashed currentColor; outline-offset: 2px; }
html.a11y-readable body, html.a11y-readable body * { font-family: Verdana, Tahoma, Arial, sans-serif !important; letter-spacing: 0.02em; }
html.a11y-readable .bi::before { font-family: 'bootstrap-icons' !important; }
html.a11y-spacing body * { line-height: 1.9 !important; letter-spacing: 0.06em !important; word-spacing: 0.14em !important; }
html.a11y-spacing p { margin-bottom: 1.6em !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 d='M4 2l16 10-7 1.5L9.5 21z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-nomotion *, html.a11y-nomotion *::before, html.a11y-nomotion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-hideimg img:not(.keep-img), html.a11y-hideimg video { visibility: hidden !important; }
html.a11y-focus *:focus { outline: 4px solid #F2B705 !important; outline-offset: 3px !important; }

.reading-guide {
  position: fixed;
  left: 0;
  right: 0;
  height: 14px;
  background: rgba(242, 183, 5, 0.35);
  border-top: 2px solid #9A7A00;
  border-bottom: 2px solid #9A7A00;
  pointer-events: none;
  z-index: 2000;
  display: none;
}
html.a11y-guide .reading-guide { display: block; }

/* ==========================================================================
   Cookie Consent
   ========================================================================== */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1060;
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px -12px rgba(14, 27, 61, 0.35);
  padding: 1.4rem 1.6rem;
  display: none;
}
.consent-banner.show { display: block; animation: slideUp 0.4s ease both; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.consent-banner h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.consent-banner h2 .bi { color: var(--p7); }
.consent-banner p { font-size: 0.9rem; margin-bottom: 1rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.consent-actions .btn { min-height: 44px; --bs-btn-padding-y: 0.55rem; --bs-btn-padding-x: 1.1rem; font-size: 0.93rem; }
@media (max-width: 991.98px) { .consent-banner { bottom: 88px; } }

.consent-modal .modal-content { border-radius: var(--radius-lg); border: 0; }
.consent-modal .modal-header { border-bottom: 1px solid var(--bd-light); }
.consent-cat { border: 1px solid var(--bd); border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 0.8rem; }
.consent-cat .form-switch .form-check-input { width: 2.6em; height: 1.4em; }
.consent-cat h3 { font-size: 1rem; margin: 0; }
.consent-cat p { font-size: 0.87rem; margin: 0.4rem 0 0; }
.gpc-note { font-size: 0.85rem; background: var(--p1); color: var(--p9); border-radius: 10px; padding: 0.7rem 0.9rem; display: none; }
.gpc-note.show { display: flex; gap: 0.5rem; }

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

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

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .topbar, .site-header, .site-footer, .mobile-bar, .scroll-top, .a11y-trigger, .consent-banner, .sidebar { display: none !important; }
  .page-hero { background: none !important; color: #000; padding: 1rem 0; }
  .page-hero::before, .page-hero-bg { display: none; }
  .page-hero h1, .page-hero .lead { color: #000 !important; }
  body { padding: 0 !important; }
}

/* Anchor targets clear the sticky header */
[id] { scroll-margin-top: 110px; }
main:focus { outline: none; }

/* No-JavaScript fallback navigation/footer (header and footer are loaded by JS) */
.noscript-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.2rem; padding: 0.8rem 4%; background: #fff; border-bottom: 1px solid var(--bd); font-weight: 600; }
.noscript-nav a { color: var(--navy); text-decoration: none; }
.noscript-nav a:hover { color: var(--p7); text-decoration: underline; }
.noscript-footer { background: var(--navy9); color: #D7DEF0; padding: 2rem 4%; font-size: 0.92rem; }
.noscript-footer a { color: #fff; }
