* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --text: #111827;
  --muted: #5f6c7b;
  --brand: #073763;
  --brand-2: #0f4c81;
  --brand-dark: #052744;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --soft: #f5f8fc;
  --border: #d9e4ef;
  --card: #ffffff;
  --shadow: 0 20px 55px rgba(7, 55, 99, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(780px, calc(100% - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 238px;
  height: auto;
  display: block;
}

nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 0.86rem;
  white-space: nowrap;
}

nav a:hover {
  color: var(--orange);
}

.nav-call {
  background: var(--orange);
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  padding: 11px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero.option-one {
  position: relative;
  overflow: visible;
  padding: 72px 0 54px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7,55,99,0.98) 0%, rgba(7,55,99,0.92) 44%, rgba(7,55,99,0.58) 62%, rgba(7,55,99,0.04) 100%),
    radial-gradient(circle at 20% 20%, rgba(249,115,22,0.22), transparent 30%),
    #073763;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: center;
}

.hero-copy {
  padding: 10px 0 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.eyebrow.orange {
  color: var(--orange);
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.55rem, 6vw, 4.9rem);
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.22rem;
}

.section-title {
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}

.section-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
}

.pricing-band .section-title,
.pricing-band .section-subtitle,
.contact .section-title,
.contact .section-subtitle {
  color: #ffffff;
}

.contact .section-subtitle {
  color: rgba(255, 255, 255, 0.86);
}

.journey-line {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 800;
}

.hero-text {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.13rem;
}

.hero-bullets {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero-bullets li {
  position: relative;
  padding-left: 34px;
  font-weight: 800;
  color: #ffffff;
}

.hero-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 900;
}

.hero-car-wrap {
  position: relative;
  align-self: stretch;
  min-height: 420px;
}

.hero-car {
  position: absolute;
  right: -82px;
  bottom: 24px;
  width: min(720px, 58vw);
  max-width: none;
  border-radius: 26px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.contact-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 30px 0 0;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(7,55,99,0.12);
  box-shadow: var(--shadow);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 20px 18px;
  text-decoration: none;
  color: var(--text);
  border-right: 1px solid var(--border);
}

.contact-card:last-child {
  border-right: 0;
}

.contact-card:hover {
  background: #fff7ed;
}

.contact-card.book {
  background: var(--orange);
  color: #ffffff;
}

.contact-card.book:hover {
  background: var(--orange-dark);
}

.contact-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  font-size: 1.25rem;
}

.contact-card.book .contact-icon {
  background: #ffffff;
  color: var(--orange);
}

.contact-card strong,
.contact-card small {
  display: block;
}

.contact-card strong {
  font-size: 1.02rem;
  line-height: 1.15;
}

.contact-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-card.book small {
  color: rgba(255, 255, 255, 0.9);
}

.section {
  padding: 82px 0;
}

.intro {
  padding-top: 82px;
  text-align: center;
}

.intro p,
.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.center-text {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
}

.qualities {
  padding-top: 0;
}

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

.qualities-grid article {
  text-align: center;
  padding: 22px 14px;
}

.qualities-grid span {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--brand-2);
  border-radius: 50%;
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.qualities-grid p {
  color: var(--muted);
  font-size: 0.92rem;
}

.cards,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card,
.price-card,
.vehicle-card,
.info-cards article,
.booking-card,
.contact-explainer div {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(7,55,99,0.06);
}

.card p,
.price-card p,
.vehicle-card p,
.info-cards span,
.contact-explainer span,
.booking-card p {
  color: var(--muted);
}

.card:hover,
.price-card:hover {
  transform: translateY(-3px);
  transition: transform 180ms ease;
}

.pricing-band {
  background: var(--brand);
  color: #ffffff;
}

.light-heading h2 {
  color: #ffffff;
}

.price-card {
  color: var(--text);
  text-align: center;
}

.price-card.featured {
  border-color: var(--orange);
  box-shadow: 0 18px 50px rgba(249,115,22,0.22);
}

.price {
  margin: 12px 0 8px;
  color: var(--brand) !important;
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ffedd5;
  color: var(--orange-dark);
  font-weight: 900;
  font-size: 0.85rem;
}

