/* ============================================================
   Dynasty Heating and Air — V4
   Implementation of the Claude-Design-generated design system.
   Light cream surface as primary, navy demoted to accent.
   Tokens loaded via colors_and_type.css (Google Fonts + :root).
   ============================================================ */

@import url('colors_and_type.css');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }

/* Spacing rhythm tokens — rhythm comes from VARIATION, not uniformity. */
:root {
  --section-pad-tight: 72px;   /* breathing room between heavy sections */
  /*  --section-pad: 110px      — already declared in colors_and_type.css; default */
  --section-pad-loose: 144px;  /* extra weight on signature moments */
}

/* Containers */
.container {
  max-width: var(--container-max);
  padding: 0 var(--container-pad);
  margin: 0 auto;
}
section { padding: var(--section-pad) 0; position: relative; }

/* Per-section spacing overrides — vary by weight. */
.hero        { padding: clamp(96px, 11vw, 132px) 0 clamp(80px, 9vw, 112px); }
#services    { padding: var(--section-pad-loose) 0; }    /* heaviest section, deserves space */
.story       { padding: var(--section-pad) 0; }
.work        { padding: var(--section-pad-tight) 0; }    /* gallery wants tighter rhythm */
#reviews     { padding: var(--section-pad) 0; }
.cta-band    { padding: clamp(72px, 8vw, 96px) 0; }
.trust-bar   { padding: 0; margin-top: -56px; }          /* lifts into hero, signals the join */

