/* ==========================================================================
   HAMMER DOWN ROOFING — Design System
   Nailed down. Built right.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand colors */
  --color-charcoal: #1A1817;
  --color-charcoal-soft: #26221F;
  --color-off-white: #F7F3EC;
  --color-white: #FFFFFF;
  --color-orange: #FC4801;
  --color-orange-dark: #D93D00;
  --color-orange-light: #FFE4D6;
  --color-slate: #4A4E52;
  --color-slate-light: #7A7E82;
  --color-line: #E4DED2;
  --color-line-dark: rgba(247, 243, 236, 0.14);
  --color-card: #FFFFFF;
  --color-cream: #EFE9DC;

  /* Overlays */
  --overlay-charcoal-strong: rgba(20, 18, 17, 0.72);
  --overlay-charcoal-soft: rgba(20, 18, 17, 0.38);
  --overlay-gradient: linear-gradient(180deg, rgba(15,13,12,0.5) 0%, rgba(20,18,17,0.18) 22%, rgba(20,18,17,0.22) 45%, rgba(15,13,12,0.87) 100%);

  /* Typography */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem);
  --fs-2xl: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  --fs-3xl: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
  --fs-4xl: clamp(2.75rem, 2rem + 3vw, 4.25rem);
  --fs-hero: clamp(2.75rem, 1.9rem + 4.5vw, 5.75rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --section-padding: clamp(4rem, 3.2rem + 4.5vw, 7.5rem);
  --section-padding-sm: clamp(2.75rem, 2.2rem + 3vw, 4.5rem);

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(26,24,23,0.07), 0 1px 1px rgba(26,24,23,0.05);
  --shadow-md: 0 12px 28px -10px rgba(26,24,23,0.22);
  --shadow-lg: 0 30px 60px -16px rgba(26,24,23,0.28);
  --shadow-orange: 0 14px 30px -10px rgba(252,72,1,0.45);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 200ms;
  --dur-med: 420ms;
  --dur-slow: 700ms;

  /* Layout */
  --container-max: 1288px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --header-h: 84px;
  --header-h-mobile: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-charcoal);
  background: var(--color-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
input, textarea, select { background: none; }
table { border-collapse: collapse; }
::selection { background: var(--color-orange); color: var(--color-white); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--color-charcoal);
  color: var(--color-off-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease-out);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: var(--color-charcoal);
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); text-transform: uppercase; letter-spacing: 0.005em; }
h2 { font-size: var(--fs-3xl); text-transform: uppercase; }
h3 { font-size: var(--fs-xl); font-weight: 600; }
h4 { font-size: var(--fs-md); font-weight: 600; text-transform: none; }

p { color: var(--color-slate); }
p + p { margin-top: 1em; }

.lede {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--color-slate);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-orange);
  display: inline-block;
}
.eyebrow--on-dark { color: var(--color-orange); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

.section-head {
  max-width: 760px;
  margin-bottom: var(--space-8);
}
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 0.6em; }
.section-head .lede { margin-top: 1.1em; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
main { display: block; }
section { position: relative; }
.section-pad { padding-block: var(--section-padding); }
.section-pad-sm { padding-block: var(--section-padding-sm); }
.bleed-img { width: 100%; height: 100%; object-fit: cover; }

.bg-charcoal { background: var(--color-charcoal); color: var(--color-off-white); }
.bg-charcoal p { color: rgba(247,243,236,0.72); }
.bg-charcoal h2, .bg-charcoal h3, .bg-charcoal h4 { color: var(--color-off-white); }
.bg-cream { background: var(--color-cream); }
.bg-white { background: var(--color-white); }

.grid { display: grid; gap: var(--space-6); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover {
  background: var(--color-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(252,72,1,0.55);
}

.btn--dark {
  background: var(--color-charcoal);
  color: var(--color-off-white);
}
.btn--dark:hover { background: #000; transform: translateY(-2px); }

.btn--outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(247,243,236,0.55);
}
.btn--outline-light:hover {
  border-color: var(--color-white);
  background: rgba(247,243,236,0.12);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-charcoal);
  border-color: rgba(26,24,23,0.28);
}
.btn--outline-dark:hover {
  border-color: var(--color-charcoal);
  background: rgba(26,24,23,0.05);
  transform: translateY(-2px);
}

.btn--sm { padding: 0.7rem 1.35rem; font-size: 0.875rem; }
.btn--lg { padding: 1.1rem 2.25rem; font-size: 1rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--color-charcoal);
  border-bottom: 1.5px solid var(--color-orange);
  padding-bottom: 0.15em;
  transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.text-link:hover { gap: 0.65em; color: var(--color-orange); }
.text-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h-mobile);
  display: flex;
  align-items: center;
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-line);
  transition: background-color var(--dur-med) var(--ease-out), height var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