.muted {
  background: var(--soft);
}

.vehicle-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.feature-grid,
.form-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: center;
}

.check-list {
  margin: 20px 0 0;
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--orange);
  font-weight: 900;
  font-size: 1.2rem;
}

.vehicle-card {
  padding: 12px;
}

.vehicle-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(20, 33, 61, 0.12);
}

.suburb-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0;
}

.suburb-list span {
  display: inline-flex;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.info-cards article {
  display: grid;
  gap: 4px;
}

.info-cards strong {
  color: var(--brand);
}

.contact-form-section {
  background:
    radial-gradient(circle at left, rgba(249,115,22,0.12), transparent 28%),
    #ffffff;
}

.contact-explainer {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-explainer div {
  padding: 18px;
}

.contact-explainer strong,
.contact-explainer span {
  display: block;
}

.contact-explainer strong {
  color: var(--brand);
}

.form-card {
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 900;
  font-size: 0.93rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(249, 115, 22, 0.18);
  border-color: var(--orange);
}

.hidden {
  display: none;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.cta-row.center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
}

.button.primary {
  color: #ffffff;
  background: var(--brand);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.primary.orange-button {
  background: var(--orange);
}

.button.primary.orange-button:hover {
  background: var(--orange-dark);
}

.button.secondary {
  color: var(--text);
  background: #ffffff;
  border-color: var(--border);
}

.button.secondary:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.button.secondary.light {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}

.button.secondary.light:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.button.full {
  width: 100%;
}

.contact {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(7,55,99,0.97), rgba(5,39,68,0.98));
  color: #ffffff;
}

.contact p {
  color: rgba(255, 255, 255, 0.86);
}

.contact-box {
  max-width: 850px;
}

.contact-detail {
  margin-top: 18px;
}

.contact-detail a {
  color: #ffffff;
  font-weight: 900;
}

.mobile-sticky-contact {
  display: none;
}

.site-footer {
  padding: 26px 0;
  color: #ffffff;
  background: #101828;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #ffffff;
}

@media (max-width: 1000px) {
  .hero-grid,
  .feature-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-car-wrap {
    min-height: auto;
  }

  .hero-car {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-bottom: 72px;
  }

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

  .contact-card {
    border-bottom: 1px solid var(--border);
  }

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

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

  .info-cards {
    grid-template-columns: 1fr;
  }

  nav,
  .nav-call {
    display: none;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 64px;
  }

  .nav {
    min-height: 78px;
  }

  .brand img {
    width: 200px;
  }

  .hero.option-one {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(2.25rem, 14vw, 3.1rem);
  }

  .journey-line {
    font-size: 1.15rem;
  }

  .hero-copy {
    padding-bottom: 24px;
  }

  .hero-car {
    margin-bottom: 42px;
  }

  .contact-strip {
    grid-template-columns: 1fr;
    margin: 24px 0 0;
  }

  .contact-card {
    min-height: 76px;
    border-right: 0;
  }

  .intro {
    padding-top: 56px;
  }

  .section {
    padding: 56px 0;
  }

  .qualities-grid,
  .cards,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .mobile-sticky-contact {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #ffffff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -12px 30px rgba(7,55,99,0.14);
  }

  .mobile-sticky-contact a {
    min-height: 62px;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-weight: 900;
    color: var(--brand);
    border-right: 1px solid var(--border);
  }

  .mobile-sticky-contact a:first-child {
    background: var(--orange);
    color: #ffffff;
  }

  .mobile-sticky-contact a:last-child {
    border-right: 0;
  }
}


/* === Visual refinements requested === */

/* Active navigation state while scrolling */
nav a {
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

nav a.active {
  background: var(--orange);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Give each major tab/section a subtly different background */
.why-section {
  background: #ffffff;
  padding-top: 58px;
  padding-bottom: 22px;
}

.why-qualities {
  background: #ffffff;
  padding-top: 0;
  padding-bottom: 42px;
}

.lessons-section {
  background:
    radial-gradient(circle at top left, rgba(7, 55, 99, 0.06), transparent 34%),
    linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
  padding-top: 54px;
}

.vehicle-section {
  background:
    radial-gradient(circle at right, rgba(249, 115, 22, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.areas-section {
  background:
    radial-gradient(circle at left, rgba(7, 55, 99, 0.05), transparent 34%),
    #f7f9fc;
}

.contact-form-section {
  background:
    radial-gradient(circle at left, rgba(249,115,22,0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
}

/* Tighter Why Learn With Us spacing */
.why-section .container {
  max-width: 860px;
}

.why-section .section-title {
  margin-bottom: 6px;
}

.why-section .section-subtitle {
  margin-bottom: 10px;
}

.why-section p:last-child {
  margin-bottom: 0;
}

.qualities-grid {
  gap: 10px;
}

.qualities-grid article {
  padding: 14px 10px;
}

.qualities-grid span {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}

.qualities-grid h3 {
  margin-bottom: 6px;
}

.qualities-grid p {
  margin: 0;
}

/* More professional pricing section */
.pricing-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(249, 115, 22, 0.22), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(135deg, #052744 0%, #073763 48%, #0f4c81 100%);
}

.pricing-band::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 30px;
  pointer-events: none;
}

.pricing-band .container {
  position: relative;
  z-index: 1;
}

.pricing-grid {
  align-items: stretch;
}

.price-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 228, 239, 0.9);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.12);
}

.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0));
  pointer-events: none;
}

/* Halo / spotlight around the 5 x 1 package */
.price-card.featured {
  z-index: 2;
  border: 2px solid var(--orange);
  transform: translateY(-8px);
  box-shadow:
    0 0 0 8px rgba(249, 115, 22, 0.13),
    0 0 38px rgba(249, 115, 22, 0.52),
    0 24px 60px rgba(0, 0, 0, 0.22);
}

.price-card.featured::before {
  content: "";
  position: absolute;
  inset: -42px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.34), transparent 58%);
  z-index: -1;
  pointer-events: none;
}

