/* West Valley Trash Removal — shared styles
   Look: truck-door lettering, galvanized steel, and the red/white reflective
   tape every trailer carries. Red is used for the tape and the main action only. */

:root {
  --ink: #17252e;
  --steel: #4f6b7a;
  --galv: #dce3e7;
  --galv-dark: #c3ced4;
  --paper: #f6f8f9;
  --white: #ffffff;
  --red: #d3202f;
  --red-dark: #b3121f;
  --ok: #2f7a4a;

  --display: "Big Shoulders Display", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.5rem;
  --step-4: clamp(3.25rem, 9vw, 6.5rem);

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 6px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.005em;
}
h2 { font-size: var(--step-3); margin-bottom: 1rem; }
h3 { font-size: var(--step-1); line-height: 1.1; font-weight: 700; }

p { margin: 0 0 1em; max-width: 62ch; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

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

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

/* Reflective DOT tape: the signature stripe */
.tape {
  height: 14px;
  background: repeating-linear-gradient(90deg, var(--red) 0 36px, var(--white) 36px 72px);
  border-top: 1px solid var(--galv-dark);
  border-bottom: 1px solid var(--galv-dark);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.4rem;
  font: 700 var(--step-0) / 1 var(--body);
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-quiet { background: var(--galv); color: var(--ink); }
.btn-quiet:hover { background: var(--galv-dark); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--galv); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.25rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand img { width: 2.5rem; height: 2.5rem; }
.brand span { font: 800 1.35rem/1 var(--display); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-actions .btn { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: var(--step--1); }
@media (max-width: 40rem) {
  .brand span { font-size: 1.1rem; }
  .header-actions .btn { display: none; }
}
@media (max-width: 24rem) {
  .brand span { display: none; }
}

/* Hero: lettered like a truck door */
.hero { background: var(--white); }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3rem);
}
.hero h1 {
  font-size: var(--step-4); font-weight: 900; text-transform: uppercase;
  line-height: 0.86; letter-spacing: -0.01em;
}
.hero h1 .line { display: block; }
.hero h1 .line-small { font-size: 0.5em; font-weight: 700; letter-spacing: 0.02em; color: var(--steel); margin-top: 0.25em; }
.hero-lede { font-size: var(--step-1); line-height: 1.4; margin: 1.5rem 0 1.75rem; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-art { align-self: center; }
.hero-art svg, .hero-art img { width: 100%; height: auto; border-radius: var(--radius); }
.hero-note { font-size: var(--step--1); color: var(--steel); margin-top: 1rem; }
@media (max-width: 52rem) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 32rem; }
}

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-steel { background: var(--galv); }
.section-ink { background: var(--ink); color: var(--white); }
.section-intro { max-width: 46ch; color: var(--steel); font-size: var(--step-1); line-height: 1.4; }
.section-ink .section-intro { color: var(--galv); }

/* How a photo quote works: a real sequence */
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 4px solid var(--ink); padding-top: 1rem; }
.steps li::before {
  content: counter(step); display: block;
  font: 900 3.5rem/1 var(--display); color: var(--red); margin-bottom: 0.5rem;
}
.steps p { color: var(--steel); margin-top: 0.5rem; }
@media (max-width: 46rem) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Pricing: trailer fill gauges */
.loads { list-style: none; margin: 2.5rem 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.load { background: var(--white); border-radius: var(--radius); padding: 1rem 1rem 1.1rem; }
.load svg { width: 100%; height: auto; margin-bottom: 0.75rem; }
.load .fill { fill: var(--steel); }
.load .bed { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.load-name { font-weight: 600; font-size: var(--step--1); color: var(--steel); }
.load-price { font: 800 var(--step-2)/1.05 var(--display); }
.load-price small { font: 600 var(--step--1)/1 var(--body); color: var(--steel); margin-right: 0.15rem; }
.price-notes { color: var(--steel); font-size: var(--step--1); }
@media (max-width: 60rem) { .loads { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 34rem) {
  .loads { grid-template-columns: 1fr; gap: 0.5rem; }
  .load { display: grid; grid-template-columns: 6.5rem 1fr auto; align-items: center; gap: 1rem; padding: 0.75rem 1rem; }
  .load svg { margin: 0; }
}

/* What we haul */
.haul { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 2rem; }
.haul ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 2rem; }
.haul li { padding: 0.45rem 0; border-bottom: 1px solid var(--galv); break-inside: avoid; }
.no-take { background: var(--white); border-left: 6px solid var(--red); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; align-self: start; }
.no-take h3 { margin-bottom: 0.5rem; }
.no-take p { color: var(--steel); margin: 0; }
@media (max-width: 46rem) {
  .haul { grid-template-columns: 1fr; }
  .haul ul { columns: 1; }
}

/* Service area */
.towns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.towns li { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); padding: 0.4rem 0.8rem; border-radius: 999px; font-weight: 600; }

/* Photos of our work (shown once images are added) */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin-top: 2rem; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: var(--step--1); color: var(--steel); margin-top: 0.4rem; }

