/* ============================================================
   FROSTLINE PLUMBING & HEATING — Design System
   styles.css — Single source of truth for all 5 pages
   Palette: Steel Blue #0F3D5C | Teal #1B6E8C | Amber #E8A33D
            Frost #F4F6F8 | Slate #13242F
   Fonts: Archivo (headings) + Inter (body) — Google Fonts
   ============================================================ */

/* ------------------------------------------------------------
   0. GOOGLE FONTS IMPORT
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES — DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
  /* Brand Palette */
  --blue:        #0F3D5C;
  --blue-dark:   #091F2E;
  --blue-mid:    #174E72;
  --teal:        #1B6E8C;
  --teal-light:  #2A8EAD;
  --amber:       #E8A33D;
  --amber-dark:  #C4832A;
  --amber-light: #F2B95C;
  --frost:       #F4F6F8;
  --frost-mid:   #E8ECF0;
  --slate:       #13242F;
  --slate-mid:   #1E3544;
  --white:       #FFFFFF;
  --body-text:   #3D4E58;
  --muted:       #556672;   /* raised from #6B7E8A — 4.6:1 on white, 4.2:1 on frost */

  /* Typography Scale */
  --font-head:   'Archivo', system-ui, sans-serif;
  --font-body:   'Inter', system-ui, sans-serif;

  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-md:    1.125rem;   /* 18px */
  --text-lg:    1.25rem;    /* 20px */
  --text-xl:    1.5rem;     /* 24px */
  --text-2xl:   1.875rem;   /* 30px */
  --text-3xl:   2.25rem;    /* 36px */
  --text-4xl:   3rem;       /* 48px */
  --text-5xl:   3.75rem;    /* 60px */
  --text-6xl:   4.5rem;     /* 72px */

  /* Spacing Scale (8px base) */
  --space-1:   0.25rem;   /* 4px  */
  --space-2:   0.5rem;    /* 8px  */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */
  --space-32:  8rem;      /* 128px */

  /* Radii */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(13,30,42,0.10), 0 1px 2px rgba(13,30,42,0.06);
  --shadow-md:  0 4px 16px rgba(13,30,42,0.12), 0 2px 6px rgba(13,30,42,0.08);
  --shadow-lg:  0 12px 40px rgba(13,30,42,0.16), 0 4px 12px rgba(13,30,42,0.10);
  --shadow-xl:  0 24px 64px rgba(13,30,42,0.22);
  --shadow-amber: 0 4px 20px rgba(232,163,61,0.35);

  /* Transitions */
  --ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:      cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur-fast:      150ms;
  --dur-base:      250ms;
  --dur-slow:      400ms;

  /* Layout */
  --max-width:     1180px;
  --nav-height:    72px;
  --mobile-bar-h:  64px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--body-text);
  background: var(--white);
  overflow-x: hidden;
  /* Bottom padding for mobile sticky bar */
  padding-bottom: var(--mobile-bar-h);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); font-weight: 900; letter-spacing: -0.03em; text-wrap: balance; }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); text-wrap: balance; }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl)); text-wrap: balance; }
h4 { font-size: var(--text-lg); }

p {
  max-width: 68ch;
  text-wrap: pretty;
}

.lead {
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--body-text);
}

.eyebrow {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

/* On dark sections, invert text */
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark .eyebrow {
  color: var(--amber-light);
}

.section--dark p,
.section--dark .lead {
  color: rgba(244,246,248,0.88); /* raised from 0.80 for stronger contrast on dark sections */
}

/* ------------------------------------------------------------
   4. LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-10);
    padding-right: var(--space-10);
  }
}

.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
  }
}

.section--dark {
  background: var(--slate);
}

.section--blue {
  background: var(--blue);
}

.section--teal {
  background: var(--teal);
}

.section--frost {
  background: var(--frost);
}

.section--amber-band {
  background: var(--amber);
  color: var(--slate);
}

.section-header {
  margin-bottom: var(--space-12);
  max-width: 640px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header .eyebrow {
  margin-bottom: var(--space-3);
  display: block;
}

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

.section-header p {
  margin: 0 auto;
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

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

/* Flex helpers */
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

/* ------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-6);
  transition:
    background var(--dur-base) var(--ease-smooth),
    color var(--dur-base) var(--ease-smooth),
    transform var(--dur-fast) var(--ease-spring),
    box-shadow var(--dur-base) var(--ease-smooth);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary — Amber CTA */
.btn--primary {
  background: var(--amber);
  color: var(--slate);
  box-shadow: var(--shadow-amber);
}

.btn--primary:hover {
  background: var(--amber-dark);
  box-shadow: 0 8px 28px rgba(232,163,61,0.45);
}

/* Primary Large */
.btn--primary.btn--lg {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
}

/* Secondary — outlined on dark */
.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(244,246,248,0.4);
}

