:root {
  --ink: #17201b;
  --muted: #5c665f;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #d9ddd7;
  --road: #2f3532;
  --green: #2f7d58;
  --amber: #d7892b;
  --rust: #a84f37;
  --sky: #dce8ed;
  --shadow: 0 18px 55px rgba(23, 32, 27, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid rgba(47, 53, 50, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  color: var(--road);
  font-size: 0.94rem;
}

.nav-cta {
  padding: 10px 14px;
  color: #fff;
  background: var(--road);
  border-radius: 8px;
}

.booking-hero {
  position: relative;
  min-height: calc(100svh - 69px);
  overflow: clip;
  background: var(--road);
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 32, 27, 0.9), rgba(23, 32, 27, 0.52) 46%, rgba(23, 32, 27, 0.18)),
    url("assets/hero-roadiesokc.png") center / cover;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100svh - 69px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 60px) 0;
}

.hero-copy {
  max-width: 720px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  display: block;
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  line-height: 0.9;
}

.lede {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-strip span {
  padding: 10px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.booking-tool,
.quote-output,
.flow-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booking-tool {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 3vw, 24px);
}

.tool-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.tool-header strong {
  font-size: 1.35rem;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  clip-path: inset(50%);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  background: #eceee9;
  border-radius: 8px;
}

.segment {
  min-height: 42px;
  color: var(--road);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.segment.is-active {
  color: #fff;
  background: var(--green);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.photo-slot {
  position: relative;
  min-height: 128px;
  overflow: hidden;
  color: var(--muted);
  background: var(--sky);
  border: 1px dashed #9aa8a2;
  border-radius: 8px;
  cursor: pointer;
}

.photo-slot input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.slot-inner {
  display: grid;
  min-height: 128px;
  place-items: center;
  padding: 12px;
  text-align: center;
}

.slot-inner strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}

.slot-preview {
  width: 100%;
  height: 128px;
  object-fit: cover;
}

.vehicle-card {
  padding: 16px;
  background: #f5f7f4;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.vehicle-card h2 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.field-grid,
.contact-grid {
  display: grid;
  gap: 10px;
}

.field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: 1.2fr 1.1fr 0.7fr;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 125, 88, 0.16);
}

.actions {
  display: flex;
  gap: 10px;
}

.primary,
.secondary {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  cursor: pointer;
}

.primary {
  flex: 1;
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
  font-weight: 800;
}

.secondary {
  color: var(--road);
  background: #fff;
  border: 1px solid var(--line);
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: min(860px, calc(100% - 32px));
  margin: -28px auto 0;
  position: relative;
  z-index: 2;
}

.quote-output {
  padding: clamp(18px, 3vw, 26px);
}

.quote-output h2 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.quote-output[data-status="success"] {
  border-color: rgba(47, 125, 88, 0.42);
}

.quote-output[data-status="hold"] {
  border-color: rgba(215, 137, 43, 0.54);
}

.quote-output[data-status="replace"] {
  border-color: rgba(168, 79, 55, 0.54);
}

.quote-note {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.flow-section {
  width: min(1180px, calc(100% - 32px));
  margin: 64px auto;
}

.flow-intro {
  max-width: 720px;
  margin-bottom: 22px;
}

.flow-intro h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.flow-intro p {
  color: var(--muted);
  line-height: 1.6;
}

.flow-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.flow-panel {
  padding: clamp(18px, 3vw, 28px);
}

.flow-panel h3 {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.flow-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--road);
  line-height: 1.45;
}

.flow-list span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  background: var(--rust);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero-image {
    background:
      linear-gradient(180deg, rgba(23, 32, 27, 0.88), rgba(23, 32, 27, 0.52)),
      url("assets/hero-roadiesokc.png") center / cover;
  }

  .hero-content,
  .quote-band,
  .flow-columns {
    grid-template-columns: 1fr;
  }

  .hero-content {
    align-items: start;
  }

  .quote-band {
    margin-top: 18px;
  }
}

@media (max-width: 680px) {
  .topbar {
    position: relative;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .booking-hero,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    width: min(100% - 24px, 1180px);
    padding: 30px 0;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5.2rem);
  }

  .photo-grid,
  .field-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

}