@media (min-width: 1024px) { .site-header { height: var(--header-h); } }

.site-header.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.site-header.is-scrolled {
  background: rgba(247,243,236,0.94);
  backdrop-filter: blur(10px) saturate(1.4);
  border-bottom-color: var(--color-line);
  box-shadow: 0 1px 0 rgba(26,24,23,0.02), 0 12px 24px -18px rgba(26,24,23,0.35);
}

.site-header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.brand img { height: 52px; width: auto; }
@media (min-width: 1024px) { .brand img { height: 64px; } }
.brand__text {
  display: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--color-charcoal);
  transition: color var(--dur-med) var(--ease-out);
}
.site-header.is-transparent .brand__text { color: var(--color-white); }
.brand__text span { display: block; font-size: 0.6rem; color: var(--color-orange); letter-spacing: 0.2em; font-family: var(--font-body); font-weight: 700; margin-top: 3px;}

.nav-primary {
  display: none;
}
@media (min-width: 1024px) {
  .nav-primary {
    display: flex;
    align-items: center;
    gap: var(--space-7);
  }
  .nav-primary a {
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    color: var(--color-charcoal);
    position: relative;
    padding: 0.4rem 0.05rem;
    transition: color var(--dur-fast) var(--ease-out);
  }
  .site-header.is-transparent .nav-primary a { color: var(--color-white); }
  .nav-primary a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--color-orange);
    transition: right var(--dur-fast) var(--ease-out);
  }
  .nav-primary a:hover::after, .nav-primary a.is-active::after { right: 0; }
  .nav-primary a.is-active { color: var(--color-orange); }
  .site-header.is-transparent .nav-primary a.is-active { color: var(--color-orange); }
}

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-cta { display: none; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) { .header-actions { gap: var(--space-4); } }
.header-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.site-header.is-transparent .nav-toggle span { background: var(--color-white); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] span { background: var(--color-charcoal) !important; }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-charcoal);
  z-index: 490;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h-mobile) + 1.5rem) var(--container-pad) 2.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility var(--dur-med);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav__links { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 1rem; }
.mobile-nav__links a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 2rem;
  color: var(--color-off-white);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(247,243,236,0.1);
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-fast) var(--ease-out);
}
.mobile-nav__links a:hover, .mobile-nav__links a.is-active { color: var(--color-orange); padding-left: 0.5rem; }
.mobile-nav__foot { margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav__phone { color: var(--color-off-white); font-weight: 700; font-size: 1.1rem; display: flex; flex-direction: column; }
.mobile-nav__phone small { display: block; color: var(--color-slate-light); font-size: 0.8rem; font-weight: 500; margin-bottom: 0.2rem; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-gradient);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: calc(var(--header-h-mobile) + 3rem) 4.5rem;
}
@media (min-width: 1024px) {
  .hero__content { padding-block: calc(var(--header-h) + 4rem) 6rem; }
}
.hero__eyebrow {
  color: var(--color-off-white);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  opacity: 0.92;
}
.hero__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--color-orange); }
.hero h1 {
  color: var(--color-white);
  font-size: var(--fs-hero);
  margin-top: 0.5em;
  max-width: 16ch;
  text-shadow: 0 4px 28px rgba(0,0,0,0.22);
}
.hero__sub {
  margin-top: 1.4rem;
  max-width: 46ch;
  font-size: var(--fs-lg);
  color: rgba(247,243,236,0.9);
  line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247,243,236,0.75);
  z-index: 1;
}
@media (min-width: 768px) { .hero__scroll { display: flex; } }
.hero__scroll span { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.hero__scroll .chevron { width: 15px; height: 15px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: bob 2.2s var(--ease-in-out) infinite; }
@keyframes bob { 0%,100% { transform: rotate(45deg) translate(0,0); } 50% { transform: rotate(45deg) translate(4px,4px); } }

/* Page hero (inner pages, shorter) */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
  margin-top: 0;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: var(--overlay-gradient); }
