/* ============ TOKENS ============ */
:root {
  --wine: #4b1014;
  --wine-dark: #2b090c;
  --wine-soft: #6b2229;
  --cream: #f6f1eb;
  --ivory: #fbf8f4;
  --taupe: #c9b9ad;
  --text: #271d1a;
  --muted: #746863;
  --line: rgba(39, 29, 26, 0.12);
  --line-on-wine: rgba(255, 255, 255, 0.18);

  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(39, 29, 26, 0.04), 0 20px 40px -24px rgba(39, 29, 26, 0.28);
  --tap-min: 44px;
  --container: 1180px;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* shared seam-transition system: every photo/section boundary in the
     base-course -> comparison -> tariff-light -> tariff-maximum chain
     fades toward this one anchor color, with the same solid -> mid -> clear
     curve, so every join reads as one continuous surface. */
  --seam-color: var(--wine-dark);
  --seam-mid: rgba(75, 16, 20, 0.55);
}

/* ============ RESET ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(16px, 3.6vw, 17px);
  line-height: 1.5;
  overflow-x: hidden;
}

img,
picture {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 0;
  color: var(--text);
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--wine);
  color: var(--ivory);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}

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

/* ============ LAYOUT HELPERS ============ */
.section-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 20px;
}

.section-inner--wide {
  max-width: var(--container);
}

.section-title {
  max-width: 26ch;
  font-size: clamp(28px, 8vw, 36px);
  line-height: 1.14;
}

.section-lede {
  margin-top: 12px;
  max-width: 38ch;
  font-size: clamp(16px, 4vw, 17px);
  color: var(--muted);
  line-height: 1.5;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap-min);
  padding: 14px 26px;
  border-radius: 999px;
  font-size: clamp(15px, 3.6vw, 17px);
  font-weight: 600;
  text-align: center;
  transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: var(--wine);
  color: var(--ivory);
}

.btn-primary:hover {
  background: var(--wine-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--wine);
  border: 1.5px solid var(--wine);
}

.btn-secondary:hover {
  background: rgba(75, 16, 20, 0.06);
}

.btn-on-wine {
  background: var(--ivory);
  color: var(--wine-dark);
}

.btn-on-wine:hover {
  background: var(--taupe);
}

.btn:active {
  transform: scale(0.98);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-header-cta {
  display: none;
}

/* ============ ICON CIRCLE ============ */
.icon-circle {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--wine);
}

.icon-circle svg {
  display: block;
  width: 19px;
  height: 19px;
  max-width: 19px;
  max-height: 19px;
  flex-shrink: 0;
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  /* wine-tinted edge + soft shadow instead of a neutral line: reads as a
     bar intentionally floating above the wine hero rather than a flat
     rectangle happening to sit on top of it */
  border-bottom: 1px solid rgba(75, 16, 20, 0.14);
  box-shadow: 0 14px 32px -18px rgba(43, 9, 12, 0.5);
  padding-top: var(--safe-top);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  padding: 10px 4px;
  margin: -10px -4px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.03em;
  color: var(--wine);
}

.brand-tagline {
  display: none;
  font-size: 12px;
  color: var(--muted);
}

.main-nav {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.menu-toggle-line {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 20px 20px calc(24px + var(--safe-bottom));
  background: var(--ivory);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: var(--tap-min);
  font-size: 17px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .btn {
  margin-top: 18px;
}

/* ============ HERO ============ */
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
  margin: 0 0 14px;
}

.eyebrow--on-wine {
  color: var(--taupe);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  background: var(--wine-dark);
}

.hero-media-full {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 1379;
  overflow: hidden;
}

.hero-media-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(
    to top,
    var(--wine-dark) 0%,
    rgba(43, 9, 12, 0.92) 14%,
    rgba(75, 16, 20, 0.48) 45%,
    rgba(43, 9, 12, 0) 100%
  );
  pointer-events: none;
}

.hero-cta-overlay {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 7.5%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-ghost-on-wine {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(251, 248, 244, 0.7);
}

.btn-ghost-on-wine:hover {
  background: rgba(251, 248, 244, 0.12);
}

/* ============ TEST-DRIVE TEASER ============ */
.test-drive-teaser {
  background: var(--wine-dark);
  line-height: 0;
}

.test-drive-teaser-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 936 / 421;
  overflow: hidden;
}