/* Page texture — subtle warm glows on the cream surface */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(1400px 800px at 110% -10%, var(--brand-glow-soft), transparent 55%),
    radial-gradient(1000px 600px at -10% 20%, oklch(0.62 0.19 33 / 0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
section, header, footer { position: relative; z-index: 1; }

a { color: inherit; }

/* ================ NAV ================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.16 0.03 260 / 0.92);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--navy-line);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  padding: 16px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
}
.nav .brand img { height: 56px; display: block; }    /* logo bumped 32→56 */
.nav-links { display: flex; gap: 24px; margin-left: 12px; }
.nav-links a {
  color: var(--text); text-decoration: none;
  font-weight: 500; font-size: 14px; letter-spacing: 0.01em;
  padding: 8px 0;
}
.nav-links a.active { color: var(--white); border-bottom: 2px solid var(--brand); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-phone {
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 7px;
}
.nav-phone svg { width: 14px; height: 14px; color: var(--brand-light); }

/* Mobile hamburger — hidden by default, visible at <=960 */
.hamburger {
  display: none;
  background: none; border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  width: 38px; height: 38px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.hamburger svg { width: 20px; height: 20px; }

/* ================ BUTTONS ================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px;
  letter-spacing: 0.02em; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--flame-gradient); color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -16px rgba(228,73,36,0.6); }
.btn-ghost {
  background: rgba(255,255,255,0.04); color: var(--white);
  border-color: rgba(255,255,255,0.18);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.08); }
/* Ghost variant for use on light surfaces (sub-pages) */
.btn-ghost-dark {
  background: transparent; color: var(--ink);
  border-color: rgba(28,38,68,0.22);
}
.btn-ghost-dark:hover { background: rgba(28,38,68,0.04); border-color: rgba(28,38,68,0.42); }
.btn-sm { padding: 10px 20px; font-size: 12.5px; }

/* ================ HERO ================ */
.hero {
  padding: 88px 0 80px;     /* tightened: was 120/100 — Jesse said too much top space */
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: start;        /* was center — pull-quote now top-aligns with kicker */
}
.hero-grid > aside.hero-quote { margin-top: 56px; }   /* aligns top of quote with the H1 word, below the kicker */
/* ============== HERO STAMPS — credentials row above H1 ============== */
.hero-stamps {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.hero-kicker {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-weight: 700;
  font-size: 11.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--brand);
  padding: 7px 20px;
  border-top: 1px solid var(--brand);
  border-bottom: 1px solid var(--brand);
}
.hero-kicker-alt {
  /* Second stamp — sits OPPOSITE Est. 2015. Different color treatment so the eye reads them as paired but distinct credentials. */
  color: var(--ink-2);
  border-color: var(--ink-2);
  opacity: 0.85;
}

/* ============== HERO RATING — promoted to under the H1 ============== */
.hero-rating {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 24px;
  padding: 12px 0;
  border-top: 1px solid var(--surface-line);
  border-bottom: 1px solid var(--surface-line);
}
.hero-rating .stars { display: inline-flex; gap: 3px; color: var(--brand); }
.hero-rating .stars svg { width: 19px; height: 19px; }
.hero-rating .rating-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: 22px; letter-spacing: -0.5px;
  color: var(--ink);
  line-height: 1;
}
.hero-rating .rating-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
/* Emphasis word in the hero H1 — solid color, not gradient.
   Color carries the brand; weight + size carry the emphasis. */
.hero h1 .flame { color: var(--brand); }
.hero .sub {
  font-size: 19px; line-height: 1.65;
  color: var(--muted-2);
  max-width: 540px;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-cta .btn-ghost {
  background: rgba(28,38,68,0.04); color: var(--ink);
  border-color: rgba(28,38,68,0.22);
}
.hero-cta .btn-ghost:hover { border-color: rgba(28,38,68,0.42); background: rgba(28,38,68,0.07); }
/* ============== HERO PULL QUOTE — replaces the photo block ==============
   Same dimensional gravity as the photo it sits in for, but reads as a
   testimonial. Cream surface with the brand-line border, big editorial " mark,
   verbatim review body in Ibarra italic, attribution at the foot. */
.hero-quote {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-lg);
  padding: 56px 44px 40px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  min-height: 520px;
  overflow: hidden;
}
/* Subtle warm-glow corner — echoes the service-card treatment but on the cream side */
.hero-quote::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(244,163,90,0.16), transparent 70%);
  pointer-events: none;
}
.hero-quote-mark {
  position: absolute;
  top: -28px; left: 18px;
  font-family: var(--font-serif);
  font-style: italic; font-weight: 700;
  font-size: 220px;
  line-height: 1;
  color: var(--brand);
  opacity: 0.16;
  user-select: none;
  pointer-events: none;
}
.hero-quote-stars {
  display: inline-flex; gap: 4px;
  color: var(--brand);
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.hero-quote-stars svg { width: 20px; height: 20px; }

.hero-quote .quote {
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.45;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin: 0 0 36px;
  position: relative; z-index: 1;
  text-wrap: pretty;
  max-width: 36ch;
  font-feature-settings: "kern" 1, "liga" 1;
  font-variant-numeric: oldstyle-nums;
}
.hero-quote .quote em {
  color: var(--brand);
  font-style: italic;
}

.hero-quote-attr {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid var(--surface-line);
  position: relative; z-index: 1;
}
.hero-quote-attr .av {
  width: 44px; height: 44px; border-radius: 999px;
  background: linear-gradient(135deg, oklch(0.46 0.17 30), oklch(0.68 0.18 40));
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 16px;
  letter-spacing: -0.3px;
}
.hero-quote-meta { line-height: 1.3; }
.hero-quote-attr .name {
  font-weight: 700; font-size: 14.5px; color: var(--ink);
}
.hero-quote-attr .where {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.hero-quote-attr .src {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}

/* Live-status badge — kept from the photo treatment because it's a credibility signal.
   Sits in the upper-right corner of the quote panel. */
.hero-quote-badge {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white);
  z-index: 2;
}
.hero-quote-badge .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: oklch(0.72 0.17 145);
  box-shadow: 0 0 8px oklch(0.72 0.17 145);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ================ TRUST BAR ================ */
.trust-bar { padding: 0; }
.trust-bar .container { padding: 0 var(--container-pad); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  background: var(--navy-alt);
  overflow: hidden;
}
.trust-pill {
  padding: 28px 28px;
  border-right: 1px solid var(--navy-line);
  display: flex; flex-direction: column; gap: 8px;
}
.trust-pill:last-child { border-right: none; }
.trust-pill .k {
  font-family: var(--font-display); font-weight: 900;
  font-size: 48px; line-height: 1; letter-spacing: -1.5px;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.trust-pill .k .unit {
  font-size: 22px; color: var(--brand-light);
  letter-spacing: -0.5px; margin-left: 4px;
}
.trust-pill .v {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}

/* ================ SECTION HEADERS (shared) ================ */
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head .eyebrow { color: var(--brand); }
.section-head h2 { color: var(--ink); }

/* ================ SERVICES ================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc-card {
  background: var(--navy-alt);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 32px 30px 28px;
  display: flex; flex-direction: column;
  gap: 18px;
  min-height: 280px;
  position: relative; overflow: hidden;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.svc-card::before {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(244,163,90,0.2), transparent 70%);
  pointer-events: none; opacity: 0.7;
}
.svc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244,163,90,0.35);
}
.svc-card:hover::before { opacity: 1; }
.svc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(244,163,90,0.1);
  border: 1px solid rgba(244,163,90,0.3);
  color: var(--brand-light);
  display: grid; place-items: center;
  position: relative; z-index: 1;
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 0;
  color: var(--white);
  position: relative; z-index: 1;
}
.svc-card p { color: var(--text); font-size: 14.5px; margin: 0; line-height: 1.6; position: relative; z-index: 1; }
.svc-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--navy-line);
  position: relative; z-index: 1;
  gap: 14px;
}
/* Service price — mono treatment as a technical micro-label.
   Demoted from brand-light to muted: the price is supporting info, not the reason to click. */
.svc-foot .price {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.svc-foot .arrow {
  color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
.svc-foot .arrow svg { width: 14px; height: 14px; color: var(--brand); transition: transform var(--dur-fast) var(--ease); }
.svc-card:hover .arrow svg { transform: translateX(3px); }

/* Services section sits on the navy-alt-on-cream contrast — invert the section background subtly */
#services {
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
}
#services .section-head .eyebrow { color: var(--brand-light); }
#services .section-head h2 { color: var(--white); }
#services .section-head .lead { color: var(--text); }

/* ================ STORY ================ */
.story {
  background: var(--surface-alt);
  border-top: 1px solid var(--surface-line);
  border-bottom: 1px solid var(--surface-line);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.story-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-line);
  box-shadow: var(--shadow);
  position: relative;
  aspect-ratio: 3/4;       /* matches the van photo's actual orientation (portrait) */
  background: var(--surface-sunk);
}
.story-photo img {
  width: 100%; height: 100%;
  object-fit: contain;     /* show the WHOLE van — letterbox edges fall on cream surface */
  object-position: center center;
  background: var(--surface-sunk);
}
.story-photo .tag {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(10,18,38,0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}
.story-photo .tag span { color: var(--brand-light); margin-right: 8px; }
.story-copy .eyebrow { color: var(--brand); }
.story-copy h2 { color: var(--ink); }
.story-copy .quote { color: var(--ink); margin-bottom: 0; }
.story-copy .quote em { color: var(--brand); font-style: italic; }
.story-copy .signature { margin-top: 28px; display: block; color: var(--ink); }
.story-copy .role {
  font-family: var(--font-body); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand); margin-top: 4px;
}

/* ================ WORK GALLERY (kept from v3 — real Dynasty job photos) ================ */
.work {
  background: var(--surface);
  border-bottom: 1px solid var(--surface-line);
  padding: var(--section-pad) 0;
}
.work-scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px var(--container-pad) 24px;
  margin: 0 calc(-1 * var(--container-pad));
  scrollbar-width: none;
}
.work-scroller::-webkit-scrollbar { display: none; }
.work-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--surface-line);
  background: var(--surface-sunk);
  box-shadow: var(--shadow);
}
.work-item img {
  width: 100%; height: 240px; object-fit: cover; display: block;
  filter: var(--hero-filter);
}
.work-caption {
  padding: 16px 18px 18px;
  background: var(--surface);
}
/* Work caption tag (city name) — neutral mono, not brand red.
   The brand color is reserved for action moments (CTAs, eyebrows, em). */