.price-card.featured .badge {
  background: var(--orange);
  color: #ffffff;
}

/* Slightly stylised Toyota image presentation */
.hero-car,
.vehicle-photo {
  filter: saturate(0.95) contrast(1.04);
}

.hero-car {
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.vehicle-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,251,255,0.96));
}

/* On mobile keep featured pricing card aligned normally */
@media (max-width: 620px) {
  .price-card.featured {
    transform: none;
  }

  .lessons-section {
    padding-top: 44px;
  }
}


/* === Pricing and spacing refinements === */

/* Remove the rounded rectangle outline from the pricing section */
.pricing-band::before {
  display: none;
}

/* Make pricing cards more premium and readable */
.pricing-grid {
  gap: 22px;
}

.price-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid rgba(7, 55, 99, 0.16);
  color: #073763;
  padding: 28px 22px;
}

.price-card h3 {
  color: #052744;
  font-size: 1.12rem;
  font-weight: 900;
}

.price-card p {
  color: #26384d;
  font-weight: 700;
}

.price-card .price {
  color: #073763 !important;
  font-size: 2.55rem;
  text-shadow: 0 1px 0 rgba(255,255,255,0.75);
}

/* Make the 5 x 1 package much more visible and pronounced */
.price-card.featured {
  background:
    radial-gradient(circle at 50% -10%, rgba(249, 115, 22, 0.22), transparent 48%),
    linear-gradient(180deg, #fff8f1 0%, #ffffff 62%, #fff4e8 100%);
  border: 3px solid var(--orange);
  transform: translateY(-12px) scale(1.035);
  box-shadow:
    0 0 0 10px rgba(249, 115, 22, 0.16),
    0 0 48px rgba(249, 115, 22, 0.58),
    0 30px 70px rgba(0, 0, 0, 0.30);
}

.price-card.featured h3 {
  color: #9a3412;
}

.price-card.featured .price {
  color: #c2410c !important;
  font-size: 2.85rem;
}

.price-card.featured p {
  color: #7c2d12;
}

.price-card.featured .badge {
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.30);
}

/* Tighten the space before Service Areas */
.vehicle-section {
  padding-bottom: 42px;
}