.btn--secondary:hover {
  background: rgba(244,246,248,0.08);
  border-color: rgba(244,246,248,0.7);
}

/* Ghost on light */
.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--teal);
}

.btn--ghost:hover {
  background: var(--teal);
  color: var(--white);
}

/* Tap-to-call — phone link */
.btn--call {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn--call:hover {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(27,110,140,0.4);
}

/* Icon inside button */
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Button group */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* ------------------------------------------------------------------
   MOBILE OVERFLOW FIXES — Change 2
   Button text must never clip on narrow screens; no horizontal scroll.
   ------------------------------------------------------------------ */

/* Allow button labels to wrap on narrow viewports */
@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    min-height: 44px;       /* maintain tap-target size when text wraps */
    padding: var(--space-3) var(--space-4);
    font-size: clamp(0.7rem, 2.6vw, var(--text-sm));
  }

  /* Large button variant still needs smaller text on very small screens */
  .btn--lg {
    font-size: clamp(0.78rem, 3vw, var(--text-base));
    padding: var(--space-3) var(--space-5);
  }
}

/* Hard no-horizontal-overflow guard on all containers */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: min(var(--max-width), 100%);
}

/* Hero inner must not push past viewport on mobile */
@media (max-width: 899px) {
  .hero__inner {
    max-width: 100%;
  }
}

/* Sticky mobile quote bar: body already gets padding-bottom via --mobile-bar-h.
   Ensure the last visible element above the footer never sits under the bar.
   The site-footer itself gets extra bottom clearance on mobile so links
   in the footer bar are always clickable above the fixed bar. */
@media (max-width: 767px) {
  .site-footer {
    padding-bottom: calc(var(--mobile-bar-h) + var(--space-6));
  }
}

/* ------------------------------------------------------------
   6. HEADER & NAVIGATION
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 31, 46, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,110,140,0.25);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: box-shadow var(--dur-base) var(--ease-smooth);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(9,31,46,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-4);
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.site-logo__tagline {
  font-size: var(--text-xs);
  color: var(--amber-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Primary Nav */
.primary-nav {
  display: none;
  align-items: center;
  gap: var(--space-2);
}

@media (min-width: 900px) {
  .primary-nav {
    display: flex;
  }
}

.primary-nav__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--text-sm);
  color: rgba(244,246,248,0.75);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.primary-nav__link:hover,
.primary-nav__link.active {
  color: var(--white);
  background: rgba(27,110,140,0.25);
}

/* Header right — call + CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-phone {
  display: none;
  align-items: center;
  gap: var(--space-2);
  color: var(--frost);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: color var(--dur-fast);
  text-decoration: none;
}

.header-phone:hover {
  color: var(--amber-light);
}

@media (min-width: 640px) {
  .header-phone {
    display: flex;
  }
}

.header-phone svg {
  color: var(--amber);
  width: 16px;
  height: 16px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--frost);
  border-radius: 2px;
  transition: transform var(--dur-base), opacity var(--dur-base);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--slate);
  border-bottom: 2px solid var(--teal);
  z-index: 99;
  padding: var(--space-4) var(--space-6) var(--space-6);
  flex-direction: column;
  gap: var(--space-2);
}

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

.mobile-nav__link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--frost);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--dur-fast);
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
  color: var(--amber);
}

.mobile-nav__phone {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--amber-light);
  font-weight: 700;
  font-size: var(--text-xl);
}

/* ------------------------------------------------------------
   7. MOBILE STICKY QUOTE BAR (the #1 conversion element)
   ------------------------------------------------------------ */
.mobile-quote-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--mobile-bar-h);
  background: var(--slate);
  border-top: 2px solid var(--teal);
  box-shadow: 0 -8px 32px rgba(9,31,46,0.5);
}

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