.work-caption-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.work-caption-title {
  display: block;
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.work-hint {
  text-align: center;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ================ REVIEWS ================ */
#reviews {
  background: var(--surface-sunk);
  border-top: 1px solid var(--surface-line);
  border-bottom: 1px solid var(--surface-line);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-lg);
  padding: 32px 34px 28px;
  position: relative;
  box-shadow: var(--shadow);
}
.review .stars {
  display: flex; gap: 3px; color: var(--brand);
  margin-bottom: 18px;
}
.review .stars svg { width: 16px; height: 16px; }
.review .quote {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.2px;
  margin: 0 0 22px;
  text-wrap: pretty;
  color: var(--ink);
}
.review .quote em { color: var(--brand); font-style: italic; }
.review-meta {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--surface-line);
}
.review-meta .av {
  width: 44px; height: 44px; border-radius: 999px;
  background: linear-gradient(135deg, oklch(0.46 0.17 30), oklch(0.68 0.18 40));
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 16px;
  letter-spacing: -0.3px;
}
.review-meta .name { font-weight: 700; font-size: 14px; color: var(--ink); }
.review-meta .where { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.02em; }
.review-meta .src { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--brand); letter-spacing: 0.08em; text-transform: uppercase; }

/* ================ CTA BAND (form + contact promise) ================ */
.cta-band {
  background:
    linear-gradient(135deg, rgba(228,73,36,0.18), transparent 60%),
    var(--navy-deep);
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  padding: 80px 0;
  color: var(--text);
}
.cta-band h2 { color: var(--white); }
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
  gap: 56px;
}
.cta-inner h2 { margin: 0; max-width: 480px; }
.cta-inner h2 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  color: var(--brand-light);
  text-transform: none; letter-spacing: -0.5px;
}
.cta-copy {
  display: flex; flex-direction: column; justify-content: center;
  gap: 18px;
}
.cta-copy .lead {
  color: var(--text); font-size: 16px; line-height: 1.6;
  margin: 0; max-width: 460px;
}
.cta-copy .promise {
  display: flex; flex-direction: column; gap: 10px; margin-top: 6px;
}
.cta-copy .promise .row {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-size: 13.5px;
}
.cta-copy .promise svg { width: 16px; height: 16px; color: var(--brand-light); flex-shrink: 0; }
.cta-copy .direct {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--white);
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  text-decoration: none;
  padding: 12px 0;
  border-top: 1px solid var(--navy-line);
}
.cta-copy .direct .label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-light);
  display: block; margin-bottom: 4px; line-height: 1;
}
.cta-copy .direct .icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cta-copy .direct .icon svg { width: 16px; height: 16px; color: #fff; }

/* Quote form */
.quote-form {
  background: var(--surface);
  border-radius: 16px;
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.4);
}
.quote-form .form-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
}
.quote-form .form-head h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 22px; color: var(--navy-deep);
  letter-spacing: -0.4px; text-transform: uppercase;
  margin: 0;
}
.quote-form .form-head .response {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: 6px;
}
.quote-form .form-head .response .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(217,67,25,0.15);
}
.quote-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-form label {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: oklch(0.42 0.04 60);
  display: block;
  margin-bottom: 6px;
}
.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select,
.quote-form textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 14px;
  color: var(--navy-deep);
  background: #fff;
  border: 1px solid rgba(28,38,68,0.16);
  border-radius: 8px;
  padding: 11px 14px;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(217,67,25,0.12);
}
.quote-form textarea { resize: vertical; min-height: 88px; line-height: 1.55; }
.quote-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231c2644' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* upload zone */
.upload-zone {
  border: 1.5px dashed rgba(28,38,68,0.22);
  border-radius: 10px;
  padding: 18px;
  background: oklch(0.97 0.015 70);
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.upload-zone:hover {
  border-color: var(--brand);
  background: oklch(0.96 0.025 65);
}
.upload-zone .upload-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(217,67,25,0.10);
  display: grid; place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}