.areas-section {
  padding-top: 46px;
}

/* Keep the featured card sensible on mobile */
@media (max-width: 620px) {
  .price-card.featured {
    transform: none;
  }

  .vehicle-section {
    padding-bottom: 34px;
  }

  .areas-section {
    padding-top: 38px;
  }
}


/* === Premium pricing mockup incorporation === */

.pricing-premium {
  position: relative;
  overflow: hidden;
  color: #0b1f3a;
  background:
    radial-gradient(circle at 8% 10%, rgba(15, 76, 129, 0.12), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(249, 115, 22, 0.10), transparent 25%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.pricing-premium::before {
  display: none !important;
}

.pricing-premium .section-title {
  color: #073763;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  text-shadow: 0 1px 0 rgba(255,255,255,0.75);
}

.pricing-premium .section-subtitle {
  color: #111827;
  font-size: 1.1rem;
  font-weight: 700;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.premium-pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 42px;
}

.premium-price-card {
  position: relative;
  overflow: visible;
  text-align: center;
  min-height: 430px;
  padding: 34px 22px 26px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(7, 55, 99, 0.12);
  color: #0b1f3a;
  box-shadow:
    0 12px 34px rgba(7, 55, 99, 0.11),
    inset 0 1px 0 rgba(255,255,255,0.92);
}

.premium-price-card::after {
  display: none;
}

.premium-price-card h3 {
  min-height: 48px;
  margin: 14px 0 4px;
  color: #0b1f3a;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.15;
}

.premium-price-card .duration {
  margin: 0;
  color: #1f2937;
  font-size: 0.98rem;
  font-weight: 700;
}

.price-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.55rem;
  margin: 0 auto 8px;
}

.price-icon.blue {
  background: #dbeafe;
  color: #073763;
}

.price-icon.orange {
  background: #ffedd5;
  color: #f97316;
}

.price-icon.green {
  background: #dcfce7;
  color: #15803d;
}

.price-icon.purple {
  background: #f3e8ff;
  color: #7e22ce;
}

.price-rule {
  height: 2px;
  width: 100%;
  margin: 20px auto 22px;
  border-radius: 999px;
}

.blue-rule {
  background: #2563eb;
}

.orange-rule {
  background: #f97316;
}

.green-rule {
  background: #16a34a;
}

.purple-rule {
  background: #9333ea;
}

.premium-price-card .price {
  margin: 0;
  color: #071a33 !important;
  font-size: clamp(2.9rem, 4vw, 3.75rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 1;
  text-shadow: none;
}

.premium-price-card .price-note {
  margin: 8px 0 0;
  color: #111827;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.premium-price-card .saving {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: #f97316;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(249,115,22,0.30);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 9px;
  text-align: left;
}

.price-features li {
  position: relative;
  padding-left: 26px;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 750;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: #073763;
  font-weight: 950;
}

.most-popular {
  border: 2px solid #f97316;
  transform: translateY(-10px) scale(1.035);
  background:
    radial-gradient(circle at 50% 0%, rgba(249,115,22,0.15), transparent 40%),
    linear-gradient(180deg, #fffaf5 0%, #ffffff 58%, #fff7ed 100%);
  box-shadow:
    0 0 0 8px rgba(249,115,22,0.12),
    0 0 42px rgba(249,115,22,0.48),
    0 26px 62px rgba(7,55,99,0.20);
}

.most-popular h3 {
  color: #0b1f3a;
}

.most-popular .price {
  color: #f97316 !important;
}

.most-popular .price-features li::before {
  color: #f97316;
}

.popular-badge {
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #ff7a1a, #f97316);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(249,115,22,0.30);
}

.pricing-trust-strip {
  margin-top: 26px;
  padding: 18px 24px;
  border-radius: 14px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(7,55,99,0.10);
  box-shadow: 0 12px 34px rgba(7,55,99,0.08);
}

.pricing-trust-strip strong,
.pricing-trust-strip span {
  display: block;
}

.pricing-trust-strip strong {
  color: #073763;
  font-weight: 950;
}

.pricing-trust-strip span {
  margin-top: 3px;
  color: #1f2937;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .premium-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .most-popular {
    transform: none;
  }
}

@media (max-width: 760px) {
  .premium-pricing-grid {
    grid-template-columns: 1fr;
  }

  .premium-price-card {
    min-height: auto;
  }

  .popular-badge {
    position: static;
    display: inline-flex;
    transform: none;
    margin: -8px auto 14px;
    border-radius: 999px;
  }
}


/* === Clean pricing redo === */
/* Keeps the previous site font treatment, returns all pricing options to one row,
   removes the extra trust sentence, and makes the 5 x 1 package pronounced. */

.pricing-clean {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 12%, rgba(249, 115, 22, 0.20), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.11), transparent 26%),
    linear-gradient(135deg, #052744 0%, #073763 50%, #0f4c81 100%);
}

.pricing-clean::before {
  display: none !important;
}

.pricing-clean .section-title {
  color: #ffffff;
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  letter-spacing: -0.035em;
  text-shadow: none;
}

.pricing-clean .section-subtitle {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  font-weight: 700;
}

.clean-pricing-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px;
  align-items: stretch;
  margin-top: 30px;
}

