/* ==========================================================================
   PACIFIC LINE PLUMBING CO.
   Master Stylesheet — css/style.css
   
   A premium, mobile-first design system for a licensed California
   plumbing company serving Los Angeles and San Diego.
   
   Version: 1.0.0
   Author:  Pacific Line Plumbing Co.
   ========================================================================== */

/* ==========================================================================
   00. TABLE OF CONTENTS
   --------------------------------------------------------------------------
   01. Design Tokens (Custom Properties)
   02. Reset & Base Styles
   03. Typography System
   04. Layout & Container
   05. Utility Classes
   06. Buttons
   07. Forms
   08. Emergency Banner
   09. Site Header (Top Bar)
   10. Sticky Navigation
   11. Mobile Menu
   12. Breadcrumb
   13. Hero Sections
   14. Section Headers
   15. Service Cards
   16. Issue Cards
   17. Blog & Article Cards
   18. FAQ Accordion
   19. Testimonials
   20. Process & Timeline
   21. Stats & Numbers
   22. Neighborhood Cards
   23. Map Section
   24. CTA Sections
   25. Contact Cards & Forms
   26. Emergency Strip
   27. Footer
   28. Sticky Mobile CTA
   29. Animations & Scroll Reveal
   30. Accessibility & Focus
   31. Reduced Motion
   32. Print Styles
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   --------------------------------------------------------------------------
   Central custom properties for colors, fonts, spacing, shadows, and motion.
   Change these to re-theme the entire site.
   ========================================================================== */

:root {
  /* --- Brand Colors --- */
  --navy:        #0B2545;
  --navy-deep:   #061A36;
  --navy-soft:   #13304F;
  --copper:      #B87333;
  --copper-dark: #9A5F2A;
  --copper-light:#D4935A;
  --brass:       #C9963B;
  --cream:       #F5EFE6;
  --paper:       #FBF8F2;
  --paper-warm:  #F8F2E7;

  /* --- Neutral Palette --- */
  --ink:         #121826;
  --ink-soft:    #2A3441;
  --muted:       #6B7280;
  --muted-soft:  #94A3B8;
  --line:        #E5E7EB;
  --line-strong: #D1D5DB;

  /* --- Semantic --- */
  --accent:      #00A86B;
  --accent-dark: #047857;
  --alert:       #DC2626;
  --alert-dark:  #991B1B;
  --warning:     #F59E0B;
  --info:        #3B82F6;

  /* --- Typography --- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* --- Type Scale (fluid) --- */
  --fs-xs:   clamp(0.75rem,  0.7rem  + 0.15vw, 0.8125rem);   /* 12-13 */
  --fs-sm:   clamp(0.8125rem, 0.78rem + 0.18vw, 0.875rem);    /* 13-14 */
  --fs-base: clamp(0.9375rem, 0.9rem  + 0.2vw,  1rem);        /* 15-16 */
  --fs-md:   clamp(1rem,     0.95rem + 0.25vw, 1.0625rem);    /* 16-17 */
  --fs-lg:   clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);      /* 18-20 */
  --fs-xl:   clamp(1.375rem, 1.25rem + 0.5vw,  1.625rem);     /* 22-26 */
  --fs-2xl:  clamp(1.75rem,  1.5rem  + 1vw,    2.25rem);      /* 28-36 */
  --fs-3xl:  clamp(2.25rem,  1.8rem  + 1.5vw,  3rem);         /* 36-48 */
  --fs-4xl:  clamp(2.75rem,  2.1rem  + 2vw,    4rem);         /* 44-64 */
  --fs-5xl:  clamp(3.25rem,  2.3rem  + 3vw,    5rem);         /* 52-80 */

  /* --- Spacing Scale (8pt base) --- */
  --sp-0:  0;
  --sp-1:  0.25rem;   /* 4  */
  --sp-2:  0.5rem;    /* 8  */
  --sp-3:  0.75rem;   /* 12 */
  --sp-4:  1rem;      /* 16 */
  --sp-5:  1.25rem;   /* 20 */
  --sp-6:  1.5rem;    /* 24 */
  --sp-8:  2rem;      /* 32 */
  --sp-10: 2.5rem;    /* 40 */
  --sp-12: 3rem;      /* 48 */
  --sp-14: 3.5rem;    /* 56 */
  --sp-16: 4rem;      /* 64 */
  --sp-20: 5rem;      /* 80 */
  --sp-24: 6rem;      /* 96 */
  --sp-28: 7rem;      /* 112 */

  /* --- Section Padding (responsive) --- */
  --section-pad-y: clamp(3.5rem, 6vw + 1rem, 7rem);
  --section-pad-x: clamp(1.25rem, 4vw, 2.5rem);

  /* --- Layout --- */
  --container-max: 77.5rem;   /* 1240px */
  --container-narrow: 52rem;  /* 832px  */
  --container-wide: 90rem;    /* 1440px */

  /* --- Radii --- */
  --r-none: 0;
  --r-sm:   0.125rem;  /* 2 */
  --r-base: 0.25rem;   /* 4 */
  --r-md:   0.5rem;    /* 8 */
  --r-lg:   0.75rem;   /* 12 */
  --r-xl:   1rem;      /* 16 */
  --r-full: 999px;

  /* --- Shadows --- */
  --shadow-xs: 0 1px 2px rgba(11, 37, 69, 0.04);
  --shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.06), 0 1px 2px rgba(11, 37, 69, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(11, 37, 69, 0.06), 0 2px 4px -2px rgba(11, 37, 69, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(11, 37, 69, 0.08), 0 4px 6px -4px rgba(11, 37, 69, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(11, 37, 69, 0.1), 0 8px 10px -6px rgba(11, 37, 69, 0.06);
  --shadow-2xl: 0 25px 50px -12px rgba(11, 37, 69, 0.2);
  --shadow-inner: inset 0 2px 4px rgba(11, 37, 69, 0.06);
  --shadow-copper: 0 10px 25px -5px rgba(184, 115, 51, 0.35);

  /* --- Motion --- */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:    cubic-bezier(0.22, 1, 0.36, 1);

  --dur-fast:   150ms;
  --dur-base:   250ms;
  --dur-slow:   400ms;
  --dur-slower: 600ms;

  /* --- Z-Index Scale --- */
  --z-base:     1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-nav:      500;
  --z-modal:    800;
  --z-overlay:  900;
  --z-toast:    1000;
  --z-banner:   1100;
}


/* ==========================================================================
   02. RESET & BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--sp-24);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  overflow-x: hidden;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  font-style: italic;
  background-color: var(--cream);
}

iframe { border: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-out);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
  -webkit-appearance: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

ul, ol { list-style: none; }

address { font-style: normal; }

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: var(--sp-10) 0;
}

::selection {
  background: var(--copper);
  color: #fff;
  text-shadow: none;
}

:focus { outline: none; }


/* ==========================================================================
   03. TYPOGRAPHY SYSTEM
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}

h1 { font-size: var(--fs-4xl); letter-spacing: -0.025em; }
h2 { font-size: var(--fs-3xl); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-2xl); letter-spacing: -0.015em; }
h4 { font-size: var(--fs-xl); letter-spacing: -0.01em; }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); font-family: var(--font-body); font-weight: 600; }

p {
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}

p + p { margin-top: var(--sp-5); }

strong, b { font-weight: 600; color: var(--navy); }

em, i { font-style: italic; }

small { font-size: 0.875em; }

blockquote {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-style: italic;
  line-height: 1.4;
  color: var(--navy);
  padding-left: var(--sp-8);
  border-left: 4px solid var(--copper);
  margin: var(--sp-10) 0;
}

blockquote cite {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-top: var(--sp-4);
}

blockquote cite::before { content: "— "; }

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

code {
  padding: 0.125em 0.375em;
  background: var(--cream);
  border-radius: var(--r-sm);
  color: var(--copper-dark);
}

pre {
  padding: var(--sp-5);
  background: var(--navy-deep);
  color: var(--cream);
  border-radius: var(--r-base);
  overflow-x: auto;
}

pre code {
  padding: 0;
  background: none;
  color: inherit;
}

/* Mono label utility — used across UI for labels, metadata */
.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Eyebrow / label utility */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--sp-5);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--copper);
}

