/* ============================================================
   BOLDING FAMILY DENTISTRY — Master Stylesheet
   Aesthetic: Teal & charcoal — dark header/hero, warm mid-tone content
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  /* Palette */
  --teal-900: #0a2e2f;
  --teal-800: #0e4042;
  --teal-700: #136568;
  --teal-600: #178184;
  --teal-500: #1da3a6;
  --teal-100: #d6efef;
  --gold-500: #c9a84c;
  --gold-400: #d4b65e;
  --gold-300: #e2cb85;
  --gold-100: #faf3e0;
  --cream: #f5f3ef;
  --white: #ffffff;
  --gray-50: #edeae5;
  --gray-100: #e2dfd9;
  --gray-200: #d0cdc6;
  --gray-400: #8a857d;
  --gray-600: #5c5850;
  --gray-800: #2e2b27;
  --gray-900: #111111;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Sizing */
  --container: 1180px;
  --container-wide: 1320px;
  --header-height: 90px;

  /* Misc */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,.14);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.18);
  --shadow-gold: 0 4px 20px rgba(201,168,76,.2);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle warm grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-500); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--teal-900);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.25rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

/* ---------- Utility ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-lg); }
.container--wide { max-width: var(--container-wide); }
.text-center { text-align: center; }
.text-gold { color: var(--gold-500); }
.text-teal { color: var(--teal-700); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--gold-500);
  color: var(--white);
  border-color: var(--gold-500);
}
.btn--primary:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--white);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--teal-900);
}

.btn--outline-dark {
  background: transparent;
  color: var(--teal-800);
  border-color: var(--teal-700);
}
.btn--outline-dark:hover {
  background: var(--teal-800);
  color: var(--white);
}

.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--gray-900);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  background: rgba(17,17,17,.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: var(--header-height);
}

.header-logo img {
  height: 70px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-nav__list {
  display: flex;
  list-style: none;
  gap: 0;
  padding: 0;
  margin: 0;
}

.header-nav__item {
  position: relative;
  margin: 0;
}

.header-nav__link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition);
}
.header-nav__link:hover,
.header-nav__link.active {
  color: var(--gold-400);
}

/* Dropdown arrow */
.header-nav__link svg {
  width: 10px;
  height: 10px;
  transition: transform var(--transition);
}
.header-nav__item:hover > .header-nav__link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.header-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #1a1a1a;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.06);
  border-top: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.25s ease;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  z-index: 100;
}

.header-nav__item:hover > .header-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-dropdown a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.header-dropdown a:hover {
  background: rgba(17,86,90,.15);
  color: var(--gold-400);
  padding-left: 1.4rem;
}

.header-cta {
  margin-left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-phone,
.header-book-btn,
.header-pay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  height: 38px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}

.header-phone {
  background: var(--teal-800);
  color: var(--white);
}
.header-book-btn {
  background: var(--gold-500);
  color: var(--white);
}
.header-pay-btn {
  background: var(--teal-800);
  color: var(--white);
}

.header-phone:hover,
.header-pay-btn:hover {
  background: var(--gold-500);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.header-book-btn:hover {
  background: var(--gold-400);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.header-phone svg,
.header-book-btn svg,
.header-pay-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: var(--teal-900);
  overflow: hidden;
}

/* Parallax background image */
.hero__bg {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  will-change: transform;
}

/* Dark overlay for text readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10,46,47,.45);
  pointer-events: none;
}

/* Subtle vignette */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 100px 30px rgba(0,0,0,.2);
}

/* Fallback gradient when no bg image */
.hero--no-bg {
  background: linear-gradient(160deg, #040b0c 0%, #082224 30%, #0e4042 60%, #0a3233 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Smooth wave at bottom of main hero */
.hero > .hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(201,168,76,.3);
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  background: rgba(201,168,76,.08);
}

.hero h1 {
  color: var(--white);
  max-width: 780px;
  margin-bottom: var(--space-lg);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}

.hero__subtitle {
  color: rgba(255,255,255,.85);
  font-size: 1.2rem;
  max-width: 620px;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0,0,0,.3);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

/* Page hero (smaller, for sub-pages) */
.hero--page {
  min-height: 280px;
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
  background: linear-gradient(160deg, #0e4042 0%, #136568 35%, #178184 65%, #136568 100%);
}
.hero--page h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

.hero--subpage {
  min-height: 240px;
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-xl);
  background: linear-gradient(160deg, #0e4042 0%, #136568 35%, #178184 65%, #136568 100%);
}
.hero--subpage h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }


/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: var(--space-md) 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.3rem;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
}
.breadcrumb__list li::after {
  content: '/';
  margin-left: 0.4rem;
  color: var(--gray-400);
}
.breadcrumb__list li:last-child::after { display: none; }
.breadcrumb__list a { color: var(--teal-700); }
.breadcrumb__list li:last-child { color: var(--gray-600); }