.clean-price-card,
.premium-price-card.clean-price-card {
  position: relative;
  overflow: visible;
  min-height: 220px;
  padding: 30px 22px;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(217, 228, 239, 0.95);
  color: #052744;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
  transform: none;
}

.clean-price-card::after,
.clean-price-card::before {
  display: none !important;
}

.clean-price-card h3 {
  min-height: 46px;
  margin: 0 0 16px;
  color: #052744;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.15;
}

.clean-price-card .price {
  margin: 0 0 10px;
  color: #061d36 !important;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
  text-shadow: none;
}

.clean-price-card .price-note {
  margin: 0;
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}

/* Pronounced 5 x 1 package */
.clean-price-card.featured {
  z-index: 2;
  background:
    radial-gradient(circle at 50% -15%, rgba(249, 115, 22, 0.25), transparent 52%),
    linear-gradient(180deg, #fff8f1 0%, #ffffff 58%, #fff4e8 100%);
  border: 3px solid var(--orange);
  transform: translateY(-10px) scale(1.04);
  box-shadow:
    0 0 0 9px rgba(249, 115, 22, 0.16),
    0 0 46px rgba(249, 115, 22, 0.55),
    0 28px 70px rgba(0, 0, 0, 0.28);
}

.clean-price-card.featured h3 {
  color: #7c2d12;
}

.clean-price-card.featured .price {
  color: #c2410c !important;
  font-size: clamp(2.85rem, 4.3vw, 3.65rem);
}

.clean-price-card.featured .price-note {
  color: #7c2d12;
}

.clean-price-card.featured .badge {
  display: inline-flex;
  margin: -6px 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.32);
}

/* Ensure any old premium pricing strip is hidden if cached in DOM by accident */
.pricing-trust-strip {
  display: none !important;
}

@media (max-width: 980px) {
  .clean-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .clean-price-card.featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .clean-pricing-grid {
    grid-template-columns: 1fr !important;
  }

  .clean-price-card {
    min-height: auto;
  }
}


/* === Toyota image Option 4 with SAFE-1 plate and door logo === */
.hero-car,
.vehicle-photo {
  filter: none;
}


/* === Exact supplied Toyota image === */
.hero-car,
.vehicle-photo {
  filter: none !important;
}


/* === Pricing boxes updated to match supplied reference === */

.pricing-screenshot {
  position: relative;
  overflow: hidden;
  color: #0b1f3a;
  background:
    radial-gradient(circle at 8% 10%, rgba(15, 76, 129, 0.08), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(249, 115, 22, 0.08), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.pricing-screenshot::before {
  display: none !important;
}

.pricing-screenshot .section-title {
  color: #073763;
}

.pricing-screenshot .section-subtitle {
  color: #4b5563;
}

.screenshot-pricing-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px;
  align-items: stretch;
  margin-top: 28px;
}

.screenshot-price-card {
  position: relative;
  overflow: visible;
  min-height: 205px;
  padding: 26px 24px 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid rgba(7, 55, 99, 0.10);
  color: #071a33;
  box-shadow:
    0 10px 28px rgba(7, 55, 99, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.92);
  text-align: center;
  transform: none;
}

.screenshot-price-card::before,
.screenshot-price-card::after {
  display: none !important;
}

.price-card-header {
  min-height: 54px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  text-align: left;
}

.pricing-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
}