.mobile-quote-bar__call,
.mobile-quote-bar__quote {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background var(--dur-fast);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.mobile-quote-bar__call {
  background: var(--blue);
  color: var(--white);
  border-right: 1px solid rgba(27,110,140,0.4);
}

.mobile-quote-bar__call:hover,
.mobile-quote-bar__call:active {
  background: var(--teal);
}

.mobile-quote-bar__quote {
  background: var(--amber);
  color: var(--slate);
}

.mobile-quote-bar__quote:hover,
.mobile-quote-bar__quote:active {
  background: var(--amber-dark);
}

.mobile-quote-bar svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   8. FOOTER
   ------------------------------------------------------------ */
.site-footer {
  background: var(--slate);
  color: rgba(244,246,248,0.7);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  border-top: 1px solid rgba(27,110,140,0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .site-logo {
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 26ch;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--frost);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col ul li a,
.footer-col ul li {
  font-size: var(--text-sm);
  color: rgba(244,246,248,0.65);
  transition: color var(--dur-fast);
}

.footer-col ul li a:hover {
  color: var(--amber-light);
}

.footer-nap {
  font-style: normal;
}

.footer-nap a {
  color: var(--amber-light);
  font-weight: 600;
  font-size: var(--text-md);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.footer-nap a:hover {
  color: var(--amber);
}

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(244,246,248,0.4);
}

.footer-bar a {
  color: rgba(244,246,248,0.5);
  transition: color var(--dur-fast);
}

.footer-bar a:hover {
  color: var(--amber-light);
}

/* ------------------------------------------------------------
   9. HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 88dvh;
  display: flex;
  align-items: center;
  background: var(--slate);
}

/* Background photo layer — copper pipes, positioned right */
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  /* PRODUCTION NOTE: Convert hero-frosted-copper-pipes.png (1.9 MB) to
     optimised WebP or JPEG, max 1920px wide, before going live.
     Target: ≤ 250 KB at 1x, ≤ 500 KB at 2x retina. */
  z-index: 0;
}

/* Gradient overlay: steel-blue left (text side) → semi-transparent right (image side)
   + bottom fade so the image blends into the trust-bar below.
   WCAG AA: white text on the left remains readable at all viewports. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(15,61,92,0.92) 0%,
      rgba(15,61,92,0.75) 45%,
      rgba(15,61,92,0.55) 70%,
      rgba(15,61,92,0.30) 100%
    ),
    linear-gradient(
      to bottom,
      transparent 60%,
      rgba(9,31,46,0.85) 100%
    );
  z-index: 1;
}

/* Subtle grid texture overlay — sits above photo, below content */
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(255,255,255,0.6) 49px,
      transparent 50px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(255,255,255,0.6) 49px,
      transparent 50px
    );
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: var(--space-20) 0 var(--space-16);
}

@media (min-width: 768px) {
  .hero__content {
    padding: var(--space-24) 0;
  }
}

/* Mobile: clear the fixed header, kill the dead band below the centered hero */
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    align-items: stretch;
  }
  .hero__content {
    padding: calc(var(--nav-height) + var(--space-10)) 0 var(--space-12);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 420px;
    gap: var(--space-16);
  }
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(232,163,61,0.12);
  border: 1px solid rgba(232,163,61,0.3);
  color: var(--amber-light);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.hero__label svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-5);
  font-size: clamp(2rem, 5.5vw, 4rem);
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero__subhead {
  font-size: var(--text-md);
  color: rgba(244,246,248,0.78);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-8);
}

.hero__trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(244,246,248,0.65);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Hero Card / Float */
.hero__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(27,110,140,0.35);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
}

.hero__card-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--white);
  margin-bottom: var(--space-6);
  text-align: center;
}

.hero__card-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--slate);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-left: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Quick inline form in hero card */
.hero-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero-form input,
.hero-form select {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(27,110,140,0.4);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  color: var(--white);
  font-size: var(--text-sm);
  transition: border-color var(--dur-fast), background var(--dur-fast);
  appearance: none;
}

.hero-form input::placeholder {
  color: rgba(244,246,248,0.4);
}

.hero-form input:focus,
.hero-form select:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255,255,255,0.12);
}

.hero-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E8A33D' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  color: rgba(244,246,248,0.5);
}

.hero-form select option {
  background: var(--slate);
  color: var(--white);
}

.hero-form .btn {
  width: 100%;
}

.hero-form__note {
  font-size: var(--text-xs);
  color: rgba(244,246,248,0.45);
  text-align: center;
}

/* ------------------------------------------------------------
   10. TRUST BAR / STATS
   ------------------------------------------------------------ */