/* ---------- Sections ---------- */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}
.section + .section {
  border-top: none;
}
.section--cream { background: var(--cream); }
.section--white {
  background: var(--white);
  position: relative;
}
.section--white::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/flower-background-light.png');
  background-repeat: repeat;
  background-size: 900px auto;
  opacity: 0.16;
  pointer-events: none;
}
.section--white > .container {
  position: relative;
  z-index: 1;
}
.section--gray {
  background: var(--gray-50);
  background-image: radial-gradient(ellipse at 30% 50%, rgba(214,239,239,.3) 0%, transparent 60%),
                     radial-gradient(ellipse at 80% 80%, rgba(250,243,224,.4) 0%, transparent 50%);
}
.section--teal {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-800));
  color: var(--white);
}
.section--teal h2, .section--teal h3, .section--teal h4 { color: var(--white); }

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
}
.section__header p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-top: var(--space-sm);
}

.section__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-sm);
}

/* Gold underline on headings */
.section__header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* Smooth transitions between sections */
.section--gray {
  position: relative;
}
.section--gray::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}
.section--white + .section--gray::before,
.section--gray + .section--white::before {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

/* ---------- Cards / Grid ---------- */
.card-grid {
  display: grid;
  gap: var(--space-xl);
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(.25,.46,.45,.94);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--gold-400));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.card:hover::before {
  transform: scaleX(1);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--gray-200);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--teal-100), rgba(214,239,239,.5));
  border-radius: 14px;
  margin-bottom: var(--space-lg);
  color: var(--teal-700);
  border: 1px solid rgba(19,101,104,.08);
  transition: all 0.4s ease;
}
.card:hover .card__icon {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-600));
  color: var(--white);
  transform: scale(1.05);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(19,101,104,.2);
}
.card__icon svg { width: 28px; height: 28px; }

.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--gray-600); font-size: 0.95rem; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: var(--space-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-700);
}
.card__link { color: var(--teal-700); }
.card__link:hover { color: var(--gold-500); gap: 0.5rem; }
.card__link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.card__link:hover svg { transform: translateX(3px); }

/* Service card (compact) */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all 0.4s cubic-bezier(.25,.46,.45,.94);
  text-decoration: none;
  color: var(--gray-800);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--gold-400));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--gray-200);
  color: var(--gray-800);
}
.service-card h4 { margin-bottom: 0.5rem; color: var(--teal-900); }
.service-card p { font-size: 0.9rem; color: var(--gray-600); margin: 0; flex: 1; line-height: 1.65; }
.service-card .card__link { margin-top: auto; padding-top: var(--space-md); }
.service-card h4::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--gold-400);
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* ---------- Trust / Feature Row ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}
.trust-item {
  padding: var(--space-xl) var(--space-md);
  border-radius: var(--radius-lg);
  transition: all 0.4s ease;
}
.trust-item:hover {
  background: var(--gray-50);
  transform: translateY(-3px);
}
.trust-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(201,168,76,.06));
  border-radius: 50%;
  color: var(--gold-500);
  transition: all 0.4s ease;
}
.trust-item:hover .trust-item__icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(201,168,76,.18), rgba(201,168,76,.1));
}
.trust-item__icon svg { width: 28px; height: 28px; }
.trust-item h4 { margin-bottom: 0.4rem; }
.trust-item p { font-size: 0.9rem; color: var(--gray-600); }

/* ---------- CTA Banner ---------- */
/* Hide CTA banner on pages that already have a sidebar with schedule/hours */
.content-layout ~ .cta-banner { display: none; }