/* Closing call to action */
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin: 0; max-width: 18ch; }

/* Footer */
.site-footer { background: var(--ink); color: var(--galv); padding: 2.5rem 0 3rem; font-size: var(--step--1); }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem; }
.site-footer strong { color: var(--white); display: block; margin-bottom: 0.25rem; }
.site-footer a { color: var(--white); }
.site-footer p { margin: 0; }

/* ---------- Forms (quote page and review page) ---------- */
.form-page { padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; }
.form-page .wrap { max-width: 44rem; }
.form-page h1 { font-size: clamp(2.5rem, 7vw, 4rem); text-transform: uppercase; font-weight: 900; }
.form-page .lede { font-size: var(--step-1); line-height: 1.4; color: var(--steel); margin: 0.75rem 0 2rem; }

fieldset { border: 0; padding: 0; margin: 0 0 2.25rem; }
legend { font: 800 var(--step-2)/1 var(--display); margin-bottom: 0.35rem; padding: 0; }
.legend-help { color: var(--steel); margin: 0 0 1rem; }

label { display: block; font-weight: 600; margin: 1rem 0 0.35rem; }
.optional { font-weight: 400; color: var(--steel); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.75rem 0.85rem; min-height: 3rem;
  background: var(--white); border: 2px solid var(--galv-dark); border-radius: var(--radius);
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(23, 37, 46, 0.15); }
textarea { min-height: 7rem; resize: vertical; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 600; margin: 0.75rem 0 0; cursor: pointer; }
.check input { width: 1.4rem; height: 1.4rem; margin: 0.1rem 0 0; accent-color: var(--ink); flex: none; }
.check small { display: block; font-weight: 400; color: var(--steel); }
.reveal { margin-left: 2.15rem; }
.reveal[hidden] { display: none; }
.consent { font-size: var(--step--1); color: var(--steel); margin-top: 0.5rem; }

/* Photo picker */
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem;
  min-height: 10rem; padding: 1.5rem; text-align: center;
  background: var(--white); border: 3px dashed var(--galv-dark); border-radius: var(--radius); cursor: pointer;
}
.dropzone:hover, .dropzone.drag { border-color: var(--ink); }
.dropzone strong { font: 800 var(--step-2)/1 var(--display); }
.dropzone span { color: var(--steel); }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: 0.6rem; margin-top: 0.85rem; list-style: none; padding: 0; }
.thumbs li { position: relative; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--galv); }
.thumbs button {
  position: absolute; top: 0.3rem; right: 0.3rem; width: 2rem; height: 2rem; border-radius: 50%;
  border: 0; background: rgba(23, 37, 46, 0.85); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.photo-tips { font-size: var(--step--1); color: var(--steel); margin-top: 0.75rem; }

.locate-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.locate-status { font-size: var(--step--1); color: var(--steel); }
.locate-status.ok { color: var(--ok); font-weight: 600; }

.form-error { background: #fdecee; border-left: 6px solid var(--red); padding: 0.9rem 1rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.25rem; }
.form-error[hidden] { display: none; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.submit-row .btn { min-width: 14rem; }
.submit-status { color: var(--steel); }

.done { text-align: left; }
.done h1 { margin-bottom: 1rem; }
.done .tape { margin: 2rem 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
