/* =========================================================
   SMALL-BUSINESS LEAD-GEN TEMPLATE
   Type: Archivo (display) + Inter (body).
   Signature: the "rail" tick divider.

   >>> TO REBRAND A CLIENT: edit ONLY the BRAND block below. <<<
   Every color on the site derives from these few values.
   ========================================================= */

:root {
  /* =======================================================
     BRAND  ·  EDIT THESE PER CLIENT
     Defaults are a neutral, unbranded charcoal + stone.
     Swap --brand to the client's primary color and the
     whole site re-themes (buttons, links, accents, form).
     ======================================================= */
  --brand:      #9f8c6e;   /* primary accent: refined neutral bronze */
  --brand-dim:  #c4b496;   /* lighter accent for use on dark backgrounds */
  --dark:       #201f1d;   /* hero / dark sections (near-black) */
  --paper:      #f6f4f0;   /* page background (warm off-white) */

  /* ---- derived neutrals (usually leave alone) ---- */
  --ink:        var(--dark);
  --charcoal:   #232220;
  --paper-2:    #ece9e2;
  --stone:      #6f6b64;
  --line:       #d9d4cb;

  /* type */
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* layout */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.04; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.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;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: .7rem 1.1rem;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- real images fill their containers ---------- */
.hero__media img, .local__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.05); }

/* ---------- image placeholders (until client photos arrive) ---------- */
.ph {
  width: 100%; height: 100%; min-height: 220px;
  background:
    repeating-linear-gradient(45deg, var(--paper-2) 0 12px, #e4e0d8 12px 24px);
  display: flex; align-items: center; justify-content: center;
  color: var(--stone); font-family: var(--font-display); font-weight: 700;
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  text-align: center; padding: 1rem;
}
.ph::after { content: attr(data-ph); }
.ph--hero, .ph--dark {
  background:
    repeating-linear-gradient(45deg, #2a2825 0 12px, #201e1c 12px 24px);
  color: rgba(255,255,255,.55);
}

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 1.1rem;
}
.eyebrow--light { color: var(--brand-dim); }

.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section__head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .95em 1.7em; border: 1.5px solid var(--bd); border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
/* flat, confident bronze — pops on light and dark, no gloss */
.btn--solid, .btn--accent {
  color: #221c10; border-color: #87745a;
  background: var(--brand);
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.34);
}
.btn--solid:hover, .btn--accent:hover {
  color: #221c10; border-color: #7a6850; transform: translateY(-2px);
  background: #8c7a5e;
  box-shadow: 0 11px 26px -8px rgba(0,0,0,.45);
}
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; border-color: var(--brand-dim); }
.btn--ghost-dark { --bg: transparent; --fg: var(--ink); --bd: var(--brand); }
.btn--ghost-dark:hover { background: var(--brand); color: #221c10; border-color: var(--brand); }

.link-arrow {
  font-family: var(--font-display);
  font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .55em;
  color: var(--ink); padding-bottom: 2px; border-bottom: 1.5px solid var(--brand);
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- rail signature divider ---------- */
.rail { position: relative; height: 0; }
.hero .rail { position: absolute; left: 0; right: 0; bottom: 0; height: auto; }
.rail span {
  display: block; height: 1px; width: 100%;
  background-image: repeating-linear-gradient(to right, rgba(255,255,255,.55) 0 1px, transparent 1px 26px);
}
.rail span::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px;
  background-image: repeating-linear-gradient(to right, rgba(255,255,255,.5) 0 1px, transparent 1px 78px);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
  color: #fff;
}
.header__inner { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.site-header.scrolled {
  background: var(--paper); color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(0,0,0,.5);
}

.brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); }
/* no box, ever: white logo on dark states, original on the light scrolled header */
.brand__logo { height: 58px; width: auto; display: block; }
.brand__logo--dark { display: none; }
.site-header.scrolled .brand__logo--light { display: none; }
.site-header.scrolled .brand__logo--dark { display: block; }
@media (max-width: 560px) { .brand__logo { height: 44px; } }
.brand__tick { width: 14px; height: 14px; align-self: center; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.brand__tick::after { content: ""; position: absolute; inset: 3px; background: var(--brand); border-radius: 50%; }
.brand__name { font-weight: 900; letter-spacing: .02em; font-size: 1.32rem; text-transform: uppercase; }
.brand__sub { font-weight: 600; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brand-dim); align-self: center; }
.site-header.scrolled .brand__sub { color: var(--brand); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 1.9rem; align-items: center; }
.nav__item > a {
  font-family: var(--font-display); font-weight: 600;
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .5rem 0; display: inline-block; position: relative;
}
.nav__item > a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--brand); transition: width .25s var(--ease); }
.nav__item > a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; }
.header__phone {
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  letter-spacing: .04em; display: inline-flex; align-items: center; gap: .4em; white-space: nowrap;
}
.header__phone-ico { color: var(--brand-dim); }
.header__phone:hover { color: var(--brand-dim); }
.site-header.scrolled .header__phone:hover { color: var(--brand); }

