/*
Theme Name: Summit Homes NW
Theme URI: https://www.summithomesnw.com
Author: Summit Homes NW
Description: Custom theme for Summit Homes NW, a family-owned custom home builder and remodeling company founded in 1996.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: summit-homes-nw
*/

/* ---------- Variables ---------- */
:root {
  --amber: #E8A33D;
  --amber-deep: #B8791F;
  --charcoal: #1B1F23;
  --cream: #F5F1E8;
  --stone-light: #E8E6DE;
  --stone: #6B6F76;
  --white: #FFFFFF;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', Arial, sans-serif;

  --container: 1180px;
  --radius: 10px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}
.section--dark .eyebrow { color: var(--amber); }
.section--dark .eyebrow::before { background: var(--amber); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: var(--charcoal); }
.btn--primary:hover { background: var(--amber-deep); color: var(--white); }
.btn--dark { background: var(--charcoal); color: var(--cream); }
.btn--dark:hover { background: #000; }
.btn--outline { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn--outline:hover,
.btn--outline.is-active { background: var(--charcoal); color: var(--cream); }
.btn--outline-light { background: transparent; border-color: rgba(245,241,232,0.4); color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); color: var(--charcoal); border-color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(27,31,35,0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 44px; width: auto; }
.site-logo__text {
  font-family: var(--font-head);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.primary-nav { display: flex; align-items: center; gap: 32px; }
.primary-nav ul { display: flex; gap: 28px; }
.primary-nav a {
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { color: var(--amber-deep); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.btn-label-short { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
}

@media (max-width: 900px) {
  .primary-nav { position: fixed; inset: 72px 0 0 0; background: var(--cream); flex-direction: column; align-items: flex-start; padding: 24px; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; gap: 4px; width: 100%; }
  .primary-nav ul li { width: 100%; }
  .primary-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--stone-light); }
  .header-cta .btn-label-full { display: none; }
  .header-cta .btn-label-short { display: inline; }
  .nav-toggle { display: block; }
}

@media (max-width: 480px) {
  .site-logo__text { display: none; }
  .site-header__inner { gap: 12px; }
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 12px 18px; font-size: 14px; }
}

/* ---------- Founder quote ---------- */
.founder-quote { background: var(--charcoal); color: var(--cream); text-align: center; padding: 72px 24px; }
.founder-quote__mark { color: var(--amber); font-family: var(--font-head); font-size: 72px; line-height: 0.4; margin-bottom: 8px; }
.founder-quote p { font-size: clamp(22px, 3vw, 32px); font-weight: 500; line-height: 1.4; color: var(--white); max-width: 800px; margin: 0 auto 20px; }
.founder-quote cite { font-style: normal; font-weight: 600; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--amber); }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--charcoal); color: var(--cream); overflow: hidden; }
.trust-bar__track { display: flex; justify-content: center; }
.trust-bar__group { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px; padding: 11px 24px; }
/* Rolling reader-board mode — only enabled by JS when items overflow */
.trust-bar.is-marquee .trust-bar__track { justify-content: flex-start; width: max-content; animation: trust-scroll var(--dur, 30s) linear infinite; }
.trust-bar.is-marquee .trust-bar__track:hover { animation-play-state: paused; }
.trust-bar.is-marquee .trust-bar__group { flex-wrap: nowrap; padding-right: 28px; }
@keyframes trust-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trust-bar.is-marquee .trust-bar__track { animation: none; overflow-x: auto; }
  .trust-bar.is-marquee .trust-bar__group--clone { display: none; }
}
.trust-bar__item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.trust-bar__icon { display: inline-flex; color: var(--amber); }
.trust-bar__icon svg { width: 16px; height: 16px; }
.trust-bar__item--link { color: var(--cream); text-decoration: none; transition: color 0.15s ease; }
.trust-bar__item--link:hover { color: var(--amber); }
.footer-bbb-seal { display: inline-block; margin-top: 18px; line-height: 0; transition: opacity 0.15s ease; }
.footer-bbb-seal:hover { opacity: 0.88; }
.footer-bbb-seal img { width: 200px; height: auto; border: 0; }
@media (max-width: 700px) {
  .trust-bar__item { font-size: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(27,31,35,0.86) 0%, rgba(27,31,35,0.66) 42%, rgba(27,31,35,0.28) 72%, rgba(27,31,35,0.12) 100%),
    linear-gradient(0deg, rgba(27,31,35,0.55) 0%, rgba(27,31,35,0) 40%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 90px 24px;
}
.hero__content { max-width: 620px; }
.hero .eyebrow { color: var(--amber); }
.hero .eyebrow::before { background: var(--amber); }
.hero h1 {
  font-size: clamp(40px, 6vw, 70px);
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}
.hero p.lead {
  font-size: 18px;
  color: rgba(245,241,232,0.92);
  max-width: 48ch;
  margin-bottom: 30px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__review {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  background: rgba(255,255,255,0.97);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
  max-width: 320px;
  backdrop-filter: blur(4px);
}
.hero__review .stars { color: var(--amber-deep); letter-spacing: 2px; margin-bottom: 8px; font-size: 14px; }
.hero__review p { font-size: 14px; margin: 0 0 10px; color: var(--charcoal); }
.hero__review .name { font-weight: 700; font-size: 14px; }
.hero__review-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }

/* Google-styled hero review slides */
.greview__head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.greview__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: var(--charcoal); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.greview__name { font-weight: 700; font-size: 14px; color: var(--charcoal); line-height: 1.2; }
.greview__meta { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.greview__meta .g-logo-sm { width: 14px; height: 14px; flex-shrink: 0; }
.greview__stars { color: #FBBC05; font-size: 13px; letter-spacing: 1px; }
.greview__src { font-size: 11px; color: var(--stone); }
.greview__text { font-size: 14px; line-height: 1.5; color: var(--charcoal); margin: 0; }
.hero__review-nav button {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--stone-light); background: var(--white);
  color: var(--charcoal); font-size: 16px; line-height: 1;
}
.hero__review-nav button[data-review-next] { background: var(--amber); border-color: var(--amber); }
.hero__review-nav button:hover { background: var(--amber-deep); color: var(--white); border-color: var(--amber-deep); }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__overlay { background: linear-gradient(0deg, rgba(27,31,35,0.82) 0%, rgba(27,31,35,0.5) 55%, rgba(27,31,35,0.5) 100%); }
  .hero__inner { padding: 72px 24px; }
  .hero__review { position: static; margin-top: 32px; max-width: none; }
}

/* ---------- Section base ---------- */
.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.section--dark { background: var(--charcoal); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--stone { background: var(--stone-light); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--stone); font-size: 17px; }
.section--dark .section-head p { color: rgba(245,241,232,0.75); }

/* ---------- Cards / Services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: #22262b;
  border: 1px solid rgba(245,241,232,0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card__media {
  height: 180px;
  background: linear-gradient(150deg, #2c3138, #1b1f23);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,241,232,0.35);
}
.service-card__media svg { width: 48px; height: 48px; }
.service-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; transition: box-shadow 0.4s ease, transform 0.4s ease; }
.service-card--flip { grid-template-columns: 1.4fr 1fr; }
/* Amber ring + glow on hover and as each card scrolls into view */
.service-card--feature:hover,
.service-card--feature.is-inview {
  box-shadow: 0 0 0 3px var(--amber), 0 0 36px rgba(232, 163, 61, 0.38);
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
  .service-card--feature { transition: box-shadow 0.4s ease; }
  .service-card--feature:hover,
  .service-card--feature.is-inview { transform: none; }
}
.service-card__media--photo { position: relative; min-height: 260px; }
.service-card__media--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.service-card__media--duo .duo-inset {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 34%;
  aspect-ratio: 3 / 4;
  border: 4px solid var(--cream);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}
.service-card__media--duo .duo-inset img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duo-chip {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 1;
}
.duo-chip--main { left: auto; bottom: auto; top: 14px; right: 14px; background: var(--amber); }
.service-card__media--split { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.service-card__media--split .split-half { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.service-card__media--split img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card--feature .service-card__body { padding: 32px; }
@media (max-width: 1000px) {
  .service-card--feature, .service-card--flip { grid-template-columns: 1fr; }
  .service-card--feature .service-card__media { order: -1; }
  .service-card__media--photo { min-height: 0; aspect-ratio: 16 / 9; }
  .service-card__media--split { min-height: 0; }
  .service-card--feature .service-card__media { margin-bottom: 14px; }
  .service-card__media--duo .duo-inset { width: 26%; }
}
.service-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 21px; color: var(--white); margin-bottom: 10px; }
.service-card p { color: rgba(245,241,232,0.72); font-size: 15px; flex: 1; }
.service-card__link { color: var(--amber); font-weight: 600; font-size: 14px; margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* light variant for services page */
.service-card--light { background: var(--white); border-color: var(--stone-light); }
.service-card--light .service-card__media { background: linear-gradient(150deg, var(--stone-light), #ded9c9); color: rgba(27,31,35,0.3); }
.service-card--light h3 { color: var(--charcoal); }
.service-card--light p { color: var(--stone); }
.service-card--light .service-card__link { color: var(--amber-deep); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery-grid .g-tall { grid-row: span 2; }
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--stone-light), #d8d3c2);
  display: flex;
  align-items: flex-end;
  color: var(--stone);
}
.gallery-item::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(27,31,35,0.05) 0 2px, transparent 2px 22px);
}
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-item span {
  position: relative;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  background: rgba(245,241,232,0.85);
  border-radius: 8px;
  margin: 12px;
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .g-wide { grid-column: span 2; }
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px;
  border: 1px solid var(--stone-light);
}
.testimonial-card .stars { color: var(--amber-deep); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p.quote { font-size: 16px; color: var(--charcoal); margin-bottom: 18px; }
.testimonial-card .name { font-weight: 700; font-size: 14px; }
.testimonial-card .role { font-size: 13px; color: var(--stone); }

/* ---------- Before/After slider ---------- */
.ba-slider { margin: 0; }
.ba-slider__frame {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  --pos: 50%;
  user-select: none;
  touch-action: pan-y;
  background: var(--stone-light);
}
.ba-slider__img { position: absolute; inset: 0; }
.ba-slider__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-slider__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label {
  position: absolute; top: 14px; z-index: 3;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(27,31,35,0.72); color: var(--cream);
}
.ba-label--before { left: 14px; }
.ba-label--after { right: 14px; }
.ba-slider__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 4;
  width: 3px; background: var(--white); transform: translateX(-1.5px); pointer-events: none;
  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: 46px; height: 46px; border-radius: 50%;
  background: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,0.32);
  display: flex; align-items: center; justify-content: center; color: var(--charcoal);
}
.ba-slider__grip svg { width: 22px; height: 22px; }
.ba-slider__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent;
  cursor: ew-resize; z-index: 5;
}
.ba-slider__range:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.ba-slider__range::-webkit-slider-thumb { -webkit-appearance: none; width: 46px; height: 300px; background: transparent; cursor: ew-resize; }
.ba-slider__range::-moz-range-thumb { width: 46px; height: 300px; border: 0; background: transparent; cursor: ew-resize; }
.ba-slider__range::-moz-range-track { background: transparent; }
.ba-slider__caption { margin-top: 14px; font-size: 15px; color: var(--stone); text-align: center; }