.test-drive-teaser-media::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 19%;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    var(--wine-dark) 0%,
    rgba(43, 9, 12, 0.75) 18%,
    rgba(75, 16, 20, 0.25) 48%,
    rgba(43, 9, 12, 0) 100%
  );
  pointer-events: none;
}

.test-drive-teaser-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12%;
  z-index: 1;
  background: linear-gradient(
    to top,
    var(--wine-dark) 0%,
    rgba(43, 9, 12, 0.7) 30%,
    rgba(75, 16, 20, 0.2) 70%,
    rgba(43, 9, 12, 0) 100%
  );
  pointer-events: none;
}

.test-drive-teaser-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.test-drive-teaser-trigger {
  position: absolute;
  left: 18%;
  right: 20%;
  top: 59%;
  bottom: 14%;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: transparent;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease;
}

.test-drive-teaser-trigger:focus,
.test-drive-teaser-trigger:active {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .test-drive-teaser-trigger:hover {
    background: rgba(251, 248, 244, 0.14);
  }
}

.test-drive-teaser-trigger:focus-visible {
  background: rgba(251, 248, 244, 0.14);
  box-shadow: inset 0 0 0 2px rgba(251, 248, 244, 0.85);
  outline: none;
}

/* ============ TEST-DRIVE DETAIL (collapsible) ============ */
.test-drive-detail {
  background: var(--wine-dark);
  line-height: 0;
}

.test-drive-detail-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.test-drive-detail-collapse.is-open {
  grid-template-rows: 1fr;
}

.test-drive-detail-inner {
  overflow: hidden;
  min-height: 0;
}

.test-drive-media-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 941 / 1672;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.test-drive-detail-collapse.is-open .test-drive-media-link {
  opacity: 1;
  transform: translateY(0);
}

.test-drive-media-link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 20%;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    var(--wine-dark) 0%,
    rgba(43, 9, 12, 0.82) 20%,
    rgba(75, 16, 20, 0.32) 55%,
    rgba(43, 9, 12, 0) 100%
  );
  pointer-events: none;
}

.test-drive-media-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8%;
  z-index: 1;
  background: linear-gradient(
    to top,
    var(--wine-dark) 0%,
    rgba(43, 9, 12, 0.7) 30%,
    rgba(75, 16, 20, 0.2) 70%,
    rgba(43, 9, 12, 0) 100%
  );
  pointer-events: none;
}

.test-drive-media-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}

.test-drive-media-link:hover img {
  transform: scale(1.015);
}

/* ============ BENEFITS (Ты получаешь) ============ */
.benefits {
  position: relative;
  background: var(--wine-dark);
  overflow: hidden;
}

.benefits::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 150%;
  height: 55%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(107, 34, 41, 0.4), transparent 70%);
  pointer-events: none;
}

.benefits-inner {
  position: relative;
  padding-top: 64px;
  padding-bottom: 64px;
  text-align: center;
}

.benefits-title {
  margin-top: 2px;
  font-size: clamp(34px, 9vw, 44px);
  line-height: 1.15;
  color: var(--ivory);
}

.benefits-divider {
  display: block;
  width: 1px;
  height: 26px;
  margin: 20px auto 0;
  background: rgba(251, 248, 244, 0.35);
}

.benefits-list {
  position: relative;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 12px 18px 12px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(107, 34, 41, 0.5), rgba(43, 9, 12, 0.6));
  border: 1px solid rgba(251, 248, 244, 0.14);
  box-shadow: 0 14px 28px -20px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(251, 248, 244, 0.07);
}

.benefit-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  max-width: 58px;
  max-height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(160, 80, 90, 0.55), rgba(43, 9, 12, 0.85));
  border: 1px solid rgba(251, 248, 244, 0.16);
  color: var(--taupe);
}

.benefit-icon svg {
  display: block;
  width: 25px;
  height: 25px;
  max-width: 25px;
  max-height: 25px;
  flex-shrink: 0;
}

.benefit-text {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-serif);
  font-size: clamp(18px, 4.6vw, 21px);
  line-height: 1.25;
  color: var(--ivory);
  overflow-wrap: anywhere;
}

.benefit-divider {
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  margin: 4px 0;
  background: rgba(251, 248, 244, 0.2);
}

.benefit-number {
  flex-shrink: 0;
  min-width: 26px;
  padding-left: 14px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: rgba(251, 248, 244, 0.45);
  text-align: center;
}