.eyebrow--light { color: var(--brass); }
.eyebrow--light::before { background: var(--brass); }

/* Inline link style (within body copy) */
.prose a {
  color: var(--copper);
  border-bottom: 1px solid var(--copper);
  transition: opacity var(--dur-base) var(--ease-out);
}
.prose a:hover { opacity: 0.7; }

.prose ul, .prose ol {
  padding-left: var(--sp-6);
  margin: var(--sp-6) 0;
}
.prose li { margin-bottom: var(--sp-2); }
.prose ul li::before {
  content: "•";
  color: var(--copper);
  font-weight: 700;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}


/* ==========================================================================
   04. LAYOUT & CONTAINER
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-pad-x);
}

.container--narrow { max-width: var(--container-narrow); }
.container--wide   { max-width: var(--container-wide); }
.container--flush  { padding-inline: 0; }

/* Section base */
.section {
  padding-block: var(--section-pad-y);
  position: relative;
}

.section--cream     { background: var(--cream); }
.section--paper     { background: var(--paper); }
.section--warm      { background: var(--paper-warm); }
.section--navy      { background: var(--navy); color: var(--cream); }
.section--deep      { background: var(--navy-deep); color: var(--cream); }
.section--copper    { background: var(--copper); color: #fff; }
.section--gradient  { background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%); }

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--sp-6);
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }


/* ==========================================================================
   05. UTILITY CLASSES
   ========================================================================== */

/* Display */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Text alignment */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* Colors */
.text-navy    { color: var(--navy); }
.text-copper  { color: var(--copper); }
.text-brass   { color: var(--brass); }
.text-muted   { color: var(--muted); }
.text-cream   { color: var(--cream); }
.text-white   { color: #fff; }

/* Font weight */
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* Margins */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }
.mt-12 { margin-top: var(--sp-12); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.mb-10 { margin-bottom: var(--sp-10); }
.mb-12 { margin-bottom: var(--sp-12); }

/* Paddings */
.py-4 { padding-block: var(--sp-4); }
.py-8 { padding-block: var(--sp-8); }
.py-12 { padding-block: var(--sp-12); }

/* Width */
.w-full { width: 100%; }
.max-w-prose { max-width: 65ch; }

/* Visibility */
.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;
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: var(--sp-3) var(--sp-4);
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--navy);
  color: var(--cream);
  z-index: var(--z-toast);
}

/* Responsive visibility */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hide-tablet { display: none !important; }
}
@media (min-width: 1024px) {
  .hide-desktop { display: none !important; }
}
@media (max-width: 1023px) {
  .show-desktop-only { display: none !important; }
}


/* ==========================================================================
   06. BUTTONS
   --------------------------------------------------------------------------
   Primary, accent, ghost, link variants. Sizes: sm, md (default), lg, xl.
   ========================================================================== */

.btn {
  --btn-bg: var(--navy);
  --btn-color: var(--cream);
  --btn-border: var(--navy);
  --btn-hover-bg: var(--copper);
  --btn-hover-border: var(--copper);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.875rem 1.625rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--btn-color);
  background-color: var(--btn-bg);
  border: 1.5px solid var(--btn-border);
  border-radius: var(--r-sm);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  transition: transform var(--dur-base) var(--ease-out);
}

.btn:hover {
  background-color: var(--btn-hover-bg);
  border-color: var(--btn-hover-border);
  transform: translateY(-1px);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active { transform: translateY(0); }

.btn:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

/* Variants */
.btn--primary {
  --btn-bg: var(--navy);
  --btn-color: var(--cream);
  --btn-border: var(--navy);
  --btn-hover-bg: var(--copper);
  --btn-hover-border: var(--copper);
}

.btn--accent {
  --btn-bg: var(--copper);
  --btn-color: #fff;
  --btn-border: var(--copper);
  --btn-hover-bg: var(--copper-dark);
  --btn-hover-border: var(--copper-dark);
}

.btn--accent:hover {
  box-shadow: var(--shadow-copper);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-color: var(--navy);
  --btn-border: var(--navy);
  --btn-hover-bg: var(--navy);
  --btn-hover-border: var(--navy);
}
.btn--ghost:hover { color: var(--cream); }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-color: #fff;
  --btn-border: rgba(255, 255, 255, 0.4);
  --btn-hover-bg: #fff;
  --btn-hover-border: #fff;
}
.btn--ghost-light:hover { color: var(--navy); }

.btn--alert {
  --btn-bg: var(--alert);
  --btn-color: #fff;
  --btn-border: var(--alert);
  --btn-hover-bg: var(--alert-dark);
  --btn-hover-border: var(--alert-dark);
}

.btn--link {
  --btn-bg: transparent;
  --btn-color: var(--navy);
  --btn-border: transparent;
  --btn-hover-bg: transparent;
  --btn-hover-border: transparent;
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1.5px solid var(--copper);
  border-radius: 0;
}
.btn--link:hover {
  color: var(--copper);
  transform: none;
}

/* Sizes */
.btn--sm {
  padding: 0.625rem 1.125rem;
  font-size: var(--fs-xs);
}