.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; }
.ba-stack { display: flex; flex-direction: column; align-items: center; gap: 56px; }
.ba-item { width: 100%; max-width: 720px; }
.ba-item--portrait { max-width: 460px; }

/* ---------- Google review badge ---------- */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--stone-light);
  box-shadow: 0 6px 20px rgba(27,31,35,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.google-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27,31,35,0.14); }
.google-badge .g-logo { width: 30px; height: 30px; flex-shrink: 0; }
.google-badge__body { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.google-badge__top { display: flex; align-items: center; gap: 8px; }
.google-badge__top b { font-size: 20px; font-weight: 700; color: var(--charcoal); }
.google-badge .gstars { display: inline-flex; letter-spacing: 1px; }
.google-badge .gstar { color: #FBBC05; font-size: 16px; }
.google-badge .gstar.is-empty { color: var(--stone-light); }
.google-badge__count { font-size: 13px; color: var(--stone); }
.google-badge--compact { padding: 8px 14px; gap: 9px; }
.google-badge--compact .g-logo { width: 22px; height: 22px; }
.google-badge--compact .google-badge__top b { font-size: 16px; }
.google-badge--compact .gstar { font-size: 13px; }
.google-badge--dark { background: rgba(255,255,255,0.06); border-color: rgba(245,241,232,0.18); box-shadow: none; }
.google-badge--dark .google-badge__top b { color: var(--white); }
.google-badge--dark .google-badge__count { color: rgba(245,241,232,0.7); }
.google-badge--dark .gstar.is-empty { color: rgba(245,241,232,0.25); }

/* ---------- About preview / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split__art {
  border-radius: 16px;
  min-height: 360px;
  background: linear-gradient(155deg, var(--stone-light), #ddd8c7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(27,31,35,0.3);
}
.split__art svg { width: 72px; height: 72px; }
.split__art--photo { overflow: hidden; min-height: 0; }
.split__art--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.stat-row { display: flex; gap: 36px; margin-top: 28px; flex-wrap: wrap; }
.stat-row .stat b { display: block; font-family: var(--font-head); font-size: 30px; color: var(--amber-deep); }
.stat-row .stat span { font-size: 13px; color: var(--stone); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

/* values */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; margin-top: 8px; }
.value-card { background: var(--white); border: 1px solid var(--stone-light); border-radius: 12px; padding: 22px; }
.value-card svg { width: 28px; height: 28px; color: var(--amber-deep); margin-bottom: 12px; }
.value-card h4 { font-size: 16px; margin-bottom: 6px; text-transform: none; letter-spacing: 0; }
.value-card p { font-size: 14px; color: var(--stone); margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--stone-light); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--charcoal);
}
.faq-q .icon { flex-shrink: 0; width: 22px; height: 22px; transition: transform 0.2s ease; color: var(--amber-deep); }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { padding: 0 0 22px; color: var(--stone); font-size: 15px; max-width: 65ch; }
.faq-item.is-open .faq-a { max-height: 320px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--amber);
  color: var(--charcoal);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(27,31,35,0.06) 0 30px, transparent 30px 60px);
}
.cta-banner h2 { position: relative; z-index: 2; font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.cta-banner p { position: relative; z-index: 2; max-width: 50ch; margin: 0 auto 28px; color: rgba(27,31,35,0.75); }
.cta-banner .btn-row { position: relative; z-index: 2; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Photo-backed CTA variant */
.cta-banner--photo { background: var(--charcoal); color: var(--cream); }
.cta-banner--photo .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-banner--photo .cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.cta-banner--photo::before { z-index: 1; background: linear-gradient(0deg, rgba(27,31,35,0.9) 0%, rgba(27,31,35,0.58) 60%, rgba(27,31,35,0.72) 100%); }
.cta-banner--photo h2 { color: var(--white); }
.cta-banner--photo p { color: rgba(245,241,232,0.85); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info-card { background: var(--white); border: 1px solid var(--stone-light); border-radius: 14px; padding: 28px; margin-bottom: 16px; }
.contact-info-card .label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--stone); margin-bottom: 6px; }
.contact-info-card .value { font-size: 18px; font-weight: 600; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--stone-light);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.hp-field { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Quote form (contact) ---------- */
.quote-form { background: var(--white); border: 1px solid var(--stone-light); border-radius: 16px; padding: 32px; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.optional { font-weight: 400; color: var(--stone); font-size: 12px; }

.steps-bar { margin-bottom: 28px; }
.steps-bar__track { height: 4px; background: var(--stone-light); border-radius: 999px; overflow: hidden; }
.steps-bar__fill { height: 100%; width: 33.33%; background: var(--amber); border-radius: 999px; transition: width 0.3s ease; }
.steps-bar__labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--stone); }
.steps-bar__labels .is-current { color: var(--amber-deep); }

.form-step { border: none; margin: 0; padding: 0; }
.js .form-step { display: none; }
.js .form-step.is-active { display: block; animation: stepIn 0.25s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.step-title { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.02em; font-size: 24px; margin-bottom: 18px; padding: 0; }

.quote-form--wide { max-width: 880px; margin: 0 auto; }

.photo-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .photo-choice-grid { grid-template-columns: 1fr; } }
.photo-card { display: block; position: relative; background: var(--white); border: 2px solid var(--stone-light); border-radius: 14px; overflow: hidden; cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.photo-card:hover { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.45); transform: translateY(-2px); }
.photo-card input { position: absolute; opacity: 0; pointer-events: none; }
.photo-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.photo-card:hover .photo-card__img img { transform: scale(1.04); }
.photo-card__body { display: block; padding: 14px 16px 16px; }
.photo-card__body b { display: block; font-size: 16px; margin-bottom: 3px; }
.photo-card__body small { color: var(--stone); font-size: 13px; line-height: 1.4; display: block; }
.photo-card:has(input:checked) { border-color: var(--amber-deep); box-shadow: 0 0 0 5px var(--amber); }
.photo-card:has(input:checked)::after { content: "\2713"; position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--amber); color: var(--charcoal); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.photo-card:has(input:focus-visible) { outline: 2px solid var(--amber-deep); outline-offset: 3px; }

.step-sub { color: var(--stone); font-size: 14px; margin: -10px 0 22px; }
.q-block { margin-bottom: 22px; }
.q-block > label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 9px; }
.contact-alt { text-align: center; color: var(--stone); font-size: 14px; margin: 24px auto 0; max-width: 880px; }
.contact-alt a { color: var(--amber-deep); text-decoration: underline; }

.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--stone-light); border-radius: 999px; font-size: 14px; font-weight: 500; transition: all 0.15s ease; }
.pill:hover span { border-color: var(--amber); }
.pill input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.pill input:focus-visible + span { outline: 2px solid var(--amber-deep); outline-offset: 2px; }

.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.form-reassure { text-align: center; font-size: 13px; color: var(--stone); margin: 18px 0 0; }

.next-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.next-steps li { counter-increment: step; position: relative; padding: 0 0 14px 40px; font-size: 14px; color: var(--stone); }
.next-steps li:last-child { padding-bottom: 0; }
.next-steps li b { color: var(--charcoal); }
.next-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--amber); color: var(--charcoal); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-chip { background: var(--stone-light); color: var(--charcoal); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(245,241,232,0.75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-grid p, .footer-grid a { font-size: 14px; color: rgba(245,241,232,0.65); }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--amber); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 36px; filter: invert(1) brightness(2); }
.footer-bottom { border-top: 1px solid rgba(245,241,232,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(245,241,232,0.5); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(245,241,232,0.7); max-width: 60ch; margin: 0 auto; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
