:root {
  --cyan: #008ee8;
  --cyan-dark: #0063b8;
  --red: #f20d0d;
  --red-dark: #b70606;
  --blue: #008ee8;
  --blue-dark: #003d79;
  --panel: #ededed;
  --panel-2: #cacaca;
  --ink: #0a0a0a;
  --white: #ffffff;
  --muted: #4f4f4f;
  --shadow: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 26px;
  --max-width: 1600px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #b00000 0%, #050505 46%, #1d3f9b 100%),
    radial-gradient(circle at top left, rgba(242,13,13,0.16), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(0,142,232,0.16), transparent 30rem),
    #050505;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow-x: hidden;
}

body.estimator-active {
  height: 100svh;
  overflow: hidden;
}

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

.loader-screen {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.9);
  display: grid;
  place-items: center;
  z-index: 1000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader-screen.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-box {
  text-align: center;
  color: white;
}
.loader-spinner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 6px solid rgba(255,255,255,0.25);
  border-top-color: var(--red);
  margin: 0 auto 16px;
  animation: spin 0.85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  overflow: hidden;
  background: #030303;
}

.estimator-active .hero {
  display: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.72) 78%, rgba(0,0,0,0.94) 100%),
    url('assets/images/aa-elite-logo.png?v=20260827-new-logo') center 6% / min(1120px, 96vw) auto no-repeat;
  opacity: 0.72;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 34%, rgba(0,142,232,0.18), transparent 24rem),
    radial-gradient(circle at 74% 58%, rgba(238,15,15,0.18), transparent 24rem);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  text-align: center;
  padding: 30px 38px 32px;
  transform: translateY(clamp(150px, 25vh, 330px));
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--red-dark);
}
.hero h1,
.package-title,
.site-footer h2 {
  font-family: 'Anton', sans-serif;
  line-height: 0.95;
  letter-spacing: 0.01em;
}
.hero h1 {
  font-size: clamp(2.9rem, 5.4vw, 5rem);
  margin: 0 0 14px;
  color: var(--white);
  text-shadow: 0 3px 18px rgba(0,0,0,0.78);
}
.hero-copy {
  max-width: 560px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0,0,0,0.72);
}

.hero-btn,
button {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(320px, 100%);
  min-height: 58px;
  padding: 14px 28px;
  background: linear-gradient(180deg, #1b1b1b 0%, #040404 100%);
  color: white;
  border-radius: 999px;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 -2px 0 rgba(255,255,255,0.08), 0 7px 16px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.trust-row span {
  padding: 7px 10px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
  color: #3a3a3a;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, var(--blue) 0%, var(--cyan-dark) 100%);
  box-shadow: 0 9px 18px rgba(0,142,232,0.28);
}

.cart-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  font-weight: 800;
}

.cart-toggle strong {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--white);
  color: var(--red-dark);
  font-size: 0.78rem;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 950;
  width: min(420px, 100%);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: rgba(7,7,7,0.96);
  border-left: 1px solid rgba(255,255,255,0.12);
  box-shadow: -18px 0 46px rgba(0,0,0,0.36);
  color: var(--white);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header,
.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-header h2 {
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-size: 2.3rem;
  line-height: 1;
}

.cart-close,
.cart-item button,
.add-to-cart-btn {
  border-radius: 999px;
  background: linear-gradient(180deg, #1b1b1b 0%, #040404 100%);
  color: var(--white);
  font-weight: 800;
}

.cart-close {
  padding: 9px 13px;
}

.cart-items {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
}

.cart-empty,
.cart-note {
  margin: 0;
  color: rgba(255,255,255,0.68);
  line-height: 1.5;
}

.checkout-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  touch-action: manipulation;
  position: relative;
  z-index: 2;
}

.checkout-link-top {
  display: none;
}

.checkout-link:hover {
  background: linear-gradient(180deg, var(--blue) 0%, var(--cyan-dark) 100%);
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.cart-item h3,
.cart-item p {
  margin: 0;
}

.cart-item p {
  color: rgba(255,255,255,0.68);
}

.cart-item button {
  grid-column: 1 / -1;
  width: fit-content;
  padding: 7px 11px;
  background: rgba(255,255,255,0.1);
}

.cart-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 1.1rem;
}

.checkout-page {
  min-height: 100vh;
}

.checkout-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.checkout-card {
  width: min(1160px, 100%);
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  box-shadow: 0 22px 60px rgba(0,0,0,0.26);
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.78);
  font-weight: 800;
}

.checkout-card h1 {
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.95;
}

.checkout-copy {
  max-width: 680px;
  color: rgba(255,255,255,0.76);
  line-height: 1.6;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 24px;
  align-items: start;
  margin-top: 30px;
}