/* slide-in-from-left reveal, overrides the generic translateY .reveal */
.benefit-item.reveal {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.benefit-item.reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.benefit-item:nth-child(1) { transition-delay: 0s; }
.benefit-item:nth-child(2) { transition-delay: 0.1s; }
.benefit-item:nth-child(3) { transition-delay: 0.2s; }
.benefit-item:nth-child(4) { transition-delay: 0.3s; }
.benefit-item:nth-child(5) { transition-delay: 0.4s; }
.benefit-item:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .benefit-item.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============ COURSE ============ */
.course {
  background: var(--wine-dark);
  line-height: 0;
}

.course-media {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}

.course-media::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5%;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(43, 9, 12, 0.4) 0%,
    rgba(43, 9, 12, 0) 100%
  );
  pointer-events: none;
}

/* seam fade into comparison below — anchors to the shared wine-dark tone
   without touching the "Ознакомиться с тарифами" button above it */
.course-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4%;
  z-index: 1;
  background: linear-gradient(
    to top,
    var(--seam-color) 0%,
    rgba(43, 9, 12, 0) 100%
  );
  pointer-events: none;
}

.course-media img {
  display: block;
  width: 100%;
  height: auto;
}

.course-cta-trigger {
  position: absolute;
  left: 8%;
  right: 11%;
  top: 89%;
  bottom: 3.5%;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: transparent;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease;
}

.course-cta-trigger:focus,
.course-cta-trigger:active {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .course-cta-trigger:hover {
    background: rgba(251, 248, 244, 0.14);
  }
}

.course-cta-trigger:focus-visible {
  background: rgba(251, 248, 244, 0.14);
  box-shadow: inset 0 0 0 2px rgba(251, 248, 244, 0.85);
  outline: none;
}

.media-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--taupe), var(--cream) 60%, var(--wine-soft) 130%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine-dark);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 16px;
}

/* ============ TARIFF LIGHT (image) ============ */
.tariff-light {
  background: var(--wine-dark);
  line-height: 0;
}

.tariff-light-media {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}

.tariff-light-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* seam fade from comparison above — same anchor color/curve as every
   other join in the chain, held solid a little longer so the photo reads
   as growing out of the section rather than starting a new screen */
.tariff-light-media::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10%;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    var(--seam-color) 0%,
    var(--seam-mid) 25%,
    rgba(43, 9, 12, 0) 100%
  );
  pointer-events: none;
}

/* warm burgundy color-correction: the source photo's background silk is a
   muted cool-ish brown, visibly off the site's saturated wine palette.
   Layer 1 (radial) stays transparent over the light card and warms only the
   surrounding background/edges; layer 2 (flat, low-opacity) unifies the
   whole image a touch and nudges the card itself toward warm ivory. */
.tariff-light-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* seam into MAXIMUM below — solid at the true edge, clear of the
       price/CTA which sit above ~95% down */
    linear-gradient(to top, var(--seam-color) 0%, rgba(43, 9, 12, 0) 5%),
    radial-gradient(
      ellipse 64% 70% at 50% 54%,
      transparent 58%,
      rgba(75, 16, 20, 0.5) 80%,
      rgba(43, 9, 12, 0.76) 100%
    ),
    linear-gradient(
      rgba(75, 16, 20, 0.12),
      rgba(75, 16, 20, 0.12)
    );
  pointer-events: none;
}

.tariff-cta-trigger {
  position: absolute;
  left: 19%;
  right: 17%;
  top: 90%;
  bottom: 4%;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: transparent;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease;
}

.tariff-cta-trigger:focus,
.tariff-cta-trigger:active {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .tariff-cta-trigger:hover {
    background: rgba(251, 248, 244, 0.1);
  }
}

.tariff-cta-trigger:focus-visible {
  background: rgba(251, 248, 244, 0.1);
  box-shadow: inset 0 0 0 2px rgba(75, 16, 20, 0.6);
  outline: none;
}