.cta-banner {
  background: linear-gradient(160deg, #051415, #082a2c, #0e4042, #0a3538);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201,168,76,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 0% 0%, rgba(19,101,104,.15) 0%, transparent 40%),
    radial-gradient(ellipse at 100% 100%, rgba(19,101,104,.15) 0%, transparent 40%);
}
.cta-banner::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.06);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: var(--space-sm); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.cta-banner p { color: rgba(255,255,255,.75); margin-bottom: var(--space-xl); font-size: 1.1rem; }
.cta-banner .btn { margin: 0 0.5rem; }

/* ---------- Content Layout ---------- */
.content-layout {
  padding: var(--space-3xl) 0;
  background: var(--white);
  background-image: radial-gradient(ellipse at 0% 0%, rgba(250,243,224,.3) 0%, transparent 50%),
                     radial-gradient(ellipse at 100% 100%, rgba(214,239,239,.15) 0%, transparent 50%);
  position: relative;
}
.content-layout::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/flower-background-light.png');
  background-repeat: repeat;
  background-size: 900px auto;
  opacity: 0.16;
  pointer-events: none;
}
.content-layout > .container {
  position: relative;
  z-index: 1;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-2xl);
  align-items: start;
}

.main-content h2 {
  margin: var(--space-2xl) 0 var(--space-md);
  padding-top: var(--space-xl);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--gold-300), var(--gray-100), transparent) 1;
}
.main-content h2:first-child,
.main-content > p:first-child + p + h2,
.main-content > p:first-child + h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.main-content h3 {
  margin: var(--space-xl) 0 var(--space-sm);
  color: var(--teal-700);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
}
.main-content h4 {
  margin: var(--space-lg) 0 var(--space-xs);
  color: var(--teal-800);
}
.main-content p {
  line-height: 1.8;
  color: var(--gray-600);
}
.main-content > p:first-child {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--gray-800);
}
.main-content ul, .main-content ol {
  margin-bottom: var(--space-lg);
  padding-left: 1.5rem;
}
.main-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--gray-600);
}
.main-content li::marker {
  color: var(--teal-600);
}
.main-content a {
  color: var(--teal-600);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--teal-100);
  text-underline-offset: 3px;
  transition: all var(--transition);
}
.main-content a:hover {
  color: var(--gold-500);
  text-decoration-color: var(--gold-300);
}

/* Lead intro styling - removed drop cap for consistency */
.main-content > p:first-child::first-letter {
}

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-height) + var(--space-lg)); }

.sidebar-cta {
  background: linear-gradient(145deg, #0a2e2f, #0e4042, #0a2e2f);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  color: var(--white);
  text-align: center;
  border: 1px solid rgba(17,86,90,.3);
  box-shadow: 0 8px 30px rgba(10,46,47,.2);
}
.sidebar-cta h3 { color: var(--white); margin-bottom: var(--space-sm); font-size: 1.3rem; }
.sidebar-cta p { color: rgba(255,255,255,.8); font-size: 0.9rem; margin-bottom: var(--space-lg); }
.sidebar-cta .phone-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: var(--space-lg);
  text-decoration: none;
}
.sidebar-cta .phone-number:hover { color: var(--gold-300); }
.sidebar-cta .btn { width: 100%; justify-content: center; }

.sidebar-hours {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-lg);
  border: 1px solid var(--gray-100);
}
.sidebar-hours h4 { margin-bottom: var(--space-md); }
.sidebar-hours table { width: 100%; font-size: 0.9rem; }
.sidebar-hours td { padding: 0.35rem 0; }
.sidebar-hours td:last-child { text-align: right; font-weight: 600; }

/* ---------- Accordion ---------- */
.accordion { margin: var(--space-lg) 0; }
.accordion-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  background: var(--white);
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal-900);
  text-align: left;
  transition: background var(--transition);
}
.accordion-header:hover { background: var(--gray-50); }
.accordion-header svg {
  width: 18px;
  height: 18px;
  color: var(--gold-500);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.accordion-item.open .accordion-header svg { transform: rotate(180deg); }
.accordion-item.open .accordion-header { background: var(--teal-100); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-body__inner { padding: var(--space-lg); }

/* ---------- Contact Form ---------- */
.form-group { margin-bottom: var(--space-md); }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--gray-800);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(19,101,104,.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* ---------- Hub Cards ---------- */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.hub-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(.25,.46,.45,.94);
  text-decoration: none;
  color: var(--gray-800);
  position: relative;
  overflow: hidden;
}
.hub-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--gold-400));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.hub-card:hover::after {
  transform: scaleX(1);
}
.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
  color: var(--gray-800);
}
.hub-card__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-100);
  border-radius: 50%;
  margin-bottom: var(--space-md);
  color: var(--teal-700);
}
.hub-card__icon svg { width: 32px; height: 32px; }
.hub-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.hub-card p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0a2e2f 0%, #071e1f 100%);
  color: rgba(255,255,255,.7);
  padding: var(--space-3xl) 0 0;
  position: relative;
}
.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(19,101,104,.12) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 100%, rgba(201,168,76,.05) 0%, transparent 40%);
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-2xl);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}
.footer-col h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--gold-500);
  margin-top: 0.5rem;
}

