/* ===== Metal Builds site styles =====
   All colors live here. To switch the accent to barn red, change the
   --accent line to:  --accent: var(--barn-red);                       */
:root {
  --charcoal: #2B2F33;
  --charcoal-deep: #222528;
  --green: #2F5D46;
  --sand: #E8D9B5;
  --off-white: #F6F3EC;
  --gray: #7C807A;
  --barn-red: #9B2C24;

  --accent: var(--green);

  /* charcoal (#222528) fade over the state banners */
  --hero-shade-strong: rgba(34, 37, 40, .88);
  --hero-shade: rgba(34, 37, 40, .8);
  --hero-shade-text: rgba(34, 37, 40, .72);   /* held under the text column */
  --hero-shade-mid: rgba(34, 37, 40, .55);
  --hero-shade-clear: rgba(34, 37, 40, 0);
  /* Banner tint: lighter, and held to the text area on the left */
  --hero-tint: rgba(34, 37, 40, .7);
  --hero-tint-text: rgba(34, 37, 40, .58);
  --hero-tint-bright: rgba(34, 37, 40, .78);        /* bright photos (home, Florida) */
  --hero-tint-bright-text: rgba(34, 37, 40, .66);
  --hero-tint-phone-end: rgba(34, 37, 40, .52);
  --hero-text-glow: rgba(34, 37, 40, .55);

  --text: #24282B;
  --text-soft: #565B57;   /* darker than --gray so small text stays readable */
  --line: #DED8CB;
  --white: #FFFFFF;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--off-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 76px; }  /* keeps headings clear of the sticky header */

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: var(--white); padding: 8px 12px; }

.h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 40px);
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--charcoal);
}
.lede { color: var(--text-soft); margin: 0 0 20px; max-width: 640px; }
.eyebrow {
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 600; color: var(--accent); margin: 0;
}