.trust-bar {
  background: var(--blue);
  padding: var(--space-8) 0;
  border-bottom: 3px solid var(--amber);
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8) var(--space-12);
}

.trust-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-stat__number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.03em;
}

.trust-stat__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(244,246,248,0.65);
  font-weight: 600;
  margin-top: var(--space-1);
}

.trust-bar__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4) var(--space-8);
  align-items: center;
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(27,110,140,0.4);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(244,246,248,0.8);
}

.trust-badge svg {
  color: var(--amber);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------
   11. SERVICE CARDS
   ------------------------------------------------------------ */
.service-card {
  background: var(--white);
  border: 1px solid var(--frost-mid);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition:
    transform var(--dur-base) var(--ease-smooth),
    box-shadow var(--dur-base) var(--ease-smooth),
    border-color var(--dur-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(15,61,92,0.08), rgba(27,110,140,0.12));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: var(--text-lg);
  margin: 0;
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.service-card .btn--ghost {
  margin-top: auto;
  align-self: flex-start;
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-4);
}

/* Dark variant for service cards on blue bg */
.service-card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(27,110,140,0.25);
  color: var(--frost);
}

.service-card--dark h3 {
  color: var(--white);
}

.service-card--dark p {
  color: rgba(244,246,248,0.65);
}

.service-card--dark .service-card__icon {
  background: rgba(232,163,61,0.12);
  color: var(--amber);
}

.service-card--dark:hover {
  border-color: rgba(232,163,61,0.5);
  background: rgba(255,255,255,0.07);
}

/* ------------------------------------------------------------
   12. REVIEW / TESTIMONIAL CARDS
   ------------------------------------------------------------ */
.review-card {
  background: var(--white);
  border: 1px solid var(--frost-mid);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base), transform var(--dur-base);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-4);
  color: var(--amber);
}

.review-card__stars svg {
  width: 18px;
  height: 18px;
}

.review-card blockquote {
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--body-text);
  font-style: italic;
  margin-bottom: var(--space-6);
  max-width: none;
}

.review-card blockquote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--amber);
  line-height: 0;
  vertical-align: -0.7em;
  margin-right: 0.1em;
  font-family: var(--font-head);
  font-style: normal;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.review-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--slate);
  display: block;
}

.review-card__meta {
  font-size: var(--text-xs);
  color: var(--muted);
}

/* ------------------------------------------------------------
   13. SPEED / VALUE PROP SECTION
   ------------------------------------------------------------ */
.speed-section {
  background: linear-gradient(135deg, var(--slate) 0%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
}

.speed-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(232,163,61,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.speed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .speed-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.speed-comparison {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.speed-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
}

.speed-item--us {
  background: rgba(232,163,61,0.12);
  border: 1px solid rgba(232,163,61,0.3);
}

.speed-item--them {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  opacity: 0.7;
}

.speed-item__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.speed-item--us .speed-item__label { color: var(--amber); }
.speed-item--them .speed-item__label { color: rgba(244,246,248,0.4); }

.speed-item__value {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: var(--text-2xl);
  line-height: 1;
}

.speed-item--us .speed-item__value { color: var(--white); }
.speed-item--them .speed-item__value { color: rgba(244,246,248,0.3); text-decoration: line-through; }

.speed-item__icon {
  margin-left: auto;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   14. CTA BAND
   ------------------------------------------------------------ */
.cta-band {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  padding: var(--space-16) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E") repeat;
  opacity: 0.3;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--slate);
  margin-bottom: var(--space-4);
}

.cta-band p {
  color: rgba(19,36,47,0.75);
  font-size: var(--text-md);
  margin: 0 auto var(--space-8);
}

.cta-band .btn--call {
  background: var(--slate);
  color: var(--white);
}

.cta-band .btn--call:hover {
  background: var(--blue);
}

/* ------------------------------------------------------------
   15. SERVICE PAGE — INDIVIDUAL SERVICE SECTIONS
   ------------------------------------------------------------ */
.service-detail {
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--frost-mid);
}

.service-detail:last-of-type {
  border-bottom: none;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 768px) {
  .service-detail__grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail:nth-child(even) .service-detail__content {
    order: 2;
  }

  .service-detail:nth-child(even) .service-detail__visual {
    order: 1;
  }
}

.service-detail__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(232,163,61,0.1);
  border: 1px solid rgba(232,163,61,0.25);
  color: var(--amber-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.service-detail h2 {
  margin-bottom: var(--space-4);
}

.service-detail p {
  color: var(--body-text);
  margin-bottom: var(--space-6);
  max-width: 50ch;
}

.service-detail__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--body-text);
}

