/* ═══════════════════════════════════════════════════════════
   CLEARVIEW REPAIR — SHARED STYLESHEET
   Torrington, CT HVAC Contractor
   Color: Maroon / Black / White — ADA WCAG 2.1 AA Compliant
═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── MAROON SCALE ── */
  --maroon-900: #450a0a;
  --maroon-800: #7f1d1d;
  --maroon-700: #991b1b;
  --maroon-600: #b91c1c;
  --maroon-500: #dc2626;
  --maroon-400: #ef4444;
  --maroon-300: #fca5a5;

  /* ── BLACK / DARK SCALE (replaces navy) ── */
  --navy-950: #050505;
  --navy-900: #0a0a0a;
  --navy-800: #1a0a0a;
  --navy-700: #2a1010;
  --navy-600: #3d1515;
  --navy-500: #5a1a1a;

  /* ── SEMANTIC ALIASES (keeps HTML unchanged) ── */
  --orange-600: #991b1b;
  --orange-500: #b91c1c;
  --orange-400: #dc2626;
  --orange-300: #fca5a5;

  /* ── NEUTRALS ── */
  --green-600: #15803d;
  --white: #ffffff;
  --gray-50:  #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-900: #18181b;

  /* ── RADIUS / SHADOW ── */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.16), 0 1px 2px rgba(0,0,0,.12);
  --shadow-md: 0 4px 16px rgba(0,0,0,.2);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.28);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.36);
}

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden; word-break: break-word; overflow-wrap: break-word;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════════════
   ADA / WCAG 2.1 AA — ACCESSIBILITY ENHANCEMENTS
══════════════════════════════════════════════════ */

/* Skip navigation link — keyboard users only */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--maroon-700);
  color: var(--white);
  padding: 14px 28px;
  z-index: 100000;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: top .15s;
  white-space: nowrap;
}
.skip-link:focus { top: 0; }

/* Focus rings — visible, high contrast (WCAG 2.4.7) */
:focus-visible {
  outline: 3px solid var(--maroon-500);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Remove outline for mouse users, keep for keyboard */
:focus:not(:focus-visible) { outline: none; }

/* Screen-reader only utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
  border: 0;
}

/* Reduced motion — respect user preference (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High-contrast / forced-colors support */
@media (forced-colors: active) {
  .btn--primary { border: 2px solid ButtonText; }
  .skip-link { border: 2px solid ButtonText; }
}

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(185,28,28,.12); color: var(--maroon-600);
  border: 1px solid rgba(185,28,28,.28);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
}
.tag svg { width: 13px; height: 13px; flex-shrink: 0; }
.tag--light {
  background: rgba(185,28,28,.2); color: var(--maroon-300);
  border-color: rgba(185,28,28,.35);
}

/* ── TOPBAR ── */
.topbar {
  background: var(--maroon-800);
  padding: 8px 0;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.topbar__left { display: flex; align-items: center; gap: 20px; flex-shrink: 1; overflow: hidden; }
.topbar__item {
  display: flex; align-items: center; gap: 6px;
  color: var(--white); font-size: 13px; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  /* ADA: underline on links for WCAG 1.4.1 */
  text-decoration-color: transparent;
  transition: text-decoration-color .15s;
}
.topbar__item:hover { text-decoration-color: rgba(255,255,255,.7); }
.topbar__item svg { width: 14px; height: 14px; opacity: .9; flex-shrink: 0; }
.topbar__badge {
  background: var(--white); color: var(--maroon-700);
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 10px; border-radius: 100px; white-space: nowrap; flex-shrink: 0;
}

/* ── NAV ── */
nav.site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 16px;
}
.nav__logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.nav__logo-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--maroon-600), var(--maroon-800));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(185,28,28,.45);
  flex-shrink: 0;
}
.nav__logo-icon svg { width: 24px; height: 24px; color: var(--white); }
.nav__logo-text { display: flex; flex-direction: column; }
.nav__logo-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800; color: var(--white);
  letter-spacing: .02em; line-height: 1.1; white-space: nowrap;
}
.nav__logo-sub {
  font-size: 10px; color: var(--maroon-400);
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; flex: 1; justify-content: center; }
.nav__links a {
  color: var(--gray-300); font-size: 13px; font-weight: 500;
  text-decoration: none; padding: 7px 11px; border-radius: var(--radius-sm);
  transition: color .15s, background .15s; white-space: nowrap;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--white); background: rgba(255,255,255,.08);
}
.nav__links a[aria-current="page"] {
  color: var(--maroon-400);
}