.page-hero__content {
  position: relative; z-index: 1; width: 100%;
  padding-block: calc(var(--header-h-mobile) + 5.5rem) 3.5rem;
}
@media (min-width: 1024px) { .page-hero__content { padding-block: calc(var(--header-h) + 7rem) 4.5rem; } }
.page-hero h1 { color: var(--color-white); margin-top: 0.5em; max-width: 20ch; }
.page-hero__sub { margin-top: 1.1rem; max-width: 56ch; font-size: var(--fs-lg); color: rgba(247,243,236,0.9); }
.breadcrumb { display: flex; align-items: center; gap: 0.5em; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(247,243,236,0.65); }
.breadcrumb a { color: rgba(247,243,236,0.9); }
.breadcrumb a:hover { color: var(--color-orange); }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-line);
}
.trust-strip__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-4);
  padding-block: var(--space-6);
}
@media (min-width: 1240px) { .trust-strip__row { grid-template-columns: repeat(4, minmax(max-content, 1fr)); justify-content: space-between; } }
.trust-item { display: flex; align-items: center; gap: 0.75rem; }
.trust-item svg { width: 26px; height: 26px; color: var(--color-orange); flex-shrink: 0; }
.trust-item span { font-size: var(--fs-sm); font-weight: 700; line-height: 1.25; color: var(--color-charcoal); }

/* ---------- Stats ---------- */
.stats {
  background: var(--color-charcoal);
  color: var(--color-off-white);
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8) var(--space-4);
  text-align: center;
}
@media (min-width: 480px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2.2rem + 2vw, 4rem);
  color: var(--color-orange);
  line-height: 1;
  letter-spacing: 0.01em;
}
.stat__label {
  margin-top: 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(247,243,236,0.78);
  max-width: 20ch;
  margin-inline: auto;
}

/* ---------- Logo feature (homepage) ---------- */
.logo-feature {
  padding-block: var(--space-8);
  background: var(--color-off-white);
}
.logo-feature img {
  display: block;
  width: clamp(120px, 14vw, 190px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 10px 12px rgba(20,18,17,0.4)) drop-shadow(0 30px 48px rgba(20,18,17,0.55));
}

/* ---------- Cards: services ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .card-grid--5 { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-line);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-orange-light);
  color: var(--color-orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 { text-transform: uppercase; }
.service-card p { margin-top: 0.65rem; font-size: var(--fs-sm); flex-grow: 1; }
.service-card .text-link { margin-top: var(--space-5); }

/* ---------- Why us / comparison ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: stretch;
}
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
.compare__col {
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
}
.compare__col--typical {
  background: var(--color-cream);
  border: 1px solid var(--color-line);
}
.compare__col--us {
  background: var(--color-charcoal);
  color: var(--color-off-white);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.compare__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--fs-lg);
  letter-spacing: 0.02em;
}
.compare__col--typical .compare__title { color: var(--color-slate); }
.compare__col--us .compare__title { color: var(--color-orange); }
.compare__list { margin-top: var(--space-6); display: flex; flex-direction: column; gap: 1.1rem; }
.compare__list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: var(--fs-sm); line-height: 1.5; }
.compare__col--typical .compare__list li { color: var(--color-slate); }
.compare__col--us .compare__list li { color: rgba(247,243,236,0.92); font-weight: 500; }
.compare__list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 0.1em; }
.compare__col--typical .compare__list svg { color: #B7B0A0; }
.compare__col--us .compare__list svg { color: var(--color-orange); }

/* ---------- Before / After Slider ---------- */
.ba-wrap { max-width: 920px; margin-inline: auto; }
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
@media (min-width: 640px) { .ba-slider { aspect-ratio: 16 / 10; } }
.ba-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider__after { z-index: 1; }
.ba-slider__before-wrap {
  position: absolute; inset: 0;
  z-index: 2;
  width: var(--pos, 50%);
  overflow: hidden;
}
.ba-slider__before-wrap img { width: var(--ba-width, 100vw); max-width: none; }
.ba-tag {
  position: absolute;
  top: 1.1rem;
  z-index: 3;
  background: rgba(20,18,17,0.72);
  color: var(--color-off-white);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5em 0.9em;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}