/* ===== Buttons =====
   Sand buttons only on charcoal or green areas. On light areas use green. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 2px solid transparent; border-radius: 2px;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn--sand { background: var(--sand); color: var(--charcoal); }
.btn--sand:hover { color: var(--charcoal); }
.btn--green { background: var(--accent); color: var(--white); }
.btn--green:hover { color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn--ghost:hover { color: var(--white); border-color: var(--white); }
.btn--wide { width: 100%; }
@media (min-width: 700px) { .btn--wide { width: auto; } }

/* ===== Notice + header ===== */
.notice {
  background: var(--sand); color: var(--charcoal);
  text-align: center; font-size: 13px; padding: 7px var(--gutter);
}
.site-header { background: var(--charcoal); color: var(--white); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
/* Logo: roofline drawing over "MetalBuilds.net". On dark areas it's white,
   light gray, and sand. Add .logo--on-light for light backgrounds. */
.logo {
  display: inline-flex; flex-direction: column; align-items: stretch;
  font-size: clamp(22px, 5.6vw, 28px);
  text-decoration: none; color: var(--white); line-height: 1; padding-block: 6px;
}
.logo:hover { color: var(--white); }
.logo-mark { display: block; height: 0.92em; margin-bottom: 0.06em; }
.logo-mark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.logo-text { font: 800 1em/1 var(--sans); letter-spacing: -0.035em; white-space: nowrap; }
.logo .l2 { color: #B4B8B3; }
.logo .l3 { color: #B4B8B3; }   /* same light gray as "Builds" */
.logo--small { font-size: 22px; }
.logo--on-light { color: var(--charcoal); }
.logo--on-light .l2, .logo--on-light .l3 { color: var(--gray); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav-link { color: var(--white); text-decoration: none; font-size: 15px; padding: 12px 0; }
.nav-link:hover { color: var(--sand); }
.phone { color: var(--white); font-weight: 600; text-decoration: none; }
.phone.is-placeholder { font-weight: 400; opacity: .75; font-size: 14px; }
.site-header .btn { min-height: 44px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
@media (max-width: 420px) {
  .logo { font-size: 21px; }
  .site-header .btn { padding: 0 12px; font-size: 14px; }
}
@media (max-width: 860px) {
  .nav-link, .site-header .phone { display: none; }
}
/* States dropdown in the header (works on phones too) */
.header-row { position: relative; }
.states-menu { position: relative; }
.states-menu summary {
  list-style: none; cursor: pointer; color: var(--white); font-size: 15px;
  padding: 12px 0; display: flex; align-items: center; gap: 7px; user-select: none;
}
.states-menu summary::-webkit-details-marker { display: none; }
.states-menu summary::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform .15s;
}
.states-menu[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.states-menu summary:hover { color: var(--sand); }
.states-panel {
  position: absolute; left: -18px; top: 100%; z-index: 60; min-width: 230px;
  list-style: none; margin: 4px 0 0; padding: 6px 0;
  background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.states-panel a { display: block; padding: 12px 18px; color: var(--charcoal); text-decoration: none; font-size: 15px; font-weight: 500; }
.states-panel a:hover, .states-panel a[aria-current="page"] { background: var(--off-white); color: var(--accent); }
@media (max-width: 860px) {
  .states-menu { position: static; }
  .states-panel { left: var(--gutter); right: var(--gutter); min-width: 0; }
  .states-menu summary { font-size: 14px; }
}
@media (max-width: 400px) {
  .header-row { gap: 8px; }
  .nav { gap: 12px; }
  .logo { font-size: 18px; }
  .site-header .btn { padding: 0 10px; font-size: 13.5px; }
}
@media (max-width: 340px) {
  .nav { gap: 8px; }
  .logo { font-size: 16px; }
  .site-header .btn { padding: 0 8px; font-size: 12.5px; }
  .states-menu summary { font-size: 13px; gap: 5px; }
}

/* ===== Hero ===== */
.hero { background: var(--charcoal-deep); color: var(--white); padding-block: clamp(20px, 4vw, 40px); }
.hero-grid { display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 40px; } }
.pill {
  display: inline-block; margin: 0 0 12px; padding: 5px 11px;
  background: var(--sand); color: var(--charcoal);
  font-size: 14px; font-weight: 600; border-radius: 2px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 4.6vw, 46px); line-height: 1.04; margin: 0 0 12px;
}
.hero-tagline { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.2; color: var(--sand); margin: 0 0 12px; }
.hero-sub { font-size: clamp(16px, 2.2vw, 18px); color: #D9DCD8; margin: 0 0 18px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 899px) { .hero-img { aspect-ratio: 2 / 1; } }
@media (max-width: 600px) {
  .hero-img { aspect-ratio: 5 / 2; }
  .hero-actions { flex-wrap: nowrap; gap: 8px; }
  .hero-actions .btn { padding-inline: 14px; font-size: 15px; white-space: nowrap; }
}

/* ===== State page banner (photo-style art behind the headline) =====
   The banner images are bright on purpose, so a charcoal fade from the
   left keeps the white text readable. The image files are not edited.  */
.state-hero {
  position: relative; overflow: hidden; background: var(--charcoal-deep);
  min-height: 320px; display: flex; align-items: center;
}
.state-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.state-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--hero-tint) 0, var(--hero-tint-text) 600px, var(--hero-shade-clear) 960px);
}
.state-hero-text {
  position: relative; z-index: 2; width: 100%;
  padding-block: clamp(14px, 2.5vw, 24px);
}
/* Text sits near the left edge instead of the centered column */
.state-hero .state-hero-text { max-width: none; margin: 0; padding-inline: clamp(16px, 5vw, 72px); }
.state-hero-text > * { max-width: 600px; }
.state-hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.05;
  margin: 4px 0 8px; color: var(--white);
  text-wrap: balance; text-shadow: 0 1px 12px var(--hero-text-glow);
}
.state-hero-sub { font-size: clamp(15px, 2vw, 17px); color: var(--white); margin: 0 0 6px; text-shadow: 0 1px 8px var(--hero-text-glow); }
.state-hero-included {
  list-style: none; padding: 0; margin: 4px 0 14px;
  display: flex; flex-wrap: wrap; gap: 8px 10px;
}
/* Each included item is a small badge with a solid check circle */
.state-hero-included li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--hero-shade-strong); border: 1px solid var(--sand);
  color: var(--white); font-weight: 700; font-size: clamp(14px, 1.8vw, 16px);
}
.state-hero-included li::before {
  content: "✓"; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--white); font-size: 14px; line-height: 1;
}
.state-hero .eyebrow { color: var(--sand); }
/* Home page uses the same banner style, with a little more room for its extra line */
.home-hero { min-height: 340px; }
.home-hero::before {   /* the white building is brighter than the state photos, so a bit more shade */
  background: linear-gradient(90deg, var(--hero-tint-bright) 0, var(--hero-tint-bright-text) 620px, var(--hero-shade-clear) 1000px);
}
@media (max-width: 699px) {
  .state-hero.home-hero::before { background: linear-gradient(90deg, var(--hero-tint-bright) 0%, var(--hero-tint-text) 100%); }
}
/* For light banners (lots of sky): a stronger shade that reaches further */
.state-hero--bright::before {
  background: linear-gradient(90deg, var(--hero-tint-bright) 0, var(--hero-tint-bright-text) 620px, var(--hero-shade-clear) 1000px);
}
@media (max-width: 699px) {
  .state-hero.state-hero--bright::before { background: linear-gradient(90deg, var(--hero-tint-bright) 0%, var(--hero-tint-text) 100%); }
}
.home-hero .hero-tagline { margin-bottom: 8px; text-shadow: 0 1px 8px var(--hero-text-glow); }
@media (max-width: 699px) {
  /* On phones the text runs the full width, so the fade reaches further */
  .state-hero { min-height: 0; }
  .state-hero::before {
    background: linear-gradient(90deg, var(--hero-tint) 0%, var(--hero-tint-phone-end) 100%);
  }
}