.upload-zone .upload-icon svg { width: 20px; height: 20px; }
.upload-zone .upload-text { flex: 1; }
.upload-zone .upload-text .t1 {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 700;
  color: var(--navy-deep);
  display: block; margin-bottom: 2px;
}
.upload-zone .upload-text .t1 .accent { color: var(--brand); }
.upload-zone .upload-text .t2 {
  font-family: var(--font-body); font-size: 12px;
  color: oklch(0.45 0.04 60);
  display: block;
}
.upload-zone .formats {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.06em; color: oklch(0.50 0.02 60);
  text-transform: uppercase;
}
.quote-form .form-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: 4px;
}
.quote-form .privacy {
  font-family: var(--font-body); font-size: 11.5px;
  color: oklch(0.50 0.04 60);
  line-height: 1.45; flex: 1;
}
.quote-form .submit {
  padding: 12px 22px;
  background: var(--brand); color: #fff;
  border: none; border-radius: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  transition: background 0.15s;
}
.quote-form .submit:hover { background: var(--brand-deep); }
.quote-form .submit svg { width: 13px; height: 13px; }

/* ================ PAGE HEADER (about / contact / service-area sub-pages) ================ */
.page-header {
  padding: 96px 0 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--surface-line);
}
.page-header .eyebrow { color: var(--brand); }
.page-header h1 {
  margin: 0 0 22px;
  max-width: 880px;
}
.page-header .lead {
  font-size: 19px; line-height: 1.6;
  color: var(--muted-2);
  max-width: 700px;
  margin: 0 0 32px;
}
.page-header .header-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sub-page content section */
.page-section { padding: 80px 0; }
.page-section.alt { background: var(--surface-alt); border-top: 1px solid var(--surface-line); border-bottom: 1px solid var(--surface-line); }
.prose { max-width: 70ch; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--ink-2); margin: 0 0 18px; }
.prose p strong { color: var(--ink); }
.prose h3 { margin: 32px 0 14px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose ul li { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin-bottom: 8px; }

/* Two-column page layout for about / service-area */
.page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.page-grid .side {
  background: var(--surface-sunk);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  position: sticky; top: 96px;
}
.page-grid .side h4 { margin: 0 0 14px; color: var(--ink); }
.page-grid .side ul { padding-left: 0; list-style: none; margin: 0 0 12px; }
.page-grid .side li { padding: 8px 0; border-bottom: 1px solid var(--surface-line); font-size: 14px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; }
.page-grid .side li:last-child { border-bottom: none; }
.page-grid .side li strong { color: var(--ink); font-weight: 700; }

/* Service area grid */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.area-card {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.area-card:hover { transform: translateY(-2px); border-color: rgba(228,73,36,0.4); }
.area-card .city {
  font-family: var(--font-display); font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.3px;
  text-transform: uppercase;
}
.area-card .zips {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ================ FOOTER ================ */
footer {
  background: var(--navy-deep);
  padding: 28px 0;
  position: relative; z-index: 1;
}
.foot-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
}
.foot-brand-mini { display: flex; align-items: center; gap: 16px; }
.foot-brand-mini img { height: 64px; display: block; }     /* footer logo: 38→64 */
.foot-brand-mini .tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-light);
  border-left: 1px solid var(--navy-line);
  padding-left: 16px;
  line-height: 1.4;
}
.foot-contact {
  display: flex; align-items: center; gap: 28px;
  font-family: var(--font-body); font-size: 13px;
  color: rgba(255,255,255,0.78);
  flex-wrap: wrap;
}
.foot-contact a { color: rgba(255,255,255,0.78); text-decoration: none; }
.foot-contact a:hover { color: var(--brand-light); }
.foot-contact .item { display: inline-flex; align-items: center; gap: 8px; }
.foot-contact .item svg { width: 13px; height: 13px; color: var(--brand-light); flex-shrink: 0; }
.foot-contact .phone-strong { color: #fff; font-weight: 700; }
.foot-links {
  display: flex; gap: 22px;
  font-family: var(--font-body); font-size: 13px;
  flex-wrap: wrap;
}
.foot-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-weight: 500;
}
.foot-links a:hover { color: #fff; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; margin-top: 22px;
  border-top: 1px solid var(--navy-line);
  color: var(--muted);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  flex-wrap: wrap; gap: 12px;
}
.lic { color: var(--brand-light); }

