:root {
  color-scheme: light;
  --ink: #12100d;
  --muted: #625f59;
  --line: #ded8cf;
  --paper: #fbfaf7;
  --white: #ffffff;
  --charcoal: #171713;
  --teal: #087f7a;
  --teal-dark: #045d5a;
  --gold: #c99a2e;
  --rose: #9d3848;
  --shadow: 0 24px 70px rgba(18, 16, 13, 0.2);
  --radius: 8px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  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;
  letter-spacing: 0;
  overflow-x: hidden;
}

::selection {
  background: rgba(8, 127, 122, 0.22);
}

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

[hidden] {
  display: none !important;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(23, 23, 19, 0.74);
  color: var(--white);
  padding: 10px 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  animation: headerIn 760ms var(--ease-out) both;
}

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

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold), #f5d47c);
  color: #1d170a;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.02rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.nav-links a:hover {
  color: var(--white);
}

.header-cta {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  padding: 11px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.header-cta:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 84vh;
  overflow: hidden;
  background: #11100d;
  color: var(--white);
}

#estimate {
  scroll-margin-top: 96px;
}

#vehicle,
#service,
#faq {
  scroll-margin-top: 50px;
}

.hero::before {
  position: absolute;
  inset: -3%;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 12, 10, 0.78), rgba(12, 12, 10, 0.42)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/Chevrolet_Suburban_GMT1YC_5.3_High_Country_Black.jpg?width=2200")
      center 58% / cover;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.76)),
    radial-gradient(circle at 78% 24%, rgba(201, 154, 46, 0.22), transparent 34%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: 84vh;
  grid-template-columns: minmax(0, 610px) minmax(360px, 462px);
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin: 0 auto;
  padding: 100px 0 32px;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-lede,
.hero-actions,
.hero-stats {
  animation: fadeUp 850ms var(--ease-out) both;
}

.hero-copy .eyebrow {
  animation-delay: 110ms;
}

.hero-copy h1 {
  animation-delay: 210ms;
}

.hero-copy .hero-lede {
  animation-delay: 320ms;
}

.hero-actions {
  animation-delay: 430ms;
}

.hero-stats {
  animation-delay: 540ms;
}

.hero-copy {
  max-width: 610px;
  min-width: 0;
}

.eyebrow,
.mini-label {
  margin: 0 0 14px;
  color: #f2cb70;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: 5.05rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
  line-height: 1.65;
}

.hero-actions,
.quote-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 850;
  letter-spacing: 0;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0) scale(0.99);
}

.button-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(8, 127, 122, 0.24);
}

.button-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 18px 34px rgba(8, 127, 122, 0.32);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.button-soft {
  background: #ede7dc;
  color: var(--ink);
}

.hero-stats {
  display: grid;
  max-width: 620px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 0;
}

.hero-stats div {
  border-left: 2px solid rgba(242, 203, 112, 0.7);
  padding-left: 14px;
}

.hero-stats dt {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.quote-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.96);
  color: var(--ink);
  max-height: min(640px, calc(84vh - 108px));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 18px;
  box-shadow: var(--shadow);
  scrollbar-color: rgba(8, 127, 122, 0.45) transparent;
  scrollbar-width: thin;
  animation: panelIn 860ms var(--ease-out) 260ms both;
}

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

.panel-header span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-header strong {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
  transform-origin: right center;
}

.panel-header strong.is-updating {
  animation: totalPop 360ms var(--ease-out);
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: #eee8de;
  padding: 6px;
}

.service-tab,
.vehicle-option,
.stepper-control button {
  border: 0;
  cursor: pointer;
}

.service-tab {
  min-height: 40px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-tab:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.service-tab.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(18, 16, 13, 0.08);
}

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

label,
.field-label,
.vehicle-picker legend {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.field-label {
  display: block;
}

.address-field {
  position: relative;
  min-width: 0;
}

.address-field label {
  display: block;
}

input,
textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

input {
  min-height: 46px;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 127, 122, 0.15);
  transform: translateY(-1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.wide-field {
  display: block;
  margin-top: 10px;
}

.contact-grid {
  margin-top: 16px;
  margin-bottom: 12px;
}

.wide-grid-field {
  grid-column: 1 / -1;
}

.input-with-unit {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}

.input-with-unit span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 850;
  text-transform: none;
}

.route-distance-card {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px 12px;
}

.route-distance-card strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

.route-distance-card span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.route-distance-card[data-state="success"] {
  border-color: rgba(8, 127, 122, 0.42);
  background: rgba(8, 127, 122, 0.07);
}

.route-distance-card[data-state="loading"] {
  border-color: rgba(8, 127, 122, 0.36);
  animation: softPulse 1.1s ease-in-out infinite;
}

.route-distance-card[data-state="error"] {
  border-color: rgba(157, 56, 72, 0.38);
  background: rgba(157, 56, 72, 0.08);
}

.address-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 228px;
  overflow-y: auto;
  border: 1px solid rgba(33, 47, 54, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
  padding: 6px;
}

.address-suggestion {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  padding: 10px;
  text-align: left;
}

.address-suggestion:hover,
.address-suggestion:focus,
.address-suggestion[aria-selected="true"] {
  background: rgba(8, 127, 122, 0.1);
  outline: none;
}

.address-suggestion strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 850;
}

