/* =========================================================
   MAHINDRA XUV 7XO — Premium single-file redesign
   ========================================================= */

/* ---------- Reset ---------- */
body.xuv7xo-page, body.xuv7xo-page *, body.xuv7xo-page *::before, body.xuv7xo-page *::after { box-sizing: border-box; }
body.xuv7xo-page { margin:0; padding:0; }
body.xuv7xo-page .container,
body.xuv7xo-page .container-fluid,
body.xuv7xo-page .container-sm,
body.xuv7xo-page .container-md,
body.xuv7xo-page .container-lg,
body.xuv7xo-page .container-xl,
body.xuv7xo-page .container-xxl {
  --bs-gutter-x:1.5rem;
  --bs-gutter-y:0;
  width:100%;
  margin-right:auto;
  margin-left:auto;
  padding-right:calc(var(--bs-gutter-x) * .5);
  padding-left:calc(var(--bs-gutter-x) * .5);
}
/* Keep Bootstrap container gutters from stacking with the global navbar inset. */
body.xuv7xo-page .navbar-shell { padding-inline:clamp(36px,5vw,110px); }
@media (max-width:575px) {
  body.xuv7xo-page .navbar-shell { padding-inline:16px; }
}
html.xuv7xo-document { margin:0; padding:0; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.xuv7xo-page {
background: #060606;
  color: #f4f4f4;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.xuv7xo-page img { max-width: 100%; display: block; }
/* The page-wide image reset otherwise overrides the enquiry popup's logo cap. */
body.xuv7xo-page #auto-enquiry-popup .auto-enquiry-popup__brandbar img {
  max-width:120px;
}
@media (max-width:575.98px) {
  body.xuv7xo-page #auto-enquiry-popup .auto-enquiry-popup__brandbar img {
    max-width:96px;
  }
}
body.xuv7xo-page a { color: inherit; text-decoration: none; }
body.xuv7xo-page button {  cursor: pointer; border: none;  }
body.xuv7xo-page ul { list-style: none; }