/* ===== Popular builds row (swipes on phones, arrows on the sides) ===== */
.carousel { position: relative; }
.car-btn {
  position: absolute; z-index: 3; top: calc(16px + min(82vw, 290px) * 0.28 - 22px);
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.95); color: var(--charcoal); display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.28); transition: opacity .2s;
}
.car-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.car-btn:hover { background: var(--white); color: var(--accent); }
.car-prev { left: 8px; } .car-next { right: 8px; }
.car-btn[aria-disabled="true"] { opacity: .35; cursor: default; }
@media (min-width: 900px) { .car-prev { left: 16px; } .car-next { right: 16px; } }
.builds { padding-block: clamp(36px, 6vw, 56px) 8px; }
.swipe-hint { font-size: 13px; color: var(--text-soft); margin: -8px 0 0; }
@media (min-width: 1100px) { .swipe-hint { display: none; } }
.card-row {
  display: flex; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 16px var(--gutter) 28px;
  padding-left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  scroll-padding-left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}
.card {
  flex: 0 0 min(82vw, 290px); scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--accent);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 14px 16px 10px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 17px; font-weight: 600; margin: 0 0 2px; }
.card p { font-size: 14px; color: var(--text-soft); margin: 0 0 8px; }
.card .spec { font-size: 13px; font-weight: 600; color: var(--accent); margin: 0 0 6px; }
.card-link { margin-top: auto; font-size: 14px; font-weight: 600; padding: 12px 0; }
.card--custom {
  justify-content: center; gap: 10px; padding: 24px 22px;
  background: var(--off-white); border: 2px solid var(--accent);
}
.card--custom h3 { font-family: var(--serif); font-size: 32px; line-height: 1.05; margin: 0; }
.card--custom .btn { align-self: flex-start; margin-top: 6px; }

.idea-room { padding-block: 24px 40px; }

/* ===== Why ===== */
.why { padding-block: clamp(36px, 6vw, 56px); background: var(--white); }
.why-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 20px; }
.why-item { border-top: 3px solid var(--accent); padding-top: 14px; }
.why-item h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.why-item p { margin: 0; color: var(--text-soft); font-size: 15px; }