.service-detail__list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* Visual placeholder block */
.service-detail__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
}

.service-detail__visual::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

/* ------------------------------------------------------------
   16. PROJECTS / GALLERY
   ------------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-4);
}

@media (min-width: 500px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--blue);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-smooth);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Placeholder when no real image */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
}

.gallery-placeholder svg {
  color: rgba(255,255,255,0.3);
  width: 40px;
  height: 40px;
}

.gallery-placeholder__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,31,46,0.85) 0%, transparent 50%);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--dur-base);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--white);
  margin-bottom: 2px;
}

.gallery-item__meta {
  font-size: var(--text-xs);
  color: var(--amber-light);
}

/* ------------------------------------------------------------
   17. ABOUT PAGE
   ------------------------------------------------------------ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr 400px;
  }
}

.about-story {
  max-width: 60ch;
}

.about-story p {
  margin-bottom: var(--space-5);
  font-size: var(--text-md);
  line-height: 1.8;
}

.about-sidebar {
  background: var(--frost);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--frost-mid);
}

.about-sidebar h3 {
  margin-bottom: var(--space-5);
  font-size: var(--text-lg);
}

.about-sidebar ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.about-sidebar ul li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--body-text);
}

.about-sidebar ul li svg {
  color: var(--teal);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-6);
}

.team-card {
  text-align: center;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--frost-mid);
  background: var(--white);
  transition: box-shadow var(--dur-base), transform var(--dur-base);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card__photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--text-xl);
  margin: 0 auto var(--space-4);
  /* PHOTO PLACEHOLDER — replace background with img tag */
}

.team-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--slate);
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--teal);
  font-weight: 500;
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: var(--space-3);
  line-height: 1.6;
}

/* Service area map placeholder */
.map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 6;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--slate-mid) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: rgba(244,246,248,0.4);
  font-size: var(--text-sm);
  border: 1px solid rgba(27,110,140,0.3);
}

.map-placeholder svg {
  width: 36px;
  height: 36px;
}

/* ------------------------------------------------------------
   18. CONTACT / QUOTE FORM
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 380px;
  }
}

.quote-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-10);
  border: 1px solid var(--frost-mid);
}

.quote-form__title {
  margin-bottom: var(--space-2);
}

.quote-form__subtitle {
  color: var(--muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
  max-width: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-group label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--slate);
  font-family: var(--font-head);
}

.form-group label span {
  color: var(--amber-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--frost-mid);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--slate);
  background: var(--white);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,110,140,0.12);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B6E8C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

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

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

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-submit-area {
  margin-top: var(--space-6);
}

.form-submit-area .btn {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
}

.form-privacy {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.form-privacy svg {
  color: var(--teal);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-10) var(--space-6);
}

.form-success.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.form-success__icon {
  width: 64px;
  height: 64px;
  background: rgba(27,110,140,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.form-success__icon svg {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  color: var(--slate);
}

.form-success p {
  color: var(--muted);
  font-size: var(--text-sm);
  max-width: 32ch;
  margin: 0 auto;
  text-align: center;
}

/* Contact sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-info-card {
  background: var(--frost);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--frost-mid);
}

.contact-info-card h3 {
  font-size: var(--text-md);
  margin-bottom: var(--space-5);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item__icon {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}

.contact-info-item__icon svg {
  width: 18px;
  height: 18px;
}

.contact-info-item__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2px;
  font-family: var(--font-head);
}

.contact-info-item__value {
  font-weight: 600;
  color: var(--slate);
  font-size: var(--text-sm);
}

.contact-info-item__value a {
  color: var(--teal);
  transition: color var(--dur-fast);
}

.contact-info-item__value a:hover {
  color: var(--blue);
}

/* Response guarantee strip */
.response-guarantee {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  color: var(--white);
}

.response-guarantee h3 {
  color: var(--white);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.response-guarantee p {
  font-size: var(--text-sm);
  color: rgba(244,246,248,0.8);
  max-width: none;
}

.response-guarantee .highlight {
  color: var(--amber-light);
  font-weight: 700;
}

/* Map embed placeholder */
.map-embed-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 320px;
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: rgba(244,246,248,0.4);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(27,110,140,0.25);
}