@media (min-width: 768px) {
  .tariff-light-media {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .tariff-light-media {
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ============ TARIFF MAXIMUM (image) ============ */
.tariff-maximum {
  background: var(--wine-dark);
  line-height: 0;
}

.tariff-maximum-media {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}

.tariff-maximum-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* seam fade from tariff LIGHT above — same anchor color/curve as the rest
   of the chain */
.tariff-maximum-media::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10%;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    var(--seam-color) 0%,
    var(--seam-mid) 25%,
    rgba(43, 9, 12, 0) 100%
  );
  pointer-events: none;
}

/* mild warm color-correction to keep the background in the same wine
   family as the rest of the page; the light tariff card stays untouched */
.tariff-maximum-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* seam into the reviews section below — solid at the true edge, clear
       of the price/CTA which sit above ~95% down */
    linear-gradient(to top, var(--seam-color) 0%, rgba(43, 9, 12, 0) 5%),
    radial-gradient(
      ellipse 64% 70% at 50% 52%,
      transparent 60%,
      rgba(75, 16, 20, 0.3) 82%,
      rgba(43, 9, 12, 0.48) 100%
    ),
    linear-gradient(
      rgba(75, 16, 20, 0.08),
      rgba(75, 16, 20, 0.08)
    );
  pointer-events: none;
}

@media (min-width: 768px) {
  .tariff-maximum-media {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .tariff-maximum-media {
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ============ COMPARE ============ */
.compare {
  position: relative;
  /* z-index:0 forces this to establish its own stacking context, so the
     z-index:-1 seam-fade pseudo below stays nested inside it (painted
     above this section's own background) instead of escaping to an
     ancestor context and rendering invisibly behind everything */
  z-index: 0;
  /* same anchor color as the photo seams above/below, with just the two
     soft accent glows layered on top for depth */
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, var(--seam-mid), transparent 62%),
    radial-gradient(ellipse 70% 50% at 15% 100%, rgba(43, 9, 12, 0.6), transparent 65%),
    var(--seam-color);
  overflow: hidden;
}

.compare::before {
  content: "";
  position: absolute;
  top: 4%;
  right: -20%;
  width: 75%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(160, 80, 90, 0.28), transparent 70%);
  pointer-events: none;
}

/* seam fade from the base-course photo above: the section's own top-center
   radial glow otherwise peaks right at y=0, reading as a hard bright band
   exactly at the photo/section boundary. Holding solid seam-color for the
   first ~110px (z-index:-1, so it sits above the section background but
   under all real content) lets that glow ease in instead of starting flat. */
.compare::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 110px;
  z-index: -1;
  background: linear-gradient(to bottom, var(--seam-color) 0%, rgba(43, 9, 12, 0) 100%);
  pointer-events: none;
}

.compare .section-inner {
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
}

.compare-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--taupe);
}

.compare-eyebrow span {
  flex: 1;
  max-width: 30px;
  height: 1px;
  background: rgba(251, 248, 244, 0.35);
}

.compare-title {
  margin-top: 10px;
  font-size: clamp(34px, 9vw, 40px);
  line-height: 1.1;
  text-align: center;
  color: var(--ivory);
}

.compare-subtitle {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 6vw, 28px);
  line-height: 1.2;
  text-align: center;
  color: rgba(251, 248, 244, 0.72);
}

.compare-grid {
  position: relative;
  margin-top: 20px;
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
}

.compare-card {
  position: relative;
  min-width: 0;
  padding: 14px 8px 12px;
  border-radius: 20px;
  text-align: center;
}

.compare-card--regular {
  background: linear-gradient(160deg, rgba(107, 34, 41, 0.55), rgba(43, 9, 12, 0.7));
  border: 1px solid rgba(251, 248, 244, 0.14);
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(251, 248, 244, 0.06);
}

.compare-card--hybrid {
  background: linear-gradient(160deg, var(--ivory), var(--cream));
  border: 1px solid rgba(251, 248, 244, 0.5);
  box-shadow: 0 18px 34px -18px rgba(43, 9, 12, 0.35), 0 0 0 1px rgba(251, 248, 244, 0.4);
}

.compare-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(160, 80, 90, 0.55), rgba(43, 9, 12, 0.85));
  border: 1px solid rgba(251, 248, 244, 0.25);
  color: var(--taupe);
}

.compare-card-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  max-width: 17px;
  max-height: 17px;
  flex-shrink: 0;
}

.compare-card--hybrid .compare-card-icon {
  background: radial-gradient(circle at 35% 30%, rgba(75, 16, 20, 0.9), rgba(43, 9, 12, 0.95));
  border-color: rgba(75, 16, 20, 0.3);
  color: var(--taupe);
}

.compare-card h3 {
  font-size: clamp(14px, 4vw, 17px);
  line-height: 1.2;
  color: var(--ivory);
}

.compare-card--hybrid h3 {
  color: var(--wine);
}