.btn--lg {
  padding: 1.125rem 2.125rem;
  font-size: var(--fs-base);
}

.btn--xl {
  padding: 1.375rem 2.5rem;
  font-size: var(--fs-md);
}

.btn--block { width: 100%; }

/* Icon-only */
.btn--icon {
  padding: 0.75rem;
  aspect-ratio: 1;
  border-radius: var(--r-full);
}
.btn--icon svg { width: 1.125rem; height: 1.125rem; }
.btn--icon:hover svg { transform: none; }


/* ==========================================================================
   07. FORMS
   ========================================================================== */

.form { width: 100%; }

.form-row {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
  .form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.form-label .required {
  color: var(--alert);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--line-strong);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.15);
}

.form-input[aria-invalid="true"],
.form-select[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: var(--alert);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 7.5rem;
  line-height: 1.5;
}

.form-help {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--alert);
  font-weight: 500;
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
  margin-top: var(--sp-4);
}

.form-note a {
  color: var(--copper);
  border-bottom: 1px solid var(--copper);
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  transition: all var(--dur-base) var(--ease-out);
}

.form-check:hover {
  border-color: var(--copper);
}

.form-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form-check__mark {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--line);
  background: #fff;
  position: relative;
  margin-top: 1px;
  transition: all var(--dur-base) var(--ease-out);
}

.form-check--radio .form-check__mark { border-radius: 50%; }
.form-check--checkbox .form-check__mark { border-radius: var(--r-sm); }

.form-check input:checked + .form-check__mark {
  border-color: var(--copper);
  background: var(--copper);
}

.form-check input:checked + .form-check__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-check--radio input:checked + .form-check__mark::after {
  width: 0.5rem;
  height: 0.5rem;
  background: #fff;
  border-radius: 50%;
}

.form-check--checkbox input:checked + .form-check__mark::after {
  width: 0.375rem;
  height: 0.625rem;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: translate(-50%, -65%) rotate(45deg);
}

.form-check__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.form-check__text strong {
  font-size: var(--fs-sm);
  color: var(--navy);
  font-weight: 600;
}

.form-check__text span {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.4;
}

/* Form tabs (e.g. Contact page) */
.form-tabs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-base);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.form-tabs::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--copper), var(--brass));
  z-index: 2;
}

.form-tabs__header {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.form-tab {
  flex: 1;
  padding: 1.125rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  position: relative;
  transition: all var(--dur-base) var(--ease-out);
}

.form-tab svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }

.form-tab:hover {
  color: var(--navy);
  background: #fff;
}

.form-tab.active {
  color: var(--navy);
  background: #fff;
}

.form-tab.active::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 3px;
  background: var(--copper);
}

.form-tab__badge {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--alert);
  color: #fff;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.form-tab.active .form-tab__badge {
  background: var(--copper);
}

.form-panel {
  display: none;
  padding: 2.25rem;
}

.form-panel.active {
  display: block;
  animation: fadeInUp 0.3s var(--ease-out);
}

@media (max-width: 639px) {
  .form-panel { padding: 1.5rem; }
}


/* ==========================================================================
   08. EMERGENCY BANNER
   --------------------------------------------------------------------------
   Top-of-page alert for 24/7 emergency service.
   ========================================================================== */

.emergency-banner {
  position: relative;
  z-index: var(--z-banner);
  background: linear-gradient(135deg, var(--alert-dark) 0%, var(--alert) 100%);
  color: #fff;
  padding: 0.625rem 0;
  font-size: var(--fs-sm);
}

.emergency-banner__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  text-align: center;
}

.emergency-banner__text {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  justify-content: center;
}

.emergency-banner__text strong {
  color: #fff;
  font-weight: 700;
}

.emergency-banner__divider {
  opacity: 0.5;
  color: #fff;
}

.emergency-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255, 255, 255, 0.15);
  padding: 0.375rem 0.875rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: var(--fs-xs);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background var(--dur-base) var(--ease-out);
}

.emergency-banner__cta:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.pulse-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseDot 1.6s ease-in-out infinite;
}

.pulse-dot--red { background: var(--alert); }

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}


/* ==========================================================================
   09. SITE HEADER (TOP BAR)
   --------------------------------------------------------------------------
   Thin utility bar above main nav with contact info + hours.
   ========================================================================== */