.nav__cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--white); font-size: 16px; font-weight: 700;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.nav__phone svg { color: var(--maroon-400); width: 17px; height: 17px; flex-shrink: 0; }

/* ── BUTTONS — contrast ratios verified ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  border: none; text-decoration: none; border-radius: var(--radius-sm);
  touch-action: manipulation;
  transition: all .15s; white-space: nowrap;
  /* ADA: minimum 44px touch target height */
  min-height: 44px;
}
/* maroon on white: contrast ~6.3:1 — WCAG AA pass */
.btn--primary {
  background: linear-gradient(135deg, var(--maroon-600), var(--maroon-800));
  color: var(--white); padding: 12px 22px;
  box-shadow: 0 4px 14px rgba(185,28,28,.4);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(185,28,28,.55); }
.btn--outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.5); padding: 12px 22px;
}
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }
.btn--outline-orange {
  background: transparent; color: var(--maroon-600);
  border: 2px solid var(--maroon-600); padding: 12px 22px;
}
.btn--outline-orange:hover { background: var(--maroon-600); color: var(--white); }
.btn--lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-md); }
.btn--xl { padding: 18px 36px; font-size: 17px; border-radius: var(--radius-md); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── FLOATING CALL BUTTON (mobile — ADA: labeled with text) ── */
.float-call {
  display: none;
  position: fixed; bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 16px)); right: 20px; z-index: 999;
  background: linear-gradient(135deg, var(--maroon-600), var(--maroon-800));
  color: var(--white); border-radius: 100px;
  padding: 14px 22px; font-weight: 700; font-size: 15px;
  text-decoration: none; gap: 10px; align-items: center;
  box-shadow: 0 6px 24px rgba(185,28,28,.6);
  /* ADA: 44px minimum touch target */
  min-height: 44px;
  animation: floatPulse 3s ease-in-out infinite;
}
.float-call svg { width: 20px; height: 20px; }
@keyframes floatPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(185,28,28,.6); }
  50% { box-shadow: 0 6px 36px rgba(185,28,28,.85); }
}

/* ── SECTIONS ── */
section { padding: 88px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .tag { margin-bottom: 14px; }
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(30px, 4vw, 50px); font-weight: 800;
  color: var(--gray-900); line-height: 1.05; letter-spacing: -.01em; margin-bottom: 14px;
}
.section-title--light { color: var(--white); }
.section-sub { font-size: 17px; color: var(--gray-600); max-width: 580px; margin: 0 auto; line-height: 1.65; }
.section-sub--light { color: var(--gray-300); }

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900);
  padding: 80px 0 96px;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 70% at 100% 50%, rgba(185,28,28,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 100% at -10% 60%, rgba(90,26,26,.5) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.018'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--navy-800);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 0;
}
.stats-strip__grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-left: 1px solid rgba(255,255,255,.07);
}
.stat-item {
  padding: 30px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.stat-item__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 44px; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 4px;
}
/* maroon-400 on black navy: contrast ~5.1:1 — WCAG AA pass */
.stat-item__num span { color: var(--maroon-400); }
.stat-item__label { font-size: 13px; color: var(--gray-400); font-weight: 500; }