.compare-points {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.compare-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 1px;
  font-size: clamp(13px, 3.4vw, 14.5px);
  line-height: 1.38;
  color: rgba(251, 248, 244, 0.85);
  border-bottom: 1px solid rgba(251, 248, 244, 0.12);
}

.compare-points li > span:last-child {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.compare-points li:last-child {
  border-bottom: 0;
}

.compare-card--hybrid .compare-points li {
  color: var(--text);
  border-bottom-color: var(--line);
}

.compare-marker {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(160, 80, 90, 0.55), rgba(43, 9, 12, 0.85));
  color: var(--ivory);
}

.compare-marker svg {
  display: block;
  width: 10px;
  height: 10px;
  max-width: 10px;
  max-height: 10px;
  flex-shrink: 0;
}

.compare-vs {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--ivory), var(--cream));
  border: 1px solid rgba(251, 248, 244, 0.6);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--wine);
  position: absolute;
  left: 44%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.compare-banner {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(107, 34, 41, 0.55), rgba(43, 9, 12, 0.7));
  border: 1px solid rgba(251, 248, 244, 0.16);
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.6);
}

.compare-banner-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(160, 80, 90, 0.55), rgba(43, 9, 12, 0.85));
  border: 1px solid rgba(251, 248, 244, 0.2);
  color: var(--taupe);
}

.compare-banner-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
}

.compare-banner p {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--ivory);
}

/* directional reveals — override the generic translateY .reveal */
.reveal-left.reveal {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-right.reveal {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-scale.reveal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-scale.reveal.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.compare-eyebrow.reveal { transition-delay: 0s; }
.compare-title.reveal { transition-delay: 0.1s; }
.compare-subtitle.reveal { transition-delay: 0.15s; }
.compare-card--regular.reveal-left { transition-delay: 0.25s; }
.compare-card--hybrid.reveal-right { transition-delay: 0.35s; }
.compare-vs.reveal-scale { transition-delay: 0.5s; }
.compare-banner.reveal { transition-delay: 0.65s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-left.reveal,
  .reveal-right.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .reveal-scale.reveal {
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
    transition: none !important;
  }
}

/* ============ REVIEWS ============ */
.reviews {
  position: relative;
  /* see .compare for why: without this, the z-index:-1 seam-fade pseudo
     below would escape to an ancestor stacking context and render
     invisibly behind this section's own background */
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 45% at 50% 0%, var(--seam-mid), transparent 62%),
    radial-gradient(ellipse 70% 45% at 85% 100%, rgba(43, 9, 12, 0.55), transparent 65%),
    var(--seam-color);
  overflow: hidden;
}

.reviews .section-inner {
  position: relative;
  padding-top: 48px;
  padding-bottom: 0;
  text-align: center;
}

/* seam fade from the tariff-maximum photo above — same fix as .compare::after:
   holds solid seam-color briefly so the section's own top glow eases in
   instead of starting as a hard band right at the photo/section boundary */
.reviews::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 110px;
  z-index: -1;
  background: linear-gradient(to bottom, var(--seam-color) 0%, rgba(43, 9, 12, 0) 100%);
  pointer-events: none;
}

.reviews-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--taupe);
}

.reviews-eyebrow span {
  flex: 1;
  max-width: 30px;
  height: 1px;
  background: rgba(251, 248, 244, 0.35);
}

.reviews-title {
  margin-top: 10px;
  font-size: clamp(34px, 9vw, 42px);
  line-height: 1.1;
  color: var(--ivory);
}

.reviews-subtitle {
  margin-top: 8px;
  font-size: clamp(15px, 4vw, 17px);
  color: rgba(251, 248, 244, 0.72);
}

.reviews-carousel {
  position: relative;
  margin-top: 32px;
  padding: 0 8px;
}

.reviews-track {
  position: relative;
  height: clamp(380px, 108vw, 470px);
  overflow: hidden;
}

/* Deliberately 2D-only (translateX + scale + opacity + brightness).
   An earlier version added perspective/rotateY for a "tilted" side-card
   look, but 3D transforms inside an overflow:hidden, absolutely
   positioned stack are exactly the kind of thing Chrome on Android
   composites/rasterizes differently from Safari — softly blurred or
   subtly skewed edges on the review screenshots. Flat transforms render
   identically everywhere and read as stable, not stretched. */
.review-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(280px, 76%);
  max-width: 280px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
  background: var(--ivory);
  transform: translate(-50%, -50%);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s ease, filter 0.7s ease;
  z-index: 1;
}