.address-suggestion span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.address-attribution {
  padding: 5px 8px 2px;
  color: rgba(98, 95, 89, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  text-align: right;
}

.maps-status {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.42;
}

.maps-status[data-tone="success"] {
  color: var(--teal-dark);
}

.maps-status[data-tone="warning"] {
  color: var(--rose);
}

.maps-status[data-tone="loading"] {
  color: var(--teal-dark);
  animation: softPulse 1.1s ease-in-out infinite;
}

.vehicle-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 16px 0 0;
  border: 0;
  padding: 0;
}

.vehicle-picker legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.vehicle-option {
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.vehicle-option:hover {
  transform: translateY(-1px);
}

.vehicle-option span {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.12;
}

.vehicle-option small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.25;
}

.vehicle-option.is-selected {
  border-color: var(--teal);
  background: #eaf7f5;
  box-shadow: inset 0 0 0 1px var(--teal);
}

.stepper-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.stepper-control {
  display: grid;
  grid-template-columns: 42px minmax(44px, 1fr) 42px;
  gap: 6px;
  margin-top: 7px;
}

.stepper-control button {
  min-height: 46px;
  border-radius: var(--radius);
  background: #ede7dc;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.stepper-control button:hover {
  background: #e3d9ca;
  transform: translateY(-1px);
}

.stepper-control input {
  margin-top: 0;
  text-align: center;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.toggle {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 9px 10px;
  color: var(--ink);
  text-transform: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.toggle:hover {
  border-color: rgba(8, 127, 122, 0.42);
  transform: translateY(-1px);
}

.toggle input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--teal);
}

.quote-breakdown {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.quote-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.quote-breakdown strong {
  color: var(--ink);
}

.capacity-warning {
  margin: 12px 0 0;
  border-radius: var(--radius);
  background: rgba(157, 56, 72, 0.1);
  color: var(--rose);
  padding: 10px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.4;
}

.quote-actions {
  margin-top: 16px;
}

.quote-actions .button {
  flex: 1 1 160px;
}

.quote-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.submit-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
}

.submit-status[data-tone="success"] {
  color: var(--teal-dark);
}

.submit-status[data-tone="warning"] {
  color: var(--rose);
}

.submit-status[data-tone="loading"] {
  color: var(--teal-dark);
  animation: softPulse 1.1s ease-in-out infinite;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.intro-band {
  background: var(--charcoal);
  color: var(--white);
  padding: 36px 0 42px;
}

.intro-grid,
.section,
.service-section,
.faq-section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.intro-grid h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.intro-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.75;
}

.section,
.service-section,
.faq-section {
  padding: 52px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.02;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.vehicle-showcase {
  display: grid;
  grid-template-columns: 1fr;
}

#vehicle {
  padding-bottom: 40px;
}

.vehicle-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(18, 16, 13, 0.08);
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.vehicle-card img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  background: #ddd;
  transition: transform 700ms var(--ease-out);
}

.vehicle-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 64px rgba(18, 16, 13, 0.12);
}

.vehicle-card:hover img {
  transform: scale(1.025);
}

.vehicle-card div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 46px);
}

.vehicle-card h3,
.service-grid h3,
.proof-grid h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.vehicle-card p,
.service-grid p,
.proof-grid p,
.faq-list p {
  color: var(--muted);
  line-height: 1.65;
}