/* ── SERVICE CARDS ── */
.service-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--maroon-700), var(--maroon-500));
  opacity: 0; transition: opacity .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(185,28,28,.22); }
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 56px; height: 56px; border-radius: 13px;
  background: linear-gradient(135deg, var(--maroon-600), var(--maroon-800));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; box-shadow: 0 6px 18px rgba(185,28,28,.32); flex-shrink: 0;
}
.service-card__icon svg { width: 28px; height: 28px; color: var(--white); }
.service-card__title { font-size: 19px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.service-card__desc { font-size: 14px; color: var(--gray-600); line-height: 1.65; margin-bottom: 18px; flex: 1; }
.service-card__list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.service-card__list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray-600);
}
.service-card__list li svg { width: 13px; height: 13px; color: var(--maroon-600); flex-shrink: 0; }
/* maroon-700 on white: contrast ~7.1:1 — WCAG AAA pass */
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--maroon-700); font-size: 13px; font-weight: 700;
  text-decoration: underline; margin-top: auto;
  transition: gap .15s, color .15s;
}
.service-card__link:hover { gap: 10px; color: var(--maroon-600); }
.service-card__link svg { width: 14px; height: 14px; }

/* ── CHECK LIST ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--gray-600); line-height: 1.5;
}
.check-list li svg { width: 16px; height: 16px; color: var(--maroon-600); flex-shrink: 0; margin-top: 2px; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--white); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); padding: 28px 0; }
.trust-bar__items { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item__icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-item__icon svg { width: 20px; height: 20px; color: var(--maroon-400); }
.trust-item__text strong { display: block; font-size: 13px; font-weight: 700; color: var(--gray-900); line-height: 1.2; }
.trust-item__text span { font-size: 11px; color: var(--gray-500); }

/* ── TESTIMONIALS ── */
.testimonial-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card__stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial-card__stars svg { width: 16px; height: 16px; color: #b45309; }
/* amber-700 on white: contrast 4.9:1 — WCAG AA pass */
.testimonial-card__text {
  font-size: 15px; color: var(--gray-700); line-height: 1.7;
  margin-bottom: 20px; font-style: italic;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-600));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; color: var(--white);
  flex-shrink: 0;
  /* ADA: decorative, aria-hidden on initials */
}
.testimonial-card__name { font-size: 14px; font-weight: 700; color: var(--gray-900); line-height: 1.2; }
.testimonial-card__loc { font-size: 12px; color: var(--gray-500); }

/* ── REVIEW AGGREGATE ── */
.review-agg {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md); padding: 12px 18px;
}
.review-agg__stars { display: flex; gap: 2px; }
.review-agg__stars svg { width: 14px; height: 14px; color: #fbbf24; }
.review-agg__text { font-size: 13px; color: var(--gray-300); font-weight: 500; }
.review-agg__text strong { color: var(--white); }

/* ── FAQ — keyboard accessible ── */
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; text-align: left; font-family: inherit;
  /* ADA: min 44px touch target */
  min-height: 44px;
}
.faq-question span { font-size: 16px; font-weight: 600; color: var(--gray-900); line-height: 1.4; }
.faq-question svg { width: 20px; height: 20px; color: var(--maroon-600); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  font-size: 15px; color: var(--gray-700); line-height: 1.7;
  padding: 0 0 20px; display: none;
}
.faq-item.open .faq-answer { display: block; }

/* ── EMERGENCY CTA ── */
.emergency-cta {
  background: linear-gradient(135deg, var(--maroon-800) 0%, var(--maroon-900) 100%);
  padding: 52px 0;
  border-top: 3px solid var(--maroon-600);
}
.emergency-cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.emergency-cta__heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(26px, 3.5vw, 44px); font-weight: 800;
  color: var(--white); line-height: 1.05; letter-spacing: -.01em; margin-bottom: 8px;
}
/* white on maroon-900: contrast ~14:1 — WCAG AAA pass */
.emergency-cta__sub { font-size: 15px; color: rgba(255,255,255,.85); }
.emergency-cta__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
.phone-block {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md); padding: 14px 20px; text-decoration: none;
  transition: background .15s;
  min-height: 44px;
}
.phone-block:hover { background: rgba(255,255,255,.2); }
.phone-block svg { width: 22px; height: 22px; color: var(--white); flex-shrink: 0; }
.phone-block__label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.75); font-weight: 600; }
.phone-block__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px; font-weight: 800; color: var(--white); line-height: 1; white-space: nowrap;
}