.review-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.review-slide[data-state="active"] {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  filter: brightness(1);
  z-index: 3;
}

.review-slide[data-state="prev"] {
  transform: translate(calc(-50% - 56%), -50%) scale(0.82);
  opacity: 0.6;
  filter: brightness(0.72);
  z-index: 2;
}

.review-slide[data-state="next"] {
  transform: translate(calc(-50% + 56%), -50%) scale(0.82);
  opacity: 0.6;
  filter: brightness(0.72);
  z-index: 2;
}

.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(251, 248, 244, 0.35);
  background: rgba(43, 9, 12, 0.35);
  color: var(--ivory);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.reviews-arrow svg {
  display: block;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex-shrink: 0;
}

.reviews-arrow--prev {
  left: 0;
}

.reviews-arrow--next {
  right: 0;
}

@media (hover: hover) and (pointer: fine) {
  .reviews-arrow:hover {
    background: rgba(75, 16, 20, 0.55);
    border-color: rgba(251, 248, 244, 0.6);
  }
}

.reviews-arrow:active {
  background: rgba(75, 16, 20, 0.6);
}

.reviews-arrow:focus-visible {
  box-shadow: 0 0 0 2px rgba(251, 248, 244, 0.85);
}

.reviews-meta {
  padding-top: 20px;
  padding-bottom: 48px;
  text-align: center;
}

.reviews-indicator {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: rgba(251, 248, 244, 0.8);
}

.reviews-divider {
  display: block;
  width: 1px;
  height: 22px;
  margin: 12px auto;
  background: rgba(251, 248, 244, 0.3);
}

.reviews-followup {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(251, 248, 244, 0.65);
}

/* ============ WHY (new) ============ */
.why-new {
  position: relative;
  background:
    radial-gradient(ellipse 80% 40% at 20% 0%, var(--seam-mid), transparent 60%),
    var(--seam-color);
  overflow: hidden;
}

.why-new .section-inner {
  position: relative;
  padding-top: 28px;
  padding-bottom: 48px;
}

/* full-composition visual (headline, photo, signature line — all baked
   into the artwork); cropped to its top portion only, right where the
   photo ends, so the picture's own baked-in row list never shows — the
   four rows and final line below are real, separately animated HTML */
.why-new-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 941 / 855;
  overflow: hidden;
}

.why-new-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* soft fade at the crop line so it reads as an intentional edge rather
   than an abrupt cut, and eases into the real HTML rows below */
.why-new-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14%;
  background: linear-gradient(to top, var(--seam-color) 0%, rgba(43, 9, 12, 0) 100%);
  pointer-events: none;
}

.why-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Grid, not flex: an explicit track list with minmax(0, 1fr) for the
   text column is the most browser-consistent way to guarantee the icon
   and number stay pinned to their own fixed-width tracks regardless of
   text length — a flex row can, in edge cases, let intrinsic content
   size (an SVG in particular) push a "fixed" sibling wider than intended. */
.why-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 1px auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(107, 34, 41, 0.5), rgba(43, 9, 12, 0.62));
  border: 1px solid rgba(251, 248, 244, 0.14);
  box-shadow: 0 14px 28px -20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(251, 248, 244, 0.06);
}

.why-row-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  max-width: 46px;
  max-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(160, 80, 90, 0.55), rgba(43, 9, 12, 0.85));
  border: 1px solid rgba(251, 248, 244, 0.22);
  color: var(--taupe);
}

.why-row-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
}

.why-row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.why-row-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(16px, 4.2vw, 18px);
  font-weight: 500;
  color: var(--ivory);
}

.why-row-text span {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(251, 248, 244, 0.68);
}

.why-row-divider {
  width: 1px;
  height: 100%;
  min-width: 1px;
  background: rgba(251, 248, 244, 0.2);
}

.why-row-number {
  min-width: 24px;
  text-align: right;
  font-family: var(--font-serif);
  font-size: 14px;
  color: rgba(251, 248, 244, 0.45);
}

.why-row:nth-child(1).reveal-left { transition-delay: 0s; }
.why-row:nth-child(2).reveal-left { transition-delay: 0.1s; }
.why-row:nth-child(3).reveal-left { transition-delay: 0.2s; }
.why-row:nth-child(4).reveal-left { transition-delay: 0.3s; }