/* ===== "Start here" box in the banner (laptops and desktops, 1080px and wider) ===== */
.hero-copy > * { max-width: 600px; }
.hero-start { display: none; }
@media (min-width: 1080px) {
  .state-hero .state-hero-text { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
  .hero-copy { flex: 1 1 auto; min-width: 0; max-width: 600px; }
  .hero-start {
    display: block; flex: 0 0 360px; max-width: 360px;
    background: var(--white); border-top: 5px solid var(--accent); border-radius: var(--radius);
    padding: 14px 16px 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  }
}
.hero-start-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.hero-start-title { margin: 2px 0 10px; font: 800 18px/1.2 var(--sans); color: var(--charcoal); }
.hero-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hero-chip {
  display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 4px 6px;
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--white);
  font: 700 14px/1.2 var(--sans); color: var(--charcoal); text-decoration: none; text-align: center;
}
.hero-chip:hover { border-color: var(--accent); background: var(--off-white); color: var(--charcoal); }
.hero-chip.is-on { border-color: var(--accent); background: var(--accent); color: var(--white); }
.hero-start-note { margin: 8px 0 0; font-size: 13px; color: var(--text-soft); }
.est-step, .estimator { scroll-margin-top: 84px; }

/* ===== Quick estimate ===== */
.estimator { padding-block: clamp(36px, 6vw, 56px); }
.estimator .eyebrow { margin-bottom: 6px; }
.est-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .est-grid { grid-template-columns: minmax(0, 1fr) 340px; } }
.est-steps { display: grid; gap: 16px; min-width: 0; }
.est-step {
  margin: 0; min-width: 0; padding: clamp(14px, 3vw, 22px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.est-step legend {
  float: left; width: 100%; display: flex; align-items: center; gap: 10px;
  font: 800 clamp(18px, 2.4vw, 21px)/1.2 var(--sans); color: var(--charcoal); margin: 0 0 14px; padding: 0;
}
.est-step legend + * { clear: both; }
.est-num {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--white); font-size: 17px;
}
.est-cards { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .est-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.est-card {
  position: relative; display: flex; flex-direction: column; cursor: pointer;
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden;
}
.est-card input { position: absolute; opacity: 0; pointer-events: none; }
.est-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.est-card-blank {
  aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--off-white);
  font: 300 44px/1 var(--sans); color: var(--gray);
}
.est-card-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.est-from { font-size: 14px; font-weight: 700; color: var(--accent); margin-top: 4px; }
/* Custom size: a slim bar across the full row */
.est-card--custom { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.est-card--custom .est-card-blank { aspect-ratio: auto; width: 64px; align-self: stretch; font-size: 34px; }
.est-card--custom .est-card-body { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 12px; padding-right: 44px; }
.est-card--custom .est-name { font-size: 17px; }
.est-card--custom .est-from { margin-top: 0; }
.est-hint { margin: -6px 0 12px; font-size: 14px; color: var(--text-soft); }
.est-desc-line { font-size: 13px; color: var(--text-soft); line-height: 1.35; }
.est-name { font-size: 16px; font-weight: 800; color: var(--charcoal); line-height: 1.2; }
.est-card .est-size { font-size: 14px; font-weight: 700; color: var(--charcoal); }
.est-fit {
  display: none; position: absolute; top: 8px; left: 8px; padding: 4px 10px; border-radius: 999px;
  background: var(--sand); color: var(--charcoal); font-size: 12px; font-weight: 800;
}
.est-card.is-fit { border-color: var(--sand); }
.est-card.is-fit .est-fit { display: block; }
.est-card.is-dim { opacity: .55; }
.est-card.is-dim:hover, .est-card.is-dim:has(input:checked) { opacity: 1; }
/* Budget buttons */
.est-chips { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .est-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.est-chip { position: relative; cursor: pointer; }
.est-chip input { position: absolute; opacity: 0; pointer-events: none; }
.est-chip span {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 6px 10px;
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--white);
  font: 800 16px/1.2 var(--sans); color: var(--charcoal); text-align: center;
}
.est-chip:hover span { border-color: var(--gray); }
.est-chip input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--white); }
.est-chip input:focus-visible + span { outline: 3px solid var(--charcoal); outline-offset: 2px; }
.est-card:hover { border-color: var(--gray); }
.est-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.est-card:has(input:checked)::after {
  content: "✓"; position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--white); font-weight: 800;
}
.est-card:has(input:focus-visible) { outline: 3px solid var(--charcoal); outline-offset: 2px; }
.est-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.est-field label { font-weight: 700; color: var(--charcoal); }
.est-field select {
  height: 52px; max-width: 360px; padding: 0 12px; border: 1px solid #A8A497; border-radius: 2px;
  background: var(--white); font: 600 16px var(--sans); color: var(--text);
}
.est-toggle { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; cursor: pointer; }
.est-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.est-switch {
  flex: none; position: relative; width: 52px; height: 30px; border-radius: 15px; margin-top: 2px;
  background: #A8A497; transition: background .15s ease;
}
.est-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); transition: transform .15s ease;
}
.est-toggle input:checked + .est-switch { background: var(--accent); }
.est-toggle input:checked + .est-switch::after { transform: translateX(22px); }
.est-toggle input:focus-visible + .est-switch { outline: 3px solid var(--charcoal); outline-offset: 2px; }
.est-toggle-text strong { display: block; font-size: 17px; color: var(--charcoal); }
.est-toggle-text small { display: block; font-size: 14px; color: var(--text-soft); margin-top: 2px; }
.est-summary {
  background: var(--charcoal); color: var(--white); border-radius: var(--radius);
  padding: clamp(18px, 3vw, 26px); border-top: 5px solid var(--accent);
}
@media (min-width: 960px) { .est-summary { position: sticky; top: 88px; } }