/* mobile toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; justify-content: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; margin-left: auto; }
.menu-toggle span { display: block; height: 2px; width: 24px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); z-index: 99;
  background: var(--charcoal); color: var(--paper);
  padding: 6rem 2rem 2rem; transform: translateX(100%); transition: transform .35s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav[hidden] { display: block; }
.mobile-nav nav { display: flex; flex-direction: column; gap: .4rem; }
.mobile-nav a {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.mobile-nav__phone { color: var(--brand-dim) !important; }
.mobile-nav .btn { margin-top: 1.4rem; border-bottom: 1.5px solid; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: clamp(560px, 88vh, 880px);
  display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  margin-top: -76px; padding-top: 76px;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media .ph { position: absolute; inset: 0; height: 100%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20,19,17,.92) 0%, rgba(20,19,17,.4) 45%, rgba(20,19,17,.2) 100%),
    linear-gradient(to right, rgba(20,19,17,.6), rgba(20,19,17,0) 70%);
}
.hero__inner { padding-block: clamp(3rem, 8vw, 6rem) clamp(4rem, 8vw, 6.5rem); }
.hero__title {
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  font-weight: 900; letter-spacing: -0.025em; text-transform: uppercase;
  margin-bottom: 1.4rem; max-width: 18ch;
  text-shadow: 0 2px 20px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.55);
}
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 48ch; color: rgba(255,255,255,.88); margin-bottom: 2.2rem; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
.hero__trust li { display: inline-flex; align-items: center; gap: .5em; }
.hero__trust li + li { padding-left: 1.6rem; border-left: 1px solid rgba(255,255,255,.22); }
.hero__stars { color: var(--brand-dim); letter-spacing: .05em; }

/* ---------- quote bar (scrolling customer quotes, no names) ---------- */
.quotebar {
  background: var(--ink); color: var(--paper);
  overflow: hidden; padding-block: clamp(.95rem, 2vw, 1.35rem);
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.quotebar__track {
  display: inline-flex; align-items: center; width: max-content; white-space: nowrap;
  animation: quote-scroll 78s linear infinite; will-change: transform;
}
.quotebar:hover .quotebar__track { animation-play-state: paused; }
.quotebar__item {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.12rem); letter-spacing: .01em;
  color: rgba(255,255,255,.92);
}
.quotebar__sep { color: var(--brand); margin: 0 2.6rem; font-style: normal; }
@keyframes quote-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  /* no auto-motion: let people swipe through the quotes by hand instead */
  .quotebar { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .quotebar__track { animation: none; }
}

/* ---------- services (what we do) ---------- */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.4rem); }
.svc {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(0,0,0,.4); border-color: var(--brand-dim); }
.svc__media { overflow: hidden; aspect-ratio: 4/3; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.05); }
.svc__body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.svc__title { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; }
.svc__text { color: var(--stone); font-size: 1rem; flex: 1; }
.svc .link-arrow { align-self: flex-start; margin-top: .3rem; }

/* ---------- gallery (sliding marquee) ---------- */
.gallery__head { max-width: 52rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.gallery__title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; }
.gallery__lead { color: var(--stone); font-size: clamp(1.05rem, 1.6vw, 1.22rem); margin-top: 1.2rem; }

/* break out of the centered wrap so the strip spans the full viewport */
.gallery {
  display: flex; flex-direction: column; gap: clamp(.7rem, 1.4vw, 1rem);
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  /* soft fade into the page on both edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.gallery__row { overflow: hidden; }
.gallery__track {
  display: flex; gap: clamp(.7rem, 1.4vw, 1rem); width: max-content;
  animation: gallery-scroll 55s linear infinite; will-change: transform;
}
.gallery__track--reverse { animation-direction: reverse; }
.gallery__row:hover .gallery__track,
.gallery__row:focus-within .gallery__track { animation-play-state: paused; }

.gallery__item {
  flex: 0 0 auto; display: block; padding: 0; border: 0; cursor: zoom-in;
  width: clamp(220px, 30vw, 380px); aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden;
  background: var(--paper-2); box-shadow: 0 14px 30px -22px rgba(0,0,0,.5);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

@keyframes gallery-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  /* no auto-motion: let people swipe/scroll the strip by hand instead */
  .gallery__row { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .gallery__track { animation: none; }
}
@media (max-width: 560px) {
  .gallery__item { width: clamp(180px, 64vw, 240px); }
  .gallery__track { animation-duration: 38s; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 4vw;
  background: rgba(20,19,17,.92); backdrop-filter: blur(2px);
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.4rem; width: 48px; height: 48px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff;
  font-size: 1.6rem; line-height: 1; border-radius: 50%; cursor: pointer;
}
.lightbox__close:hover { background: var(--brand); border-color: var(--brand); color: #221c10; }

/* ---------- why us ---------- */
.reasons { background: var(--paper-2); }
.reasons__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.reason { border-top: 2px solid var(--ink); padding-top: 1.6rem; }
.reason__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 1.2rem; font-weight: 800;
  margin-bottom: 1rem;
}
.reason h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: .7rem; letter-spacing: -0.01em; }
.reason p { color: var(--stone); }

/* ---------- about band ---------- */
.local { position: relative; color: #fff; overflow: hidden; }
.local__media { position: absolute; inset: 0; z-index: -1; }
.local__media .ph { position: absolute; inset: 0; height: 100%; }
.local__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,17,.88), rgba(20,19,17,.5)); }
.local__inner { padding-block: clamp(5rem, 12vw, 9rem); max-width: 40rem; }
.local__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.4rem; }
.local__text { color: rgba(255,255,255,.85); font-size: 1.08rem; margin-bottom: 2rem; max-width: 50ch; }