/* ── CONTACT FORM — accessible labels ── */
.contact-form-wrap {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl); padding: 36px;
}
.contact-form-title { font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--gray-300); letter-spacing: .04em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  color: var(--white); border-radius: var(--radius-sm);
  padding: 12px 14px; font-family: inherit; font-size: 15px;
  transition: border-color .15s, background .15s;
  outline: none; width: 100%;
  /* ADA: 44px minimum height */
  min-height: 44px;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.32); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--maroon-500);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(220,38,38,.2);
  outline: none;
}
.form-group select option { background: #1a0a0a; color: var(--white); }
.form-group textarea { resize: vertical; min-height: 96px; }
.form-submit { width: 100%; padding: 15px; font-size: 15px; font-weight: 700; margin-top: 6px; }

/* Error state — red border + message below (WCAG 3.3.1) */
.form-group--error input,
.form-group--error select,
.form-group--error textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.2);
}
.form-group__error {
  font-size: 12px; color: #fca5a5; margin-top: 4px;
  display: flex; align-items: center; gap: 4px;
}
/* Required field indicator */
.form-group label .required { color: var(--maroon-400); margin-left: 2px; aria-label: "required"; }

/* ── FOOTER ── */
footer.site-footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 60px 0 28px;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer__desc { font-size: 14px; color: var(--gray-400); line-height: 1.7; margin: 14px 0 18px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 44px; height: 44px; border-radius: 7px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); text-decoration: none; transition: background .15s, color .15s;
  /* ADA: 44px touch target */
}
.footer__social a:hover { background: var(--maroon-700); color: var(--white); border-color: transparent; }
.footer__social a svg { width: 15px; height: 15px; }
.footer__col-title {
  font-size: 12px; font-weight: 700; color: var(--white);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__links a {
  color: var(--gray-400); font-size: 14px; text-decoration: none;
  transition: color .15s; display: inline-block; padding: 2px 0;
  /* ADA: min height for touch */
  min-height: 24px;
}
.footer__links a:hover { color: var(--maroon-400); text-decoration: underline; }
.footer__links span { color: var(--gray-500); font-size: 14px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer__bottom p { font-size: 12px; color: var(--gray-500); }
.footer__licenses { display: flex; gap: 16px; }
.footer__licenses a { color: var(--gray-500); font-size: 12px; text-decoration: none; }
.footer__licenses a:hover { color: var(--maroon-400); text-decoration: underline; }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--navy-950); padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.breadcrumb__list { display: flex; align-items: center; gap: 8px; list-style: none; flex-wrap: wrap; }
.breadcrumb__list a {
  color: var(--gray-400); font-size: 13px; text-decoration: none;
  transition: color .15s; padding: 4px 0;
}
.breadcrumb__list a:hover { color: var(--maroon-400); text-decoration: underline; }
.breadcrumb__list span { color: var(--gray-600); font-size: 12px; }
.breadcrumb__list li { color: var(--gray-300); font-size: 13px; }

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .stats-strip__grid { grid-template-columns: repeat(2,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .emergency-cta__inner { flex-direction: column; align-items: flex-start; }
  .float-call { display: flex; }
  .topbar__left .topbar__item:last-child { display: none; }
  /* Phone link in nav hidden — floating call button covers it at these widths */
  .nav__phone { display: none; }
  .section-header { margin-bottom: 40px; }
  .stat-item { padding: 22px 12px; }
  .stat-item__num { font-size: 36px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 64px; }
  section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-title { font-size: clamp(24px, 7vw, 36px); }
  .float-call { right: 14px; font-size: 14px; padding: 12px 18px; }
  .btn--lg { padding: 14px 22px; font-size: 14px; }
  .footer__grid { gap: 28px; }
}

/* ── ANIMATIONS (respects prefers-reduced-motion) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(22px);
    animation: reveal .6s ease forwards;
  }
  .reveal:nth-child(2) { animation-delay: .1s; }
  .reveal:nth-child(3) { animation-delay: .18s; }
  .reveal:nth-child(4) { animation-delay: .26s; }
  .reveal:nth-child(5) { animation-delay: .34s; }
  .reveal:nth-child(6) { animation-delay: .42s; }
  @keyframes reveal { to { opacity: 1; transform: translateY(0); } }

  .badge-pulse {
    width: 7px; height: 7px; border-radius: 50%; background: var(--maroon-500);
    animation: badgePulse 2s infinite;
    display: inline-block;
  }
  @keyframes badgePulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.75); }
  }
}

/* ── SERVICES DROPDOWN ── */
.nav__dropdown { position: relative; }
.nav__dropdown-btn {
  display: flex; align-items: center; gap: 5px;
  color: var(--gray-300); font-size: 13px; font-weight: 500;
  background: none; border: none; cursor: pointer; font-family: inherit;
  padding: 7px 11px; border-radius: var(--radius-sm);
  transition: color .15s, background .15s; white-space: nowrap;
  touch-action: manipulation;
}
.nav__dropdown-btn:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav__dropdown-btn svg { transition: transform .2s ease; flex-shrink: 0; }
.nav__dropdown:hover .nav__dropdown-btn svg,
.nav__dropdown.open  .nav__dropdown-btn svg { transform: rotate(180deg); }
.nav__dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--navy-800); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md); padding: 6px; min-width: 190px; z-index: 300;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.open  .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  display: block; color: var(--gray-300); font-size: 13px; font-weight: 500;
  text-decoration: none; padding: 9px 14px; border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav__dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,.09); }