.pricing-icon.blue {
  background: #dbeafe;
  color: #073763;
}

.pricing-icon.orange {
  background: #ffedd5;
  color: #f97316;
}

.pricing-icon.purple {
  background: #f3e8ff;
  color: #7e22ce;
}

.screenshot-price-card h3 {
  margin: 0 0 2px;
  color: #061d36;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.12;
}

.screenshot-price-card .duration {
  margin: 0;
  color: #111827;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.2;
}

.screenshot-price-card .price-rule {
  width: 100%;
  height: 2px;
  margin: 22px 0 18px;
  border-radius: 999px;
}

.screenshot-price-card .blue-rule {
  background: #60a5fa;
}

.screenshot-price-card .orange-rule {
  background: #f97316;
}

.screenshot-price-card .purple-rule {
  background: #c084fc;
}

.screenshot-price-card .price {
  margin: 0 0 2px;
  color: #071a33 !important;
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.055em;
  text-shadow: none;
}

.screenshot-price-card .price-note {
  margin: 0;
  color: #111827;
  font-size: 0.78rem;
  font-weight: 850;
}

.screenshot-price-card.featured {
  z-index: 2;
  background:
    radial-gradient(circle at 50% -12%, rgba(249, 115, 22, 0.16), transparent 46%),
    linear-gradient(180deg, #fffaf5 0%, #ffffff 64%, #fff7ed 100%);
  border: 2px solid var(--orange);
  box-shadow:
    0 0 0 4px rgba(249, 115, 22, 0.09),
    0 0 30px rgba(249, 115, 22, 0.30),
    0 16px 36px rgba(7, 55, 99, 0.10);
}

.screenshot-price-card.featured .price {
  color: #f97316 !important;
  font-size: clamp(2.35rem, 3.25vw, 3rem);
}

.screenshot-price-card.featured h3 {
  color: #061d36;
}

.screenshot-price-card .saving {
  display: inline-flex;
  margin: 5px 0 2px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f97316;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.25);
}

.screenshot-price-card .popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 4px 13px;
  border-radius: 0 0 7px 7px;
  background: #f97316;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.28);
}

/* Hide older pricing features/trust elements if any previous CSS remains */
.price-features,
.pricing-trust-strip {
  display: none !important;
}

@media (max-width: 980px) {
  .screenshot-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .screenshot-pricing-grid {
    grid-template-columns: 1fr !important;
  }

  .price-card-header {
    grid-template-columns: 48px 1fr;
  }
}


/* === Fourth pricing card changed to Drive Test Package === */
.pricing-icon.green {
  background: #dcfce7;
  color: #15803d;
}

.screenshot-price-card .green-rule {
  background: #16a34a;
}


/* === Blue pricing background + cleaner car image presentation === */

/* Return Pricing to a blue premium section while keeping the dark readable boxes */
.pricing-screenshot {
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 12%, rgba(249, 115, 22, 0.18), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.10), transparent 26%),
    linear-gradient(135deg, #052744 0%, #073763 48%, #0f4c81 100%) !important;
}

.pricing-screenshot .section-title {
  color: #ffffff !important;
}

.pricing-screenshot .section-subtitle {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* Keep the pricing boxes bright and readable on the blue background */
.screenshot-price-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.20) !important;
}

/* Clean up the Toyota image containers: one clean shape, no stacked borders */
.hero-car {
  border: none !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18) !important;
  border-radius: 18px !important;
  background: transparent !important;
}

.vehicle-card {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 18px !important;
}

.vehicle-photo {
  display: block;
  width: 100%;
  height: auto;
  border: none !important;
  box-shadow: 0 16px 40px rgba(7, 55, 99, 0.14) !important;
  border-radius: 18px !important;
  background: transparent !important;
}

