/* ==========================================================================
   South Bend Hauling Co. — styles
   No build step, no external fonts, no dependencies.
   ========================================================================== */

:root {
  --ink: #171a17;
  --ink-soft: #3d423d;
  --muted: #6d726c;
  --paper: #f7f4ee;
  --paper-alt: #efeae1;
  --white: #ffffff;
  --line: #ddd5c8;
  --accent: #d9622b;
  --accent-dark: #b34b1b;
  --accent-soft: #fbe9df;
  --ok: #2f6b3f;
  --shadow-sm: 0 1px 2px rgba(23, 26, 23, 0.06), 0 2px 8px rgba(23, 26, 23, 0.05);
  --shadow-md: 0 4px 12px rgba(23, 26, 23, 0.08), 0 16px 40px rgba(23, 26, 23, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1140px;
  --display: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  /* keep an anchored section's eyebrow and heading clear of the sticky header */
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.16rem; letter-spacing: 0; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

.wrap-narrow { max-width: 800px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- buttons ---------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-solid {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  --btn-bd: var(--accent);
  box-shadow: var(--shadow-sm);
}
.btn-solid:hover { --btn-bg: var(--accent-dark); --btn-bd: var(--accent-dark); }

.btn-outline {
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
}
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }

.btn-ghost {
  --btn-fg: var(--ink-soft);
  --btn-bd: var(--line);
}
.btn-ghost:hover { --btn-bg: var(--white); --btn-bd: var(--ink-soft); }

.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  flex: none;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--display);
  font-size: 1.16rem;
  letter-spacing: 0.01em;
}
.brand-text small {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Icon-only email button. It shows exactly where the worded "Contact us"
   button hides — same tap, less room. Both carry data-gmail, and script.js
   listens for whichever one is on screen. */
.contact-icon {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  flex: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 11px;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(900px 420px at 88% -8%, var(--accent-soft), transparent 62%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 14px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-dark);
}

.lede {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-points li {
  position: relative;
  padding-left: 20px;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

/* quote card */

.quote-card {
  background: var(--ink);
  color: #efeae1;
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.quote-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(217, 98, 43, 0.16);
  pointer-events: none;
}
.quote-card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}
.quote-card-sub {
  font-size: 0.94rem;
  color: rgba(247, 244, 238, 0.74);
  margin-bottom: 22px;
}
.quote-steps {
  margin-bottom: 24px;
  display: grid;
  gap: 12px;
}
.quote-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: rgba(247, 244, 238, 0.9);
}
.quote-steps span {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(247, 244, 238, 0.3);
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
}
.quote-card-fine {
  margin: 14px 0 0;
  font-size: 0.78rem;
  text-align: center;
  color: rgba(247, 244, 238, 0.55);
}

/* "or email the photos" — the fallback for anyone who can't text */
.photo-alt {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.photo-alt a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.photo-alt.on-dark { color: rgba(247, 244, 238, 0.72); }
.photo-alt.on-dark a { color: #f7f4ee; }

/* ---------- trust bar ---------- */

.trustbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.trustbar-inner {
  display: flex;
  align-items: center;
  gap: 18px 34px;
  flex-wrap: wrap;
}
.trustbar-label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}
.trust-list li {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--ink-soft);
  position: relative;
}
.trust-list li + li::before {
  content: "·";
  position: absolute;
  left: -18px;
  color: var(--line);
}

/* ---------- sections ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--paper-alt); border-block: 1px solid var(--line); }

.section-dark {
  background: var(--ink);
  color: #f2eee6;
}
.section-dark .eyebrow { color: #e79a6e; }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(34px, 5vw, 52px);
  text-align: center;
}
.section-head-left { margin-left: 0; text-align: left; }
.section-head-light h2 { color: #fff; }
.section-head-light .eyebrow { color: #e79a6e; }

.section-sub {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}
.section-dark .section-sub { color: rgba(242, 238, 230, 0.72); }
.section-dark .fine { color: rgba(242, 238, 230, 0.6); max-width: 62ch; }
.section-dark .fine a { color: #fff; text-underline-offset: 2px; }

/* ---------- service cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbc0ae;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }

/* ---------- accept / reject ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.split-col {
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--line);
  background: var(--white);
}
.split-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  margin-bottom: 18px;
}
.split-col h3 span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex: none;
}
.split-yes { border-top: 4px solid var(--ok); }
.split-yes h3 span { background: var(--ok); }
.split-no { border-top: 4px solid #a33a2a; }
.split-no h3 span { background: #a33a2a; }

.hhw {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--paper-alt);
  border: 1px solid var(--line);
}
.hhw h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.hhw p {
  margin: 0 0 8px;
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.hhw p.fine { margin: 0; }

.checklist li,
.crosslist li {
  font-size: 0.94rem;
  color: var(--ink-soft);
  padding: 9px 0 9px 26px;
  border-bottom: 1px dashed var(--line);
  position: relative;
}
.checklist li:last-child,
.crosslist li:last-child { border-bottom: 0; }

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--ok);
  font-weight: 700;
}
.crosslist li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 9px;
  color: #a33a2a;
  font-weight: 700;
}

.fine {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 16px 0 0;
  line-height: 1.55;
}
.centre { text-align: center; margin-top: 26px; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.step-num {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }

/* ---------- pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* ---------- the short price list on the home page ---------- */

.price-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px 46px;
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid rgba(242, 238, 230, 0.16);
}
.pc-col h3 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e79a6e;
}
.pc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(242, 238, 230, 0.1);
  font-size: 0.93rem;
  color: rgba(242, 238, 230, 0.78);
}
.pc-row:last-of-type { border-bottom: 0; }
.pc-row strong {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 26px;
}
.pc-cta p {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(242, 238, 230, 0.6);
}

