:root {
  --forest: #12362a;
  --forest-2: #0a231c;
  --orange: #f97316;
  --orange-dark: #c94f0a;
  --red: #c92a2a;
  --ink: #111827;
  --muted: #5a6675;
  --line: #d9e2df;
  --paper: #ffffff;
  --surface: #f6faf8;
  --shadow: 0 20px 60px rgba(5, 26, 20, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
}

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

a {
  color: inherit;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(18, 54, 42, 0.12);
  backdrop-filter: blur(14px);
}

.header-inner,
.hero-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest-2);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--forest-2);
  border: 2px solid var(--orange);
  border-radius: 8px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.trust-badge,
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  color: var(--forest-2);
  font-size: 14px;
  font-weight: 800;
  border: 1px solid rgba(18, 54, 42, 0.18);
  border-radius: 8px;
  background: #edf6f1;
  text-decoration: none;
}

.phone-link {
  color: var(--paper);
  background: var(--forest);
  border-color: var(--forest);
}

.trust-badge svg,
.phone-link svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--paper);
  background: var(--orange);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.34);
}

.header-cta:hover,
.submit-button:hover {
  background: var(--orange-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(8, 26, 20, 0.94), rgba(8, 26, 20, 0.78) 45%, rgba(8, 26, 20, 0.56)),
    url("./assets/red-hauling-trailer.jpeg") center / cover no-repeat,
    var(--forest-2);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--forest), var(--orange));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  align-items: center;
  gap: 56px;
  padding: 80px 0 54px;
}

.hero-copy {
  max-width: 640px;
}

.hero-logo-card {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 10px 14px 10px 10px;
  color: var(--paper);
  background: rgba(10, 35, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.hero-logo-card img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  object-position: center 34%;
  border: 2px solid var(--orange);
  border-radius: 8px;
}

.hero-logo-card a {
  color: var(--paper);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.hero-logo-card a:hover {
  color: var(--orange);
}

.eyebrow,
.form-kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 22px 0 0;
  max-width: 610px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.5;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: #102a22;
  background: rgba(255, 255, 255, 0.9);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.quote-card {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.progress-wrap {
  padding: 20px 22px 18px;
  color: var(--paper);
  background: var(--forest);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.progress-bar {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--orange);
  border-radius: inherit;
  transition: width 180ms ease;
}

#lead-form {
  padding: 26px 24px 24px;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.form-step h2,
.success-panel h2 {
  margin: 0 0 20px;
  color: var(--forest-2);
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: 0;
}

label {
  display: block;
  margin: 14px 0 8px;
  color: #25342f;
  font-size: 14px;
  font-weight: 900;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfdfc;
  border: 2px solid #c9d7d1;
  border-radius: 8px;
  font: inherit;
  font-size: 17px;
  outline: none;
}

input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.choice-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.choice-button,
.back-button,
.submit-button {
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  cursor: pointer;
}

.choice-button {
  min-height: 66px;
  padding: 10px 12px;
  color: var(--forest-2);
  background: #eef6f2;
  border: 2px solid #cfe0d8;
  font-size: 16px;
  font-weight: 900;
  text-align: left;
}

.choice-button:hover,
.choice-button.is-selected {
  color: var(--paper);
  background: var(--forest);
  border-color: var(--forest);
}

.choice-button.urgent {
  color: var(--paper);
  background: var(--red);
  border-color: var(--red);
}

.choice-button.urgent:hover,
.choice-button.urgent.is-selected {
  background: #9f1f1f;
  border-color: #9f1f1f;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.form-nav.final {
  align-items: stretch;
}

.back-button {
  min-height: 48px;
  padding: 0 16px;
  color: var(--forest-2);
  background: #e9f1ee;
  font-size: 15px;
  font-weight: 900;
}

.submit-button {
  flex: 1;
  min-height: 54px;
  padding: 0 18px;
  color: var(--paper);
  background: var(--orange);
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.field-error {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.success-panel {
  padding: 36px 26px 34px;
  text-align: center;
}

.success-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--paper);
  background: var(--forest);
  border-radius: 50%;
}

.success-icon svg {
  width: 30px;
  height: 30px;
}

.success-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.equipment-section {
  color: var(--paper);
  background: var(--forest-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-heading h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:last-child {
  margin: 14px auto 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.55;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.equipment-card {
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.equipment-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.equipment-card div {
  padding: 18px;
}

.equipment-card h3 {
  margin: 0 0 8px;
  color: var(--forest-2);
  font-size: 20px;
  letter-spacing: 0;
}

.equipment-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.trust-section {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  padding: 58px 0 64px;
}

.trust-section h2 {
  margin: 0 0 28px;
  color: var(--forest-2);
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: center;
}

.culture-note {
  max-width: 780px;
  margin: 0 auto 28px;
  padding: 22px 26px;
  color: var(--forest-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--orange);
  border-radius: 8px;
  text-align: center;
}

.culture-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.culture-note p {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-card {
  min-height: 220px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--forest);
  background: #edf6f1;
  border: 2px solid rgba(249, 115, 22, 0.42);
  border-radius: 8px;
}

.trust-icon svg {
  width: 28px;
  height: 28px;
}

.trust-card h3 {
  margin: 0 0 10px;
  color: var(--forest-2);
  font-size: 22px;
  letter-spacing: 0;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.site-footer {
  background: var(--forest-2);
  color: var(--paper);
}

.footer-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--paper);
}

.legal-page {
  min-height: calc(100vh - 160px);
  background: var(--surface);
}

.legal-content {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 70px;
}

.legal-content h1 {
  margin: 0 0 18px;
  color: var(--forest-2);
  font-size: 42px;
  line-height: 1.12;
}

.legal-content h2 {
  margin: 32px 0 10px;
  color: var(--forest);
  font-size: 22px;
}

.legal-content p {
  color: #33423d;
  font-size: 17px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 54px 0 42px;
  }

  .quote-card {
    max-width: 560px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  .brand {
    font-size: 18px;
    white-space: normal;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trust-badge,
  .phone-link,
  .header-cta {
    justify-content: center;
    width: 100%;
  }

  .hero {
    background-position: center top;
  }

  .hero-inner {
    padding: 34px 0 30px;
  }

  .hero-logo-card {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-logo-card img {
    width: 58px;
    height: 58px;
  }

  .hero-logo-card a {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-points {
    display: none;
  }

  #lead-form {
    padding: 22px 18px;
  }

  .form-step h2,
  .success-panel h2 {
    font-size: 24px;
  }

  .choice-grid,
  .choice-grid.three,
  .name-row {
    grid-template-columns: 1fr;
  }

  .choice-button {
    min-height: 56px;
    text-align: center;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    text-align: left;
  }

  .culture-note {
    padding: 20px;
    text-align: left;
  }

  .culture-note p {
    font-size: 17px;
  }

  .section-heading h2,
  .trust-section h2 {
    font-size: 30px;
  }

  .form-nav.final {
    flex-direction: column;
  }

  .submit-button,
  .back-button {
    width: 100%;
  }

  .section-inner {
    padding: 44px 0 46px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 0;
  }

  .footer-inner nav {
    flex-wrap: wrap;
  }

  .legal-content h1 {
    font-size: 32px;
  }
}