/* Tighten vehicle section a little so the image sits neatly */
.vehicle-section .feature-grid {
  align-items: center;
}

.vehicle-section {
  padding-top: 64px;
  padding-bottom: 36px;
}

@media (max-width: 1000px) {
  .hero-car {
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 760px;
    margin: 0 auto 42px !important;
    display: block;
  }
}


/* === Final car image cleanup + pricing alignment === */

/* Use the supplied car image cleanly: no added frame, no duplicate radius, no extra shadow. */
.hero-car {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  outline: 0 !important;
}

.vehicle-card {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.vehicle-photo {
  display: block;
  width: 100%;
  height: auto;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  outline: 0 !important;
}

/* Keep the exact supplied car image neat in the hero without adding another frame */
.hero-car-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pricing cards: equal height, aligned headers, divider lines and price numbers */
.screenshot-pricing-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 18px !important;
}

.screenshot-price-card {
  height: 240px !important;
  min-height: 240px !important;
  display: grid !important;
  grid-template-rows: 64px 38px 58px 28px 20px !important;
  align-items: start !important;
  padding: 24px 24px 20px !important;
  box-sizing: border-box !important;
  transform: none !important;
}

.screenshot-price-card:hover {
  transform: none !important;
}

.screenshot-price-card.featured,
.screenshot-price-card.most-popular {
  height: 240px !important;
  min-height: 240px !important;
  transform: none !important;
  box-sizing: border-box !important;
}

.price-card-header {
  grid-row: 1 !important;
  min-height: 64px !important;
  height: 64px !important;
  align-self: start !important;
  display: grid !important;
  grid-template-columns: 54px 1fr !important;
  align-items: center !important;
}

.screenshot-price-card h3 {
  margin: 0 0 2px !important;
  min-height: auto !important;
}

.screenshot-price-card .duration {
  margin: 0 !important;
}

/* Divider lines all sit on the same horizontal row */
.screenshot-price-card .price-rule {
  grid-row: 2 !important;
  align-self: center !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Prices all sit on the same horizontal row */
.screenshot-price-card .price {
  grid-row: 3 !important;
  align-self: center !important;
  margin: 0 !important;
  line-height: 1 !important;
}

/* Saving pill on featured card stays below the price without moving price alignment */
.screenshot-price-card .saving {
  grid-row: 4 !important;
  align-self: center !important;
  justify-self: center !important;
  margin: 0 !important;
}

/* Notes align underneath. Normal cards span the unused saving row cleanly. */
.screenshot-price-card .price-note {
  grid-row: 4 / 6 !important;
  align-self: start !important;
  margin: 0 !important;
}

.screenshot-price-card.featured .price-note,
.screenshot-price-card.most-popular .price-note {
  grid-row: 5 !important;
  align-self: start !important;
}

/* Make featured card pronounced without changing its alignment/height */
.screenshot-price-card.featured {
  border: 2px solid var(--orange) !important;
  box-shadow:
    0 0 0 4px rgba(249, 115, 22, 0.10),
    0 0 30px rgba(249, 115, 22, 0.34),
    0 16px 36px rgba(7, 55, 99, 0.13) !important;
}

/* Mobile/tablet can stack naturally */
@media (max-width: 980px) {
  .screenshot-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .screenshot-price-card,
  .screenshot-price-card.featured,
  .screenshot-price-card.most-popular {
    height: 240px !important;
    min-height: 240px !important;
  }
}

@media (max-width: 620px) {
  .screenshot-pricing-grid {
    grid-template-columns: 1fr !important;
  }

  .screenshot-price-card,
  .screenshot-price-card.featured,
  .screenshot-price-card.most-popular {
    height: auto !important;
    min-height: 220px !important;
    grid-template-rows: 64px 34px 54px 28px auto !important;
  }
}


/* === Final cleanup: clean rounded car image + distinct 90-minute pricing icon === */

/* Car image: one clean rounded rectangle, no separate white frame, no nested borders */
.hero-car,
.vehicle-photo {
  display: block !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  clip-path: inset(0 round 18px) !important;
}

.vehicle-card,
.hero-car-wrap {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Vehicle section should not add an extra frame around the image */
.vehicle-card {
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Make the 1.5 hour lesson pricing icon distinct from the 1 hour icon */
.pricing-icon.duration-90 {
  font-size: 1rem !important;
  font-weight: 950 !important;
  letter-spacing: -0.03em;
}


/* === Remove extra outer white box around car image === */
.hero-car-wrap,
.vehicle-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
}

.hero-car,
.vehicle-photo {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  border-radius: 18px !important;
  clip-path: inset(0 round 18px) !important;
}

/* Prevent the hero image from sitting inside a second visible rectangle */
.hero-car-wrap {
  overflow: visible !important;
}


/* === Approved cropped Toyota image === */
.hero-car-wrap,
.vehicle-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
}

.hero-car,
.vehicle-photo {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  border-radius: 0 !important;
  clip-path: none !important;
}


/* === Fix hero car/text overlap === */
/* Keep the car image inside its own grid column instead of floating over the text. */
.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr) !important;
  gap: 46px !important;
  align-items: center !important;
}