.est-sum-label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--sand); }
.est-price { margin: 6px 0 4px; font: 800 clamp(19px, 2.2vw, 22px)/1.25 var(--sans); color: var(--white); }
.est-desc { margin: 0 0 12px; font-size: 15px; color: #D9D6CE; min-height: 1em; }
.est-included { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; font-weight: 600; }
.est-included li::before { content: "✓ "; color: var(--sand); font-weight: 800; }
.est-lock { width: 100%; min-height: 56px; font-size: 18px; font-weight: 800; }
.est-note { margin: 10px 0 0; font-size: 13px; color: var(--sand); }
/* Phones and tablets: the price stays pinned to the bottom of the screen while
   people work through the steps, in a compact layout */
@media (max-width: 959px) {
  .est-summary {
    position: sticky; bottom: 0; z-index: 5;
    display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-radius: 0; margin-inline: calc(-1 * var(--gutter));
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .18);
  }
  .est-summary > * { grid-column: 1; }
  .est-sum-label { font-size: 11px; letter-spacing: 1.5px; white-space: nowrap; }
  .est-price { font-size: clamp(15px, 4.2vw, 18px); margin: 2px 0 0; }
  .est-desc { display: none; }
  .est-included { display: none; }
  .est-lock { grid-column: 2; grid-row: 1 / span 3; width: auto; min-height: 52px; font-size: 16px; padding-inline: 16px; }
  .est-note { grid-column: 1 / -1; margin-top: 6px; font-size: 12px; }
}
@media (max-width: 420px) { .est-lock-long { display: none; } }
/* ===== Quote form ===== */
.quote { padding-block: clamp(36px, 6vw, 56px); }
.quote-box > .h2, .quote-box > .lede { max-width: 900px; margin-inline: auto; }
.quote-form {
  max-width: 900px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--accent);
  border-radius: var(--radius); padding: clamp(18px, 4vw, 30px);
  display: grid; gap: 14px; grid-template-columns: 1fr;
}
@media (min-width: 700px) { .quote-form { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .quote-form { grid-template-columns: repeat(4, 1fr); } }
.quote-form .btn, .quote-form .fine, .quote-form .form-msg { grid-column: 1 / -1; }
@media (min-width: 700px) { .field--wide { grid-column: span 2; } }
.quote-form > .btn { justify-self: start; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 14px; font-weight: 600; color: var(--charcoal); }
.field input, .field select {
  height: 50px; width: 100%; padding: 0 12px;
  border: 1px solid #A8A497; border-radius: 2px; background: var(--white);
  font: 16px var(--sans); color: var(--text);   /* 16px stops iPhone zooming in */
}
.opt { font-weight: 400; color: var(--text-soft); }
.form-summary {
  grid-column: 1 / -1; margin: 0; padding: 12px 14px; background: var(--off-white);
  border-left: 4px solid var(--accent); font-size: 15px;
}
.form-summary a { font-weight: 600; margin-left: 4px; }
.form-more { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 4px; }
.form-more summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 12px 0; min-height: 48px; display: flex; align-items: center; }
.form-more-grid { display: grid; gap: 14px; grid-template-columns: 1fr; padding-top: 4px; }
@media (min-width: 700px) { .form-more-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .form-more-grid { grid-template-columns: repeat(4, 1fr); } }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-actions .btn { flex: 1 1 260px; }
@media (min-width: 700px) { .form-actions .btn { flex: 0 1 auto; } }
.btn--big { min-height: 56px; font-size: 18px; font-weight: 800; padding-inline: 28px; }
.btn--outline { min-height: 56px; border-color: var(--charcoal); color: var(--charcoal); background: transparent; font-weight: 700; }
.btn--outline:hover { color: var(--charcoal); background: var(--off-white); }
.btn--outline.is-placeholder { cursor: default; border-style: dashed; color: var(--text-soft); border-color: var(--gray); }
.btn--outline.is-placeholder:hover { filter: none; background: transparent; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 13px; color: var(--text-soft); margin: 0; }