/* ================ RESPONSIVE ================ */
@media (max-width: 960px) {
  :root { --section-pad: 80px; --section-pad-tight: 56px; --section-pad-loose: 96px; }
  .hero { padding: 88px 0 64px; }
  .trust-bar { margin-top: 0; }   /* drop the negative-margin overlap on mobile */
  .hero-grid, .story-grid, .cta-inner, .page-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-grid .side { position: static; }
  .foot-row { grid-template-columns: 1fr; gap: 24px; }
  .foot-contact { flex-wrap: wrap; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-pill:nth-child(2) { border-right: none; }
  .trust-pill:nth-child(1), .trust-pill:nth-child(2) { border-bottom: 1px solid var(--navy-line); }
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
  .hero-quote { min-height: 0; padding: 44px 28px 28px; }
  .hero-quote-mark { font-size: 160px; top: -22px; left: 12px; }
  .hero-quote .quote { font-size: clamp(18px, 4.4vw, 22px); }
  .quote-form .row-2 { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .quote-form .privacy { order: 2; }
  .quote-form .submit { order: 1; justify-content: center; }
  .work-item { flex: 0 0 260px; }
  .work-item img { height: 200px; }
}

@media (max-width: 560px) {
  :root { --container-pad: 22px; }
  .hero h1 { font-size: clamp(40px, 9vw, 64px); }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-pill { border-right: none !important; border-bottom: 1px solid var(--navy-line); }
  .trust-pill:last-child { border-bottom: none; }
  .area-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ================ SOCIAL ICONS ================
   Brand-mark inline SVGs. Used in nav (desktop) + footer (all viewports).
   Single-color, inherits currentColor — never multi-color brand fills. */
.social-icons { display: inline-flex; align-items: center; gap: 6px; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.16);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.social-icons a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: oklch(0.18 0.03 260);    /* dark navy on amber for legibility */
  transform: translateY(-1px);
}
.social-icons a svg { width: 14px; height: 14px; fill: currentColor; }
.nav-socials { margin-right: 8px; }

/* Footer social row — slightly larger, on the dark footer surface */
.foot-socials { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.foot-socials a {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.78);
  border: 1px solid var(--navy-line);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.foot-socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: oklch(0.18 0.03 260);
  transform: translateY(-1px);
}
.foot-socials a svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 768px) {
  .nav-socials { display: none; }    /* desktop only — mobile relies on the footer row */
}

/* ================ BRAND BURST — hippy multi-color sun accent ================
   A subtle conic-gradient orb behind the hero kicker. Pulls the colorful
   sun-burst from the logo into the design without overwhelming. */
.hero-stamps { position: relative; }
.hero-stamps::before {
  content: '';
  position: absolute;
  top: -8px; left: -16px;
  width: 64px; height: 64px;
  background: var(--brand-burst);
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
}

/* ================ MOTION ================ */
/* One coordinated entrance — staggered reveal of hero elements. */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .hero-stamps { animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.04s both; }
  .hero h1           { animation: rise-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both; }
  .hero .hero-rating { animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both; }
  .hero .sub         { animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.36s both; }
  .hero-cta          { animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.46s both; }
  .hero-quote        { animation: rise-in 0.7s  cubic-bezier(0.22, 1, 0.36, 1) 0.20s both; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-badge .dot { animation: none; }
}