/* ---------- quote form ---------- */
.estimate { background: var(--dark); color: var(--paper); padding-block: clamp(4rem, 9vw, 7.5rem); }
.estimate__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.estimate__title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.1rem; }
.estimate__sub { color: rgba(255,255,255,.78); font-size: 1.08rem; margin-bottom: 1.6rem; max-width: 44ch; }
.estimate__perks { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.8rem; }
.estimate__perks li { position: relative; padding-left: 1.8rem; color: rgba(255,255,255,.85); }
.estimate__perks li::before { content: "\2713"; position: absolute; left: 0; color: var(--brand-dim); font-weight: 800; }
.estimate__call { font-size: .95rem; color: rgba(255,255,255,.7); }
.estimate__call a { color: var(--brand-dim); font-weight: 600; border-bottom: 1px solid var(--brand-dim); }

.qform {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.qform__row { display: flex; flex-direction: column; gap: .45rem; }
.qform label {
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.qform label span { color: rgba(255,255,255,.4); font-weight: 600; }
.qform input, .qform select, .qform textarea {
  width: 100%; background: rgba(0,0,0,.25); border: 1.5px solid rgba(255,255,255,.18);
  color: #fff; font-family: var(--font-body); font-size: 1rem;
  padding: .85rem 1rem; border-radius: var(--radius); transition: border-color .2s var(--ease);
}
.qform textarea { resize: vertical; min-height: 96px; }
.qform input::placeholder, .qform textarea::placeholder { color: rgba(255,255,255,.4); }
.qform select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff88' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem;
}
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--brand); }
.qform__submit { margin-top: .4rem; width: 100%; }
.qform__msg { font-size: .9rem; color: var(--brand-dim); min-height: 1.2em; text-align: center; }
.qform__fine { font-size: .78rem; color: rgba(255,255,255,.45); text-align: center; }

/* ---------- final CTA ---------- */
.cta { background: var(--paper); border-top: 1px solid var(--line); }
.cta__inner { text-align: center; padding-block: clamp(4rem, 9vw, 7rem); }
.cta__title { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
.cta__text { color: var(--stone); font-size: 1.1rem; margin: 1rem auto 2.2rem; max-width: 40ch; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: 4.5rem; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(2rem, 4vw, 3rem); padding-bottom: 3rem; }
.brand--footer { color: var(--paper); }
.brand--footer .brand__sub { color: var(--brand-dim); }
.footer__tag { color: rgba(255,255,255,.6); margin-top: 1rem; max-width: 24ch; }
.footer__col h4 { font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-dim); margin-bottom: 1.1rem; }
.footer__h4-spacer { margin-top: 1.8rem; }
.footer__cta-link a { color: var(--brand-dim); font-weight: 600; }
.footer__col p, .footer address { color: rgba(255,255,255,.78); font-style: normal; line-height: 1.9; }
.footer a { color: rgba(255,255,255,.78); transition: color .2s; }
.footer a:hover { color: var(--brand-dim); }
.hours { border-collapse: collapse; width: 100%; max-width: 220px; }
.hours td { padding: .15rem 0; color: rgba(255,255,255,.78); font-size: .92rem; }
.hours td:first-child { color: rgba(255,255,255,.5); width: 3.2rem; }
.social { display: flex; flex-direction: column; gap: .5rem; }
.footer__bar {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.6rem;
  font-size: .82rem; color: rgba(255,255,255,.5);
}

/* ---------- sticky mobile call bar ---------- */
.callbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--brand); color: #fff; text-align: center;
  font-family: var(--font-display); font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  font-size: .92rem; padding: 1rem; box-shadow: 0 -8px 24px -12px rgba(0,0,0,.5);
}