/* ===== State page: regions and cities ===== */
.regions { padding-block: clamp(36px, 6vw, 56px); background: var(--white); }
.region-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 8px; }
.region {
  background: var(--off-white); border: 1px solid var(--line); border-top: 5px solid var(--accent);
  border-radius: var(--radius); padding: 18px 18px 20px;
}
.region h3 { font-size: 18px; margin: 0 0 4px; }
.region-towns { font-size: 13px; font-weight: 600; color: var(--accent); margin: 0 0 8px; }
.region p { font-size: 15px; color: var(--text-soft); margin: 0; }
.region .region-towns { color: var(--accent); }
.cities { padding-block: clamp(36px, 6vw, 56px); }
.city-list {
  list-style: none; margin: 8px 0 16px; padding: 0;
  display: grid; gap: 8px 20px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  font-size: 16px;
}
.city-list li { padding-left: 14px; position: relative; }
.city-list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 6px; background: var(--accent);
}

.counties { margin: 8px 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.counties summary {
  cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--accent);
  min-height: 44px; list-style-position: inside;
}
.county-list {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: grid; gap: 4px 16px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  font-size: 14px; color: var(--text-soft);
}

/* ===== States ===== */
.states { padding-block: clamp(36px, 6vw, 56px); background: var(--white); }
.state-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.state-card {
  display: block; padding: 18px; text-decoration: none; color: var(--text);
  background: var(--off-white); border: 1px solid var(--line); border-top: 5px solid var(--accent);
  border-radius: var(--radius);
}
.state-card:hover { border-color: var(--accent); color: var(--text); }
.state-card h3 { margin: 0 0 4px; font-size: 18px; color: var(--accent); }
.state-card p { margin: 0; font-size: 14px; color: var(--text-soft); }

/* ===== Bottom call to action ===== */
.cta { background: var(--charcoal); color: var(--white); text-align: center; padding-block: clamp(40px, 7vw, 64px); }
.cta h2 { font-family: var(--serif); font-size: clamp(30px, 5vw, 42px); margin: 0 0 8px; }
.cta p { margin: 0 0 22px; color: #D9DCD8; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: center; align-items: center; }
.phone--big { font-size: 18px; }

/* ===== Footer ===== */
.site-footer { background: var(--charcoal-deep); color: #C9CCC8; font-size: 14px; padding-top: 40px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sand); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-head { font: 600 13px var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--sand); margin: 0 0 10px; }
.footer-states { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-states a { display: inline-block; padding: 4px 0; }
.footer-base { border-top: 1px solid #3A3F43; margin-top: 32px; padding-block: 16px; font-size: 13px; }

.footer-tagline { font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--white); margin: 12px 0 2px; }

/* Footer legal links */
.footer-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { color: #C9CCC8; padding: 4px 0; }

/* Privacy Policy and Terms pages */
.legal { padding-block: clamp(32px, 6vw, 56px); }
.legal .wrap { max-width: 780px; }
.legal h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin: 0 0 6px; }
.legal .updated { color: var(--text-soft); font-size: 14px; margin: 0 0 28px; }
.legal h2 { font-size: 20px; font-weight: 600; margin: 32px 0 8px; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .callout { background: var(--off-white); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: var(--radius); }