.price-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(242, 238, 230, 0.16);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.price-card h3 {
  font-size: 1.02rem;
  color: #fff;
  margin-bottom: 12px;
}
.price {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  color: #fff;
  margin: 0 0 8px;
  line-height: 1;
}
.price-note {
  font-size: 0.85rem;
  color: rgba(242, 238, 230, 0.62);
  margin: 0 0 18px;
}
.price-card ul {
  margin-top: auto;
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(242, 238, 230, 0.12);
  padding-top: 16px;
}
.price-card li {
  font-size: 0.87rem;
  color: rgba(242, 238, 230, 0.82);
  padding-left: 18px;
  position: relative;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.price-card-featured {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 18px 50px rgba(217, 98, 43, 0.28);
}
.price-card-featured .price-note { color: rgba(255, 255, 255, 0.82); }
.price-card-featured ul { border-top-color: rgba(255, 255, 255, 0.28); }
.price-card-featured li { color: #fff; }
.price-card-featured li::before { background: #fff; }

.badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  margin: 0 0 12px;
}

.price-foot {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(242, 238, 230, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.price-foot p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(242, 238, 230, 0.78);
}
.price-foot strong { color: #fff; }
.price-foot-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* outline buttons need light ink on the dark pricing band */
.section-dark .btn-outline {
  --btn-fg: #f2eee6;
  --btn-bd: rgba(242, 238, 230, 0.42);
}
.section-dark .btn-outline:hover {
  --btn-bg: rgba(242, 238, 230, 0.12);
  --btn-fg: #fff;
  --btn-bd: rgba(242, 238, 230, 0.72);
}

/* ---------- area ---------- */

.area-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.town-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.town-tags li {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.area-card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.area-card p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 18px; }

/* ---------- why ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px 34px;
}
.why-item {
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}
.why-item h3 { font-size: 1.04rem; margin-bottom: 7px; }
.why-item p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }

/* ---------- reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}
.review {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}
.review figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: auto;
}

/* ---------- faq ---------- */

.faq { display: grid; gap: 10px; }

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 20px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq details[open] {
  border-color: #cbc0ae;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex: none;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }

.faq details p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 62ch;
}

/* ---------- quote form ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.contact-list li { display: grid; gap: 2px; }
.contact-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.contact-list a,
.contact-list span:not(.contact-label) {
  font-size: 1.02rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.contact-list a:hover { color: var(--accent-dark); text-decoration: underline; }

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 34px);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: grid; gap: 7px; align-content: start; }
.field-full { grid-column: 1 / -1; }

/* Honeypot field: off-screen rather than display:none, so bots that skip hidden
   elements still fill it in. Never visible to a real visitor. */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.label-note {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-size: 0.78rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236d726c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field textarea { resize: vertical; min-height: 96px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(217, 98, 43, 0.13);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #a33a2a;
  box-shadow: 0 0 0 4px rgba(163, 58, 42, 0.1);
}

.hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.form-status {
  font-size: 0.9rem;
  margin: 12px 0 0;
  min-height: 1.2em;
}
.form-status[data-state="ok"] { color: var(--ok); font-weight: 600; }
.form-status[data-state="error"] { color: #a33a2a; font-weight: 600; }

/* ---------- footer ---------- */

.footer {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  padding-top: clamp(44px, 6vw, 68px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 44px;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.footer-blurb {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 34ch;
}
.footer h3 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-list { display: grid; gap: 9px; }
.footer-list li,
.footer-list a {
  font-size: 0.91rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-list a:hover { color: var(--accent-dark); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}
.placeholder { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ---------- mobile bar ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 244, 238, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { flex: 1; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; }
  .quote-card { max-width: 520px; }
  .nav { gap: 18px; }
  .nav a { font-size: 0.88rem; }
  .topbar-actions .btn-ghost { display: none; }
  .area-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* the six nav links plus both ghost buttons ("Text photos" and "Contact us")
   need this much room; below it the worded buttons go and the envelope icon
   takes over the email tap */
@media (max-width: 1240px) {
  .topbar-actions .btn-ghost { display: none; }
  .topbar-actions .contact-icon { display: inline-flex; }
}

@media (max-width: 1020px) {
  .nav { gap: 12px; }
  .nav a { font-size: 0.82rem; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 6px 24px 18px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
  .footer-bottom { padding-bottom: 8px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .topbar-inner { min-height: 66px; gap: 12px; }
  .topbar-actions .btn-solid { padding: 10px 16px; font-size: 0.88rem; }
  .topbar-actions .contact-icon { width: 44px; height: 44px; }
  .brand-text strong { font-size: 1.05rem; }
  .hero { padding-top: 36px; }
  .hero-cta .btn { width: 100%; }
  .hero-points { gap: 8px 18px; font-size: 0.85rem; }
  .quote-card { padding: 26px 22px; }
  .price-foot { flex-direction: column; align-items: stretch; }
  .price-foot-actions { width: 100%; }
  .price-foot .btn { width: 100%; }
  .section-head { text-align: left; }
  .trustbar-inner { gap: 12px 20px; }
  .trust-list { gap: 8px 20px; }
  .trust-list li + li::before { left: -12px; }
}

@media (max-width: 560px) {
  /* Four things now share the header — wordmark, phone, envelope, menu. Give
     the wordmark its space back and tighten the rest, or "South Bend" wraps.
     This has to come after the 680px block to win on equal specificity. */
  .topbar .wrap { padding-left: 14px; padding-right: 14px; }
  .brand { flex: none; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 1rem; }
  .topbar-actions { gap: 8px; }
  .topbar-actions .btn-solid { padding: 10px 13px; font-size: 0.85rem; }
  .topbar-actions .contact-icon { width: 40px; height: 40px; }
}

@media (max-width: 380px) {
  /* at this width the four header items cannot keep the name on one line, and
     a wrapped "South / Bend" looks broken. The truck mark stays; the name is
     the first thing said on the page anyway. */
  .brand-text { display: none; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 18px; }
  /* brand + phone + menu button overflow a ~350px viewport at full size */
  .topbar-actions .btn-solid { padding: 10px 11px; font-size: 0.8rem; }
  /* four things in a 390px header: close the gaps and shrink the wordmark a
     touch, so "South Bend" stays on one line and the envelope fits */
  .topbar-inner { gap: 8px; }
  .topbar-actions { gap: 6px; }
  .topbar-actions .contact-icon { width: 40px; height: 40px; }
  .brand-text strong { font-size: 0.92rem; }
  .brand { flex: none; }
  /* four items do not fit between the page gutters at this width */
  .topbar .wrap { padding-left: 12px; padding-right: 12px; }
  .trust-list li { font-size: 0.9rem; }
  .brand-text small { display: none; }
  .mobile-bar .btn { padding: 12px 10px; font-size: 0.9rem; }
}