.map-embed-placeholder svg {
  width: 32px;
  height: 32px;
  color: rgba(244,246,248,0.25);
}

/* ------------------------------------------------------------
   19. HERO — PAGE HERO (inner pages)
   ------------------------------------------------------------ */
.page-hero {
  background: linear-gradient(135deg, var(--slate) 0%, var(--blue) 100%);
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right top, rgba(27,110,140,0.2) 0%, transparent 60%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  margin-bottom: var(--space-3);
  display: block;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-hero p {
  color: rgba(244,246,248,0.75);
  font-size: var(--text-md);
  max-width: 55ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(244,246,248,0.5);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(244,246,248,0.5);
  transition: color var(--dur-fast);
}

.breadcrumb a:hover {
  color: var(--amber-light);
}

.breadcrumb__sep {
  color: rgba(244,246,248,0.25);
}

/* ------------------------------------------------------------
   20. GSAP ANIMATION INITIAL STATES
   JS sets the hidden state via .js-ready class so content is
   always visible before JS loads (no blank-page risk on slow
   connections, hidden tabs, or CDN failures).
   ------------------------------------------------------------ */

/* Only hide elements once JS has confirmed it is running */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
}

.js-ready [data-reveal-left] {
  opacity: 0;
  transform: translateX(-32px);
}

.js-ready [data-reveal-right] {
  opacity: 0;
  transform: translateX(32px);
}

.js-ready [data-reveal-scale] {
  opacity: 0;
  transform: scale(0.92);
}

/* When GSAP animates these, it sets inline styles — no extra class needed */

/* Reduced motion: show everything immediately, no class needed */
@media (prefers-reduced-motion: reduce) {
  .js-ready [data-reveal],
  .js-ready [data-reveal-left],
  .js-ready [data-reveal-right],
  .js-ready [data-reveal-scale] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero__content,
  .hero__card,
  .service-card,
  .review-card {
    transition: none !important;
  }
}

/* ------------------------------------------------------------
   21. 404 PAGE
   ------------------------------------------------------------ */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--frost);
}

.page-404__number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(6rem, 20vw, 12rem);
  color: transparent;
  -webkit-text-stroke: 2px var(--blue);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.page-404 h2 {
  margin-bottom: var(--space-4);
}

.page-404 p {
  margin: 0 auto var(--space-8);
  color: var(--muted);
}

/* ------------------------------------------------------------
   22. MISC UTILITIES
   ------------------------------------------------------------ */
.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;
}

.text-center { text-align: center; }
.text-amber { color: var(--amber); }
.text-teal  { color: var(--teal); }
.text-muted { color: var(--muted); }

.mb-0 { margin-bottom: 0 !important; }
.mt-auto { margin-top: auto; }

.inline-link {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast);
}

.inline-link:hover { color: var(--blue); }

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--frost-mid);
  margin: var(--space-12) 0;
}

/* Emergency badge in nav / footer */
.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(232,163,61,0.1);
  border: 1px solid rgba(232,163,61,0.3);
  color: var(--amber-light);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.emergency-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hover underline effect for text links */
.hover-underline {
  position: relative;
}

.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-smooth);
}

.hover-underline:hover::after {
  transform: scaleX(1);
}

/* ------------------------------------------------------------
   23. UI/UX FIX PASS — focus, touch, contrast, badges, form
   ------------------------------------------------------------ */

/* ── Focus-visible ring — all interactive elements ── */
:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Tighten to element shape for pill/full-radius elements */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 3px;
}

/* Amber ring on amber CTA buttons for better contrast */
.btn--primary:focus-visible {
  outline-color: var(--amber-dark);
}

/* Inputs/selects/textareas: keep existing teal box-shadow focus,
   but also add focus-visible outline for keyboard users */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible,
.hero-form input:focus-visible,
.hero-form select:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 0;
}

/* ── cursor:pointer on all clickable non-button elements ── */
.primary-nav__link,
.mobile-nav__link,
.mobile-nav__phone,
.header-phone,
.site-logo,
.footer-col ul li a,
.footer-nap a,
.footer-bar a,
.inline-link,
.breadcrumb a,
.service-card,
.review-card,
.gallery-item {
  cursor: pointer;
}