body.xuv7xo-page {
  --bg: #060606;
  --bg-soft: #0d0d0d;
  --bg-card: #131313;
  --bg-elev: #1a1a1a;
  --text: #ffffff;
  --text-mute: #a8a8a8;
  --text-dim: #6a6a6a;
  --line: #232323;
  --accent: #e31837;          /* Mahindra red */
  --accent-soft: rgba(227, 24, 55, 0.12);
  --accent-glow: rgba(227, 24, 55, 0.45);
  --white: #fff;
  --radius: 6px;
  --radius-lg: 16px;
  --maxw: 1320px;
  
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px -8px var(--accent-glow);
}
.btn-primary:hover { background: #ff2046; transform: translateY(-2px); box-shadow: 0 12px 40px -8px var(--accent-glow); }
.btn-light { background: #fff; color: #0a0a0a; }
.btn-light:hover { background: #f0f0f0; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------- Section base ---------- */
.section { padding: 120px 0; position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--accent);
}
.section-title {
font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-sub {
  color: var(--text-mute);
  font-size: 17px;
  max-width: 640px;
  margin: 0;
  line-height: 1.65;
}
.section-head {
  margin-bottom: 64px;
  max-width: 800px;
}

/* =========================================================
   HERO — split layout: text left, car right
   ========================================================= */
.hero {
  --text: #171717;
  --text-mute: #595959;
  --text-dim: #747474;
  position: relative;
  height: calc(100vh - 132px);
  height: calc(100svh - 132px);
  min-height: min(500px, calc(100svh - 132px));
  overflow: hidden;
  display: grid;
  column-gap: clamp(4px, .7vw, 10px);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  /* background: #F6F6F4; */
}
/* Designed backdrop layers (no external bg image) — span full hero */
.hero-bg-layer {
  position: absolute; inset: 0;
  z-index: 0;
  background: #F6F6F4;
  will-change: transform;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 75%);
}
/* Left column — text */
.hero-content {
  position: relative;
  z-index: 4;
  margin-left: max(0px, calc((100vw - 1320px) / 2));
  padding: 0 12px;
  max-width: 640px;
}
/* Right column — car image */
.hero-visual {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px 0 0;
  height: 100%;
  flex-direction: column;
  gap: 14px;
}
.hero-image-slider {
  width: 100%;
  max-width: 900px;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  grid-template-rows: auto auto auto;
  align-content: center;
  align-items: center;
  gap: 3px;
  padding: 2px 26px 2px 10px;
}
.hero-colour-name {
  grid-column:1;
  grid-row:1;
  justify-self:center;
  color:var(--text);
  font-weight:600; font-size:12px;
  letter-spacing:1.8px;
  text-align:center;
  text-transform:uppercase;
  padding-bottom:4px;
}
.hero-slider-stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
}
.hero-car {
  position: relative;
  width: 108%;
  max-width: 920px;
  pointer-events: none;
}
.hero-car img { width: 100%; filter: none !important; box-shadow: none !important; }
.hero-car::after { display: none; }
.hero-slider-arrow {
  position: relative;
  z-index: 6;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  background: #111;
  font-size: 19px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-slider-arrow:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.hero-slider-arrow svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.hero-slider-controls { position:relative; z-index:6; min-height:44px; display:flex; align-items:center; justify-content:center; gap:14px; margin-top:-10px; }
.hero-slider-stage, .hero-slider-controls { grid-column:1; }
.hero-slider-stage { grid-row:2; }
.hero-slider-controls { grid-row:3; }
.hero-colour-picker { grid-column:2; grid-row:1 / span 3; }
.hero-colour-picker { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; }
.hero-colour-swatch {
  width:23px; height:23px; flex:0 0 auto; padding:0;
  border:1px solid #e31837; border-radius:50%;
  cursor:pointer; position:relative; transition:transform .2s ease, box-shadow .2s ease;
}
body.xuv7xo-page .hero-colour-swatch { border:1px solid #e31837; }
.hero-colour-swatch:hover { transform:scale(1.12); }
.hero-colour-swatch[aria-pressed="true"] { border:2px solid #e31837; box-shadow:0 0 0 2px rgba(227,24,55,.28); transform:scale(1.08); }
.hero-colour-swatch:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
/* Right-side vertical badge (decorative) */
.hero-visual::before {
  content: 'XUV · 7XO';
  position: absolute;
  top: 50%; right: 18px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
font-size: 11px;
  font-weight: 700;
  letter-spacing: 6px;
  color: rgba(0,0,0,0.16);
  z-index: 4;
  white-space: nowrap;
  pointer-events: none;
}
/* Optional dark left vignette so text stays readable */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: none;
  z-index: 2;
  pointer-events: none;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 8px 18px;
  border: 1px solid rgba(227,24,55,0.4);
  border-radius: 100px;
  background: rgba(227,24,55,0.08);
  backdrop-filter: blur(10px);
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(.7); } }
.hero h1 {
font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 .accent-word {
  color: var(--accent);
  display: inline-block;
  position: relative;
}
.hero .hero-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  color: #cfcfcf;
  max-width: 520px;
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.65;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.hero-stats .stat-item .v {
font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}
.hero-stats .stat-item .k {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 600;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-mute);
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--accent), transparent);
  margin: 12px auto 0;
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: '';
  position: absolute;
  top: -36px; left: 0;
  width: 100%; height: 36px;
  background: var(--accent);
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown { 0% { top: -36px; } 100% { top: 36px; } }

/* =========================================================
   OVERVIEW — paragraph-style prose with inline highlights
   ========================================================= */
.overview {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(227,24,55,0.08), transparent 50%),
    linear-gradient(180deg, #060606, #0c0c0c);
  border-top: 1px solid var(--line);
}
.overview .section-head,
.overview-prose {
  width:100%;
  max-width:none;
}
.overview-prose {
  margin-top: 0;
}
.section:not(.hero) .section-head { margin-bottom:32px !important; }
    .section.overview { padding-bottom:clamp(48px,5vw,64px) !important; }
    .section.highlights { padding-top:clamp(48px,5vw,64px) !important; }
    .section.highlights { padding-bottom:clamp(48px,6vw,72px) !important; }
    .section.ie-section { padding-top:clamp(48px,6vw,72px) !important; }
.overview-prose p {
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.75;
  color: #c5c5c5;
  margin-bottom: 28px;
  font-weight: 400;
}
.overview-prose p:last-child { margin-bottom: 0; }
.overview-word { display:inline-block; white-space:nowrap; }
.overview-char { display:inline-block; will-change:transform,opacity; }
.overview-prose .lead {
  font-size: clamp(17px, 1.7vw, 20px);
  color: #f4f4f4;
  font-weight: 500;
  line-height: 1.6;
}
.overview-prose .hl {
  color: var(--accent);
  font-weight: 700;
letter-spacing: 0.3px;
}
.overview-prose .hl-soft {
  color: #fff;
  font-weight: 700;
}
.overview-prose .stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.overview-prose .stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: all 0.3s;
}
.overview-prose .stat-chip:hover { border-color: rgba(227,24,55,0.4); transform: translateY(-2px); }
.overview-prose .stat-chip .num {
font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.overview-prose .stat-chip .lbl {
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* =========================================================
   HIGHLIGHTS — alternating sticky layout
   ========================================================= */
.highlights {
  background: linear-gradient(180deg, #060606, #0a0a0a 50%, #060606);
}
.hl-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}
.hl-block:last-child { margin-bottom: 0; }
.hl-block.reverse .hl-visual { order: 2; }
.hl-visual {
  position: relative;
  aspect-ratio: 16/11;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.hl-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.4,0,.2,1);
}
.hl-block:hover .hl-visual img { transform: scale(1.04); }
.hl-visual .num-tag {
  position: absolute;
  top: 20px; left: 20px;
font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--accent);
  background: rgba(0,0,0,0.6);
  padding: 8px 14px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
}
.hl-visual .img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5) 100%);
}
.hl-text .hl-eyebrow {
font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}
.hl-text h3 {
font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hl-text p {
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 500px;
}
.hl-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hl-feature-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #c5c5c5;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 100px;
  text-transform: uppercase;
}