.footer-col p, .footer-col li { font-size: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul a {
  color: rgba(255,255,255,.65);
  display: inline-block;
  padding: 0.2rem 0;
  transition: all var(--transition);
}
.footer-col ul a:hover { color: var(--gold-400); padding-left: 0.3rem; }

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  align-items: flex-start;
}
.footer-contact-item svg { width: 18px; height: 18px; color: var(--gold-500); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: var(--gold-400); }

.footer-hours { margin-top: var(--space-md); }
.footer-hours table { font-size: 0.88rem; }
.footer-hours td { padding: 0.2rem 0; }
.footer-hours td:first-child { padding-right: 1.2rem; color: rgba(255,255,255,.5); }

.footer-bottom {
  margin-top: var(--space-2xl);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold-400); }
.footer-links { display: flex; gap: var(--space-md); }

/* ---------- Floating Action Buttons ---------- */
.fab-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.fab-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem 0.65rem 0.85rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  transition: all 0.25s ease;
}
.fab-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.fab-btn--review {
  background: var(--white);
  color: var(--teal-800);
  border: 1px solid var(--gray-100);
  cursor: pointer;
}
.fab-btn--review:hover {
  background: var(--gold-100);
  color: var(--teal-900);
  border-color: var(--gold-300);
  transform: translateX(-4px);
  box-shadow: 0 6px 24px rgba(201,168,76,.25);
}
.fab-btn--review svg {
  stroke: var(--gold-500);
}

.fab-btn--book {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-800));
  color: var(--white);
  border: 1px solid transparent;
}
.fab-btn--book:hover {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  color: var(--white);
  transform: translateX(-4px);
  box-shadow: 0 6px 24px rgba(10,46,47,.35);
}

@media (max-width: 768px) {
  .fab-container {
    bottom: 1rem;
    right: 1rem;
  }
  .fab-btn span {
    display: none;
  }
  .fab-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
}

/* ---------- Booking Modal ---------- */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.booking-modal.open {
  opacity: 1;
  visibility: visible;
}
.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
}
.booking-modal__panel {
  position: relative;
  width: 94vw;
  max-width: 480px;
  height: 88vh;
  max-height: 750px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.booking-modal.open .booking-modal__panel {
  transform: scale(1) translateY(0);
}
.booking-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--teal-900);
  color: var(--white);
}
.booking-modal__header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}
.booking-modal__close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.booking-modal__close:hover {
  background: var(--gold-500);
}
.booking-modal__body {
  flex: 1;
  overflow: hidden;
}
.booking-modal__body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- Review Modal ---------- */
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.review-modal.open {
  opacity: 1;
  visibility: visible;
}
.review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
}
.review-modal__content {
  position: relative;
  width: 90vw;
  max-width: 900px;
  height: 80vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.review-modal.open .review-modal__content {
  transform: scale(1) translateY(0);
}
.review-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--teal-800);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.review-modal__close:hover {
  background: var(--gold-500);
}
.review-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
  padding-top: var(--space-2xl);
}

@media (max-width: 768px) {
  .review-modal__content {
    width: 95vw;
    height: 85vh;
  }
}

/* ---------- Procedure Cards Grid ---------- */
.procedure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0 var(--space-xl);
}
.procedure-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: var(--space-lg) var(--space-md);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  text-align: center;
  text-decoration: none;
  color: var(--teal-900);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.procedure-card svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold-500);
  transition: all 0.3s ease;
}
.procedure-card h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
  color: var(--teal-800);
  transition: color 0.3s ease;
}
a.procedure-card:hover {
  border-color: var(--gold-300);
  background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
a.procedure-card:hover svg {
  stroke: var(--gold-400);
}
a.procedure-card:hover h4 {
  color: var(--white);
}

@media (max-width: 768px) {
  .procedure-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Service Category Section ---------- */
.service-category {
  margin-bottom: var(--space-2xl);
}
.service-category__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--gold-100);
}