.ba-tag--before { left: 1.1rem; }
.ba-tag--after { right: 1.1rem; }
.ba-slider__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  z-index: 4;
  width: 3px;
  background: var(--color-white);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
.ba-slider__grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  box-shadow: var(--shadow-md);
}
.ba-slider__grip svg { width: 16px; height: 16px; color: var(--color-charcoal); }
.ba-caption { text-align: center; margin-top: var(--space-5); color: var(--color-slate); font-size: var(--fs-sm); }

/* ---------- Testimonials ---------- */
.testi-track {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: 0.5rem 1.5rem;
  margin: 0 calc(var(--container-pad) * -1);
  padding-inline: var(--container-pad);
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(360px, 82vw);
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.testi-card__stars { display: flex; gap: 0.2rem; color: var(--color-orange); }
.testi-card__stars svg { width: 17px; height: 17px; }
.testi-card p { margin-top: var(--space-4); color: var(--color-charcoal); font-size: var(--fs-md); line-height: 1.55; flex-grow: 1; }
.testi-card__meta { margin-top: var(--space-5); display: flex; align-items: center; gap: 0.75rem; }
.testi-card__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-charcoal);
  color: var(--color-orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testi-card__name { font-weight: 700; font-size: var(--fs-sm); }
.testi-card__loc { font-size: var(--fs-xs); color: var(--color-slate-light); }
.testi-controls { display: flex; gap: 0.75rem; justify-content: center; margin-top: var(--space-3); }
.testi-controls button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--color-line);
  display: flex; align-items: center; justify-content: center;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.testi-controls button:hover { background: var(--color-charcoal); border-color: var(--color-charcoal); color: var(--color-off-white); transform: translateY(-2px); }
.testi-controls svg { width: 18px; height: 18px; }
.testi-single {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
}
.testi-single__icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-orange);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-5);
}
.testi-single__icon svg { width: 28px; height: 28px; }
.testi-single p { font-size: var(--fs-md); color: var(--color-charcoal); line-height: 1.6; }
.testi-single .btn { margin-top: var(--space-6); }

.testi-note {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--color-slate-light);
  margin-top: var(--space-4);
  font-style: italic;
}

/* ---------- Value / team cards ---------- */
.value-card { padding: var(--space-6) var(--space-5); background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius-lg); height: 100%; }
.value-card__icon { width: 50px; height: 50px; border-radius: var(--radius-md); background: var(--color-cream); color: var(--color-orange); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); }
.value-card__icon svg { width: 26px; height: 26px; }
.value-card h3 { text-transform: uppercase; font-size: var(--fs-md); }
.value-card p { margin-top: 0.5rem; font-size: var(--fs-sm); }

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
@media (min-width: 640px) {
  .team-card { flex-direction: row; align-items: flex-start; padding: var(--space-7); gap: var(--space-7); }
}
.team-card__photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--color-orange);
  flex-shrink: 0;
  margin-inline: auto;
}
@media (min-width: 640px) { .team-card__photo { margin-inline: 0; width: 210px; } }
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.team-card__body { flex: 1; min-width: 0; }
.team-card h3 { text-transform: uppercase; font-size: var(--fs-xl); }
.team-card__role { color: var(--color-orange); font-weight: 700; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.35rem; }
.team-card p.bio { margin-top: 1.1rem; font-size: var(--fs-sm); }
.team-card__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.tag {
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.4em 0.8em;
  border-radius: var(--radius-full);
  background: var(--color-cream);
  color: var(--color-slate);
  border: 1px solid var(--color-line);
}