.site-header {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 0.625rem 0;
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: calc(var(--z-nav) + 1);
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.site-header__contact {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.site-header__link {
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: color var(--dur-base) var(--ease-out);
}

.site-header__link svg { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }

.site-header__link:hover { color: var(--brass); }

.site-header__sep {
  color: rgba(255, 255, 255, 0.2);
}

.site-header__hours {
  color: var(--muted-soft);
}
.site-header__hours strong { color: var(--cream); font-weight: 600; }

.site-header__license {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--brass);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
}

.site-header__license svg { width: 0.875rem; height: 0.875rem; }

.site-header__meta { display: none; }

@media (min-width: 768px) {
  .site-header__meta { display: block; }
}


/* ==========================================================================
   10. STICKY NAVIGATION
   --------------------------------------------------------------------------
   Primary nav with logo, menu, CTA. Supports transparent-over-hero variant.
   Becomes solid with shadow on scroll.
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition:
    background-color var(--dur-slow) var(--ease-out),
    border-color var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-out),
    backdrop-filter var(--dur-slow) var(--ease-out);
}

.site-nav.scrolled {
  box-shadow: var(--shadow-lg);
  border-bottom-color: transparent;
}

.site-nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
  gap: var(--sp-6);
}

@media (min-width: 1024px) {
  .site-nav__inner { height: 4.75rem; }
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  transition: color var(--dur-base) var(--ease-out);
  flex-shrink: 0;
}

.nav-logo__mark {
  color: var(--copper);
  display: flex;
  transition: transform var(--dur-base) var(--ease-spring);
}

.nav-logo__mark svg { width: 1.75rem; height: 1.75rem; }

.nav-logo:hover .nav-logo__mark {
  transform: rotate(-8deg) scale(1.05);
}

.nav-logo__text span { color: var(--copper); }

/* Transparent variant — used over hero images */
.site-nav--transparent {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-nav--transparent .nav-logo,
.site-nav--transparent .nav-menu__item > a,
.site-nav--transparent .mobile-menu-toggle span {
  color: #fff;
}

.site-nav--transparent .mobile-menu-toggle span {
  background: #fff;
}

.site-nav--transparent .nav-logo__text,
.site-nav--transparent .nav-logo__text span {
  color: #fff;
}
.site-nav--transparent .nav-logo__text span { color: var(--brass); }
.site-nav--transparent .nav-logo__mark { color: var(--brass); }

.site-nav--transparent.scrolled,
.site-nav--transparent.is-solid {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-nav--transparent.scrolled .nav-logo,
.site-nav--transparent.is-solid .nav-logo { color: var(--navy); }
.site-nav--transparent.scrolled .nav-logo__text span { color: var(--copper); }
.site-nav--transparent.scrolled .nav-logo__mark { color: var(--copper); }
.site-nav--transparent.scrolled .nav-menu__item > a { color: var(--navy); }
.site-nav--transparent.scrolled .mobile-menu-toggle span { background: var(--navy); }

/* Nav menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: var(--sp-1);
}

.nav-menu__item { position: relative; }

.nav-menu__item > a {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.625rem 1rem;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--r-sm);
  position: relative;
  transition: color var(--dur-base) var(--ease-out);
}

.nav-menu__item > a svg {
  width: 0.625rem;
  height: 0.625rem;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav-menu__item > a::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0.375rem 1rem;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav-menu__item > a:hover,
.nav-menu__item > a[aria-current="page"] {
  color: var(--copper);
}

.nav-menu__item > a:hover::after,
.nav-menu__item > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-menu__item--has-mega:hover > a svg,
.nav-menu__item--has-mega:focus-within > a svg {
  transform: rotate(180deg);
}

/* Nav CTA button */
.nav-cta {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.375rem;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: all var(--dur-base) var(--ease-out);
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--copper);
  color: #fff;
  transform: translateY(-1px);
}

.site-nav--transparent .nav-cta {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(8px);
}
.site-nav--transparent .nav-cta:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.site-nav--transparent.scrolled .nav-cta,
.site-nav--transparent.is-solid .nav-cta {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

/* Mega menu (dropdown) */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--copper);
  box-shadow: var(--shadow-xl);
  padding: var(--sp-8);
  min-width: 45rem;
  max-width: calc(100vw - 2rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border-radius: var(--r-base);
  transition:
    opacity var(--dur-base) var(--ease-out),
    visibility var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.nav-menu__item--has-mega:hover .mega-menu,
.nav-menu__item--has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.mega-menu__col h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--sp-3);
}

.mega-menu__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.mega-menu__col a {
  display: block;
  padding: var(--sp-1) 0;
  color: var(--navy);
  font-size: var(--fs-sm);
  transition: all var(--dur-base) var(--ease-out);
}

.mega-menu__col a:hover {
  color: var(--copper);
  transform: translateX(3px);
}

.mega-menu__col--cta {
  background: var(--paper-warm);
  padding: var(--sp-5);
  border-radius: var(--r-base);
  margin: calc(-1 * var(--sp-3));
}

.mega-menu__col--cta p {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: var(--sp-4);
  line-height: 1.5;
}

.mega-menu__emergency {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--navy);
  color: var(--cream);
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  transition: background var(--dur-base) var(--ease-out);
}
.mega-menu__emergency:hover { background: var(--copper); color: #fff; }
.mega-menu__emergency span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.mega-menu__emergency strong {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: inherit;
}
.mega-menu__emergency small {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  opacity: 0.75;
}

@media (min-width: 1024px) {
  .nav-menu { display: flex; }
  .nav-cta { display: inline-flex; }
}

/* Mobile toggle (hamburger) */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.625rem;
  width: 2.75rem;
  height: 2.75rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 1.375rem;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
}


/* ==========================================================================
   11. MOBILE MENU
   ========================================================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: var(--z-modal);
  padding: 5rem var(--sp-8) var(--sp-8);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-smooth);
  display: none;
}

.mobile-menu.active {
  display: block;
  transform: translateX(0);
}

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--cream);
  font-size: 2rem;
  padding: var(--sp-2);
  line-height: 1;
}

.mobile-menu__nav ul {
  display: flex;
  flex-direction: column;
}

.mobile-menu__nav a {
  display: block;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 1.75rem);
  font-weight: 500;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--dur-base) var(--ease-out), padding var(--dur-base) var(--ease-out);
}

.mobile-menu__nav a:hover,
.mobile-menu__nav a[aria-current="page"] {
  color: var(--brass);
  padding-left: var(--sp-2);
}

.mobile-menu__emergency-link { color: var(--brass) !important; }

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

.mobile-menu__footer {
  margin-top: var(--sp-10);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: var(--fs-xs);
  text-align: center;
}


/* ==========================================================================
   12. BREADCRUMB
   ========================================================================== */

.breadcrumb {
  background: var(--cream);
  padding: 0.875rem 0;
  font-size: var(--fs-xs);
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--muted);
}

.breadcrumb a {
  color: var(--navy);
  font-weight: 500;
  transition: color var(--dur-base) var(--ease-out);
}
.breadcrumb a:hover { color: var(--copper); }

.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--copper);
  font-weight: 600;
}

.breadcrumb li[aria-current="page"] {
  color: var(--muted);
  font-weight: 500;
}


/* ==========================================================================
   13. HERO SECTIONS
   --------------------------------------------------------------------------
   Full-viewport hero with background image, overlay, and centered content.
   ========================================================================== */

.hero {
  position: relative;
  min-height: 90vh;
  padding: 5rem 0 6rem;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 768px) {
  .hero { min-height: 85vh; padding: 6rem 0 7rem; }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(6, 26, 54, 0.5) 0%,
      rgba(6, 26, 54, 0.8) 60%,
      rgba(6, 26, 54, 0.95) 100%),
    linear-gradient(90deg,
      rgba(6, 26, 54, 0.7) 0%,
      transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--sp-6);
  font-weight: 600;
}

.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: var(--brass);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: var(--sp-6);
}

.hero__title em {
  font-style: italic;
  color: var(--brass);
  font-weight: 400;
}

.hero__lede {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
  color: #E2E8F0;
  max-width: 40rem;
  margin-bottom: var(--sp-10);
}

.hero__lede a {
  color: var(--brass);
  border-bottom: 1px solid var(--brass);
}
.hero__lede a:hover { opacity: 0.8; }

.hero__ctas {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}

.hero__trust {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--fs-xs);
  color: #CBD5E1;
  font-weight: 500;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.hero__trust li::before {
  content: "✓";
  color: var(--brass);
  font-weight: 700;
}

/* Hero scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  animation: scrollHint 2s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .hero__scroll { display: flex; }
}

@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(8px); opacity: 1; }
}

/* Hero card (side panel, e.g. dispatch status) */
.hero-card {
  background: rgba(6, 26, 54, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-base);
  padding: var(--sp-8);
  border-top: 3px solid var(--copper);
  color: var(--cream);
}