/* ── Button press feedback — scale + consistent transitions ── */
.btn {
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform 150ms var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

/* ── Touch targets — ≥44px on all interactive elements ── */
.btn {
  min-height: 44px;
}

.primary-nav__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.mobile-nav__link {
  min-height: 44px;
}

.header-phone {
  min-height: 44px;
}

.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 100dvh: replace any remaining 100vh on full-height sections ── */
.hero {
  min-height: 88dvh;
}

.page-404 {
  min-height: 70dvh;
}

/* ── Muted text contrast fix ──
   --muted now #556672 (5.95:1 on white, 5.49:1 on frost). The older override
   (#536470) is superseded — keeping selector for any muted text that might
   still need special casing on frost or light surfaces. */
.section--frost .text-muted,
.section--frost .service-card p,
.section--frost .review-card__meta,
.contact-info-card .contact-info-item__label,
.about-sidebar ul li,
.team-card__bio {
  color: var(--muted); /* inherits the corrected token value */
}

/* ── Trust badge pills (chip style) ── */
.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(27,110,140,0.35);
  background: rgba(27,110,140,0.08);
  color: #186E8A; /* darkened from teal-light for ≥4.5:1 on white — was #2A8EAD (3.77:1) */
  white-space: nowrap;
}

.trust-badge-pill svg {
  flex-shrink: 0;
  color: var(--teal);
}

/* Dark variant — for hero (on dark bg) */
.trust-badge-pill--dark {
  border-color: rgba(244,246,248,0.25);
  background: rgba(255,255,255,0.07);
  color: rgba(244,246,248,0.8);
}

.trust-badge-pill--dark svg {
  color: var(--amber-light);
}

/* Trust badge cluster — wrapping row */
.trust-badge-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.trust-badge-cluster--hero {
  margin-top: 0;
}

/* ── Optional field label hint ── */
.field-optional {
  font-weight: 400;
  font-size: var(--text-xs);
  color: var(--muted);
  margin-left: 4px;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}

/* ── Form error region (aria-live) ── */
.form-error-region {
  background: #FEF2F2;
  border: 1.5px solid #EF4444;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  color: #991B1B;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-5);
}

/* ── Hover transitions — all interactive cards at consistent speed ── */
.service-card,
.review-card,
.team-card {
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out),
    border-color 200ms var(--ease-out);
}

/* ── Spacing rhythm: ensure section padding stays on 8px grid ── */
.trust-badge-cluster {
  padding-top: 0;
}

/* ── Mobile horizontal overflow guard (belt + suspenders) ── */
section, .hero, .page-hero, .trust-bar, .cta-band, .speed-section {
  max-width: 100%;
  overflow-x: hidden;
}

/* ── min-width: 0 on flex/grid children to allow proper text truncation ── */
.speed-item > div,
.contact-info-item > div,
.trust-badge > div,
.footer-col {
  min-width: 0;
}

/* ── Long-content overflow safety — headings and service names ── */
h1, h2, h3, h4,
.service-card h3,
.team-card__name,
.gallery-item__title,
.contact-info-item__value,
.speed-item__value {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ── Form inputs: prevent overflow on very long placeholder/typed text ── */
.form-group input,
.form-group select,
.form-group textarea,
.hero-form input,
.hero-form select {
  min-width: 0;
}

/* ── Contact trust-strip card — replaces inline styles in contact.html ── */
.contact-trust-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--frost-mid);
  box-shadow: var(--shadow-sm);
}

.contact-trust-card strong {
  display: block;
  font-family: var(--font-head);
  color: var(--slate);
  margin-bottom: var(--space-1);
}

.contact-trust-card span {
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 400;
}

/* ── cta-band body text: raise opacity for better contrast ── */
.cta-band p {
  color: rgba(19,36,47,0.85); /* raised from 0.75 → 5.6:1 on amber */
}

/* ── Form row: prevent 2-col grid from clipping on very narrow screens ── */
@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── Speed section: ensure inline-style text values use proper wrapping ── */
.speed-item > div > div {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ── Gallery filter tabs (projects.html) ── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.btn--filter {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-4);
  min-height: 36px; /* smaller than full touch target but visually compact */
}

@media (max-width: 480px) {
  .btn--filter {
    font-size: clamp(0.65rem, 2.5vw, var(--text-xs));
    padding: var(--space-1) var(--space-3);
  }
}

/* ── Speed section text — replaces inline styles on index.html ── */
.section--dark-heading {
  color: var(--white);
  margin-bottom: var(--space-6);
}

.speed-section__body {
  color: rgba(244,246,248,0.88);
  margin-bottom: var(--space-8);
  line-height: 1.8;
}