.vehicle-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.vehicle-card li {
  border-left: 3px solid var(--gold);
  background: #f1ece4;
  padding: 11px 12px;
  color: var(--ink);
  font-weight: 850;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.vehicle-card li:hover {
  background: #e9e1d3;
  transform: translateX(2px);
}

.image-credit {
  display: block;
  max-width: 560px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.service-section {
  border-top: 1px solid var(--line);
  padding-top: 38px;
}

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

.service-grid article {
  border-top: 3px solid var(--gold);
  background: #f1ece4;
  padding: 22px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.service-grid article:hover,
.proof-grid article:hover,
.faq-list details:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(18, 16, 13, 0.08);
}

.service-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-weight: 950;
}

.proof-section {
  padding-top: 0;
  padding-bottom: 38px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.proof-grid article {
  min-height: 154px;
  background: var(--white);
  padding: 20px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.faq-section {
  border-top: 1px solid var(--line);
  padding-top: 38px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px 18px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 760ms var(--ease-out),
    transform 760ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes headerIn {
  from {
    opacity: 0;
    transform: translate(-50%, -14px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(-0.5%, -0.4%, 0);
  }

  to {
    transform: scale(1.07) translate3d(0.8%, 0.6%, 0);
  }
}

@keyframes totalPop {
  0% {
    transform: scale(0.96);
  }

  55% {
    transform: scale(1.06);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes softPulse {
  0%,
  100% {
    opacity: 0.72;
  }

  50% {
    opacity: 1;
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.footer-actions {
  justify-content: flex-end;
}

.footer-actions a {
  border-bottom: 1px solid var(--line);
  color: var(--teal-dark);
  font-weight: 800;
}

.admin-page {
  min-height: 100vh;
  background: #f4f1eb;
}

.admin-header {
  position: sticky;
  z-index: 12;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(222, 216, 207, 0.9);
  background: rgba(23, 23, 19, 0.92);
  color: var(--white);
  padding: 12px max(16px, calc((100vw - 1180px) / 2));
  backdrop-filter: blur(16px);
}

.admin-brand {
  color: var(--white);
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.admin-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: end;
  gap: 20px;
  margin-bottom: 16px;
}

.admin-top h1 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.admin-status {
  min-height: 24px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.admin-status.inline {
  margin: 0 0 14px;
}

.admin-status[data-tone="success"] {
  color: var(--teal-dark);
}

.admin-status[data-tone="warning"] {
  color: var(--rose);
}

.admin-status[data-tone="loading"] {
  color: var(--teal-dark);
  animation: softPulse 1.1s ease-in-out infinite;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.quote-list-panel,
.quote-detail-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(18, 16, 13, 0.08);
}

.quote-list-panel {
  position: sticky;
  top: 82px;
  overflow: hidden;
}

.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 14px;
}

.admin-panel-heading h2,
.quote-detail-panel h2 {
  margin: 0;
  font-size: 1.2rem;
}

.admin-panel-heading .button {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 0.86rem;
}

.quote-list {
  display: grid;
  max-height: min(680px, calc(100vh - 168px));
  gap: 8px;
  overflow: auto;
  padding: 12px;
}

.list-message {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.quote-list-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 12px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.quote-list-button:hover,
.quote-list-button.is-active {
  border-color: var(--teal);
  box-shadow: 0 12px 26px rgba(8, 127, 122, 0.12);
  transform: translateY(-1px);
}

.quote-list-button span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.quote-list-button small,
.quote-list-button em {
  color: var(--muted);
  font-style: normal;
}

.status-chip {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eee8de;
  padding: 4px 9px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status-chip[data-status="confirmed"] {
  background: #e1f2ed;
  color: var(--teal-dark);
}

.quote-detail-panel {
  min-height: 420px;
  padding: clamp(18px, 3vw, 28px);
}

.empty-detail {
  color: var(--muted);
}

.detail-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.detail-header h2 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1;
}

.detail-header strong {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-actions .button {
  min-height: 42px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.detail-grid div {
  display: grid;
  gap: 6px;
  min-height: 72px;
  background: var(--white);
  padding: 12px;
}

.detail-grid span,
.detail-notes span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.detail-grid strong {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.detail-notes {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  border-left: 3px solid var(--gold);
  background: #f1ece4;
  padding: 14px;
}

.detail-notes p {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    justify-self: end;
  }

  .hero,
  .hero-inner {
    min-height: 84vh;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 108px;
  }

  h1 {
    max-width: 13ch;
  }

  .quote-panel {
    max-height: min(500px, calc(84vh - 126px));
  }

  .vehicle-card,
  .service-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vehicle-card {
    grid-template-columns: 1fr;
  }

  .vehicle-card img {
    min-height: 320px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 6.2vw, 3.35rem);
  }

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

  .admin-top,
  .admin-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .quote-list-panel {
    position: static;
  }

  .quote-list {
    max-height: 360px;
  }
}

@media (min-width: 981px) and (max-width: 1120px) {
  .hero-inner {
    gap: 32px;
  }

  h1 {
    font-size: 4.4rem;
  }

  .hero-lede {
    font-size: 1.08rem;
  }
}

@media (max-height: 760px) and (min-width: 681px) {
  .hero-stats {
    display: none;
  }

  .hero-inner {
    padding-bottom: 22px;
  }
}

@media (max-width: 680px) {
  #estimate {
    scroll-margin-top: 82px;
  }

  #vehicle,
  #service,
  #faq {
    scroll-margin-top: 44px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 10px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    padding: 10px;
    font-size: 0.82rem;
  }

  .hero-inner {
    width: calc(100% - 20px);
    gap: 14px;
    padding-top: 74px;
    padding-bottom: 14px;
  }

  h1 {
    margin-bottom: 10px;
    font-size: clamp(2.28rem, 10.8vw, 3.2rem);
    line-height: 0.95;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .hero-lede {
    margin-bottom: 12px;
    font-size: 0.96rem;
    line-height: 1.46;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    flex: 1 1 136px;
    min-height: 44px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-stats,
  .field-grid,
  .vehicle-picker,
  .stepper-row,
  .option-grid,
  .vehicle-card,
  .service-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    display: none;
  }

  .quote-panel {
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
    padding: 14px;
  }

  .panel-header {
    align-items: flex-start;
    position: static;
    z-index: 4;
    top: auto;
    margin: -14px -14px 13px;
    border-bottom: 1px solid rgba(222, 216, 207, 0.85);
    background: rgba(251, 250, 247, 0.94);
    padding: 14px;
    backdrop-filter: blur(14px);
  }

  .panel-header strong {
    font-size: 2.2rem;
  }

  .service-tab {
    font-size: 0.85rem;
  }

  .maps-status {
    font-size: 0.78rem;
  }

  .route-distance-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-distance-card span {
    text-align: left;
  }

  .address-suggestions {
    max-height: 204px;
  }

  .vehicle-card {
    display: block;
    background: var(--white);
  }

  .vehicle-card img {
    height: auto;
    min-height: 260px;
    aspect-ratio: 16 / 11;
    object-position: center;
    transform: none;
  }

  .vehicle-card:hover,
  .vehicle-card:hover img,
  .vehicle-card li:hover {
    transform: none;
  }

  .vehicle-card div {
    display: block;
    padding: 22px;
  }

  .vehicle-card h3 {
    margin-bottom: 8px;
    font-size: 1.45rem;
  }

  .vehicle-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.52;
  }

  .vehicle-card ul {
    gap: 8px;
    margin-top: 16px;
  }

  .vehicle-card li {
    padding: 12px 13px;
    background: #f4efe6;
    -webkit-tap-highlight-color: transparent;
  }

  .intro-band {
    padding: 26px 0 32px;
  }

  .intro-grid h2 {
    font-size: clamp(1.65rem, 8.4vw, 2.28rem);
  }

  .intro-grid,
  .section,
  .service-section,
  .faq-section,
  .site-footer {
    width: calc(100% - 20px);
  }

  .section,
  .service-section,
  .faq-section {
    padding: 34px 0;
  }

  #vehicle {
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .service-section,
  .faq-section {
    padding-top: 28px;
  }

  .proof-section {
    padding-top: 0;
    padding-bottom: 28px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: clamp(1.95rem, 10.2vw, 2.72rem);
    line-height: 1.03;
  }

  .section-heading p {
    line-height: 1.48;
  }

  .service-grid article {
    padding: 18px;
  }

  .service-grid span {
    margin-bottom: 12px;
  }

  .proof-grid article {
    min-height: 0;
    padding: 16px;
  }

  .proof-grid h3 {
    font-size: 1.18rem;
  }

  .proof-grid p {
    margin-bottom: 0;
    line-height: 1.52;
  }

  .site-footer {
    display: grid;
  }

  .footer-actions {
    justify-content: start;
  }

  .admin-header {
    padding-right: 10px;
    padding-left: 10px;
  }

  .admin-brand small {
    display: none;
  }

  .admin-shell {
    width: calc(100% - 20px);
    padding-top: 24px;
  }

  .admin-top {
    align-items: start;
  }

  .admin-top h1 {
    font-size: clamp(2.2rem, 13vw, 3.6rem);
  }

  .admin-login {
    grid-template-columns: 1fr;
  }

  .detail-header {
    display: grid;
  }

  .detail-actions .button {
    flex: 1 1 140px;
  }
}

@media (max-width: 680px) and (max-height: 720px) {
  .site-header {
    top: 8px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero-inner {
    gap: 10px;
    padding-top: 66px;
    padding-bottom: 10px;
  }

  h1 {
    font-size: clamp(2.08rem, 10vw, 2.7rem);
  }

  .hero-lede {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .hero-actions .button {
    min-height: 40px;
    padding: 10px;
  }

  .intro-band {
    padding-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