.hero-card__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.hero-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: #fff;
  font-weight: 600;
  margin-bottom: var(--sp-5);
  letter-spacing: -0.01em;
}

.hero-card__list {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--sp-5);
}

.hero-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-sm);
  color: #CBD5E1;
}

.hero-card__list li:last-child { border-bottom: none; }

.hero-card__list li span {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--brass);
  font-weight: 600;
}

.hero-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--copper);
  color: #fff;
  padding: 0.875rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: background var(--dur-base) var(--ease-out);
}
.hero-card__cta:hover { background: var(--copper-dark); color: #fff; }

/* Page hero (shorter, used on interior pages) */
.page-hero {
  position: relative;
  padding: 5rem 0 6rem;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  min-height: 50vh;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(6, 26, 54, 0.55) 0%,
    rgba(6, 26, 54, 0.95) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: var(--sp-6);
}

.page-hero__title em {
  font-style: italic;
  color: var(--brass);
  font-weight: 400;
}

.page-hero__lede {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.6;
  color: #E2E8F0;
  max-width: 40rem;
}

.page-hero__lede a {
  color: var(--brass);
  border-bottom: 1px solid var(--brass);
}


/* ==========================================================================
   14. SECTION HEADERS
   ========================================================================== */

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 48rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .section-head__eyebrow {
  justify-content: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--light .section-head__title { color: var(--cream); }
.section-head--light .section-head__title em { color: var(--brass); }
.section-head--light .section-head__lede { color: #CBD5E1; }
.section-head--light .eyebrow { color: var(--brass); }
.section-head--light .eyebrow::before { background: var(--brass); }

.section-head__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: var(--sp-5);
}

.section-head__title em {
  font-style: italic;
  color: var(--copper);
  font-weight: 400;
}

.section-head__lede {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.6;
  color: #475569;
  max-width: 42rem;
}

.section-head--center .section-head__lede {
  margin-inline: auto;
}

.section-head__lede a {
  color: var(--copper);
  border-bottom: 1px solid var(--copper);
}


/* ==========================================================================
   15. SERVICE CARDS
   ========================================================================== */

.service-card {
  --card-bg: #fff;
  --card-border: var(--line);

  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--r-base);
  padding: var(--sp-8);
  transition:
    transform var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-out),
    border-color var(--dur-slow) var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--paper-warm);
  color: var(--copper);
  border-radius: var(--r-base);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  transition: transform var(--dur-base) var(--ease-spring);
}

.service-card:hover .service-card__icon {
  transform: rotate(-5deg) scale(1.05);
}

.service-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.service-card__badge {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--brass);
  padding: 0.25rem 0.625rem;
  border-radius: var(--r-sm);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}

.service-card h3 a {
  transition: color var(--dur-base) var(--ease-out);
}
.service-card h3 a:hover { color: var(--copper); }

.service-card p {
  font-size: var(--fs-base);
  color: #475569;
  line-height: 1.65;
  margin-bottom: var(--sp-5);
  flex-grow: 1;
}

.service-card__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--copper);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--copper);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: gap var(--dur-base) var(--ease-out);
}
.service-card__link:hover { gap: var(--sp-3); }
.service-card__link svg { width: 0.875rem; height: 0.875rem; }

/* Dark variant */
.service-card--dark {
  --card-bg: var(--navy);
  --card-border: var(--navy);
  color: var(--cream);
}
.service-card--dark h3, .service-card--dark h3 a { color: var(--cream); }
.service-card--dark h3 a:hover { color: var(--brass); }
.service-card--dark p { color: #CBD5E1; }
.service-card--dark .service-card__icon {
  background: rgba(201, 150, 59, 0.15);
  color: var(--brass);
}
.service-card--dark .service-card__meta {
  color: var(--brass);
  border-top-color: rgba(255, 255, 255, 0.1);
}
.service-card--dark .service-card__link { color: var(--brass); }
.service-card--dark::before { background: var(--brass); }

/* Featured variant (larger) */
.service-card--featured {
  padding: var(--sp-10);
}
.service-card--featured h3 { font-size: var(--fs-2xl); }


/* ==========================================================================
   16. ISSUE CARDS (common problems, etc.)
   ========================================================================== */

.issue-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-base);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: all var(--dur-slow) var(--ease-out);
}

.issue-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.issue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.issue-card:hover::before { transform: scaleX(1); }

.issue-card__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--sp-3);
}

.issue-card__tag::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  background: var(--copper);
  border-radius: 50%;
}

.issue-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}

.issue-card__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-bottom: var(--sp-4);
}

.issue-card p {
  font-size: var(--fs-base);
  color: #475569;
  line-height: 1.6;
  margin-bottom: var(--sp-5);
}

.issue-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--copper);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: gap var(--dur-base) var(--ease-out);
}
.issue-card__link:hover { gap: var(--sp-3); }


/* ==========================================================================
   17. BLOG & ARTICLE CARDS
   ========================================================================== */

.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--dur-slow) var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.05);
}

.blog-card__tag {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  background: rgba(6, 26, 54, 0.92);
  color: var(--brass);
  padding: 0.375rem 0.75rem;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}

.blog-card__body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}

.blog-card h3 a {
  transition: color var(--dur-base) var(--ease-out);
  background-image: linear-gradient(var(--copper), var(--copper));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease-out), color 0.2s;
}

.blog-card:hover h3 a {
  background-size: 100% 2px;
}

.blog-card h3 a:hover { color: var(--copper); }

.blog-card__excerpt {
  font-size: var(--fs-sm);
  color: #475569;
  line-height: 1.6;
  margin-bottom: var(--sp-5);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

.blog-card__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.blog-card__author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.blog-card__author-info strong {
  font-size: var(--fs-sm);
  color: var(--navy);
  font-weight: 600;
}

.blog-card__author-info span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-top: 2px;
}

/* Featured blog card */
.blog-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
}

@media (max-width: 767px) {
  .blog-card--featured { flex-direction: column; }
}

.blog-card--featured .blog-card__media {
  flex: 0 0 45%;
  aspect-ratio: auto;
}

@media (max-width: 767px) {
  .blog-card--featured .blog-card__media {
    flex: none;
    aspect-ratio: 16 / 10;
  }
}

.blog-card--featured .blog-card__body {
  padding: var(--sp-8);
}

.blog-card--featured h3 {
  font-size: var(--fs-2xl);
}


/* ==========================================================================
   18. FAQ ACCORDION
   ========================================================================== */

.faq-accordion {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-base);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-base) var(--ease-out);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  padding: var(--sp-6) var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-5);
  text-align: left;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-body);
  line-height: 1.4;
  transition: background var(--dur-base) var(--ease-out);
}

.faq-question:hover {
  background: var(--paper);
}