/* =========================================================
   INTERIOR/EXTERIOR — tabbed image grid
   ========================================================= */
.ie-section {
  background: linear-gradient(180deg, #060606, #0c0c0c 50%, #060606);
}
.ie-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 32px;
  background: var(--bg-card);
  padding: 6px;
  border-radius: 100px;
  border: 1px solid var(--line);
  width: fit-content;
  margin-left: 0;
  margin-right: 0;
}
.ie-tab {
  padding: 12px 32px;
font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mute);
  border-radius: 100px;
  transition: all 0.3s;
}
.ie-tab.active { background: var(--accent); color: #fff; box-shadow: none; }
.ie-tab:not(.active):hover { color: #fff; }
.ie-grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.ie-grid::-webkit-scrollbar { display: none; }
.ie-card {
  position: relative;
  flex: 0 0 clamp(240px, 23vw, 300px);
  min-width: 0;
  scroll-snap-align: start;
  background: transparent;
  border: 0;
  transition: transform 0.3s ease;
}
.ie-card:hover { transform: translateY(-4px); }
.ie-card img { display:block; width:100%; height:auto; aspect-ratio:5/6; object-fit:cover; transition:transform 0.5s; }
.ie-card:hover img { transform: scale(1.025); }
.ie-card .meta {
  position:static;
  display:block;
  padding:14px 0 0;
  background:none;
}
.ie-card h4 {
font-size: 18px;
  font-weight: 600;
  text-transform:none;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.ie-card p { font-size: 13px; color: var(--text-mute); line-height: 1.5; margin:0; }
.ie-card .corner-tag {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
font-size: 13px;
  font-weight: 800;
  display:none;
}
.ie-panel { display: none; }
.ie-panel.active { display: block; }
.ie-carousel-controls { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:32px; }
.ie-carousel-progress { width:64px; height:2px; overflow:hidden; background:rgba(255,255,255,.22); }
.ie-carousel-progress span { display:block; width:32%; height:100%; background:var(--accent); transform-origin:left center; transition:transform .25s ease; }
.ie-carousel-arrows { display:flex; align-items:center; gap:14px; }
.ie-carousel-arrow {
  display:grid;
  width:44px;
  height:44px;
  place-items:center;
  border:1px solid rgba(255,255,255,.55);
  border-radius:50%;
  color:#fff;
  background:#111;
  font-size:19px;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.ie-carousel-arrow:not(:disabled):hover { background:var(--accent); border-color:var(--accent); transform:scale(1.08); }
.ie-carousel-arrow:disabled { opacity:.35; cursor:default; }
.ie-carousel-arrow:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
html.xuv7xo-document[data-theme="light"] .ie-carousel-progress { background:rgba(0,0,0,.16); }
html.xuv7xo-document[data-theme="light"] .ie-card p { color:#5e5e5e; }
@media (max-width:768px) { .ie-carousel-arrow { width:34px; height:34px; font-size:15px; } }
@media (max-width:575px) { .ie-grid { gap:20px; } .ie-card { flex-basis:min(78vw,320px); } .ie-carousel-controls { margin-top:24px; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hl-block, .hl-block.reverse { grid-template-columns: 1fr; gap: 32px; }
  .hl-block.reverse .hl-visual { order: 0; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  /* Hero stacks: text on top, car below */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    height: calc(100vh - 132px);
    height: calc(100svh - 132px);
    min-height: min(500px, calc(100svh - 132px));
    padding: 20px 0;
    align-content: center;
  }
  .hero-content { margin-left:0; padding: 0 12px; max-width: 100%; }
  .hero-visual { padding: 8px 12px 0; min-height: 0; }
  .hero-car { width:100%; max-width:600px; }
  .hero-visual::before { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero {
    height: calc(100vh - 148px);
    height: calc(100svh - 148px);
    min-height: min(480px, calc(100svh - 148px));
    padding: 16px 0;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .hero-content { padding: 0 12px; }
  .hero-stats { gap: 20px; }
  .hero-stats .stat-item .v { font-size: 24px; }
  .hero-cta .btn { width: 100%; }
  .hero-car { width:100%; max-width:100%; }
  .hero-image-slider { grid-template-columns:minmax(0,1fr) 30px; gap:6px; padding:0 12px; }
  .hero-colour-picker { gap:7px; }
  .hero-colour-swatch { width:17px; height:17px; }
  .hero-slider-arrow { width:34px; height:34px; font-size:15px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 40px; letter-spacing: -1px; }
  .hero {
    height: calc(100vh - 130px);
    height: calc(100svh - 130px);
    min-height: min(460px, calc(100svh - 130px));
  }
  .overview-prose .stat-chip { padding: 10px 16px; }
  .overview-prose .stat-chip .num { font-size: 18px; }
}

    body.xuv7xo-page {  background: var(--page-bg); color: var(--page-text); }
    .overview-prose p, .hl-text p, .section-sub {  }
    html.xuv7xo-document[data-theme="light"] body.xuv7xo-page { --bg:#f6f6f4; --bg-soft:#efefeb; --bg-card:#fff; --bg-elev:#fff; --text:#111; --text-mute:#5e5e5e; --text-dim:#737373; --line:rgba(0,0,0,.1); background:var(--page-bg); color:var(--page-text); }
    html.xuv7xo-document[data-theme="light"] .overview, html.xuv7xo-document[data-theme="light"] .highlights, html.xuv7xo-document[data-theme="light"] .ie-section { background:var(--page-bg); }
    html.xuv7xo-document[data-theme="light"] .hero { background:#f6f6f4; }
    html.xuv7xo-document[data-theme="light"] .hero-bg-layer { background:linear-gradient(180deg,#fff 0%,#f6f6f4 75%,#efefeb 100%); }
    html.xuv7xo-document[data-theme="light"] .hero-bg-grid { background-image:linear-gradient(rgba(0,0,0,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.035) 1px,transparent 1px); }
    html.xuv7xo-document[data-theme="light"] .hero::after { background:linear-gradient(90deg,rgba(255,255,255,.55),transparent 45%); }
    html.xuv7xo-document[data-theme="light"] .hero h1, html.xuv7xo-document[data-theme="light"] .hero-stats .stat-item .v { color:#111; }
    html.xuv7xo-document[data-theme="light"] .hero .hero-sub { color:#444; }
    /* Keep the hero backdrop theme-aware; do not override the site theme globally. */
    html.xuv7xo-document[data-theme="light"] .hero, html.xuv7xo-document[data-theme="light"] .hero-bg-layer { background:#F6F6F4; background-image:none; }
    html.xuv7xo-document[data-theme="light"] .hero-bg-grid { background-image:none; }
    html.xuv7xo-document[data-theme="dark"] .hero { --text:#fff; --text-mute:#b8b8b8; --text-dim:#858585; background:#080808; color:#fff; }
    html.xuv7xo-document[data-theme="dark"] .hero-bg-layer { background:linear-gradient(135deg,#151515 0%,#080808 58%,#111 100%); }
    html.xuv7xo-document[data-theme="dark"] .hero-bg-grid { background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); }
    html.xuv7xo-document[data-theme="dark"] .hero h1, html.xuv7xo-document[data-theme="dark"] .hero-stats .stat-item .v { color:#fff; }
    html.xuv7xo-document[data-theme="dark"] .hero .hero-sub { color:#cfcfcf; }
    html.xuv7xo-document[data-theme="dark"] .hero .hero-tag { color:#ff4d66; }
    html.xuv7xo-document[data-theme="dark"] .hero-visual::before { color:rgba(255,255,255,.16); }
    .hero-cta .btn {
      min-height:42px;
      padding:10px 16px;
      border:1px solid #e31837;
      border-radius:0;
      background:#e31837;
      color:#fff;
      text-decoration:none;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      font-size:13px;
      font-weight:600;
      letter-spacing:.05em;
      text-transform:uppercase;
      box-shadow:none;
      transition:background .2s ease,border-color .2s ease,color .2s ease;
    }
    .hero-cta .btn:hover { background:#c91631; border-color:#c91631; color:#fff; transform:none; box-shadow:none; }
    #highlights.section { padding:0 !important; }
    .highlights-showcase {
      position:relative;
      isolation:isolate;
      width:100%;
      height:100svh;
      min-height:600px;
      max-height:1000px;
      overflow:hidden;
      color:#fff;
      background:#080808;
    }
    .highlights-showcase__image,
    .highlights-showcase__shade { position:absolute; inset:0; width:100%; height:100%; }
    .highlights-showcase__image { z-index:-2; object-fit:cover; object-position:center; opacity:1; transition:opacity .35s ease,transform .8s ease; }
    .highlights-showcase__shade {
      z-index:-1;
      background:linear-gradient(90deg,rgba(0,0,0,.94) 0%,rgba(0,0,0,.75) 34%,rgba(0,0,0,.2) 72%,rgba(0,0,0,.18) 100%),linear-gradient(0deg,rgba(0,0,0,.55),transparent 45%);
    }
    .highlights-tabs {
      position:absolute;
      z-index:2;
      top:auto;
      bottom:clamp(22px,3vw,42px);
      left:clamp(20px,4vw,76px);
      right:clamp(20px,4vw,76px);
      display:flex;
      gap:10px;
      overflow:visible;
      scrollbar-width:none;
      padding:0;
      justify-content:center;
    }
    .highlights-tabs::-webkit-scrollbar { display:none; }
    .highlights-mobile-nav { display:none; }
    .highlights-tab {
      position:relative;
      flex:1 1 0;
      min-width:0;
      min-height:40px;
      padding:7px 6px;
      border:1px solid rgba(255,255,255,.1);
      background:rgba(28,24,22,.88);
      color:#f5f2ef;
      font-weight:500; font-size:12px;
      line-height:1.15;
      white-space:normal;
      transition:background .25s ease,color .25s ease,border-color .25s ease;
    }
    .highlights-tab:hover,.highlights-tab[aria-selected="true"] { background:var(--accent); border-color:var(--accent); color:#fff; }
    .highlights-tab:focus-visible { outline:2px solid #fff; outline-offset:3px; }
    .highlights-copy {
      position:absolute;
      z-index:1;
      top:26%;
      left:clamp(28px,4vw,76px);
      max-width:min(54%,720px);
      padding-right:24px;
      text-align:left;
    }
    .highlights-copy h2 { max-width:22ch; margin:0 0 12px; color:#fff; font-size:clamp(26px,3vw,40px); font-weight:700; line-height:1.15; letter-spacing:-.02em; text-align:left; }
    .highlights-copy p { max-width:52ch; margin:0; color:rgba(255,255,255,.9); font-size:clamp(16px,1.35vw,19px); line-height:1.55; text-align:left; }
    .highlights-count { position:absolute; z-index:1; right:clamp(24px,4vw,76px); bottom:92px; color:rgba(255,255,255,.78); font-weight:600; font-size:12px; letter-spacing:.16em; }
    @media (max-width:768px) {
      .highlights-showcase { height:82svh; min-height:560px; }
      .highlights-tabs { left:14px; right:14px; bottom:14px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; }
      .highlights-tab { min-height:34px; padding:6px 3px; font-size:9px; line-height:1.15; }
      .highlights-showcase__image { object-position:62% center; }
      .highlights-showcase__shade { background:linear-gradient(0deg,rgba(0,0,0,.95) 0%,rgba(0,0,0,.72) 52%,rgba(0,0,0,.18) 100%); }
      .highlights-copy { top:auto; bottom:155px; left:22px; right:22px; max-width:none; padding:0; }
      .highlights-copy h2 { font-size:clamp(25px,6vw,34px); }
      .highlights-copy p { font-size:15px; }
      .highlights-count { display:none; }
    }
    .eyebrow {
      display:inline-block;
      margin-bottom:12px;
      font-size:13px;
      font-weight:600;
      letter-spacing:.12em;
      text-transform:uppercase;
      color:#e31837;
    }
    section.section:not(.hero) .section-head > h2.section-title {
      margin:0 0 12px !important;
      font-size:clamp(24px,3vw,32px) !important;
      font-weight:700 !important;
      max-width:none !important;
      line-height:1.2 !important;
      display:block !important;
      white-space:nowrap;
      overflow:visible !important;
    }
    .section:not(.hero) .section-sub {
      margin:0;
      font-size:17px;
      color:var(--muted, var(--text-mute));
      max-width:48ch;
      display:-webkit-box;
      -webkit-line-clamp:2;
      -webkit-box-orient:vertical;
      overflow:hidden;
    }
    .hero h1 {
      margin:0 0 12px;
      font-size:clamp(30px,3.8vw,46px);
      font-weight:700;
      max-width:none;
      line-height:1.1;
      white-space:nowrap;
    }
    .hero .hero-sub {
      margin:0;
      font-size:18px;
      color:var(--text-mute);
      max-width:48ch;
      display:-webkit-box;
      -webkit-line-clamp:2;
      -webkit-box-orient:vertical;
      overflow:hidden;
    }
    html.xuv7xo-document[data-theme="light"] .overview-prose p, html.xuv7xo-document[data-theme="light"] .overview-prose .lead, html.xuv7xo-document[data-theme="light"] .overview-prose .hl-soft, html.xuv7xo-document[data-theme="light"] .hl-feature-pill, html.xuv7xo-document[data-theme="light"] .theme-toggle.is-day { color:var(--page-text); }
    .hero-cta .brochure-link { text-decoration:none; }
    /* Responsive refinements for phones, tablets, and compact landscape screens */
    @media (max-width:1024px) {
      .hero { height:auto; min-height:0; padding:clamp(36px,6vh,72px) 0 76px; row-gap:clamp(20px,4vw,40px); align-content:start; }
      .hero-content,.hero-visual { width:100%; }
      .hero-visual { height:auto; }
      .hero-image-slider { height:auto; min-height:0; }
      section.section:not(.hero) .section-head > h2.section-title { white-space:normal; }
    }
    @media (max-width:768px) {
      .section { padding:clamp(48px,9vw,72px) 0; }
      .section-head { margin-bottom:30px; }
      .section-title { font-size:clamp(28px,7vw,42px); letter-spacing:-.04em; }
      .section-sub { font-size:15px; }
      .hero { padding:34px 0 70px; row-gap:22px; }
      .hero-content { margin:0; padding:0 12px; }
      .hero h1 { max-width:100%; white-space:normal; font-size:clamp(30px,8vw,44px); line-height:1.08; }
      .hero .hero-sub { max-width:55ch; font-size:16px; line-height:1.55; }
      .hero-stats { gap:clamp(14px,5vw,28px); margin:24px 0; }
      .hero-stats .stat-item .v { font-size:clamp(20px,6vw,28px); }
      .hero-stats .stat-item .k { font-size:10px; letter-spacing:1px; }
      .hero-cta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; width:100%; max-width:440px; }
      .hero-cta .btn { width:100%; min-width:0; min-height:40px; padding:8px 4px; font-size:clamp(9px,2.8vw,11px); letter-spacing:.015em; white-space:nowrap; }
      .hero-visual { padding:0 12px; }
      .hero-image-slider { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto auto; gap:8px; padding:0; }
      .hero-colour-name { grid-column:1; grid-row:1; padding:0; font-size:11px; }
      .hero-slider-stage { grid-column:1; grid-row:2; width:100%; }
      .hero-car { width:100%; max-width:760px; }
      .hero-slider-controls { grid-column:1; grid-row:3; margin:0; }
      .hero-colour-picker { grid-column:1; grid-row:4; width:100%; flex-direction:row; justify-content:flex-start; overflow-x:auto; padding:8px 8px 12px; gap:12px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
      .hero-colour-picker::-webkit-scrollbar { display:none; }
      .hero-colour-swatch { width:22px; height:22px; }
      .hl-block,.hl-block.reverse { gap:24px; margin-bottom:54px; }
      .hl-visual { aspect-ratio:4/3; }
      .hl-text h3 { font-size:clamp(25px,6.5vw,36px); }
      .hl-text p { font-size:15px; }
      .highlights-showcase { height:82svh; min-height:600px; }
      .highlights-showcase { touch-action:pan-y; }

      .highlights-copy { bottom:130px; }
      .highlights-tabs { left:54px; right:54px; bottom:18px; display:flex; justify-content:center; gap:0; overflow:hidden; padding:0; }
      .highlights-tab { display:none; flex:0 0 100%; width:100%; min-width:0; min-height:44px; padding:8px 10px; font-size:11px; line-height:1.2; }
      .highlights-tab[aria-selected="true"] { display:flex; align-items:center; justify-content:center; }
      .highlights-mobile-nav { position:absolute; z-index:3; left:14px; right:14px; bottom:18px; display:flex; justify-content:space-between; pointer-events:none; }
      .highlights-mobile-nav button { pointer-events:auto; display:grid; place-items:center; width:42px; height:44px; border:1px solid rgba(255,255,255,.45); background:rgba(16,16,16,.8); color:#fff; font-size:22px; }
      .highlights-mobile-nav button:active { background:var(--accent); border-color:var(--accent); }
      .highlights-copy { bottom:96px; }
      .highlights-count { display:none; }
      .ie-tabs { max-width:100%; overflow-x:auto; }
      .ie-tab { flex:0 0 auto; padding:11px 22px; }
      .ie-card { flex-basis:min(78vw,320px); }
      .overview-prose p { font-size:15px; }
    }
    @media (max-width:480px) {
      .hero { padding-top:28px; }
      .hero-tag { margin-bottom:16px; font-size:9px; letter-spacing:2px; }
      .hero-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
      .hero-stats .stat-item .v { font-size:clamp(18px,5.5vw,23px); }
      .hero-stats .stat-item .k { font-size:9px; letter-spacing:.7px; }
      .highlights-showcase { min-height:560px; }
      .highlights-mobile-nav { left:12px; right:12px; bottom:16px; }
      .highlights-mobile-nav button { width:36px; height:42px; }
      .highlights-copy { bottom:96px; left:18px; right:18px; }
      .highlights-tabs { left:54px; right:54px; bottom:16px; }
      .highlights-copy h2 { font-size:clamp(24px,7vw,32px); }
      .highlights-copy p { font-size:14px; }

      .highlights-tab { flex-basis:100%; font-size:10px; }
      .overview-prose .stat-row { gap:8px; }
      .overview-prose .stat-chip { max-width:100%; padding:9px 12px; }
      .overview-prose .stat-chip .num { font-size:16px; }
      .overview-prose .stat-chip .lbl { font-size:9px; letter-spacing:1px; }
    }
    /* Compact feature labels to fit the tab row more comfortably. */
    body.xuv7xo-page .highlights-tabs .highlights-tab { font-size:11px; }
    @media (max-width:575px) {
      body.xuv7xo-page .highlights-tabs .highlights-tab { font-size:9px; }
    }
@media (max-width:768px) {
  body.xuv7xo-page .hero-car { width:108%; max-width:820px; }
  body.xuv7xo-page .hero-slider-controls { display:none; }
}
    .xuv-faq.section { padding:16px 0 64px; background:var(--page-bg); color:var(--page-text); }
    .xuv-faq .section-head { max-width:860px; margin-bottom:22px !important; }
    .xuv-faq-list { width:100%; max-width:none; margin-inline:0; overflow:hidden; border:1px solid #fff; border-radius:14px; background:rgba(255,255,255,.02); }
    .xuv-faq-item { overflow:hidden; border:0; border-bottom:1px solid #fff; background:transparent; }
    .xuv-faq-item:last-child { border-bottom:0; }
    .xuv-faq-item summary { display:flex; align-items:center; gap:0; padding:18px 20px; color:#fff; background:transparent; font-size:16px; font-weight:600; line-height:1.45; cursor:pointer; list-style:none; transition:background .2s,color .2s; }
    .xuv-faq-item summary::-webkit-details-marker { display:none; }
    .xuv-faq-item summary::before { content:none; }
    .xuv-faq-item summary::after { content:''; flex:0 0 11px; width:11px; height:11px; margin:0 5px 5px auto; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); transition:transform .2s; }
    .xuv-faq-item[open] summary { color:#fff; background:#e31837; }
    .xuv-faq-item[open] summary::after { transform:rotate(225deg); }
    .xuv-faq-answer { padding:15px 20px 18px; border-top:1px solid rgba(255,255,255,.16); color:var(--muted); background:transparent; font-size:15px; line-height:1.75; }
    .xuv-faq-answer a { color:#0757a6; text-decoration:underline; text-underline-offset:2px; }
    html.xuv7xo-document[data-theme="dark"] .xuv-faq-answer a { color:#ff5269; }
    html.xuv7xo-document[data-theme="light"] .xuv-faq-list { border-color:#000; background:#fff; }
    html.xuv7xo-document[data-theme="light"] .xuv-faq-item { border-bottom-color:#000; }
    html.xuv7xo-document[data-theme="light"] .xuv-faq-item summary { color:#111; }
    html.xuv7xo-document[data-theme="light"] .xuv-faq-item[open] summary { color:#fff; background:#bf0f29; }
    html.xuv7xo-document[data-theme="light"] .xuv-faq-answer { border-top-color:#ddd; color:#4b5563; background:#fff; }
    @media (max-width:768px) {
      .xuv-faq.section { padding:16px 0 48px; }
      .xuv-faq-list { width:100%; margin-inline:0; }
      .xuv-faq .section-head { margin-bottom:18px !important; }
    }
    .variant-pricing.section { padding:clamp(44px,5vw,68px) 0; background:#090909; }
    .variant-pricing .section-head { margin-bottom:20px !important; }
    .variant-table-wrap { width:100%; max-width:none; margin-inline:0; overflow-x:auto; border:1px solid rgba(255,255,255,.16); scrollbar-color:var(--accent) #1b1b1b; }
    .variant-table { width:100%; min-width:760px; border-collapse:collapse; color:#f3f3f3; background:#111; }
    .variant-table th,.variant-table td { padding:11px 14px; border-bottom:1px solid rgba(255,255,255,.12); text-align:center; white-space:nowrap; }
    .variant-table th { background:#1a1a1a; color:#bbb; font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
    .variant-table th:first-child,.variant-table td:first-child { width:12%; text-align:left; }
    .variant-table td { font-size:14px; }
    .variant-table td:first-child { color:#fff; font-weight:700; }
    .variant-mark { display:inline-block; font-size:20px; font-weight:700; line-height:1; }
    .variant-mark.is-available { color:#20c875; }
    .variant-mark.is-unavailable { color:#ed4252; }
    .variant-table tbody tr:last-child td { border-bottom:0; }
    html.xuv7xo-document[data-theme="light"] .variant-pricing.section { background:#f4f4f2; }
    html.xuv7xo-document[data-theme="light"] .variant-pricing .section-title { color:#111; }
    html.xuv7xo-document[data-theme="light"] .variant-pricing .section-sub { color:#555; }
    html.xuv7xo-document[data-theme="light"] .variant-table-wrap { border-color:rgba(0,0,0,.2); }
    html.xuv7xo-document[data-theme="light"] .variant-table { color:#222; background:#fff; }
    html.xuv7xo-document[data-theme="light"] .variant-table th { background:#e8e8e6; color:#333; }
    html.xuv7xo-document[data-theme="light"] .variant-table th,html.xuv7xo-document[data-theme="light"] .variant-table td { border-color:rgba(0,0,0,.14); }
    html.xuv7xo-document[data-theme="light"] .variant-table td:first-child { color:#111; }
    @media (max-width:768px) {
      .variant-pricing.section { padding:40px 0; }
      .variant-pricing .section-head { margin-bottom:18px !important; }
      .variant-table th,.variant-table td { padding:10px 9px; }
      .variant-table th:first-child,.variant-table td:first-child { width:auto; }
    }
    /* Keep standard content sections balanced above and below. The highlights
       section keeps its scroll-driven sizing for the desktop animation. */
    .section.overview,.section.variant-pricing,.section.ie-section,.section.xuv-faq {
      padding-block:clamp(36px,5vw,64px) !important;
    }
    @media (max-width:768px) {
      .section.overview,.section.variant-pricing,.section.ie-section,.section.xuv-faq {
        padding-block:clamp(28px,7vw,44px) !important;
      }
    }
    /* The final two content sections sit next to each other; reduce only the
       adjoining edges to avoid stacking both full section gaps. */
    .section.ie-section { padding-bottom:24px !important; }
    .section.xuv-faq { padding-top:24px !important; }
    .section.variant-pricing { padding-bottom:24px !important; }
    .section.ie-section { padding-top:24px !important; }
    @media (max-width:768px) {
      .section.ie-section { padding-bottom:18px !important; }
      .section.xuv-faq { padding-top:18px !important; }
      .section.variant-pricing { padding-bottom:18px !important; }
      .section.ie-section { padding-top:18px !important; }
    }
    @media (prefers-reduced-motion:reduce) {
      html.xuv7xo-document { scroll-behavior:auto; }
      body.xuv7xo-page,body.xuv7xo-page *,body.xuv7xo-page *::before,body.xuv7xo-page *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; }
    }
    @media (min-width:576px) and (max-width:767.98px) {
      .hero-content { margin-left:calc((100vw - 540px) / 2); }
    }
    @media (min-width:768px) and (max-width:991.98px) {
      .hero-content { margin-left:calc((100vw - 720px) / 2); }
    }
    @media (min-width:992px) and (max-width:1199.98px) {
      .hero-content { margin-left:calc((100vw - 960px) / 2); }
    }
    @media (min-width:1200px) and (max-width:1399.98px) {
      .hero-content { margin-left:calc((100vw - 1140px) / 2); }
    }
    @media (min-width:1400px) {
      .hero-content { margin-left:calc((100vw - 1320px) / 2); }
    }

/* Keep these section headers readable on each theme's section surface. */
html.xuv7xo-document[data-theme="dark"] body.xuv7xo-page .ie-section .section-title,
html.xuv7xo-document[data-theme="dark"] body.xuv7xo-page .ie-section .section-sub,
html.xuv7xo-document[data-theme="dark"] body.xuv7xo-page .variant-pricing .section-title,
html.xuv7xo-document[data-theme="dark"] body.xuv7xo-page .variant-pricing .section-sub {
  color:#fff !important;
}
html.xuv7xo-document[data-theme="light"] body.xuv7xo-page .ie-section .section-title,
html.xuv7xo-document[data-theme="light"] body.xuv7xo-page .ie-section .section-sub,
html.xuv7xo-document[data-theme="light"] body.xuv7xo-page .variant-pricing .section-title,
html.xuv7xo-document[data-theme="light"] body.xuv7xo-page .variant-pricing .section-sub {
  color:#111 !important;
}

/* Brochure preview dialog */
body.xuv7xo-page .brochure-preview {
  position:fixed;
  inset:0;
  width:100vw;
  height:100vh;
  height:100dvh;
  max-width:none;
  max-height:none;
  margin:0;
  padding:0;
  border:0;
  background:#101010;
  color:#fff;
}
body.xuv7xo-page .brochure-preview[open] { display:flex; flex-direction:column; }
body.xuv7xo-page .brochure-preview::backdrop { background:rgba(0,0,0,.94); }
.brochure-preview__header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 16px; border-bottom:1px solid rgba(255,255,255,.16); }
.brochure-preview__header h2 { margin:0; font-size:16px; font-weight:700; }
body.xuv7xo-page .brochure-preview__close { display:grid; width:36px; height:36px; place-items:center; border:1px solid rgba(255,255,255,.35); border-radius:50%; background:#1a1a1a; color:#fff; font-size:26px; line-height:1; }
body.xuv7xo-page .brochure-preview__close:hover { background:var(--accent); border-color:var(--accent); }
.brochure-preview__frame { display:block; flex:1 1 auto; width:100%; min-height:0; border:0; background:#fff; }
.brochure-preview__actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:10px; padding:12px 16px; }
.brochure-preview__actions .btn,
.brochure-preview__actions .btn:hover,
.brochure-preview__actions .btn:focus { box-shadow:none !important; }
@media (max-width:575px) {
  .brochure-preview__actions .btn { width:100%; }
}
