:root {
  --bg: #050505;
  --bg-deep: #000000;
  --panel: #111111;
  --panel-2: #1c1c1c;
  --line: #505050;
  --ink: #ffffff;
  --muted: #c8c2b8;
  --amber: #f2b84b;
  --amber-2: #d89220;
  --good: #8fe3a0;
  --bad: #ff9385;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.app {
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 32px 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
}

.topbar, .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mark { display: flex; align-items: center; gap: 16px; }
.bolt {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background:
    linear-gradient(160deg, #f0c77a, var(--amber-2));
  box-shadow: 0 0 0 6px rgba(231, 179, 90, 0.08);
  position: relative;
}
.bolt::after {
  content: "";
  position: absolute;
  inset: 14px 20px 14px 18px;
  background: #0b0c0e;
  clip-path: polygon(45% 0, 100% 0, 58% 46%, 82% 46%, 18% 100%, 42% 54%, 18% 54%);
}

.eyebrow {
  margin: 0;
  color: var(--amber);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}
h1 {
  margin: 2px 0 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: 0.06em;
  line-height: 0.9;
}
.hours { color: var(--muted); margin: 0; font-size: 15px; }
.seo-summary { color: var(--muted); margin: 6px 0 0; max-width: 520px; font-size: 12px; line-height: 1.35; }
.foot { color: var(--muted); font-size: 13px; }

.stage {
  min-height: 0;
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 36px 40px;
  overflow: auto;
}

.screen { animation: rise .35s ease; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.lead {
  font-size: 22px;
  line-height: 1.4;
  color: #f7f7f7;
  max-width: 720px;
  margin: 0 0 28px;
}

.phone-row {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}

label { display: block; }
.label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

input, select, textarea, button {
  font: inherit;
}

input, select, textarea {
  width: 100%;
  background: #0e0f13;
  color: var(--ink);
  border: 2px solid #626262;
  border-radius: 14px;
  padding: 15px 16px;
  min-height: 52px;
  font-size: 22px;
  outline: none;
}
textarea { min-height: 140px; resize: vertical; font-size: 18px; line-height: 1.45; }
input:focus, select:focus, textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.35);
}

.btn {
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(180deg, #f0c77a, var(--amber-2));
  color: #1a1308;
  min-height: 58px;
}
.btn:active { transform: translateY(1px); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid #f7f7f7;
}
.btn.wide { width: 100%; }

.pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 360px;
}
.pad button {
  background: var(--panel-2);
  color: var(--ink);
  border: 2px solid #5c5c5c;
  border-radius: 14px;
  font-size: 28px;
  min-height: 64px;
  cursor: pointer;
}

.hint { color: var(--muted); margin-top: 10px; }
.error {
  color: var(--bad);
  background: rgba(224, 122, 106, 0.08);
  border: 2px solid rgba(255, 147, 133, 0.5);
  padding: 12px 14px;
  border-radius: 12px;
  margin: 14px 0;
}
.warning-panel {
  color: #fff;
  background: #211805;
  border: 2px solid var(--amber);
}
.warning-panel strong { color: #fff; }

.success {
  color: var(--good);
  margin-top: 8px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 16px;
}
.span-2 { grid-column: span 2; }
.mt { margin-top: 18px; }
.actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.actions .btn { min-width: 180px; }

.found {
  background: #101218;
  border: 2px solid #4f4f4f;
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.found strong { color: var(--amber); }
.vehicles { display: grid; gap: 10px; margin-top: 12px; }
.vehicle {
  min-height: 52px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 2px solid #626262;
  background: #0e1015;
  cursor: pointer;
}
.vehicle.selected {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.35);
}

.thanks {
  text-align: center;
  padding: 28px 12px 10px;
}
.thanks h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(44px, 7vw, 84px);
  letter-spacing: 0.05em;
  margin: 8px 0 12px;
}
.thanks p { font-size: 22px; color: #f7f7f7; max-width: 640px; margin: 0 auto 16px; line-height: 1.45; }
.keybox {
  display: inline-block;
  margin: 18px auto 28px;
  padding: 18px 28px;
  border: 1px dashed var(--amber);
  color: var(--amber);
  border-radius: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 820px) {
  .app { padding: 16px; }
  .stage { padding: 22px 18px; }
  .phone-row, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .topbar { flex-direction: column; align-items: flex-start; }
}


.thanks-actions { margin-top: 8px; }
.thanks-actions .btn.wide {
  min-height: 64px;
  font-size: 22px;
  max-width: 520px;
  margin: 0 auto;
}
.keybox-note { font-size: 18px !important; color: var(--muted) !important; margin-bottom: 4px !important; }
.thanks-auto { font-size: 16px !important; margin-top: 18px !important; }
.keybox { pointer-events: none; user-select: none; }

.line-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.line-qty-btn {
  min-width: 2rem;
  padding: 0.2rem 0.5rem;
}


/* Sticky submit bar — always visible on check-in form steps */
.intake-form {
  padding-bottom: 110px;
}
.terms-scroll {
  margin: 16px 0 8px;
  text-align: left;
  max-height: 200px;
  overflow: auto;
  padding: 14px 16px;
  background: #101218;
  border: 2px solid #4f4f4f;
  border-radius: 18px;
}
.terms-cta {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1.35;
}
.sticky-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  align-items: stretch;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.72), #050505 28%);
  border-top: 2px solid var(--amber);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.55);
  max-width: 1180px;
  margin: 0 auto;
}
.sticky-actions .sticky-submit {
  flex: 1 1 auto;
  width: 100%;
  min-height: 64px;
  font-size: 18px;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.35), 0 10px 28px rgba(216, 146, 32, 0.35);
}
.sticky-actions .sticky-startover {
  flex: 0 0 auto;
  min-width: 120px;
  min-height: 64px;
}
@media (max-width: 820px) {
  .intake-form { padding-bottom: 130px; }
  .sticky-actions {
    flex-direction: column-reverse;
    padding-left: 12px;
    padding-right: 12px;
  }
  .sticky-actions .sticky-startover {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }
  .sticky-actions .sticky-submit {
    font-size: 17px;
    min-height: 68px;
  }
}
@media (min-width: 821px) {
  .sticky-actions {
    left: max(0px, calc(50% - 590px));
    right: max(0px, calc(50% - 590px));
  }
}