.faq-question:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: -2px;
  background: var(--paper);
}

.faq-question__text { flex: 1; }

.faq-question__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--copper);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-right: var(--sp-3);
}

.faq-icon {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--copper);
  left: 50%;
  top: 50%;
  transition: transform 0.3s var(--ease-out);
}

.faq-icon::before {
  width: 1rem;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 1rem;
  transform: translate(-50%, -50%);
}

.faq-item[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[aria-expanded="true"] .faq-question {
  background: var(--paper-warm);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-item[aria-expanded="true"] .faq-answer {
  max-height: 40rem;
}

.faq-answer__inner {
  padding: 0 var(--sp-6) var(--sp-6);
}

.faq-answer p {
  font-size: var(--fs-base);
  color: #475569;
  line-height: 1.7;
  max-width: 45rem;
  margin-bottom: var(--sp-3);
}
.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer a {
  color: var(--copper);
  border-bottom: 1px solid var(--copper);
}

.faq-answer strong {
  color: var(--navy);
  font-weight: 600;
}

.faq-answer__tags {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--line);
}

.faq-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  padding: 0.25rem 0.625rem;
  border-radius: 10px;
  font-weight: 600;
}


/* ==========================================================================
   19. TESTIMONIALS
   ========================================================================== */

.testimonial {
  background: #fff;
  padding: var(--sp-8);
  border-radius: var(--r-base);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--dur-slow) var(--ease-out);
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-6);
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--copper);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

.testimonial__stars {
  color: var(--brass);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: var(--sp-4);
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  font-style: normal;
  color: var(--navy);
  line-height: 1.55;
  margin: 0 0 var(--sp-6);
  padding: 0;
  border: none;
  flex-grow: 1;
}

.testimonial figcaption {
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial figcaption strong {
  font-size: var(--fs-base);
  color: var(--navy);
  font-weight: 700;
}

.testimonial figcaption > span:not(.testimonial__service) {
  font-size: var(--fs-xs);
  color: var(--muted);
}

.testimonial__service {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--copper);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: var(--sp-2);
  font-weight: 600;
}


/* ==========================================================================
   20. PROCESS & TIMELINE
   ========================================================================== */

.process-timeline {
  position: relative;
  margin-top: var(--sp-14);
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--brass), var(--copper));
  opacity: 0.4;
}

@media (max-width: 899px) {
  .process-timeline::before { display: none; }
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  position: relative;
}

@media (min-width: 900px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__marker {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-6);
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--copper);
  transition: transform var(--dur-base) var(--ease-spring);
}

.process-step:hover .process-step__marker {
  transform: scale(1.08) rotate(-5deg);
}

.process-step__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-4);
}

.process-step p {
  font-size: var(--fs-base);
  color: #475569;
  line-height: 1.65;
  max-width: 24rem;
  margin: 0 auto var(--sp-5);
}

.process-step__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  max-width: 20rem;
  margin: 0 auto;
  text-align: left;
}

.process-step__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--navy);
  line-height: 1.45;
  font-weight: 500;
}

.process-step__list li::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  background: var(--copper);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}


/* ==========================================================================
   21. STATS & NUMBERS
   ========================================================================== */

.stats-strip {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--copper);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(184, 115, 51, 1) 0%,
    rgba(154, 95, 42, 1) 100%);
  z-index: 0;
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .stats-strip__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .stats-strip__grid { grid-template-columns: repeat(5, 1fr); }
}

.stats-strip__item {
  text-align: center;
  padding: var(--sp-2);
}

.stats-strip__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}

.stats-strip__item span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* Local stats (dark variant) */
.local-stats {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.local-stats::before {
  content: "";
  position: absolute;
  top: -9.375rem;
  right: -9.375rem;
  width: 25rem;
  height: 25rem;
  background: radial-gradient(circle, rgba(184, 115, 51, 0.2), transparent 70%);
  pointer-events: none;
}

.local-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .local-stats__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .local-stats__grid { grid-template-columns: repeat(6, 1fr); }
}

.local-stats__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.625rem);
  color: var(--brass);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
  font-weight: 700;
}

.local-stats__item span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #CBD5E1;
  line-height: 1.4;
}


/* ==========================================================================
   22. NEIGHBORHOOD CARDS
   ========================================================================== */

.hood-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-base);
  padding: var(--sp-6);
  transition: all var(--dur-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.hood-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}

.hood-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--copper);
}

.hood-card:hover::before { transform: scaleX(1); }

.hood-card__region {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.hood-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--navy);
  font-weight: 600;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.hood-card h3 a { transition: color var(--dur-base) var(--ease-out); }
.hood-card h3 a:hover { color: var(--copper); }

.hood-card__zip {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: var(--sp-3);
}

.hood-card__link {
  font-size: var(--fs-xs);
  color: var(--copper);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: gap var(--dur-base) var(--ease-out);
}
.hood-card__link:hover { gap: var(--sp-3); }


/* ==========================================================================
   23. MAP SECTION
   ========================================================================== */

.map-wrapper {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-base);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-header {
  padding: var(--sp-6) var(--sp-8);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
  background: var(--paper);
}

.map-header h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.map-header__address {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-top: var(--sp-1);
}

.map-embed {
  position: relative;
  height: 21.25rem;
  width: 100%;
  background: var(--cream);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.1);
}

.map-overlay {
  position: absolute;
  top: var(--sp-6);
  left: var(--sp-6);
  background: rgba(6, 26, 54, 0.95);
  color: var(--cream);
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--r-base);
  max-width: 20rem;
  border-left: 3px solid var(--copper);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}

.map-overlay h4 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: #fff;
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.map-overlay p {
  font-size: var(--fs-xs);
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: var(--sp-3);
}

.map-overlay__phone {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--brass);
  font-weight: 600;
  font-size: var(--fs-md);
  font-family: var(--font-mono);
}

.map-overlay__phone svg { width: 1.125rem; height: 1.125rem; }

@media (max-width: 639px) {
  .map-overlay {
    position: static;
    margin: var(--sp-4);
    max-width: none;
  }
  .map-embed { height: 18rem; }
}

.map-foot {
  padding: var(--sp-5) var(--sp-8);
  border-top: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--muted);
}

.map-foot a {
  color: var(--copper);
  font-weight: 600;
  border-bottom: 1px solid var(--copper);
}


/* ==========================================================================
   24. CTA SECTIONS
   ========================================================================== */

.cta-section {
  padding: var(--section-pad-y) 0;
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  bottom: -12.5rem;
  left: -12.5rem;
  width: 31.25rem;
  height: 31.25rem;
  background: radial-gradient(circle, rgba(184, 115, 51, 0.18), transparent 70%);
  pointer-events: none;
}