.hero-copy {
  min-width: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

.hero-car-wrap {
  position: relative !important;
  min-height: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: visible !important;
  z-index: 1 !important;
}

.hero-car {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 auto 44px !important;
  display: block !important;
}

/* Make the long bullet text wrap properly instead of being covered. */
.hero-bullets li {
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

/* Slightly reduce hero copy size on medium screens to keep everything balanced. */
@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr) !important;
    gap: 34px !important;
  }

  .hero-car {
    max-width: 560px !important;
  }
}

/* On tablets/mobile, stack the image under the text. */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-car {
    max-width: 760px !important;
    margin: 10px auto 42px !important;
  }
}


/* === High-resolution approved Toyota image === */
.hero-car,
.vehicle-photo {
  image-rendering: auto !important;
  max-width: 100% !important;
  height: auto !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.hero-car-wrap,
.vehicle-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
}


/* === No public Email Us card: keep contact strip balanced with 3 cards === */
.contact-strip {
  grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 1000px) {
  .contact-strip {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 760px) {
  .contact-strip {
    grid-template-columns: 1fr !important;
  }
}

/* === Final tick additions and tighter space before Pricing === */
/* Reduces the vertical gap after Lesson Options without changing the pricing design. */
.lessons-section {
  padding-bottom: 48px !important;
}

.pricing-screenshot {
  padding-top: 58px !important;
}

@media (max-width: 620px) {
  .lessons-section {
    padding-bottom: 38px !important;
  }

  .pricing-screenshot {
    padding-top: 48px !important;
  }
}


/* === Netlify form success page === */
.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at left, rgba(249,115,22,0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.success-page h1 {
  color: var(--brand);
}

.success-page .lead {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}


/* === Referral promo box under first hero car image === */
.referral-promo-box {
  position: relative;
  z-index: 3;
  width: min(620px, 100%);
  margin: 18px auto 0;
  padding: 16px 20px;
  border: 2px solid rgba(249, 115, 22, 0.92);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 237, 0.98));
  box-shadow: 0 14px 34px rgba(7, 55, 99, 0.18);
  color: #052744;
  text-align: center;
}

.referral-promo-box strong,
.referral-promo-box span {
  display: block;
}

.referral-promo-box strong {
  color: #f97316;
  font-size: 1.08rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.referral-promo-box span {
  margin-top: 3px;
  color: #052744;
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.3;
}

.referral-promo-box b {
  color: #c2410c;
  font-weight: 950;
}

/* Keep the promo box neatly under the hero vehicle across desktop and mobile. */
.hero-car-wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

.hero-car {
  flex: 0 0 auto;
}

@media (min-width: 1001px) {
  .hero-car {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: min(720px, 100%) !important;
    max-width: 720px !important;
    margin: 0 auto !important;
  }

  .hero-car-wrap {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .referral-promo-box {
    margin-top: 12px;
    padding: 14px 16px;
  }

  .referral-promo-box strong {
    font-size: 0.98rem;
  }

  .referral-promo-box span {
    font-size: 0.95rem;
  }
}