.why-new-final {
  margin-top: 24px;
  padding: 22px 20px;
  border-radius: 24px;
  text-align: center;
  background: rgba(251, 248, 244, 0.05);
  border: 1px solid rgba(251, 248, 244, 0.16);
}

.why-new-final p {
  font-family: var(--font-serif);
  font-size: clamp(17px, 4.6vw, 20px);
  line-height: 1.45;
  color: var(--ivory);
}

.why-new-final em {
  font-style: italic;
  color: var(--taupe);
}

.why-new-city {
  margin-top: 18px;
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251, 248, 244, 0.5);
}

/* ============ FAQ ============ */
.faq {
  background: var(--wine-dark);
  color: var(--ivory);
}

.faq .section-inner {
  padding-top: 56px;
  padding-bottom: 56px;
}

.faq .section-title {
  color: var(--ivory);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-media {
  display: none;
}

.faq .media-placeholder--faq {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--wine-soft), var(--wine) 55%, var(--wine-dark) 130%);
  color: var(--taupe);
  border: 1px solid var(--line-on-wine);
}

.accordion {
  margin-top: 24px;
  border-top: 1px solid var(--line-on-wine);
}

.accordion-item {
  border-bottom: 1px solid var(--line-on-wine);
}

.accordion-item h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  margin: 0;
}

.accordion-trigger {
  width: 100%;
  min-height: 48px;
  padding: 15px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--ivory);
  cursor: pointer;
}

.accordion-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--taupe);
  border-radius: 2px;
}

.accordion-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.accordion-icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  transition: transform 0.2s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.accordion-panel {
  padding: 0 4px 20px;
  color: rgba(251, 248, 244, 0.7);
  font-size: 15px;
  line-height: 1.6;
}

.accordion-panel p + p {
  margin-top: 12px;
}

/* ============ FINAL CTA (image) ============ */
.final-cta {
  background: var(--wine-dark);
  line-height: 0;
}

.final-cta-media {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}

.final-cta-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* seam fade from FAQ above — the photo's own top row runs a touch warmer
   than --wine-dark, so this holds the neighbor's tone at the true edge
   and eases into the photo, same pattern as course-media/tariff-*-media */
.final-cta-media::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8%;
  z-index: 1;
  background: linear-gradient(to bottom, var(--seam-color) 0%, rgba(43, 9, 12, 0) 100%);
  pointer-events: none;
}

/* seam fade into the footer below */
.final-cta-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5%;
  z-index: 1;
  background: linear-gradient(to top, var(--seam-color) 0%, rgba(43, 9, 12, 0) 100%);
  pointer-events: none;
}

/* hotspot buttons over the two baked-in pills in final-cta-block.jpg —
   coordinates measured directly from the source image (941x1672) */
.final-cta-trigger {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: transparent;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease;
}

.final-cta-trigger:focus,
.final-cta-trigger:active {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .final-cta-trigger:hover {
    background: rgba(251, 248, 244, 0.12);
  }
}

.final-cta-trigger:focus-visible {
  background: rgba(251, 248, 244, 0.12);
  box-shadow: inset 0 0 0 2px rgba(251, 248, 244, 0.85);
  outline: none;
}

.final-cta-trigger--testdrive {
  left: 12.2%;
  right: 12.3%;
  top: 44.5%;
  bottom: 46.8%;
}

.final-cta-trigger--course {
  left: 12.6%;
  right: 12.7%;
  top: 71.5%;
  bottom: 19.6%;
}