.checkout-form,
.order-summary {
  display: grid;
  gap: 18px;
}

.checkout-form fieldset,
.order-summary {
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.checkout-form legend {
  padding: 0 8px;
  font-weight: 800;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.82);
  font-weight: 700;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

.appointment-row {
  align-items: end;
}

.booking-note {
  margin: 4px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.76);
  line-height: 1.5;
}

.booking-note.is-warning {
  border-color: rgba(238, 15, 15, 0.45);
  background: rgba(238, 15, 15, 0.16);
  color: rgba(255,255,255,0.88);
}

.checkout-items article.scheduling-fee {
  color: rgba(255,255,255,0.9);
}

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

.payment-options {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.payment-options label,
.disclaimer-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.payment-options input,
.disclaimer-check input {
  width: auto;
  margin-top: 3px;
}

.secure-card-box {
  padding: 16px;
  border-radius: 8px;
  background: rgba(0,0,0,0.24);
}

.secure-card-box h2,
.order-summary h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.secure-card-box p,
.cash-card-note,
.checkout-message {
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

.checkout-status {
  display: none;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.checkout-status.visible {
  display: block;
}

.secure-placeholder {
  display: grid;
  place-items: center;
  min-height: 82px;
  margin: 14px 0;
  border: 1px dashed rgba(255,255,255,0.26);
  border-radius: 8px;
  color: rgba(255,255,255,0.72);
}

.secure-card-field {
  min-height: 54px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
}

.secure-card-field.locked {
  display: none;
}

.hidden {
  display: none !important;
}

.apple-pay-button {
  width: 100%;
  min-height: 46px;
  margin: 14px 0 0;
  border-radius: 8px;
  background-color: #000;
  -webkit-appearance: -apple-pay-button;
  -apple-pay-button-type: pay;
  -apple-pay-button-style: black;
}

.payment-gate-note {
  margin: 10px 0 0;
}

.checkout-secondary {
  width: 100%;
  min-height: 46px;
  margin: 12px 0 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-weight: 800;
}

.checkout-secondary:hover {
  background: rgba(255,255,255,0.2);
}

.checkout-submit {
  min-height: 52px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  font-weight: 800;
}

.checkout-submit:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.checkout-submit:hover {
  background: linear-gradient(180deg, var(--blue) 0%, var(--cyan-dark) 100%);
}

.checkout-items {
  display: grid;
  gap: 10px;
}

.checkout-items article,
.checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.checkout-items h3,
.checkout-items p {
  margin: 0;
}

.checkout-items p {
  color: rgba(255,255,255,0.66);
}

.checkout-pay-link {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.checkout-pay-link:hover {
  background: linear-gradient(180deg, var(--blue) 0%, var(--cyan-dark) 100%);
}

.checkout-total {
  border-bottom: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.intro-section {
  padding: 96px 24px;
  background: transparent;
  color: var(--white);
  scroll-margin-top: 72px;
}

.detail-breakdown {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 96px 24px;
  scroll-margin-top: 72px;
  color: var(--white);
}

.detail-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.detail-heading-grid {
  margin-bottom: 34px;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 22px;
  align-items: start;
}

.detail-inner h2 {
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  line-height: 1;
}

.addon-explainer {
  position: sticky;
  top: 24px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.addon-explainer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1.24rem;
}

.addon-explainer p {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.78);
  line-height: 1.58;
}

.addon-explainer ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.addon-explainer li {
  color: rgba(255,255,255,0.74);
  line-height: 1.58;
}

.addon-explainer strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
}

.text-scroll-btn {
  margin: 0;
  padding: 0;
  background: transparent;
  color: #ff5656;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-scroll-btn:hover {
  color: var(--white);
}

.text-scroll-btn.inline {
  display: inline;
  margin-left: 4px;
  vertical-align: baseline;
}

.detail-list {
  display: grid;
  gap: 14px;
}

.detail-list article {
  scroll-margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.detail-list h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.detail-list h4 {
  margin: 18px 0 8px;
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-list p {
  margin: 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.6;
}

.detail-list ul {
  columns: 2;
  column-gap: 28px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.detail-list li {
  break-inside: avoid;
  margin: 0 0 6px;
}

.detail-note {
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.add-to-cart-btn {
  margin-top: 18px;
  min-height: 42px;
  padding: 10px 18px;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
}

.add-to-cart-btn:hover,
.cart-close:hover,
.cart-item button:hover,
.cart-toggle:hover {
  background: linear-gradient(180deg, var(--blue) 0%, var(--cyan-dark) 100%);
}

.intro-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 10px;
  color: #ff5656;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.selected-vehicle-label {
  margin: 12px 0 0;
  color: #ff5656;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quote-flow {
  display: none;
  height: 100svh;
  min-height: 100svh;
  padding: 24px;
  color: var(--white);
  scroll-margin-top: 72px;
  overflow: hidden;
}

.estimator-active .quote-flow {
  display: block;
  opacity: 1;
  transform: none;
}

.estimator-active.step-transitioning .quote-flow,
.step-transitioning .hero {
  opacity: 0;
  transform: translateY(14px);
}

.quote-shell {
  width: min(1180px, 100%);
  height: 100%;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.flow-panel {
  max-height: calc(100svh - 48px);
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 18px 42px rgba(0,0,0,0.18);
  animation: stepIn 0.34s ease both;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flow-step {
  display: none;
}

.flow-step.active {
  display: block;
}

.flow-step.final-panel.active {
  display: grid;
}

.flow-intro {
  display: grid;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(242,13,13,0.18), rgba(0,142,232,0.14)),
    rgba(255,255,255,0.08);
}

.flow-panel h2 {
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
}

.flow-panel p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,0.76);
  line-height: 1.6;
}

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

.flow-progress span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.flow-progress span.active {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
}

.flow-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.flow-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.flow-actions .secondary-btn:only-child {
  margin-left: auto;
}

.option-grid {
  display: grid;
  gap: 14px;
}

.vehicle-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.vehicle-card,
.option-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(0,0,0,0.22);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.vehicle-card {
  min-height: 96px;
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 18px;
  text-align: left;
}

.vehicle-card span {
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.08;
}

.vehicle-card strong {
  color: rgba(255,255,255,0.7);
}

.vehicle-card.selected,
.option-card.selected {
  border-color: rgba(0,142,232,0.72);
  background: rgba(0,142,232,0.16);
  box-shadow: 0 0 0 2px rgba(0,142,232,0.18), 0 16px 32px rgba(0,0,0,0.18);
}

.option-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
}

.option-card-head,
.estimate-row,
.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.option-card-head span {
  color: #ff5656;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.option-card-head strong {
  white-space: nowrap;
  font-size: 1.12rem;
}

.option-card h3 {
  margin: 0;
  font-size: 1.22rem;
}

.option-card p {
  color: rgba(255,255,255,0.72);
}

.option-card small {
  color: rgba(255,255,255,0.56);
  line-height: 1.45;
}

.add-btn,
.secondary-btn {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
}

.add-btn {
  margin-top: auto;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
}

.add-btn.selected {
  background: linear-gradient(180deg, var(--blue) 0%, var(--cyan-dark) 100%);
}

.secondary-btn {
  background: rgba(255,255,255,0.12);
}

.add-btn:hover,
.secondary-btn:hover,
.vehicle-card:hover {
  background: linear-gradient(180deg, var(--blue) 0%, var(--cyan-dark) 100%);
}

.fee-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.fee-note h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

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

.fee-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
}

.fee-list small {
  grid-column: 1 / -1;
  color: rgba(255,255,255,0.66);
  line-height: 1.5;
}

.final-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.final-copy {
  margin-top: 14px !important;
}

.estimate-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.12);
}

.estimate-row {
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.estimate-total {
  padding: 14px 0 0;
  border: 0;
  font-size: 1.18rem;
}

.summary-items {
  display: grid;
  gap: 10px;
}

.summary-item {
  align-items: start;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.summary-item div {
  display: grid;
  gap: 4px;
}

.summary-item span,
.summary-empty {
  color: rgba(255,255,255,0.64);
}

.summary-item b {
  white-space: nowrap;
}

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

.final-actions .hero-btn {
  width: 100%;
  min-height: 50px;
  text-decoration: none;
}

.intro-inner h2 {
  max-width: 720px;
  margin: 0 0 30px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

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

.intro-grid article {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}

.intro-grid h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.intro-grid p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

.vehicle-select {
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 0 42px 0 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background:
    linear-gradient(45deg, transparent 50%, var(--white) 50%) right 18px center / 8px 8px no-repeat,
    linear-gradient(135deg, var(--white) 50%, transparent 50%) right 12px center / 8px 8px no-repeat,
    linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.vehicle-select:focus {
  border-color: rgba(255,255,255,0.52);
  box-shadow: 0 0 0 3px rgba(0,142,232,0.22);
}

.vehicle-select option {
  color: var(--ink);
}

.pricing-rules {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 96px 24px;
  color: var(--white);
  scroll-margin-top: 72px;
}

.rules-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rules-inner h2 {
  margin: 0 0 18px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1;
}

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

.price-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.84);
}

.price-list strong {
  white-space: nowrap;
  color: var(--white);
}

.price-list small {
  grid-column: 1 / -1;
  color: rgba(255,255,255,0.68);
  line-height: 1.5;
}

.price-list button {
  width: fit-content;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  font-weight: 800;
}

.price-list button:hover {
  background: linear-gradient(180deg, var(--blue) 0%, var(--cyan-dark) 100%);
}

.addon-row-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-list .small-detail-btn {
  min-height: 30px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-size: 0.78rem;
}

.site-footer {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  background: transparent;
  color: white;
  text-align: center;
}
.site-footer h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0 0 20px;
}
.site-footer p {
  max-width: 850px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
}
.contact-placeholders {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.contact-placeholders span,
.contact-placeholders a {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.84);
  font-weight: 700;
  text-decoration: none;
}

.contact-placeholders a:hover {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}

.fade-section {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .fade-section {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
}

@media (max-width: 820px) {
  .intro-section,
  .detail-breakdown,
  .pricing-rules {
    min-height: auto;
    align-items: start;
    padding: 72px 20px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .detail-content-grid {
    grid-template-columns: 1fr;
  }
  .addon-explainer {
    position: static;
  }
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .rules-inner {
    grid-template-columns: 1fr;
  }
  .vehicle-options,
  .package-options,
  .addon-options,
  .final-panel {
    grid-template-columns: 1fr;
  }
  .flow-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    background-size: 100% 100%;
  }

  .cart-toggle {
    top: 12px;
    right: 12px;
    min-height: 40px;
    padding: 8px 10px 8px 14px;
    font-size: 0.92rem;
  }

  .cart-panel {
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
    gap: 14px;
  }

  .cart-header {
    align-items: flex-start;
  }

  .cart-header h2 {
    font-size: 1.9rem;
  }

  .checkout-link-top {
    display: flex;
  }

  .cart-panel > .checkout-link:not(.checkout-link-top) {
    position: sticky;
    bottom: calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 12px 30px rgba(0,0,0,0.32);
  }

  .checkout-shell {
    padding: 24px 14px;
  }

  .checkout-card {
    padding: 24px 18px;
  }

  .checkout-card h1 {
    font-size: clamp(2.55rem, 18vw, 3.8rem);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100svh;
    padding: 74px 18px 34px;
    place-items: start center;
  }

  .hero-inner {
    padding: 26px 20px 28px;
    border-radius: 14px;
    transform: translateY(clamp(120px, 23vh, 220px));
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.7) 76%, rgba(0,0,0,0.94) 100%),
      url('assets/images/aa-elite-logo.png?v=20260827-new-logo') center top / min(760px, 145vw) auto no-repeat;
    opacity: 0.64;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 14.5vw, 3.25rem);
    line-height: 0.98;
  }

  .hero-copy {
    font-size: 0.94rem;
    line-height: 1.52;
    margin-bottom: 20px;
  }

  .hero-btn {
    min-height: 54px;
    width: 100%;
  }

  .trust-row {
    display: grid;
    justify-items: center;
    margin-top: 18px;
  }

  .intro-section,
  .detail-breakdown,
  .pricing-rules,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .intro-inner h2,
  .detail-inner h2,
  .rules-inner h2,
  .site-footer h2 {
    font-size: clamp(2.15rem, 11.5vw, 2.8rem);
    line-height: 1.02;
  }

  .intro-grid article,
  .detail-list article,
  .addon-explainer,
  .price-list article,
  .flow-panel,
  .option-card,
  .vehicle-card {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 12px 26px rgba(0,0,0,0.12);
  }

  .intro-grid article,
  .detail-list article,
  .flow-panel,
  .option-card {
    padding: 18px;
  }

  .quote-flow {
    min-height: 100svh;
    padding: 72px 18px;
  }

  .flow-panel {
    min-height: calc(100svh - 144px);
  }

  .flow-progress {
    grid-template-columns: 1fr;
  }

  .flow-progress span {
    min-height: 38px;
  }

  .vehicle-card {
    min-height: 76px;
  }

  .final-actions {
    grid-template-columns: 1fr;
  }

  .flow-actions {
    display: grid;
  }

  .detail-heading-grid {
    margin-bottom: 22px;
  }

  .detail-content-grid {
    gap: 16px;
  }

  .detail-list {
    gap: 12px;
  }

  .detail-list ul {
    columns: 1;
    padding-left: 17px;
  }

  .detail-list h3 {
    font-size: 1.08rem;
  }

  .detail-list p,
  .detail-list ul,
  .addon-explainer p,
  .addon-explainer li,
  .intro-grid p,
  .price-list small {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .addon-explainer {
    padding: 18px;
  }

  .price-list article {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    padding: 16px;
  }

  .addon-row-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .price-list button,
  .price-list .small-detail-btn {
    width: 100%;
  }

  .contact-placeholders {
    display: grid;
  }
}