/* ── HAMBURGER / MOBILE NAV ── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
  border-radius: var(--radius-sm);
  touch-action: manipulation;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
@media (max-width: 1024px) {
  .nav__hamburger { display: flex; }
}

/* Hamburger -> X when open */
.nav--open .nav__hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav--open .nav__hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.nav--open .nav__links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 16px 20px;
  gap: 2px;
  z-index: 200;
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
}
.nav--open .nav__links > li { width: 100%; }
.nav--open .nav__links > li > a {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--gray-200);
}
.nav--open .nav__links > li > a:hover,
.nav--open .nav__links > li > a[aria-current="page"] {
  background: rgba(255,255,255,.07);
  color: var(--white);
}

/* ── MOBILE SERVICES ACCORDION ── */
/* Desktop: group is invisible, service items flow flat in flex nav */
@media (min-width: 1025px) {
  .nav__services-group { display: contents; }
  .nav__services-btn   { display: none !important; }
  .nav__services-sub   { display: contents; }
}
/* Mobile: accordion */
@media (max-width: 1024px) {
  .nav__services-group { width: 100%; list-style: none; }
  .nav__services-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    background: none;
    border: none;
    color: var(--gray-200);
    font: 500 15px/1 var(--font-body);
    cursor: pointer;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    touch-action: manipulation;
    text-align: left;
  }
  .nav__services-btn:hover { background: rgba(255,255,255,.07); color: var(--white); }
  .nav__services-btn svg { margin-left: auto; transition: transform .2s ease; flex-shrink: 0; }
  .nav__services-group.open .nav__services-btn svg { transform: rotate(180deg); }
  .nav__services-sub {
    display: none;
    list-style: none;
    margin: 2px 0 4px;
    padding: 0;
  }
  .nav__services-group.open .nav__services-sub { display: block; }
  .nav__services-sub li a {
    display: block;
    padding: 9px 14px 9px 32px;
    font-size: 14px;
    color: var(--gray-300);
    border-radius: var(--radius-sm);
    text-decoration: none;
  }
  .nav__services-sub li a:hover,
  .nav__services-sub li a[aria-current="page"] {
    background: rgba(255,255,255,.06);
    color: var(--white);
  }
}

/* ── PRINT STYLES ── */
@media print {
  nav.site-nav, .float-call, .breadcrumb, .btn, form { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #555; }
  h1, h2, h3 { page-break-after: avoid; }
  .hero { background: #fff !important; padding: 20pt 0; }
  .hero * { color: #000 !important; }
}

/* ── AUTOFILL OVERRIDE (prevents white box on phone/autofill) ── */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
select:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  transition: background-color 9999s ease-in-out 0s;
}
/* Light background forms (service pages, contact) */
.form-group input:-webkit-autofill,
.form-group select:-webkit-autofill,
.form-group textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #f8f8f8 inset !important;
  -webkit-text-fill-color: #18181b !important;
  caret-color: #18181b !important;
}