/* ---------- process ---------- */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.6rem); }
.step { position: relative; padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.step__num { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; color: var(--brand); line-height: 1; display: block; margin-bottom: .9rem; }
.step h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .55rem; letter-spacing: -0.01em; }
.step p { color: var(--stone); font-size: .98rem; }

/* ---------- service-area map ---------- */
.map { background: var(--paper-2); }
.map__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.map__lead { color: var(--stone); font-size: 1.08rem; margin: 1.2rem 0 1.6rem; max-width: 42ch; }
.map__towns { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; margin-bottom: 2rem; max-width: 30rem; }
.map__towns li { position: relative; padding-left: 1.6rem; color: var(--ink); font-weight: 500; }
.map__towns li::before { content: "\2713"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.map__frame {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  border: 1px solid var(--line); background: var(--paper);
  box-shadow: 0 34px 64px -34px rgba(0,0,0,.45);
}
.map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .nav, .header__actions { display: none; }
  .menu-toggle { display: flex; }
  .header__inner { gap: 1rem; }
  .services__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .reasons__grid { grid-template-columns: 1fr; gap: 2rem; }
  .estimate__inner { grid-template-columns: 1fr; gap: clamp(1.8rem, 5vw, 3rem); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .process__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .map__inner { grid-template-columns: 1fr; }
  .callbar { display: block; }
  body { padding-bottom: 56px; } /* room for call bar */
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__trust li + li { padding-left: 0; border-left: 0; }

  /* trim the page so it doesn't scroll forever (map stays) */
  .hero__trust { display: none; }                 /* hero trust row */
  .reasons { display: none; }                      /* "Why East Tennessee calls E&H" */
  .cta { display: none; }                          /* final CTA band */
  .local { display: none; }                        /* about band */

  /* tighter, proportional rhythm */
  .section { padding-block: clamp(2.6rem, 9vw, 3.6rem); }
  .estimate { padding-block: 3rem; }
  .hero { min-height: 88vh; }
  .hero__inner { padding-block: 2.4rem 3rem; }
  .hero__title { font-size: clamp(2.3rem, 11vw, 3rem); margin-bottom: 1rem; }
  .hero__sub { font-size: 1rem; margin-bottom: 1.6rem; }
  .section__title, .gallery__title { font-size: clamp(2rem, 8.5vw, 2.7rem); }
  .gallery__lead, .estimate__sub { font-size: 1rem; }

  /* proportional buttons */
  .btn { padding: .85em 1.4em; font-size: .72rem; }
  .hero__actions { gap: .8rem; margin-bottom: 1.6rem; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .btn--ghost { display: none; }  /* call lives in the sticky bar */
  .cta__actions .btn { flex: 1 1 auto; }

  /* form: clean, correctly sized */
  .qform { padding: 1.25rem; gap: .85rem; border-radius: 14px; }
  .qform__row { gap: .35rem; }
  .qform label { font-size: .68rem; }
  .qform input, .qform select, .qform textarea { padding: .75rem .9rem; font-size: 16px; border-radius: 12px; }
  .qform textarea { min-height: 84px; }
  .estimate__perks { gap: .5rem; margin-bottom: 1.4rem; }

  /* call bar */
  .callbar { font-size: .82rem; padding: .85rem; background: var(--ink); color: var(--brand-dim); border-top: 2px solid var(--brand); }
  body { padding-bottom: 52px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .quotes__track { transition: none !important; }
}

/* =========================================================
   LOADING OVERLAY
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #0b0b0b;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.loader__logo {
  width: clamp(160px, 36vw, 250px); height: auto; opacity: .97;
  animation: loaderPulse 1.8s ease-in-out infinite;
}
.loader__bar {
  width: clamp(150px, 34vw, 230px); height: 2px;
  background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden;
}
.loader__fill {
  display: block; height: 100%; width: 0; background: var(--brand);
  animation: loaderFill 1.45s ease-out forwards;
}
@keyframes loaderFill { from { width: 0; } to { width: 100%; } }
@keyframes loaderPulse { 0%,100% { opacity: .82; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .loader__logo { animation: none; }
  .loader__fill { animation: none; width: 100%; }
}

/* ---------- powered by MXG ---------- */
.footer__powered { text-align: center; padding-bottom: 1.8rem; }
.footer__powered a {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: .92rem; letter-spacing: .05em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  transition: color .2s var(--ease);
}
.footer__powered a:hover { color: rgba(255,255,255,.9); }
/* logo is filled with the current text color, so it is white on dark
   backgrounds and dark on light backgrounds automatically */
/* logo is an inline SVG filled with the current text color, so it is white on
   dark backgrounds and dark on light backgrounds automatically */
.mxg-logo {
  width: 82px; height: auto; display: inline-block; vertical-align: middle;
  fill: currentColor;
}