/* ---------- Emergency Banner ---------- */
.emergency-banner {
  background: #7f1d1d;
  color: var(--white);
  padding: var(--space-md) 0;
  text-align: center;
  font-weight: 600;
}
.emergency-banner a { color: var(--gold-300); text-decoration: underline; }

/* ---------- Map ---------- */
.map-container {
  margin-top: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.map-container iframe {
  display: block;
}

/* ---------- Form Embed ---------- */
.form-embed {
  margin: var(--space-xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-100);
  background: var(--white);
}
.form-embed iframe {
  display: block;
  width: 100%;
  min-height: 800px;
  border: 0;
}

/* ---------- Doctor Profile ---------- */
.doctor-profile {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  margin: var(--space-lg) 0 var(--space-xl);
}
.doctor-photo {
  width: 240px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 3px solid var(--gold-100);
}
.doctor-bio p:first-child {
  margin-top: 0;
}

@media (max-width: 768px) {
  .doctor-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .doctor-photo {
    width: 200px;
  }
}

/* ---------- Office Gallery ---------- */
.office-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.office-gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.office-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.office-gallery__item:hover img {
  transform: scale(1.05);
}
.office-gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(transparent, rgba(10,46,47,.85));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .office-gallery {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ---------- Content Image ---------- */
.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: var(--space-lg) 0 var(--space-xl);
  border: 3px solid var(--gold-100);
}
.content-image img {
  width: 100%;
  height: auto;
  display: block;
}
.content-image--float {
  float: right;
  max-width: 340px;
  margin: 0 0 var(--space-lg) var(--space-xl);
}

@media (max-width: 768px) {
  .content-image--float {
    float: none;
    max-width: 100%;
    margin: var(--space-lg) 0;
  }
}

/* ---------- Sidebar contact details ---------- */
.sidebar-contact-details {
  text-align: left;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,.1);
}
.sidebar-contact-details p {
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}
.sidebar-contact-details strong {
  color: var(--gold-400);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
}
.fade-up.visible {
  animation: fadeUp 0.7s cubic-bezier(.25,.46,.45,.94) forwards;
}
.fade-up.visible:nth-child(2) { animation-delay: 0.12s; }
.fade-up.visible:nth-child(3) { animation-delay: 0.24s; }
.fade-up.visible:nth-child(4) { animation-delay: 0.36s; }
.fade-up.visible:nth-child(5) { animation-delay: 0.48s; }
.fade-up.visible:nth-child(6) { animation-delay: 0.6s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .header-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #111111;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    z-index: 999;
  }
  .header-nav.open { transform: translateX(0); }

  .header-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .header-nav__link {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .header-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding-left: 1rem;
    border-radius: 0;
  }
  .header-nav__item.dropdown-open > .header-dropdown { display: block; }
  .header-dropdown a { padding: 0.5rem 0; }

  .header-cta {
    margin: var(--space-md) 0 0;
    flex-direction: column;
    width: 100%;
  }
  .header-phone,
  .header-book-btn,
  .header-pay-btn { width: 100%; justify-content: center; }

  .mobile-toggle { display: flex; }

  .hero { min-height: auto; padding: calc(var(--header-height) + 1.5rem) 0 2.5rem; }
  .hero__subtitle, .hero__actions { display: none; }
  .hero--page { min-height: 220px; }

  .mobile-hide { display: none !important; }

  .card-grid--3, .card-grid--4, .card-grid--2 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }

  /* Footer services shortcut on mobile */
  .footer-services-full { display: none; }
  .footer-services-link {
    display: inline-block;
    color: var(--gold-400);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 0.25rem;
  }

  /* Mobile Quick-Access Icon Grid */
  .mobile-quick-nav {
    display: block;
    padding: 1.25rem 0 0.75rem;
    background: var(--white);
  }
  .mobile-quick-nav .container { padding: 0 1rem; }
  .quick-nav-section-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--teal-800);
    text-align: center;
    margin: 1.25rem 0 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,.06);
  }
  .quick-nav-section-label:first-child { margin-top: 0; padding-top: 0; border-top: none; }
  .quick-nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .quick-nav-card {
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    padding: 1rem 0.5rem; border-radius: var(--radius-md); text-decoration: none;
    transition: all 0.2s ease; background: var(--gray-50, #f8f8f6); border: 1px solid rgba(0,0,0,.04);
  }
  .quick-nav-card__icon { width: 30px; height: 30px; color: var(--teal-700); transition: color 0.2s ease; }
  .quick-nav-card__icon svg { width: 100%; height: 100%; }
  .quick-nav-card__label {
    font-family: 'Open Sans', sans-serif; font-size: 0.7rem; font-weight: 600;
    color: var(--teal-800); text-align: center; line-height: 1.2; transition: color 0.2s ease;
  }
  .quick-nav-card:hover, .quick-nav-card:active { background: var(--teal-800); border-color: var(--teal-800); }
  .quick-nav-card:hover .quick-nav-card__icon, .quick-nav-card:active .quick-nav-card__icon { color: var(--gold-400); }
  .quick-nav-card:hover .quick-nav-card__label, .quick-nav-card:active .quick-nav-card__label { color: var(--white); }
  .quick-nav-grid--featured { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 0.6rem; }
  .quick-nav-card--featured {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem;
    background: var(--teal-800); border-radius: var(--radius-md); text-decoration: none;
    border: 1px solid var(--teal-700); transition: all 0.2s ease;
  }
  .quick-nav-card--featured:active { background: var(--teal-700); }
  .quick-nav-card--featured .quick-nav-card__icon { width: 26px; height: 26px; color: var(--gold-400); flex-shrink: 0; }
  .quick-nav-card--featured .quick-nav-card__label { font-size: 0.78rem; font-weight: 700; color: var(--white); text-align: left; }
  .quick-nav-info {
    display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
    padding: 1.25rem 1rem; border-radius: var(--radius-md); text-decoration: none;
    transition: all 0.2s ease; grid-column: 1 / -1;
    background: var(--gray-50, #f8f8f6); border: 1px solid rgba(0,0,0,.04);
  }
  .quick-nav-info .quick-nav-card__icon { flex-shrink: 0; color: var(--teal-700); }
  .quick-nav-info .quick-nav-card__label { color: var(--teal-800); text-align: center; }

  .cta-banner .btn { display: block; margin: 0.4rem auto; width: max-content; }

  /* Compact inner-page heroes on mobile */
  .hero--page { min-height: auto; padding: calc(var(--header-height) + 1rem) 0 1.5rem; }
  .hero--page .hero__subtitle { font-size: 0.85rem; margin-top: 0.25rem; }
  .hero--page h1 { font-size: 1.6rem; }

  /* Hide sidebar on mobile — sticky call bar replaces it */
  .sidebar { display: none !important; }

  /* Mobile action cards (contact, emergencies, etc.) */
  .mobile-action-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    padding: 1rem;
    background: var(--white);
  }
  .mobile-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    background: var(--teal-800);
    border: 1px solid var(--teal-700);
    transition: all 0.2s ease;
  }
  .mobile-action-card__icon { width: 28px; height: 28px; color: var(--gold-400); }
  .mobile-action-card__icon svg { width: 100%; height: 100%; }
  .mobile-action-card__label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    line-height: 1.2;
  }
  .mobile-action-card:active { background: var(--teal-700); }

  /* Sticky mobile call bar for content pages */
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    background: linear-gradient(135deg, var(--teal-700), var(--teal-800));
    padding: 0.75rem 1rem;
    text-align: center;
    box-shadow: 0 -2px 12px rgba(0,0,0,.25);
  }
  .mobile-sticky-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-body);
  }
  .mobile-sticky-cta svg { width: 20px; height: 20px; color: var(--gold-400); flex-shrink: 0; }

  /* Offset FABs above sticky bar and add body padding */
  .mobile-sticky-cta ~ .fab-container,
  body:has(.mobile-sticky-cta) .fab-container { bottom: 3.5rem; }
  .site-footer { padding-bottom: 3.5rem; }

}

/* Desktop: hide mobile-only elements */
@media (min-width: 769px) {
  .mobile-quick-nav { display: none; }
  .mobile-action-cards { display: none; }
  .mobile-sticky-cta { display: none; }
  .footer-services-link { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .section { padding: var(--space-2xl) 0; }
}