.cta-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .cta-section__inner { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-5);
}

.cta-section h2 em {
  font-style: italic;
  color: var(--brass);
  font-weight: 400;
}

.cta-section p {
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: var(--sp-8);
  max-width: 32rem;
}

.cta-section__ctas {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* Mid-page CTA strip (compact) */
.cta-strip {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  top: -9.375rem;
  right: -9.375rem;
  width: 25rem;
  height: 25rem;
  background: radial-gradient(circle, rgba(184, 115, 51, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-strip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-10);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-strip__content { max-width: 40rem; }

.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.375rem);
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
  font-weight: 600;
}

.cta-strip h2 em {
  font-style: italic;
  color: var(--brass);
  font-weight: 400;
}

.cta-strip p {
  font-size: var(--fs-md);
  color: #CBD5E1;
  line-height: 1.6;
}

.cta-strip__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* Inline CTA (within article body) */
.inline-cta {
  margin: var(--sp-12) 0;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--r-base);
  display: flex;
  gap: var(--sp-6);
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.inline-cta::before {
  content: "";
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle, rgba(184, 115, 51, 0.2), transparent 70%);
  pointer-events: none;
}

.inline-cta__content {
  flex: 1;
  min-width: 15rem;
  position: relative;
  z-index: 1;
}

.inline-cta__tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.inline-cta__tag::before {
  content: "";
  width: 0.875rem;
  height: 1px;
  background: var(--brass);
}

.inline-cta h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: #fff;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-2);
}

.inline-cta p {
  font-size: var(--fs-sm);
  color: #CBD5E1;
  line-height: 1.55;
}

.inline-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
  z-index: 1;
}

/* Final CTA (page-ending) */
.final-cta {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--navy-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  bottom: -12.5rem;
  left: -12.5rem;
  width: 31.25rem;
  height: 31.25rem;
  background: radial-gradient(circle, rgba(184, 115, 51, 0.15), transparent 70%);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.final-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
  margin-bottom: var(--sp-5);
}

.final-cta__eyebrow::before,
.final-cta__eyebrow::after {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--brass);
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-5);
}

.final-cta h2 em {
  font-style: italic;
  color: var(--brass);
  font-weight: 400;
}

.final-cta > .container > .final-cta__inner > p {
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: var(--sp-8);
}

.final-cta__actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

.final-cta__meta {
  display: flex;
  gap: var(--sp-6);
  justify-content: center;
  flex-wrap: wrap;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.final-cta__meta strong {
  color: var(--brass);
  font-weight: 700;
}


/* ==========================================================================
   25. CONTACT CARDS & FORMS
   ========================================================================== */

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-base);
  padding: var(--sp-6) var(--sp-6);
  position: relative;
  overflow: hidden;
  transition: all var(--dur-slow) var(--ease-out);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--copper);
}

.contact-card--alert::before { background: var(--alert); }

.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-2px);
}

.contact-card__head {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.contact-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-base);
  background: var(--paper-warm);
  color: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card--alert .contact-card__icon {
  background: #FEF2F2;
  color: var(--alert);
}

.contact-card__tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-card--alert .contact-card__tag { color: var(--alert); }

.contact-card__head h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-left: 3.875rem;
}

@media (max-width: 519px) {
  .contact-card__body { padding-left: 0; }
}

.contact-card__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-card__row-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.contact-card__row a,
.contact-card__row span {
  font-size: var(--fs-base);
  color: var(--navy);
  font-weight: 600;
  transition: color var(--dur-base) var(--ease-out);
}

.contact-card__row a:hover { color: var(--copper); }

.contact-card__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

.contact-card__actions .btn {
  padding: 0.625rem 1.125rem;
  font-size: var(--fs-xs);
}

/* Hours grid */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}

@media (min-width: 520px) {
  .hours-grid { grid-template-columns: 1fr 1fr; }
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-2) 0;
  border-bottom: 1px dashed var(--line);
  font-size: var(--fs-sm);
}

.hours-row:last-child { border-bottom: none; }

.hours-row strong {
  color: var(--navy);
  font-weight: 600;
}

.hours-row span { color: #475569; }

.hours-note {
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: var(--paper-warm);
  border-radius: var(--r-base);
  font-size: var(--fs-xs);
  color: #475569;
  line-height: 1.5;
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.hours-note strong {
  color: var(--copper);
  font-weight: 700;
  margin-right: var(--sp-1);
}

/* Contact form wrapper */
.contact-form {
  background: #fff;
  color: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-base);
  border-top: 4px solid var(--copper);
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.625rem);
  color: var(--navy);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.015em;
}

.contact-form__sub {
  color: var(--muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-6);
}

.form-success {
  display: none;
  padding: var(--sp-6);
  background: #F0FDF4;
  border: 1.5px solid var(--accent);
  border-radius: var(--r-base);
  text-align: center;
  margin-top: var(--sp-5);
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.3s var(--ease-out);
}

.form-success__icon {
  width: 3rem;
  height: 3rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
}

.form-success__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.form-success h4 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--navy);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.01em;
}

.form-success p {
  font-size: var(--fs-sm);
  color: #475569;
  line-height: 1.55;
}


/* ==========================================================================
   26. EMERGENCY STRIP
   --------------------------------------------------------------------------
   High-urgency strip used mid-page or at end for emergency CTAs.
   ========================================================================== */

.emergency-strip {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--alert);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.emergency-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 255, 255, 0.1),
    transparent 60%);
  pointer-events: none;
}

.emergency-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
  font-weight: 600;
  position: relative;
}

.emergency-strip p {
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--sp-6);
  position: relative;
}

.emergency-strip__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  background: #fff;
  color: var(--alert);
  padding: 1.25rem 2.5rem;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
}

.emergency-strip__phone svg {
  width: 1.75rem;
  height: 1.75rem;
}

.emergency-strip__phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.25);
}

/* Emergency block (two-column with response stats) */
.emergency-block {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.emergency-block::before {
  content: "";
  position: absolute;
  top: -9.375rem;
  right: -9.375rem;
  width: 28.125rem;
  height: 28.125rem;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.15), transparent 70%);
  pointer-events: none;
}

.emergency-block::after {
  content: "";
  position: absolute;
  bottom: -9.375rem;
  left: -9.375rem;
  width: 28.125rem;
  height: 28.125rem;
  background: radial-gradient(circle, rgba(184, 115, 51, 0.1), transparent 70%);
  pointer-events: none;
}

.emergency-block__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .emergency-block__inner { grid-template-columns: 1fr 1fr; gap: var(--sp-12); }
}