/* ---------- Area cards ---------- */
.area-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.area-card__media { aspect-ratio: 16/10; overflow: hidden; }
.area-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.area-card:hover .area-card__media img { transform: scale(1.06); }
.area-card__body { padding: var(--space-5); flex-grow: 1; display: flex; flex-direction: column; }
.area-card__county { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-orange); }
.area-card h3 { margin-top: 0.35rem; text-transform: uppercase; }
.area-card p { margin-top: 0.6rem; font-size: var(--fs-sm); flex-grow: 1; }

/* ---------- Map ---------- */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-line);
  aspect-ratio: 4/3;
}
@media (min-width: 768px) { .map-frame { aspect-ratio: 16/9; } }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15) contrast(1.03); }

.service-map {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-line);
  padding: clamp(1rem, 3vw, 2rem);
}
#service-area-map {
  width: 100%;
  height: 460px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-line);
}
@media (min-width: 700px) { #service-area-map { height: 620px; } }
#service-area-map .leaflet-container { font-family: var(--font-body); }
#service-area-map .area-label {
  background: transparent;
  border: none;
  box-shadow: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff, 0 -1px 0 #fff, 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
  white-space: nowrap;
}
#service-area-map .area-label::before { display: none; }
.service-map__legend {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
}
@media (min-width: 560px) {
  .service-map__legend { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
}
.service-map__legend li { display: flex; align-items: center; gap: 0.55rem; font-size: var(--fs-xs); font-weight: 700; color: var(--color-slate); letter-spacing: 0.02em; }
.service-map__swatch { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.service-map__swatch--served { background: rgba(252,72,1,0.22); border: 2.5px solid var(--color-orange); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-orange);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.14), transparent 45%),
              radial-gradient(circle at 85% 85%, rgba(0,0,0,0.12), transparent 45%);
}
.cta-band__inner { position: relative; z-index: 1; max-width: 700px; margin-inline: auto; }
.cta-band .eyebrow { color: rgba(255,255,255,0.85); }
.cta-band .eyebrow::before { background: var(--color-white); }
.cta-band h2 { color: var(--color-white); margin-top: 0.6em; }
.cta-band p { color: rgba(255,255,255,0.92); margin-top: 1.1rem; font-size: var(--fs-lg); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.cta-band .btn--dark { background: var(--color-charcoal); }
.cta-band .btn--outline-light:hover { background: rgba(255,255,255,0.16); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-charcoal); color: var(--color-off-white); }
.footer-top { padding-block: var(--space-10) var(--space-8); display: grid; gap: var(--space-8); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: var(--space-6); } }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.1rem; }
.footer-tagline { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.05rem; color: var(--color-orange); }
.footer-blurb { margin-top: 0.9rem; font-size: var(--fs-sm); color: rgba(247,243,236,0.68); max-width: 32ch; }
.footer-col h4 { color: var(--color-off-white); text-transform: uppercase; font-size: var(--fs-sm); letter-spacing: 0.06em; font-family: var(--font-body); font-weight: 700; }
.footer-col ul { margin-top: 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a, .footer-col address { font-size: var(--fs-sm); color: rgba(247,243,236,0.72); font-style: normal; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--color-orange); }
.footer-col li.muted { color: rgba(247,243,236,0.5); font-size: var(--fs-xs); }
.footer-bottom {
  border-top: 1px solid var(--color-line-dark);
  padding-block: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: var(--fs-xs);
  color: rgba(247,243,236,0.55);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom a { color: rgba(247,243,236,0.7); }
.footer-bottom a:hover { color: var(--color-orange); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 600px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-slate);
}
.field label .req { color: var(--color-orange); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.9rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-line);
  background: var(--color-white);
  font-size: var(--fs-base);
  color: var(--color-charcoal);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--color-slate-light); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(252,72,1,0.13);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234A4E52'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.75rem; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #C4392B; box-shadow: 0 0 0 4px rgba(196,57,43,0.1); }