@media (min-width: 768px) {
  .final-cta-media {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .final-cta-media {
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--wine-dark);
  color: var(--ivory);
  padding-bottom: var(--safe-bottom);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 20px calc(32px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-brand .brand-name {
  color: var(--ivory);
}

.footer-brand p {
  margin-top: 10px;
  color: rgba(251, 248, 244, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 15px;
  color: rgba(251, 248, 244, 0.85);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(251, 248, 244, 0.85);
  min-height: var(--tap-min);
}

.instagram-icon {
  width: 20px;
  height: 20px;
}

.footer-city {
  font-size: 13px;
  color: rgba(251, 248, 244, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-legal {
  border-top: 1px solid var(--line-on-wine);
}

.footer-legal nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 20px calc(20px + var(--safe-bottom));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.footer-legal a {
  font-size: 12.5px;
  color: rgba(251, 248, 244, 0.55);
}

.footer-legal a:hover {
  color: rgba(251, 248, 244, 0.85);
}

.footer-legal span[aria-hidden="true"] {
  color: rgba(251, 248, 244, 0.3);
  font-size: 12.5px;
}

/* ============ CONTACT / MESSENGER MODAL ============ */
body.modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 6, 8, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.contact-modal.is-open .contact-modal-backdrop {
  opacity: 1;
}

.contact-modal-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--ivory);
  color: var(--text);
  border-radius: 26px 26px 0 0;
  padding: 26px 22px calc(24px + var(--safe-bottom));
  box-shadow: 0 -16px 48px -16px rgba(43, 9, 12, 0.45), 0 0 0 1px rgba(75, 16, 20, 0.06);
  transform: translateY(28px);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  outline: none;
}

.contact-modal.is-open .contact-modal-panel {
  transform: translateY(0);
  opacity: 1;
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--wine);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.contact-modal-close svg {
  width: 15px;
  height: 15px;
}

@media (hover: hover) and (pointer: fine) {
  .contact-modal-close:hover {
    background: var(--taupe);
  }
}

.contact-modal-title {
  padding-right: 40px;
  font-size: clamp(21px, 5.4vw, 25px);
  line-height: 1.2;
  color: var(--wine-dark);
}

.contact-modal-subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.contact-modal-options {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 72px;
  padding: 12px 16px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.contact-option:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .contact-option:hover {
    background: var(--ivory);
    border-color: rgba(75, 16, 20, 0.28);
  }
}

.contact-option:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}

.contact-option-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wine);
  color: var(--ivory);
}

.contact-option-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex-shrink: 0;
}

.contact-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-option-label {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}

.contact-option-sub {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
}

@media (min-width: 560px) {
  .contact-modal {
    align-items: center;
    padding: 24px;
  }

  .contact-modal-panel {
    border-radius: 26px;
    padding: 32px 30px 30px;
    transform: translateY(16px) scale(0.98);
  }

  .contact-modal.is-open .contact-modal-panel {
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-modal-backdrop,
  .contact-modal-panel,
  .contact-option {
    transition: none !important;
  }
}

/* ============================================
   BREAKPOINT: >= 560px — comfier phones / small tablets
   ============================================ */
@media (min-width: 560px) {
  .hero-cta-overlay {
    flex-direction: row;
  }

  .hero-cta-overlay .btn {
    flex: 1;
  }
}

/* ============================================
   BREAKPOINT: >= 768px — tablet
   ============================================ */
@media (min-width: 768px) {
  .section-inner {
    padding: 88px 32px;
  }

  .hero-media-full {
    max-width: 480px;
    margin: 0 auto;
  }

  .test-drive-teaser-media {
    max-width: 480px;
    margin: 0 auto;
  }

  .test-drive-media-link {
    max-width: 480px;
    margin: 0 auto;
  }

  .course-media {
    max-width: 480px;
    margin: 0 auto;
  }

  .reviews-carousel {
    max-width: 480px;
    margin-inline: auto;
    margin-top: 32px;
  }

  .why-new-hero {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .brand-tagline {
    display: block;
  }

  .brand-name {
    font-size: 22px;
  }
}

/* ============================================
   BREAKPOINT: >= 1024px — desktop
   ============================================ */
@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }

  .main-nav ul {
    display: flex;
    gap: 28px;
  }

  .main-nav a {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
  }

  .main-nav a:hover {
    color: var(--wine);
    border-color: var(--wine);
  }

  .btn-header-cta {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .hero-media-full {
    max-width: 640px;
    margin: 0 auto;
  }

  .test-drive-teaser-media {
    max-width: 640px;
    margin: 0 auto;
  }

  .test-drive-media-link {
    max-width: 520px;
    margin: 0 auto;
  }

  .course-media {
    max-width: 520px;
    margin: 0 auto;
  }

  .why-new-hero {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .compare-card {
    padding: 28px 24px;
  }

  .compare-vs {
    width: 62px;
    height: 62px;
    font-size: 16px;
  }

  .faq-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 56px;
  }

  .faq-media {
    display: block;
    flex: 0 0 320px;
  }

  .faq-content {
    flex: 1;
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-nav ul {
    flex-direction: row;
    gap: 24px;
  }

  .footer-meta {
    align-items: flex-end;
  }
}

/* ============================================
   BREAKPOINT: >= 1280px — wide desktop
   ============================================ */
@media (min-width: 1280px) {
  .section-inner {
    padding: 104px 32px;
  }
}