.emergency-block__pulse {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--alert);
  font-weight: 700;
  margin-bottom: var(--sp-5);
  background: rgba(220, 38, 38, 0.12);
  padding: var(--sp-2) var(--sp-4);
  border-radius: 30px;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.emergency-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-5);
  font-weight: 600;
}

.emergency-block h2 em {
  font-style: italic;
  color: var(--brass);
  font-weight: 400;
}

.emergency-block p {
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: var(--sp-6);
  max-width: 32rem;
}

.emergency-block__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.emergency-block__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: #E2E8F0;
  line-height: 1.5;
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-base);
  border-left: 2px solid var(--alert);
}

.emergency-block__list li::before {
  content: "⚠";
  color: var(--alert);
  flex-shrink: 0;
  font-weight: 700;
}

.emergency-block__list li strong {
  color: #fff;
  font-weight: 600;
}

.emergency-block__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.emergency-block__response {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-base);
  padding: var(--sp-8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.emergency-block__response h3 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: #fff;
  font-weight: 600;
  margin-bottom: var(--sp-5);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.response-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.response-stat {
  display: flex;
  flex-direction: column;
  padding: var(--sp-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-base);
  border-left: 3px solid var(--brass);
}

.response-stat strong {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  color: var(--brass);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.response-stat span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #CBD5E1;
  line-height: 1.4;
}

.response-note {
  font-size: var(--fs-xs);
  color: var(--muted-soft);
  line-height: 1.55;
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* ==========================================================================
   27. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--navy-deep);
  color: #CBD5E1;
  padding: 5rem 0 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-14);
  padding-bottom: var(--sp-14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .footer__top {
    grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
    gap: var(--sp-10);
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.02em;
}

.footer__logo .nav-logo__mark { color: var(--brass); }
.footer__logo .nav-logo__mark svg { width: 1.75rem; height: 1.75rem; }
.footer__logo span { color: var(--brass); }

.footer__brand p {
  font-size: var(--fs-sm);
  color: var(--muted-soft);
  line-height: 1.6;
  max-width: 20rem;
  margin-bottom: var(--sp-5);
}

.footer__license {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--muted-soft);
  padding: var(--sp-4) var(--sp-5);
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--copper);
  border-radius: var(--r-sm);
  max-width: 20rem;
}

.footer__license strong {
  color: var(--brass);
  font-weight: 600;
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--sp-5);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__col a {
  font-size: var(--fs-sm);
  color: #CBD5E1;
  transition: color var(--dur-base) var(--ease-out);
}

.footer__col a:hover { color: var(--brass); }

.footer__emergency {
  color: var(--brass) !important;
  font-weight: 600;
}

.footer__offices {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  padding: var(--sp-8) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--sp-8);
}

@media (min-width: 768px) {
  .footer__offices { grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
}

.footer__office h4 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--sp-3);
}

.footer__office address,
.footer__office p {
  font-size: var(--fs-sm);
  color: #CBD5E1;
  line-height: 1.6;
}

.footer__office a {
  color: var(--cream);
  font-weight: 600;
  transition: color var(--dur-base) var(--ease-out);
}
.footer__office a:hover { color: var(--brass); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-5);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.footer__legal,
.footer__social {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
  align-items: center;
}

.footer__legal a,
.footer__social a {
  color: var(--muted);
  transition: color var(--dur-base) var(--ease-out);
}

.footer__legal a:hover,
.footer__social a:hover { color: var(--brass); }

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.6875rem;
  transition: all var(--dur-base) var(--ease-out);
}

.footer__social a:hover {
  background: var(--copper);
  color: #fff;
  transform: translateY(-2px);
}


/* ==========================================================================
   28. STICKY MOBILE CTA
   --------------------------------------------------------------------------
   Fixed bottom bar on mobile with primary action buttons.
   ========================================================================== */

.sticky-cta {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: var(--z-sticky);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -0.5rem 1.25rem rgba(11, 37, 69, 0.1);
  padding: var(--sp-3) var(--sp-4);
  gap: var(--sp-3);
}

.sticky-cta__call,
.sticky-cta__form {
  flex: 1;
  text-align: center;
  padding: 0.875rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}

.sticky-cta__call {
  background: var(--alert);
  color: #fff;
}

.sticky-cta__form {
  background: var(--navy);
  color: var(--cream);
}

.sticky-cta__call svg,
.sticky-cta__form svg {
  width: 1.125rem;
  height: 1.125rem;
}

@media (max-width: 767px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 5rem; }
}


/* ==========================================================================
   29. ANIMATIONS & SCROLL REVEAL
   ========================================================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(1rem); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-1rem); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-1rem); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(1rem); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Scroll reveal — base state (hidden until observed) */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 0.7s var(--ease-smooth),
    transform 0.7s var(--ease-smooth);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left  { transform: translateX(-1.5rem); }
.reveal--right { transform: translateX(1.5rem); }
.reveal--scale { transform: scale(0.95); }
.reveal--up    { transform: translateY(1.5rem); }

.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible,
.reveal--up.is-visible {
  transform: translate(0) scale(1);
}

/* Stagger delays for children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 0.6s var(--ease-smooth),
    transform 0.6s var(--ease-smooth);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 560ms; }

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   30. ACCESSIBILITY & FOCUS
   ========================================================================== */

/* Focus visible (keyboard navigation only) */
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--navy);
  color: var(--cream);
  padding: var(--sp-3) var(--sp-4);
  z-index: var(--z-toast);
  transition: top var(--dur-base) var(--ease-out);
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
  :root {
    --line: #1f2937;
    --muted: #374151;
  }
}


/* ==========================================================================
   31. REDUCED MOTION
   --------------------------------------------------------------------------
   Disable animations and transitions for users who prefer reduced motion.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}


/* ==========================================================================
   32. PRINT STYLES
   --------------------------------------------------------------------------
   Optimized for printing: remove nav, CTAs, backgrounds, etc.
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  a,
  a:visited {
    text-decoration: underline;
    color: #000 !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.875em;
    font-weight: normal;
    color: #555 !important;
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  .emergency-banner,
  .site-header,
  .site-nav,
  .mobile-menu,
  .sticky-cta,
  .final-cta,
  .emergency-strip,
  .emergency-block,
  .cta-section,
  .cta-strip,
  .inline-cta,
  .breadcrumb,
  button,
  .btn {
    display: none !important;
  }

  .section {
    padding: 1.5rem 0 !important;
    page-break-inside: avoid;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
    color: #000 !important;
  }

  img {
    page-break-inside: avoid;
    max-width: 100% !important;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .grid {
    display: block;
  }

  .grid > * {
    margin-bottom: 1.5rem;
  }
}


/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */
