/*
  globals.css — Starter Template
  ================================
  Copy this file to styles/globals.css in every project.
  Replace CSS variable values with the project's design tokens from DESIGN_SYSTEM.md.
  Never hardcode colors, fonts, or spacing in components — always reference these variables.

  REPLACE THESE VALUES:
  - All --brand-* variables (from CONFIG and DESIGN_SYSTEM.md)
  - --font-heading and --font-body (from Google Fonts import below)
  - --clr-bg-warm if the project uses an accent background section
*/

/* ============================================================
   0. GOOGLE FONTS IMPORT
   Replace with the project's actual font families.
   ============================================================ */
/* Hanken Grotesk — brand font (free substitute for Radikal). Primary load is the
   <link> in each page <head>; this @import is a fallback. */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');


/* ============================================================
   1. CSS VARIABLES — REPLACE PER PROJECT
   ============================================================ */
:root {
  /* --- Brand Colors --- */
  --brand:              #3B82F6;       /* [PRIMARY_COLOR] — Main brand color */
  --brand-dark:         #2563EB;       /* [PRIMARY_DARK] — Hover/active state ~10% darker */
  --brand-light:        rgba(59, 130, 246, 0.12); /* [PRIMARY_LIGHT] — Primary at 12% opacity */
  --brand-secondary:    #10B981;       /* [SECONDARY_COLOR] — Links, icons, accents */
  --brand-secondary-dk: #059669;       /* [SECONDARY_DARK] — Hover state for secondary */
  --brand-tertiary:     #F59E0B;       /* [TERTIARY_COLOR] — Optional third color, success states */

  /* --- Text Colors (usually unchanged project to project) --- */
  --text-primary:       #111827;       /* Headlines, nav, strong body text */
  --text-body:          #374151;       /* Body copy, descriptions */
  --text-muted:         #6B7280;       /* Captions, labels, placeholders */
  --text-light:         #F9FAFB;       /* Text on dark/colored backgrounds */

  /* --- Backgrounds --- */
  --bg-primary:         #FFFFFF;       /* Main page surface */
  --bg-secondary:       #F9FAFB;       /* Alternating section background */
  --bg-warm:            #FFFBF0;       /* [WARM_BG] — Optional warm accent section bg */
  --bg-dark:            #111827;       /* Dark sections (footer, CTA banners) */

  /* --- UI --- */
  --border:             #E5E7EB;       /* Card borders, dividers, input borders */
  --radius:             8px;           /* Base radius — inputs, tags */
  --radius-md:          12px;          /* Cards, modals */
  --radius-lg:          16px;          /* Feature cards, panels */
  --radius-pill:        9999px;        /* All buttons, badges */

  /* --- Shadows --- */
  --shadow-sm:          0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow:             0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg:          0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  /* --- Typography --- */
  --font-heading:       'Inter', sans-serif;  /* [HEADING_FONT] — Replace per project */
  --font-body:          'Inter', sans-serif;  /* [BODY_FONT] — Replace per project */

  /* --- Spacing (8px grid) --- */
  --space-1:  0.5rem;    /*  8px */
  --space-2:  1rem;      /* 16px */
  --space-3:  1.5rem;    /* 24px */
  --space-4:  2rem;      /* 32px */
  --space-5:  2.5rem;    /* 40px */
  --space-6:  3rem;      /* 48px */
  --space-7:  3.5rem;    /* 56px */
  --space-8:  4rem;      /* 64px */
  --space-10: 5rem;      /* 80px */
  --space-12: 6rem;      /* 96px */
  --section-y: 5rem;     /* 80px — default section vertical padding */
}


/* ============================================================
   1b. SKIP NAVIGATION (WCAG 2.4.1 — Bypass Blocks)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--brand);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--brand-dark);
  outline-offset: 2px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* WCAG 2.2 §2.4.11 Focus Not Obscured: prevent sticky header from covering
     keyboard-focused elements. Value = header height (~68px) + 12px buffer. */
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--brand-secondary);
  text-decoration: none;
}

a:hover {
  color: var(--brand-secondary-dk);
}


/* ============================================================
   3. TYPOGRAPHY — GLOBAL SCALE
   Every page uses these. Never override in components unless
   there is a specific, justified reason.
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-body);
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.6;
}

.text-xs {
  font-size: 0.8125rem;
  line-height: 1.5;
}

.overline {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-secondary);
}


/* ============================================================
   4. LAYOUT — CONTAINER AND SECTIONS
   ============================================================ */

.container {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
}

.container-sm {
  width: 90%;
  max-width: 720px;
  margin-inline: auto;
}

.section {
  padding: var(--section-y) 0;
}

.section-sm {
  padding: calc(var(--section-y) * 0.6) 0;
}

/* Alternating section backgrounds — use these classes on <section> elements */
.bg-white    { background-color: var(--bg-primary); }
.bg-gray     { background-color: var(--bg-secondary); }
.bg-warm     { background-color: var(--bg-warm); }
.bg-dark     { background-color: var(--bg-dark); color: var(--text-light); }
.bg-brand    { background-color: var(--brand); color: var(--text-primary); }

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

/* Breakpoints: 480px (sm) / 768px (md) / 1024px (lg) */
@media (max-width: 479px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (min-width: 480px) and (max-width: 767px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   5. BUTTONS
   Apply .btn + variant class. Never style buttons ad hoc.
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-height: 48px; /* WCAG tap target */
}

.btn:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

/* All button variants are driven by design.js tokens (var(--btn-*)).
   Never hardcode button colors here — change them in js/design.js. */

/* Primary — solid brand. Any background. */
.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-color);
  border-color: var(--btn-primary-border);
}
.btn-primary:hover {
  background-color: var(--btn-primary-hover-bg);
  color: var(--btn-primary-hover-color);
  border-color: var(--btn-primary-hover-border);
  transform: translateY(-1px);
}

/* Outline — dark border. Light backgrounds only. */
.btn-outline {
  background-color: var(--btn-outline-bg);
  color: var(--btn-outline-color);
  border-color: var(--btn-outline-border);
}
.btn-outline:hover {
  background-color: var(--btn-outline-hover-bg);
  color: var(--btn-outline-hover-color);
  border-color: var(--btn-outline-hover-border);
}

/* Outline Dark — white border. Dark/brand/photo backgrounds only. */
.btn-outline-dark,
.btn-outline-light {
  background-color: var(--btn-outline-dark-bg);
  color: var(--btn-outline-dark-color);
  border-color: var(--btn-outline-dark-border);
}
.btn-outline-dark:hover,
.btn-outline-light:hover {
  background-color: var(--btn-outline-dark-hover-bg);
  color: var(--btn-outline-dark-hover-color);
  border-color: var(--btn-outline-dark-hover-border);
}

/* Brand Outline — brand border. Light backgrounds only. */
.btn-brand-outline {
  background-color: var(--btn-brand-outline-bg);
  color: var(--btn-brand-outline-color);
  border-color: var(--btn-brand-outline-border);
}
.btn-brand-outline:hover {
  background-color: var(--btn-brand-outline-hover-bg);
  color: var(--btn-brand-outline-hover-color);
  border-color: var(--btn-brand-outline-hover-border);
}

/* Brand Light — soft tinted fill. White backgrounds only. */
.btn-brand-light {
  background-color: var(--btn-brand-light-bg);
  color: var(--btn-brand-light-color);
  border-color: var(--btn-brand-light-border);
}
.btn-brand-light:hover {
  background-color: var(--btn-brand-light-hover-bg);
  color: var(--btn-brand-light-hover-color);
  border-color: var(--btn-brand-light-hover-border);
}

/* Dark — near-black solid. Any background. */
.btn-dark {
  background-color: var(--btn-dark-bg);
  color: var(--btn-dark-color);
  border-color: var(--btn-dark-border);
}
.btn-dark:hover {
  background-color: var(--btn-dark-hover-bg);
  color: var(--btn-dark-hover-color);
  border-color: var(--btn-dark-hover-border);
  transform: translateY(-1px);
}

/* Size modifiers */
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 40px;
}
.btn-block {
  width: 100%;
  display: flex;
}


/* ============================================================
   6. FORM ELEMENTS
   ============================================================ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  min-height: 48px; /* WCAG tap target */
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 107, 53, 0.15); /* brand green #1E6B35 */
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-helper {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.form-error {
  font-size: 0.75rem;
  color: #DC2626;
}


/* ============================================================
   7. CARDS
   ============================================================ */

.card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-flat {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}


/* ============================================================
   8. BADGES
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}

.badge-primary  { background: var(--brand); color: #ffffff; }
.badge-light    { background: var(--brand-light); color: var(--text-primary); }
.badge-secondary { background: var(--brand-secondary); color: #ffffff; }
.badge-outline  { background: transparent; border: 1.5px solid var(--border); color: var(--text-body); }
.badge-muted    { background: var(--bg-secondary); color: var(--text-muted); }


/* ============================================================
   9. FOCUS RING — ACCESSIBILITY
   ============================================================ */

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


/* ============================================================
   10. UTILITY CLASSES
   ============================================================ */

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }

.text-brand     { color: var(--brand); }
.text-secondary { color: var(--brand-secondary); }
.text-muted     { color: var(--text-muted); }
.text-light     { color: var(--text-light); }
.text-dark      { color: var(--text-primary); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col    { display: flex; flex-direction: column; }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }

.w-full  { width: 100%; }
.h-full  { height: 100%; }

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background-color: var(--border);
  margin: var(--space-6) 0;
}


/* ============================================================
   11. SITE HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: var(--space-2) 0;
  transition: box-shadow 0.2s;
}

.site-header.header--scrolled {
  box-shadow: var(--shadow);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header .logo img {
  display: block;
  height: 44px;
  width: auto;
  aspect-ratio: 291.923 / 98.6312;
}

.footer-brand .logo img {
  display: block;
  height: 90px;
  width: auto;
  aspect-ratio: 174.0296 / 184.4485;
}

.logo-primary {
  color: var(--brand);
}

.logo-light {
  color: var(--text-light);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Header CTA button: trimmed slightly so it clears the logo on tablet and phone */
.site-header .header-cta .btn {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}
/* On phones the header Call button crowds the logo and hamburger, and it is
   redundant (the open menu has a Call button and the sticky bar has Call Now),
   so hide it on mobile for a clean header. */
@media (max-width: 767px) {
  .site-header .header-cta { display: none; }
}

/* Hours badge */
.hours-badge {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
}

.hours-badge--open {
  background: #DCFCE7;
  color: #166534;
}

.hours-badge--emergency {
  background: #FEF3C7;
  color: #92400E;
}

.hours-badge--emergency a {
  color: inherit;
  text-decoration: none;
}

.hours-badge--closed {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

/* Desktop nav */
.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: var(--space-4);
}

.nav-desktop a {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s;
  /* WCAG 2.2 §2.5.8 Target Size: ensure ≥24px hit height */
  padding: 0.375rem 0;
  display: inline-block;
}

.nav-desktop a:hover {
  color: var(--brand);
}

/* Active page indicator — set aria-current="page" on the matching nav link */
.nav-desktop a[aria-current="page"] {
  color: var(--brand);
  position: relative;
}
.nav-desktop a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.nav-mobile a[aria-current="page"] {
  color: var(--brand);
  font-weight: 700;
}

/* Mobile nav toggle — hidden on desktop, flex on mobile */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.25rem;
  /* WCAG 2.2 §2.5.8 Target Size: minimum 44×44px touch target */
  min-width: 44px;
  min-height: 44px;
  display: none; /* hidden by default; shown on mobile below */
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }
}

/* Mobile nav menu */
.nav-mobile {
  display: none;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: var(--space-3);
}

.nav-mobile.nav-open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.nav-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* Override .nav-mobile a { display:block } for CTA buttons */
.nav-mobile-cta a.btn {
  display: flex;
  justify-content: center;
  border-bottom: none;
}


/* ============================================================
   12. STICKY MOBILE CTA
   Fixed bar at viewport bottom — mobile only.
   Every page needs padding-bottom: 4rem on mobile to avoid overlap.
   ============================================================ */

.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Safe-area: accounts for home-bar on notched iPhones (X, 11, 12, 13, 14, 15) */
  padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 768px) {
  .sticky-mobile-cta {
    display: none;
  }
}

.sticky-call,
.sticky-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  min-height: 56px;
}

.sticky-call {
  background-color: var(--brand);
  color: #ffffff;
}

.sticky-quote {
  background-color: var(--brand-dark);
  color: #ffffff;
}

/* Add bottom padding on mobile to prevent sticky CTA overlap — includes safe-area */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }
}


/* ============================================================
   13. MODALS (Callback, Exit Intent)
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}

/* hidden attribute must win over display:flex */
.modal-overlay[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.modal-card {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}

.modal-card h3 {
  margin-bottom: var(--space-1);
}

.modal-card p {
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  font-size: 0.9375rem;
}

.modal-card .form-group {
  margin-bottom: var(--space-2);
}

.modal-card .btn-block {
  margin-top: var(--space-2);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  /* WCAG 2.2 §2.5.8 Target Size: minimum 44×44px touch target */
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.modal-close:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

/* Mobile: callback modal slides up from bottom */
@media (max-width: 479px) {
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal-card {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-width: 100%;
    padding-bottom: calc(var(--space-5) + 56px); /* account for sticky CTA */
  }
}


/* ============================================================
   14. FOOTER
   ============================================================ */

.site-footer {
  padding: var(--space-10) 0 var(--space-6);
}

.site-footer h4 {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: var(--space-2);
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.375rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  transition: color 0.15s;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-phone {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff !important;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  margin-bottom: var(--space-1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.social-links {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  transition: background 0.15s, color 0.15s;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}


/* ============================================================
   15. SECTION TRANSITIONS
   Use at least 3 different patterns across every site.
   ============================================================ */

/* 1. Angled divider */
.section-angle {
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  padding-top: calc(var(--section-y) + 3rem);
  padding-bottom: calc(var(--section-y) + 3rem);
}

/* 2. Gradient fade from brand-light to white */
.section-fade {
  background: linear-gradient(to bottom, var(--brand-light) 0%, var(--bg-primary) 100%);
}

/* 3. Overlapping card — pull element up from previous section */
.overlap-card {
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

/* 4. Diagonal split background */
.section-split {
  background: linear-gradient(135deg, var(--bg-primary) 60%, var(--brand-light) 60%);
}

/* 5. Full-bleed brand color with wave SVG */
/* Add SVG wave element at section boundary — see CLAUDE.md for markup */


/* ============================================================
   16. HERO SECTION
   ============================================================ */

.hero {
  padding: calc(var(--section-y) * 1.25) 0;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: var(--space-3);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-4);
  max-width: 640px;
  margin-inline: auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-5);
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-5);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-4);
}


/* ============================================================
   17. REVIEW FLOW (review.html)
   ============================================================ */

.review-flow {
  max-width: 560px;
  margin-inline: auto;
  padding: var(--space-8) var(--space-3);
}

.review-screen { /* each screen is hidden/shown by JS */ }

.progress-bar-track {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--space-6);
}

#progress-bar {
  height: 100%;
  background: var(--brand);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}

.star-row {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-5) 0;
}

.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 3rem;
  color: var(--border);
  transition: transform 0.15s, color 0.15s;
  line-height: 1;
  padding: 0.25rem;
}

.star-btn.star--active {
  transform: scale(1.2);
}

/* Hover preview: JS adds star--hover to stars 1-through-N on mouseenter */
.star-btn.star--hover {
  color: #ca8a04;
  transform: scale(1.1);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: var(--space-3) 0;
}

.chip {
  padding: 0.5rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  background: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.15s;
}

.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.chip.chip--active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.review-quote-display {
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  margin: var(--space-3) 0;
  font-style: italic;
  color: var(--text-body);
}


/* ============================================================
   18. FAQ ACCORDION (using native details/summary)
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

details.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

details.faq-item summary {
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary:hover {
  background: var(--bg-secondary);
}

details.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.2s;
  flex-shrink: 0;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
}

details.faq-item .faq-answer {
  padding: 0 var(--space-4) var(--space-3);
  color: var(--text-body);
}


/* ============================================================
   19. BADGE STRIP — trust bar used on multiple pages
   ============================================================ */

/* ============================================================
   20. SECTION HEADER — centered intro used on service pages
   ============================================================ */

.section-header {
  max-width: 64ch;
  margin: 0 auto var(--space-6);
}

.section-header.text-center {
  text-align: center;
}

.section-header h2 {
  margin-bottom: var(--space-1);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Breadcrumb — current page (final crumb, wrapped in span[aria-current="page"]) */
.svc-breadcrumb [aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
}

.badge-strip {
  background: var(--bg-dark);
  color: #fff;
}

.badge-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  justify-content: center;
  align-items: center;
  padding: var(--space-3) 0;
}

.badge-strip .bs-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
}

.badge-strip svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* ============================================================
   21. BEFORE/AFTER SLIDER
   ============================================================ */

.ba-section {}

.ba-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.ba-tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border);
  background: none;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s;
}

.ba-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.ba-tab.ba-tab--active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.ba-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: col-resize;
  user-select: none;
  touch-action: pan-y;
  max-width: 900px;
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
}

.ba-after,
.ba-before {
  display: block;
  width: 100%;
}

.ba-after img,
.ba-before img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  clip-path: inset(0 50% 0 0);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0,0,0,0.35);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  pointer-events: none;
}

.ba-label {
  position: absolute;
  bottom: var(--space-2);
  padding: 0.25rem 0.75rem;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.ba-label--before { left: var(--space-2); }
.ba-label--after  { right: var(--space-2); }

.ba-pair { display: none; }
.ba-pair.ba-pair--active { display: block; }

/* ============================================================
   22. SEASONAL URGENCY BANNER
   ============================================================ */

.seasonal-banner {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 0.5rem var(--space-3);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  position: relative;
  z-index: 45;
}

.seasonal-banner a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.seasonal-banner a:hover {
  opacity: 0.85;
}

/* ============================================================
   23. GEORGIA EXPERTISE CALLOUT
   ============================================================ */

.georgia-note {
  background: linear-gradient(135deg, rgba(30,107,53,0.07) 0%, rgba(30,107,53,0.03) 100%);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-4);
}

.georgia-note .gn-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.4rem;
}

.georgia-note p {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================
   23b. SEASONAL TIMING GRID (service pages)
   ============================================================ */

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) { .season-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .season-grid { grid-template-columns: 1fr; } }

.season-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--brand);
  padding: var(--space-4);
}
.season-card .season-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-light);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.6rem;
}
.season-card h3 {
  font-size: 1.0625rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}
.season-card .season-when {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.season-card p {
  font-size: 0.875rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}

/* Nearby-areas link row (service-area city pages) */
.nearby-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}
.nearby-links a {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.nearby-links a:hover { background: var(--brand-light); border-color: var(--brand); }

/* Designer credit: one line on desktop, stacked on two lines on phones */
@media (max-width: 600px) {
  #designer-link .mcd-by,
  #designer-link .mcd-tag { display: block; }
  #designer-link .mcd-dot { display: none; }
}