.field__error { display: none; font-size: var(--fs-xs); color: #C4392B; font-weight: 600; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: var(--fs-xs); color: var(--color-slate-light); }

.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  padding: var(--space-7) var(--space-6);
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .form-card { padding: var(--space-8); } }
.form-submit-row { margin-top: var(--space-2); display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form-note { font-size: var(--fs-xs); color: var(--color-slate-light); max-width: 32ch; }

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-8) var(--space-5);
}
.form-success.is-visible { display: block; }
.form-success__icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--color-orange-light); color: var(--color-orange);
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto; margin-bottom: var(--space-5);
}
.form-success__icon svg { width: 34px; height: 34px; }
.form-fields.is-hidden { display: none; }

/* ---------- Mobile sticky contact bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 480;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  background: var(--color-charcoal);
  padding: 0.65rem;
  gap: 0.65rem;
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
}
@media (min-width: 560px) { .mobile-bar { display: none; } }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
}
.mobile-bar a svg { width: 18px; height: 18px; flex-shrink: 0; }
.mobile-bar__call { background: rgba(247,243,236,0.1); color: var(--color-off-white); border: 1.5px solid rgba(247,243,236,0.28); }
.mobile-bar__estimate { background: var(--color-orange); color: var(--color-white); }
body.has-mobile-bar { padding-bottom: 76px; }
@media (min-width: 560px) { body.has-mobile-bar { padding-bottom: 0; } }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * { --reveal-delay: 0s; }
[data-reveal-group] > *:nth-child(2) { --reveal-delay: 0.09s; }
[data-reveal-group] > *:nth-child(3) { --reveal-delay: 0.18s; }
[data-reveal-group] > *:nth-child(4) { --reveal-delay: 0.27s; }
[data-reveal-group] > *:nth-child(5) { --reveal-delay: 0.36s; }
[data-reveal-group] > *:nth-child(n+6) { --reveal-delay: 0.42s; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--color-line); border: 0; }
.pill-badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  color: var(--color-slate);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.5em 1em;
  border-radius: var(--radius-full);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--space-10); } }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }
.two-col.is-reverse .two-col__media { order: -1; }
@media (min-width: 900px) { .two-col.is-reverse .two-col__media { order: 2; } }
.two-col__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.two-col__media { position: relative; }
.two-col__badge {
  position: absolute;
  bottom: -1.25rem; left: -1.25rem;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-md);
  display: none;
}
@media (min-width: 640px) { .two-col__badge { display: block; } }
.two-col__badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.two-col__badge span { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

.icon-list { display: flex; flex-direction: column; gap: 0.9rem; margin-top: var(--space-5); }
.icon-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: var(--fs-sm); color: var(--color-charcoal); font-weight: 500; }
.icon-list svg { width: 20px; height: 20px; color: var(--color-orange); flex-shrink: 0; margin-top: 0.15em; }

.numbered-steps { counter-reset: step; display: flex; flex-direction: column; gap: var(--space-6); }
.numbered-steps li { counter-increment: step; display: flex; gap: 1.25rem; }
.numbered-steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-charcoal);
  color: var(--color-orange);
  display: flex; align-items: center; justify-content: center;
}
.numbered-steps h4 { text-transform: uppercase; }
.numbered-steps p { margin-top: 0.3rem; font-size: var(--fs-sm); }

/* ---------- Pull statement (standalone highlighted claim) ---------- */
.pull-statement {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-charcoal);
  border-left: 5px solid var(--color-orange);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.pull-statement svg {
  width: 30px; height: 30px;
  color: var(--color-orange);
  flex-shrink: 0;
}
.pull-statement p {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--color-off-white);
  font-size: var(--fs-lg);
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.pull-statement p span { color: var(--color-orange); }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-orange);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-fast) var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 0.9rem; font-size: var(--fs-sm); }

.anchor-offset { scroll-margin-top: calc(var(--header-h-mobile) + 1rem); }
@media (min-width: 1024px) { .anchor-offset { scroll-margin-top: calc(var(--header-h) + 1.5rem); } }
