/* JETOUR Suriname
   ------------------------------------------------------------------ */

@font-face { font-family: "HarmonyOS Sans"; font-weight: 300; font-display: swap; src: url("../fonts/harmonyos-sans-300.woff2") format("woff2"); }
@font-face { font-family: "HarmonyOS Sans"; font-weight: 400; font-display: swap; src: url("../fonts/harmonyos-sans-400.woff2") format("woff2"); }
@font-face { font-family: "HarmonyOS Sans"; font-weight: 500; font-display: swap; src: url("../fonts/harmonyos-sans-500.woff2") format("woff2"); }
@font-face { font-family: "HarmonyOS Sans"; font-weight: 700; font-display: swap; src: url("../fonts/harmonyos-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Goldman"; font-weight: 400; font-display: swap; src: url("../fonts/goldman-400.woff2") format("woff2"); }
@font-face { font-family: "Goldman"; font-weight: 700; font-display: swap; src: url("../fonts/goldman-700.woff2") format("woff2"); }

:root {
  --ink: #101820;
  --navy: #101525;
  --muted: #5c6670;
  --teal: #39aeb2;
  --teal-dark: #27878b;
  --teal-light: #7ee2e7;
  --surface: #f3f6f6;
  --surface-teal: #e3f0f1;
  --border: #dce3e3;
  --showroom: #d9d9d9;
  --white: #fff;

  --font: "HarmonyOS Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Goldman", "HarmonyOS Sans", Arial, sans-serif;

  --header-height: 72px;
  --model-bar: 72px;
  --gutter: clamp(16px, 4.5vw, 72px);
  --content: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1023px) {
  :root { --header-height: 60px; }
}

/* Base ------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img, video, svg, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
picture { display: contents; }
/* With display: contents a <source> would otherwise become a grid or flex item and take up space. */
picture > source { display: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
table { border-collapse: collapse; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--white);
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .01em;
}
.display strong { color: var(--teal); font-weight: inherit; }

.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow--accent { color: var(--teal); }
.eyebrow--light { color: var(--teal-light); }
.eyebrow--line { display: flex; align-items: center; gap: 12px; color: var(--teal); }
.eyebrow--line::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.fine-print { color: var(--muted); font-size: 12px; line-height: 1.6; }

.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6em; font-weight: 700; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose img { width: 100%; border-radius: var(--radius); }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--teal); color: var(--muted); }
.prose--lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 300; line-height: 1.7; }

/* Buttons & links ------------------------------------------------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  border: 1px solid transparent; border-radius: 2px;
  font-size: 14px; font-weight: 500; letter-spacing: .02em; line-height: 1.2;
  text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button--small { min-height: 38px; padding: 8px 18px; font-size: 13px; }
.button--dark { background: var(--ink); color: var(--white); }
.button--dark:hover { background: #26323c; }
.button--light { background: rgb(255 255 255 / 92%); color: var(--ink); }
.button--light:hover { background: var(--white); }
.button--accent { background: var(--teal); color: var(--white); text-transform: uppercase; letter-spacing: .08em; }
.button--accent:hover { background: var(--teal-dark); }
.button--outline { border-color: rgb(255 255 255 / 70%); color: var(--white); }
.button--outline:hover { background: rgb(255 255 255 / 12%); border-color: var(--white); }
.button--outline-dark { border-color: var(--ink); color: var(--ink); }
.button--outline-dark:hover { background: var(--ink); color: var(--white); }
.button[disabled] { opacity: .6; cursor: progress; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
  font-size: 14px; font-weight: 500;
}
.text-link .icon { transition: transform .2s; }
a:hover .text-link .icon, .text-link:hover .icon { transform: translateX(4px); }
.text-link--back { border: 0; }
.text-link--back:hover .icon { transform: translateX(-4px); }

.link-button { font-size: inherit; opacity: .6; }
.link-button:hover { opacity: 1; }

.round-button {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgb(0 0 0 / 6%); color: var(--ink);
  transition: background-color .2s;
}
.round-button:hover { background: rgb(0 0 0 / 12%); }
.round-button--light { background: rgb(0 0 0 / 28%); color: var(--white); backdrop-filter: blur(6px); }
.round-button--light:hover { background: rgb(0 0 0 / 45%); }
.round-button[disabled] { opacity: .3; cursor: default; }
.round-button .icon--play { display: none; }
.round-button.is-paused .icon--play { display: block; }
.round-button.is-paused .icon--pause { display: none; }

/* Header ---------------------------------------------------------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-height);
  color: var(--white);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.header-overlay .site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1;
  background: linear-gradient(rgb(0 0 0 / 45%), transparent);
  pointer-events: none; transition: opacity .3s;
}
.header-solid .site-header,
.site-header.is-scrolled,
.site-header.is-open,
.site-header:has(.site-nav__item.is-open) {
  background: var(--white); color: var(--ink);
  box-shadow: 0 1px 0 rgb(16 24 32 / 8%);
}
/* Over photo and video sections the header stays see-through with a dark tint (as on the live site). */
.site-header.is-glass:not(.is-open):not(:has(.site-nav__item.is-open)) {
  background: rgb(0 0 0 / 20%); color: var(--white);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.site-header.is-glass::before,
.site-header.is-scrolled::before,
.site-header.is-open::before,
.site-header:has(.site-nav__item.is-open)::before { opacity: 0; }
.header-solid main { padding-top: var(--header-height); }

.site-header__bar {
  display: flex; align-items: center; gap: clamp(24px, 4vw, 72px);
  height: 100%; padding: 0 var(--gutter);
}
.site-header__logo { flex: none; padding: 8px 0; }
.logo { width: 150px; height: auto; }

.site-header__tools { display: flex; align-items: center; gap: 16px; margin-left: auto; }

.language { display: flex; gap: 10px; font-size: 14px; }
.language a { opacity: .6; }
.language a[aria-current] { opacity: 1; font-weight: 700; }

.menu-toggle { display: none; width: 40px; height: 40px; place-items: center; }
.menu-toggle .icon { width: 26px; height: 26px; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

.site-nav__list { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); height: 100%; }
.site-nav, .site-nav__item { height: 100%; }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__item--mega { position: static; }

.site-nav__trigger, .site-nav__link {
  position: relative; display: flex; align-items: center; gap: 4px;
  height: 100%; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.site-nav__trigger::after, .site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 18px;
  height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav__trigger .icon--chevron { width: 14px; height: 14px; transition: transform .25s; }
.site-nav__item.is-open .site-nav__trigger::after,
.site-nav__trigger:hover::after, .site-nav__link:hover::after,
.site-nav__link[aria-current]::after { transform: none; }
.site-nav__item.is-open .icon--chevron { transform: rotate(180deg); }

/* Desktop dropdowns */
@media (min-width: 1024px) {
  .dropdown, .mega {
    position: absolute; top: 100%;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  }
  .site-nav__item.is-open > .dropdown,
  .site-nav__item.is-open > .mega,
  .site-nav__item:focus-within > .dropdown,
  .site-nav__item:focus-within > .mega {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .2s, transform .2s var(--ease);
  }
  .dropdown {
    left: -20px; min-width: 220px; padding: 10px 0;
    background: var(--white); color: var(--ink);
    box-shadow: 0 16px 40px rgb(16 24 32 / 14%);
  }
  .dropdown a { display: block; padding: 10px 22px; font-size: 14px; }
  .dropdown a:hover { background: var(--surface); color: var(--teal-dark); }

  .mega {
    left: 0; right: 0;
    display: grid; grid-template-columns: 260px 1fr; grid-template-rows: minmax(0, 1fr);
    height: calc(100svh - var(--header-height));
    background: var(--white); color: var(--ink);
    box-shadow: 0 24px 50px rgb(16 24 32 / 16%);
  }
  .mega__filters {
    display: flex; flex-direction: column; gap: 14px;
    padding: 28px 24px 28px var(--gutter);
    border-right: 1px solid var(--border);
  }
  .mega__groups { overflow-y: auto; padding: 28px var(--gutter) 36px 36px; overscroll-behavior: contain; scrollbar-width: none; }
  .mega__groups::-webkit-scrollbar { display: none; }
  .mega.is-filtered .mega__grid {
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 420px));
    gap: 28px;
  }
}

.mega__filter {
  padding: 10px 14px; border-radius: 2px;
  color: var(--muted); font-size: 14px; font-weight: 700; text-align: left; white-space: nowrap;
  letter-spacing: .04em; text-transform: uppercase;
  transition: color .2s, background-color .2s;
}
.mega__filter:has(.mega__logo) { display: flex; align-items: center; gap: 6px; }
.mega__logo { flex: none; width: auto; height: 1em; }
.mega__filter:hover { color: var(--ink); }
.mega__filter.is-active { color: var(--ink); background: var(--surface); }
.mega__group:not([hidden]) ~ .mega__group { margin-top: 28px; }
.mega__group[hidden] { display: none; }
.mega__heading { margin-bottom: 12px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mega__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

.vehicle-card { display: grid; gap: 10px; text-align: center; }
.vehicle-card__image {
  display: grid; place-items: center; aspect-ratio: 16 / 9;
  padding: 10px; background: #f1f1f1; overflow: hidden;
}
.vehicle-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.vehicle-card:hover .vehicle-card__image img { transform: scale(1.06); }
.vehicle-card__name { font-size: 14px; font-weight: 700; }
.vehicle-card__name small {
  margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  background: var(--surface-teal); color: var(--teal-dark);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.vehicle-card[aria-current] .vehicle-card__image { outline: 2px solid var(--teal); outline-offset: -2px; }

/* Mobile navigation drawer */
@media (max-width: 1023px) {
  .menu-toggle { display: grid; }
  .site-nav {
    position: fixed; inset: var(--header-height) 0 0;
    height: auto; overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--gutter) 40px;
    background: var(--white); color: var(--ink);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .site-nav__list { display: block; height: auto; }
  .site-nav__item { display: block; height: auto; border-bottom: 1px solid var(--border); }
  .site-nav__trigger, .site-nav__link { width: 100%; height: 60px; justify-content: space-between; font-size: 18px; }
  .site-nav__trigger::after, .site-nav__link::after { display: none; }
  .site-nav__trigger .icon--chevron { width: 20px; height: 20px; }
  .dropdown, .mega { display: none; padding-bottom: 20px; }
  .site-nav__item.is-open > .dropdown, .site-nav__item.is-open > .mega { display: block; }
  .dropdown a { display: block; padding: 10px 0; color: var(--muted); }
  .mega__filters { display: flex; gap: 8px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
  .mega__filter { flex: none; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 12px; }
  .mega__filter.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
  .mega__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mega.is-filtered .mega__grid {
    grid-template-columns: minmax(0, min(100%, 420px));
    justify-content: start;
    gap: 22px;
  }
  .vehicle-card__name { font-size: 13px; }
  .vehicle-card__name small { display: block; width: fit-content; margin: 4px auto 0; }
}

/* Footer ---------------------------------------------------------- */

.site-footer { background: var(--white); color: #555; font-size: 14px; }
.site-footer__inner {
  display: grid; grid-template-columns: minmax(180px, 1fr) 3fr minmax(160px, auto);
  gap: 40px; padding: 72px var(--gutter) 48px;
}
.site-footer__brand { display: grid; align-content: start; gap: 16px; color: var(--ink); }
.site-footer__brand p { color: #666; max-width: 24ch; }
.site-footer__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.site-footer h2 { margin-bottom: 16px; color: var(--ink); font-size: 14px; font-weight: 700; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--teal-dark); }
.site-footer__social ul { display: flex; gap: 14px; }
.site-footer__social li + li { margin: 0; }
.site-footer__social .icon { width: 20px; height: 20px; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding: 20px var(--gutter) 28px; border-top: 1px solid var(--border);
  font-size: 12px; color: #777;
}
.site-footer__bottom ul { display: flex; gap: 24px; }
.site-footer__bottom li + li { margin: 0; }

@media (max-width: 1023px) {
  .site-footer__inner { grid-template-columns: 1fr; padding-top: 56px; }
  .site-footer__nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .site-footer__nav { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}

/* Cookie consent -------------------------------------------------- */

.cookie-consent {
  position: fixed; inset: auto 16px 16px; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  max-width: 1080px; margin: 0 auto; padding: 22px 26px;
  background: var(--white); box-shadow: 0 16px 50px rgb(16 24 32 / 22%);
  font-size: 14px;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent h2 { margin-bottom: 6px; font-size: 16px; font-weight: 700; }
.cookie-consent a { color: var(--teal-dark); text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: 10px; }
.cookie-consent .button--outline { border-color: var(--ink); color: var(--ink); }

/* Home ------------------------------------------------------------ */

.home-hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: var(--ink); color: var(--white); }
.home-hero__track { display: flex; width: 100%; height: 100%; transition: transform .5s var(--ease); }
.home-hero__slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; }
.home-hero__video { width: 100%; height: 100%; object-fit: cover; }
.home-hero__content {
  position: absolute; left: 0; right: 0; top: 19.5%;
  display: grid; justify-items: center; gap: 5px; padding: 0 var(--gutter);
  text-align: center;
}
.home-hero__eyebrow { width: min(175px, 60vw); }
.home-hero__title img { width: auto; height: 48px; }
.home-hero__slide.is-active .home-hero__content > * { animation: rise .9s var(--ease) both; }
.home-hero__slide.is-active .home-hero__title { animation-delay: .12s; }
.home-hero__arrow {
  position: absolute; top: 50%; z-index: 2;
  opacity: 0; transition: opacity .3s, transform .3s;
}
.home-hero__arrow--prev { left: var(--gutter); transform: translate(-220%, -50%); }
.home-hero__arrow--next { right: var(--gutter); transform: translate(220%, -50%); }
.home-hero:hover .home-hero__arrow,
.home-hero:focus-within .home-hero__arrow { opacity: 1; transform: translateY(-50%); }
.home-hero__controls {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
  display: flex; align-items: center; justify-content: flex-end; gap: 24px;
}

.home-hero__pagination {
  position: absolute; z-index: 2; left: 50%; bottom: 16px;
  transform: translateX(-50%);
}
.dots { display: flex; align-items: flex-end; gap: 20px; }
.dots__dot {
  width: 2px; height: 20px; padding: 0;
  background: rgb(255 255 255 / 35%);
  transition: width .5s var(--ease), height .5s var(--ease), background-color .5s;
}
.dots__dot.is-active { width: 3px; height: 40px; background: var(--white); }

@media (max-width: 767px) {
  .home-hero__content { top: auto; bottom: 120px; justify-items: start; text-align: left; }
  .home-hero__title img { height: auto; width: min(100%, 420px); }
  .home-hero__arrow { display: none; }
}

@media (hover: none) {
  .home-hero__arrow { opacity: 1; }
  .home-hero__arrow--prev { transform: translateY(-50%); }
  .home-hero__arrow--next { transform: translateY(-50%); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.showcase {
  display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr);
  min-height: 100svh; padding: calc(var(--header-height) + 24px) var(--gutter) 48px;
  background: var(--showroom); overflow: hidden;
}
.showcase__stage { position: relative; display: grid; }
.showcase__slide { grid-area: 1 / 1; display: grid; justify-items: center; align-content: center; }
.showcase__slide[hidden] { display: none; }
.showcase__title { grid-area: 1 / 1; align-self: start; width: min(640px, 70vw); margin-top: 2%; opacity: .9; }
.showcase__title img { width: 100%; }
.showcase__title span {
  display: block; color: rgb(0 0 0 / 7%);
  font: 700 clamp(56px, 9vw, 132px)/1 var(--font-display); text-align: center; /* about the size of the title images */
}
/* Every showcase image is a 1080x420 canvas; the wheels are placed on it in percentages. */
.showcase__car {
  grid-area: 1 / 1; z-index: 1; position: relative;
  width: min(860px, 88vw); aspect-ratio: 1080 / 420; margin-top: clamp(40px, 6vw, 90px);
}
.showcase__car > img:first-child { width: 100%; height: 100%; }
.showcase__wheel { position: absolute; aspect-ratio: 1; object-fit: contain; }
.showcase__cta { grid-area: 2 / 1; min-width: 220px; margin-top: 28px; }
.showcase.is-in-view .showcase__slide.is-active .showcase__car { animation: drive-in 1.4s var(--ease) both; }
.showcase.is-in-view .showcase__slide.is-active .showcase__wheel { animation: roll-in 1.4s var(--ease) both; }
.showcase.is-in-view .showcase__slide.is-active .showcase__title { animation: fade-in 1.2s both; }
.showcase__slide.is-back .showcase__car { animation-name: drive-in-back; }
.showcase__slide.is-back .showcase__wheel { animation-name: roll-in-back; }
.showcase__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.showcase__thumbs {
  --thumb-step: 158px; /* thumbnail width + gap */
  display: flex; flex: none; gap: 8px; max-width: 100%;
  /* Show only whole thumbnails: as many as fit beside the arrows, at most six. */
  width: min(calc(6 * var(--thumb-step) - 8px), calc(round(down, 100% - 112px, var(--thumb-step)) - 8px));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.showcase__thumbs::-webkit-scrollbar { display: none; }
.showcase__thumb {
  flex: 0 0 150px; display: grid; justify-items: center; gap: 6px; padding: 6px;
  scroll-snap-align: start; opacity: .45; transition: opacity .25s;
}
.showcase__thumb img { width: 120px; }
.showcase__thumb span { font-size: 17px; }
.showcase__thumb:hover, .showcase__thumb.is-active { opacity: 1; }
.showcase__thumb.is-active span { font-weight: 700; }

/* The car drives in half its length; 1.2 turns is how far a wheel rolls over that distance. */
@keyframes drive-in { from { opacity: 0; transform: translateX(50%); } 35% { opacity: 1; } to { transform: none; } }
@keyframes drive-in-back { from { opacity: 0; transform: translateX(-50%); } 35% { opacity: 1; } to { transform: none; } }
@keyframes roll-in { from { transform: rotate(1.2turn); } to { transform: none; } }
@keyframes roll-in-back { from { transform: rotate(-1.2turn); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 767px) {
  .showcase { min-height: 0; padding-bottom: 32px; }
  .showcase__thumbs { width: auto; }
  .showcase__thumb { flex-basis: 110px; }
  .showcase__thumb img { width: 90px; }
  .showcase__thumb span { font-size: 14px; }
  .showcase__nav .round-button { display: none; }
}

.home-services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: calc(var(--header-height) + 24px) var(--gutter) 64px;
}
.service-card {
  position: relative; display: flex; align-items: flex-end;
  min-height: min(72svh, 720px); overflow: hidden; color: var(--white);
}
.service-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgb(0 0 0 / 65%)); }
.service-card:hover .service-card__image { transform: scale(1.06); }
.service-card__body { position: relative; z-index: 1; display: grid; justify-items: start; gap: 14px; padding: 36px; }
.service-card__title { font: 700 clamp(32px, 3.4vw, 52px)/1 var(--font-display); }
.service-card__text { font-size: 17px; }

@media (max-width: 900px) {
  .home-services { grid-template-columns: 1fr; padding-top: 48px; }
  .service-card { min-height: 420px; }
}

.home-contact { position: relative; min-height: 100svh; overflow: hidden; color: var(--white); }
.home-contact__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-contact__content {
  position: relative; display: grid; justify-items: start; gap: 32px;
  padding: calc(var(--header-height) + 11svh) var(--gutter) 64px;
}
.home-contact h2 { max-width: 28ch; font-size: clamp(30px, 3.6vw, 52px); font-weight: 400; line-height: 1.15; text-shadow: 0 2px 20px rgb(0 0 0 / 20%); }

@media (max-width: 767px) {
  .home-contact { min-height: 80svh; }
}

/* Page heroes & shared content sections -------------------------- */

.page-hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: min(78svh, 760px); padding: calc(var(--header-height) + 48px) var(--gutter) clamp(48px, 9vh, 96px);
  background: var(--ink) var(--hero-image) center / cover no-repeat; color: var(--white);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(8 14 18 / 70%), rgb(8 14 18 / 15%)); }
.page-hero__content { position: relative; display: grid; gap: 14px; max-width: 760px; }
.page-hero h1 { font-size: clamp(44px, 6.5vw, 96px); line-height: 1; }
.page-hero__subtitle { font-size: clamp(18px, 1.6vw, 24px); }
.page-hero--history { background-size: contain; background-color: #0d0d0d; background-position: 80% center; }

.intro {
  display: grid; grid-template-columns: minmax(160px, 280px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: start;
  max-width: var(--content); margin: 0 auto; padding: clamp(56px, 9vw, 120px) var(--gutter);
}
.intro--text { grid-template-columns: 1fr; }
.intro--text .prose { max-width: 60ch; margin: 0 auto; text-align: center; }
.intro__logo { width: 100%; border-radius: var(--radius); }

.split {
  display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: clamp(32px, 6vw, 96px);
  max-width: var(--content); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter);
  border-top: 1px solid var(--border);
}
.split__heading { display: grid; align-content: start; gap: 14px; }
.split__heading h2 { font-size: clamp(30px, 3.4vw, 48px); }
.split--dark {
  max-width: none; border: 0;
  padding-inline: max(var(--gutter), calc((100% - var(--content)) / 2 + var(--gutter)));
  background: var(--navy); color: var(--white);
}

.value-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; counter-reset: value; }
.value-grid li { padding: 28px; border: 1px solid rgb(255 255 255 / 12%); background: rgb(255 255 255 / 3%); counter-increment: value; }
.value-grid li::before { content: counter(value, decimal-leading-zero); display: block; margin-bottom: 18px; color: var(--teal-light); font: 700 14px var(--font-display); }
.value-grid h3 { margin-bottom: 10px; font-size: 18px; font-weight: 700; }
.value-grid p { color: rgb(255 255 255 / 70%); font-size: 15px; }

.commitments { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.commitments li { padding-top: 18px; border-top: 2px solid var(--teal); }
.commitments h3 { margin-bottom: 8px; font-size: 18px; font-weight: 700; }
.commitments p { color: var(--muted); }

.mission { display: grid; grid-template-columns: 1fr 1fr; }
.mission article { display: grid; align-content: start; gap: 16px; padding: clamp(48px, 7vw, 96px) var(--gutter); background: var(--surface); }
.mission article + article { background: var(--surface-teal); }
.mission h2 { max-width: 20ch; font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; }
.mission p:last-child { color: var(--muted); max-width: 52ch; }

.page-cta {
  display: grid; justify-items: center; gap: 18px;
  padding: clamp(64px, 9vw, 120px) var(--gutter); text-align: center;
}
.page-cta h2 { font-size: clamp(30px, 3.6vw, 52px); }
.page-cta p { max-width: 60ch; color: var(--muted); }
.page-cta .button-row { justify-content: center; margin-top: 12px; }

@media (max-width: 900px) {
  .intro, .split { grid-template-columns: 1fr; }
  .intro__logo { max-width: 220px; }
  .mission { grid-template-columns: 1fr; }
}

/* Services -------------------------------------------------------- */

.service-index {
  position: sticky; top: var(--header-height); z-index: 5;
  display: flex; justify-content: center; gap: 8px 32px; flex-wrap: wrap;
  padding: 16px var(--gutter); background: rgb(255 255 255 / 94%); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 500;
}
.service-index a { color: var(--muted); }
.service-index a:hover { color: var(--teal-dark); }

.service {
  display: grid; grid-template-columns: 120px 1fr; gap: clamp(20px, 5vw, 80px);
  max-width: var(--content); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter);
  scroll-margin-top: calc(var(--header-height) + 56px);
}
.service + .service { border-top: 1px solid var(--border); }
.service__number { color: var(--teal); font: 700 clamp(40px, 5vw, 72px)/1 var(--font-display); opacity: .35; }
.service__body { display: grid; justify-items: start; gap: 20px; max-width: 880px; }
.service__body h2 { font-size: clamp(28px, 3.2vw, 44px); }
.service__body > p { color: var(--muted); font-size: 17px; }
.service__options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; }
.service__options article, .support-list li { padding: 26px; background: var(--surface); }
.service__options h3, .support-list h3 { margin-bottom: 8px; font-size: 18px; font-weight: 700; }
.service__options p, .support-list p { color: var(--muted); }
.service__subheading { margin-top: 12px; font-size: 20px; font-weight: 700; }
.steps { display: grid; gap: 1px; width: 100%; counter-reset: step; background: var(--border); }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 2px 16px; padding: 18px 0; background: var(--white); counter-increment: step; }
.steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-teal); color: var(--teal-dark); font-weight: 700; }
.steps span { color: var(--muted); }
.support-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; width: 100%; }

@media (max-width: 767px) {
  .service { grid-template-columns: 1fr; }
  .service__options { grid-template-columns: 1fr; }
  .service-index { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .service-index a { flex: none; }
}

/* Legacy editorial pages -----------------------------------------
   Keep the PHP About and Services pages visually aligned with the
   previous static site while retaining the shared semantic markup. */

.page-brand,
.page-services { --gutter: clamp(24px, 6.2vw, 118px); }

.page-brand .page-hero,
.page-services .page-hero {
  min-height: min(760px, 80svh);
  padding: 150px var(--gutter) 92px;
}
.page-brand .page-hero::before,
.page-services .page-hero::before {
  background: linear-gradient(180deg, rgb(0 0 0 / 8%), rgb(0 0 0 / 72%));
}
.page-brand .page-hero__content,
.page-services .page-hero__content {
  gap: 0;
  width: min(960px, 100%);
  max-width: none;
}
.page-brand .page-hero .eyebrow,
.page-services .page-hero .eyebrow {
  margin-bottom: 14px;
  font-size: 13px;
}
.page-brand .page-hero h1,
.page-services .page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 7vw, 112px);
  font-weight: 400;
  letter-spacing: normal;
  line-height: .96;
}
.page-brand .page-hero__subtitle,
.page-services .page-hero__subtitle { font-size: clamp(20px, 2vw, 30px); }

.page-brand .intro {
  max-width: calc(1120px + 2 * var(--gutter));
  padding: clamp(70px, 10vw, 150px) var(--gutter);
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(45px, 8vw, 120px);
  align-items: center;
}
.page-brand .intro--text {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}
.page-brand .intro .prose { max-width: none; text-align: left; }
.page-brand .intro .prose p,
.page-brand .split .prose p {
  color: #303030;
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 400;
  line-height: 1.7;
}
.page-brand .intro .prose p:first-child {
  font-size: clamp(23px, 2.3vw, 34px);
  line-height: 1.45;
}
.page-brand .split {
  max-width: none;
  padding: clamp(75px, 10vw, 145px) var(--gutter);
  border-top: 0;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(45px, 8vw, 130px);
}
.page-brand .split--dark { padding-inline: var(--gutter); background: #111; }
.page-brand .split__heading h2,
.page-brand .page-cta h2 {
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: normal;
}
.page-brand .value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #303030;
}
.page-brand .value-grid li {
  min-height: 255px;
  padding: 35px;
  border: 0;
  background: #181818;
}
.page-brand .value-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.page-brand .value-grid--four li:last-child { grid-column: auto; }
.page-brand .value-grid h3 { margin: 48px 0 12px; font-size: 24px; }
.page-brand .value-grid p { color: #bbb; font-size: 17px; line-height: 1.6; }
.page-brand .commitments { display: block; border-top: 1px solid #ddd; }
.page-brand .commitments li {
  display: grid;
  padding: 25px 0;
  border: 0;
  border-bottom: 1px solid #ddd;
  grid-template-columns: minmax(170px, .7fr) 1.3fr;
  gap: 30px;
}
.page-brand .commitments h3 { margin: 0; font-size: 21px; }
.page-brand .commitments p { margin: 0; color: #555; font-size: 17px; line-height: 1.6; }
.page-brand .mission article { padding: clamp(65px, 8vw, 120px) var(--gutter); background: #f1f1f1; }
.page-brand .mission article + article { background: #e3f0f1; }
.page-brand .mission h2 { font-family: var(--font-display); font-size: clamp(32px, 3.2vw, 52px); font-weight: 400; }
.page-brand .mission p:last-child { margin-top: 25px; color: #444; font-size: 18px; line-height: 1.65; }
.page-brand .page-cta,
.page-services .page-cta { padding: clamp(80px, 11vw, 165px) var(--gutter); }
.page-brand .page-cta p,
.page-services .page-cta p { max-width: 760px; font-size: 19px; line-height: 1.6; }

.page-services .intro {
  display: block;
  max-width: none;
  padding: clamp(65px, 9vw, 125px) var(--gutter);
}
.page-services .intro .prose {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}
.page-services .service {
  max-width: none;
  padding: clamp(65px, 8vw, 115px) var(--gutter);
  grid-template-columns: minmax(90px, .42fr) minmax(0, 1.58fr);
  gap: clamp(30px, 7vw, 115px);
  scroll-margin-top: 90px;
}
.page-services .service__number {
  color: var(--teal);
  font-size: clamp(42px, 6vw, 90px);
  font-weight: 400;
  opacity: 1;
}
.page-services .service__body { max-width: 830px; gap: 0; }
.page-services .service__body .eyebrow { margin-bottom: 14px; font-size: 13px; }
.page-services .service__body h2 {
  margin-bottom: 25px;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: normal;
}
.page-services .service__body > p:not(.eyebrow) { color: #444; font-size: 20px; line-height: 1.7; }
.page-services .service__options {
  margin: 38px 0 44px;
  gap: 1px;
  background: #d9d9d9;
}
.page-services .service__options article { padding: 30px; background: #f5f5f5; }
.page-services .service__options h3,
.page-services .support-list h3 { margin: 0 0 12px; font-size: 22px; }
.page-services .service__options p,
.page-services .support-list p { color: #555; font-size: 16px; line-height: 1.65; }
.page-services .service__subheading { margin: 0; font-size: 28px; }
.page-services .steps { margin: 25px 0 38px; gap: 0; background: transparent; }
.page-services .steps li {
  grid-template-areas: "number title" "number description";
  grid-template-columns: minmax(100px, .32fr) 1.68fr;
  gap: 8px 28px;
  padding: 20px 0;
  border-top: 1px solid #ddd;
}
.page-services .steps li::before {
  content: "0" counter(step) " —";
  display: block;
  grid-area: number;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.page-services .steps strong { grid-area: title; font-size: 18px; }
.page-services .steps span { grid-area: description; color: #555; font-size: 16px; line-height: 1.6; }
.page-services .support-list {
  margin: 38px 0;
  gap: 0;
  border-top: 1px solid #ddd;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.page-services .support-list li {
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid #ddd;
  background: transparent;
}
.page-services .support-list li:nth-child(even) { padding-left: 28px; border-left: 1px solid #ddd; }
.page-services .service .button {
  min-height: 52px;
  margin-top: 0;
  padding: 12px 24px;
  border-color: #111;
  background: transparent;
  color: #111;
  font-weight: 600;
}
.page-services .service .button:hover { background: #111; color: #fff; }

@media (max-width: 800px) {
  .page-brand .page-hero,
  .page-services .page-hero { min-height: 620px; padding-top: 125px; background-position: 40% center; }
  .page-brand .page-hero--history { background-position: center 30%; background-size: min(760px, 145vw) auto; }
  .page-brand .intro,
  .page-brand .split,
  .page-brand .mission { grid-template-columns: 1fr; }
  .page-brand .intro__logo { width: min(300px, 80%); margin: 0 auto; }
  .page-brand .split { gap: 42px; }
  .page-services .service { grid-template-columns: 1fr; gap: 15px; }
  .page-services .service__number { font-size: 45px; }
}

@media (max-width: 620px) {
  .page-brand .value-grid,
  .page-services .service__options,
  .page-services .support-list { grid-template-columns: 1fr; }
  .page-brand .value-grid--four li:last-child { grid-column: 1; }
  .page-brand .commitments li { grid-template-columns: 1fr; gap: 10px; }
  .page-services .support-list li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Contact --------------------------------------------------------- */

.contact-hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: 62svh; padding: calc(var(--header-height) + 48px) var(--gutter) 64px;
  background: linear-gradient(90deg, rgb(8 14 18 / 70%), rgb(8 14 18 / 10%)), url("/new-static/images/support/contact/bg_2.png") center / cover;
  color: var(--white);
}
.contact-hero__content { display: grid; gap: 16px; max-width: 620px; }
.contact-hero h1 { font-size: clamp(40px, 5vw, 72px); font-weight: 400; line-height: 1.05; }
.contact-hero__dealer { font-size: 18px; font-weight: 700; }

@media (max-width: 767px) {
  .contact-hero { background-image: linear-gradient(rgb(8 14 18 / 30%), rgb(8 14 18 / 60%)), url("/new-static/images/support/contact/bg_2_m.png"); }
}

.contact-actions {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  max-width: var(--content); margin: -36px auto 0; padding: 0 var(--gutter); position: relative; z-index: 2;
}
.contact-action {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 72px; padding: 16px; background: var(--white);
  box-shadow: 0 10px 30px rgb(16 24 32 / 10%); font-weight: 500; text-align: center;
  transition: background-color .2s, color .2s;
}
.contact-action:hover { background: var(--ink); color: var(--white); }
.contact-action--whatsapp { background: #168b50; color: var(--white); }
.contact-action--whatsapp:hover { background: #0f6b3d; }

.contact-layout {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px);
  max-width: var(--content); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter);
}
.contact-form { display: grid; gap: 12px; align-content: start; scroll-margin-top: calc(var(--header-height) + 24px); }
.contact-form h2, .contact-info h2 { margin-bottom: 16px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 13px; font-weight: 500; }
.field abbr { color: var(--teal-dark); text-decoration: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 2px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgb(57 174 178 / 18%); }
.field input:user-invalid, .field select:user-invalid { border-color: #c0392b; }
.field--trap { position: absolute; left: -9999px; }
.contact-form .button { justify-self: start; margin-top: 12px; }
.form-status { min-height: 1.6em; font-weight: 500; }
.form-status[data-state="success"] { color: #168b50; }
.form-status[data-state="error"] { color: #c0392b; }

.contact-info { padding: clamp(28px, 3vw, 40px); background: var(--surface); align-self: start; }
.contact-info dl { display: grid; gap: 20px; }
.contact-info dt { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-info dd { margin-top: 4px; font-size: 17px; }
.contact-info dd a { border-bottom: 1px solid var(--border); }
.contact-info dd a:hover { border-color: var(--teal); color: var(--teal-dark); }
.hours { display: flex; justify-content: space-between; gap: 16px; max-width: 320px; }

.contact-map iframe { width: 100%; height: 440px; border: 0; filter: grayscale(.3); }
.contact-trust { padding: 56px var(--gutter); background: var(--navy); color: var(--white); text-align: center; }
.contact-trust h2 { margin-bottom: 10px; font-size: clamp(22px, 2.4vw, 32px); }
.contact-trust p { color: rgb(255 255 255 / 70%); }

@media (max-width: 900px) {
  .contact-actions { grid-template-columns: 1fr 1fr; margin-top: 0; padding: 0; }
  .contact-action { box-shadow: none; border-bottom: 1px solid var(--border); }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* News ------------------------------------------------------------ */

.news-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px 28px;
  max-width: var(--content); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter);
}
.news-grid__empty { grid-column: 1 / -1; color: var(--muted); text-align: center; }
.news-card a { display: grid; gap: 18px; }
.news-card__image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card a:hover img { transform: scale(1.05); }
.news-card__body { display: grid; justify-items: start; gap: 10px; }
.news-card time { color: var(--teal-dark); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.news-card h2 { font-size: 22px; font-weight: 500; }
.news-card p { color: var(--muted); }

.article { max-width: 880px; margin: 0 auto; padding: 48px var(--gutter) 96px; }
.article__header { display: grid; gap: 16px; margin: 28px 0 36px; }
.article h1 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 400; line-height: 1.1; }
.article__lead { color: var(--muted); font-size: 20px; font-weight: 300; }
.article__cover { width: 100%; margin-bottom: 40px; }
.article__body { max-width: none; font-size: 17px; line-height: 1.75; }
.article__source { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.article__source a { color: var(--teal-dark); }

/* Legal & messages ------------------------------------------------ */

.legal { max-width: 900px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.legal h1 { margin-bottom: 1em; font-size: clamp(28px, 3vw, 40px); font-weight: 700; }
.legal table { width: 100%; margin: 1.5em 0; font-size: 14px; }
.legal th, .legal td { padding: 10px; border: 1px solid var(--border); text-align: left; vertical-align: top; }

.message-page {
  display: grid; justify-items: center; align-content: center; gap: 18px;
  min-height: 70svh; padding: 64px var(--gutter); text-align: center;
}
.message-page h1 { font-size: clamp(32px, 4vw, 56px); }
.message-page p { color: var(--muted); max-width: 52ch; }
.message-page .logo { color: var(--ink); margin-bottom: 24px; }

/* Model page ------------------------------------------------------ */

.model-hero {
  position: relative; display: grid; grid-template-rows: 1fr auto;
  height: 100svh; min-height: 560px; overflow: hidden;
  background: var(--ink); color: var(--white);
}
.model-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.model-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgb(0 0 0 / 30%), transparent 35%, transparent 60%, rgb(0 0 0 / 55%));
}
.model-hero__content {
  position: relative; z-index: 2; display: grid; justify-items: center; align-content: start; gap: clamp(14px, 2.1vw, 40px);
  padding: max(calc(var(--header-height) + 24px), 29svh) var(--gutter) 0; text-align: center;
}
/* Title, tagline and specs follow the live site: they scale with the screen width. */
.model-hero__logo { width: auto; max-width: 100%; height: clamp(40px, 3.9vw, 75px); color: var(--white); }
.model-hero__brand { font-family: var(--font-display); letter-spacing: .2em; font-size: .5em; display: block; }
.model-hero__title { font: 700 clamp(48px, 8vw, 110px)/1 var(--font-display); }
.model-hero__tagline { font-size: clamp(18px, 1.36vw, 26px); text-shadow: 0 1px 12px rgb(0 0 0 / 30%); }
.model-hero__stats {
  position: relative; z-index: 2; display: flex; justify-content: center;
  padding: 0 var(--gutter) clamp(32px, 9svh, 86px);
}
.model-hero__stats div {
  display: flex; flex-direction: column-reverse; align-items: center; gap: 4px;
  padding: 0 clamp(16px, 3vw, 58px);
}
.model-hero__stats div + div { border-left: 1px solid rgb(255 255 255 / 40%); }
.model-hero__stats dd { font-size: clamp(20px, 2.6vw, 50px); font-weight: 500; line-height: 1.1; white-space: nowrap; }
.model-hero__stats dt { margin-top: 4px; font-size: clamp(12px, .84vw, 16px); text-align: center; }
.model-hero__toggle { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(32px, 7vh, 72px); }
.model-hero .eyebrow { font-size: 13px; }
/* "grid": the specs sit in even columns with dividers (live G700). */
.model-hero__stats--grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: min(1100px, 92vw); margin: 0 auto; padding-inline: 0; }
.model-hero__stats--grid div { padding: 12px clamp(12px, 2vw, 28px); }
.model-hero__stats--grid div + div { border-left: 1px solid rgb(255 255 255 / 38%); }
.model-hero__stats--grid dd { font-size: clamp(20px, 2.6vw, 40px); line-height: 1.2; white-space: normal; text-align: center; text-wrap: balance; }
.model-hero__stats--grid dt { font-size: 14px; line-height: 1.4; }

/* Spotlight: left-aligned title and a button to the 360° view (live F700). */
.model-hero--spotlight { grid-template-rows: 1fr; }
.model-hero--spotlight::before { background: linear-gradient(90deg, rgb(5 10 20 / 84%), rgb(5 10 20 / 44%) 43%, rgb(5 10 20 / 5%)); }
.model-hero--spotlight .model-hero__content {
  align-content: center; justify-items: start; gap: 0;
  padding: var(--header-height) clamp(24px, 6.67vw, 128px) 0; text-align: left;
}
.model-hero--spotlight .eyebrow { margin-bottom: 22px; color: #7ee2e7; font-size: 12px; }
.model-hero--spotlight .model-hero__title { font: 400 clamp(64px, 7.7vw, 148px)/.87 var(--font-display); }
.model-hero--spotlight .model-hero__brand { margin-bottom: 4px; font-size: .19em; }
.model-hero--spotlight .model-hero__tagline { max-width: 590px; margin-top: 18px; font-size: clamp(18px, 1.4vw, 27px); font-weight: 500; line-height: 1.45; text-shadow: none; }
.model-hero__cta {
  display: inline-flex; align-items: center; min-height: 52px; margin-top: 35px; padding: 13px 24px;
  border: 1px solid rgb(255 255 255 / 68%); font-size: 14px; font-weight: 700; transition: background-color .2s;
}
.model-hero__cta:hover { background: rgb(255 255 255 / 12%); }

@media (max-width: 767px) {
  .model-hero__stats { flex-wrap: wrap; gap: 16px 0; padding-bottom: 88px; }
  .model-hero__stats div { flex: 1 1 33%; padding: 0 8px; }
  .model-hero__stats div + div { border-left: 0; }
  .model-hero__stats dd { font-size: 18px; white-space: normal; text-align: center; }
  .model-hero__stats--grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 16px 0; }
  .model-hero--spotlight .model-hero__content { padding-top: calc(var(--header-height) + 24px); }
  .model-hero__toggle { bottom: 24px; }
}

/* 360 viewer */
.viewer {
  position: relative; display: grid; grid-template-rows: auto 1fr;
  min-height: 100svh; padding-top: var(--header-height);
  background: linear-gradient(#f4f4f4, #e6e6e6);
}
/* Exterior / Interior tabs with the Specification link underneath (as on the live site) */
.viewer__bar { position: relative; z-index: 3; display: flex; justify-content: flex-end; padding: 24px var(--gutter) 0; }
.viewer__tabs { display: flex; gap: 40px; border-bottom: 2px solid rgb(0 0 0 / 20%); }
.viewer__tab { margin-bottom: -2px; padding: 0 0 4px; border-bottom: 2px solid transparent; color: rgb(0 0 0 / 50%); font-size: 26px; font-weight: 500; line-height: 1.35; transition: color .2s, border-color .2s; }
.viewer__tab.is-active { border-color: currentColor; color: #000; font-weight: 600; }
.viewer__spec {
  display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 24px;
  border: 2px solid currentColor; font-size: 17px; transition: background .2s, color .2s, border-color .2s;
}
.viewer__spec:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.viewer:has(.viewer__panel--interior:not([hidden])) .viewer__tabs { border-color: rgb(255 255 255 / 25%); }
.viewer:has(.viewer__panel--interior:not([hidden])) .viewer__tab { color: rgb(255 255 255 / 60%); }
.viewer:has(.viewer__panel--interior:not([hidden])) .viewer__tab.is-active { color: var(--white); }
.viewer:has(.viewer__panel--interior:not([hidden])) .viewer__spec { color: var(--white); }
.viewer:has(.viewer__panel--interior:not([hidden])) .viewer__spec:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
@media (min-width: 768px) {
  .viewer { grid-template-rows: 1fr; }
  .viewer__bar { position: absolute; top: calc(var(--header-height) + 72px); right: clamp(24px, 2.4vw, 46px); display: grid; gap: 22px; padding: 0; }
}
/* Optional heading beside the 360° view (live F700) */
.viewer--intro { background: linear-gradient(135deg, var(--white), #f2f7f8); }
.viewer__intro { position: relative; z-index: 2; display: grid; gap: 22px; padding: 24px var(--gutter) 0; }
.viewer__eyebrow { color: #7ee2e7; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.viewer__intro h2 { font: 400 clamp(40px, 4.4vw, 84px)/1.02 var(--font-display); }
.viewer__intro h2 strong { display: block; color: var(--teal); font-weight: 400; }
.viewer__intro-text { color: #687284; font-size: 15px; }
@media (min-width: 768px) {
  .viewer--intro {
    grid-template-columns: minmax(0, 578px) minmax(0, 1fr); align-items: center; column-gap: clamp(32px, 3.65vw, 70px);
    padding-inline: clamp(24px, 5.2vw, 100px);
  }
  .viewer--intro .viewer__intro { padding: 0; }
}
.viewer__panel { display: grid; grid-template-rows: 1fr auto; }
.viewer__panel[hidden] { display: none; }
.viewer__panel--interior { position: absolute; inset: 0; background: var(--ink); color: var(--white); }
.viewer__stage {
  position: relative; display: grid; place-items: center;
  padding: 0 var(--gutter); cursor: grab; touch-action: pan-y; user-select: none;
}
.viewer__stage:not([role="slider"]) { cursor: default; }
.viewer__stage.is-dragging { cursor: grabbing; }
.viewer__frame { position: relative; z-index: 1; width: min(1100px, 100%); max-height: 62svh; object-fit: contain; pointer-events: none; }
.viewer__hint {
  position: absolute; left: 50%; bottom: 4%; z-index: 2; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  color: rgb(16 24 32 / 55%); font-size: 13px; white-space: nowrap; pointer-events: none;
  transition: opacity .4s;
}
.viewer__stage.has-rotated .viewer__hint { opacity: 0; }
.viewer__hint--light { bottom: auto; top: calc(var(--header-height) + 90px); color: rgb(255 255 255 / 70%); }
.viewer__progress { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--muted); font-size: 12px; }
.viewer__colors { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; padding: 20px var(--gutter) 40px; position: relative; z-index: 2; }
.viewer__color-name { min-width: 120px; color: var(--muted); font-size: 14px; text-align: right; }
.viewer__colors--interior { position: absolute; left: 0; right: 0; bottom: 56px; padding-bottom: 0; }
.viewer__colors--interior .viewer__color-name { color: rgb(255 255 255 / 80%); }
.viewer__pano { position: absolute; inset: 0; }

.swatches { display: flex; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / 70%); box-shadow: 0 4px 16px rgb(0 0 0 / 6%); }
.viewer__colors--interior .swatches { background: rgb(0 0 0 / 35%); }
.swatch {
  width: 26px; height: 26px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 12%);
  outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s, transform .2s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.is-active { outline-color: var(--teal); }

@media (max-width: 767px) {
  .viewer { min-height: 0; }
  .viewer__bar { justify-content: space-between; align-items: center; gap: 16px; }
  .viewer__tabs { gap: 24px; }
  .viewer__tab { font-size: 18px; }
  .viewer__spec { min-height: 42px; padding: 0 16px; font-size: 14px; }
  .viewer__stage { min-height: 46svh; }
  .viewer__panel--interior { position: relative; min-height: 70svh; }
  .viewer:has(.viewer__panel--interior:not([hidden])) { background: var(--ink); }
  .viewer__colors { flex-direction: column; }
  .viewer__color-name { text-align: center; }
}

/* Every vehicle page section fills the screen, so only one is in view at a time.
   Phones keep their own section heights (see the max-width: 767px rules). */
@media (min-width: 768px) {
  .page-model main > section { min-height: 100svh; }
}

/* Overview and key specifications (same layout as the live site) */
.model-overview, .key-specs {
  --section-pad: clamp(24px, 6.2vw, 118px);
  display: flex; flex-direction: column;
  padding-bottom: var(--model-bar);
}
.model-eyebrow {
  display: flex; align-items: center; gap: 13px; margin-bottom: 26px;
  color: var(--teal); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.model-eyebrow--line::before { content: ""; width: 40px; height: 3px; background: currentColor; }

.model-overview__content { padding: clamp(88px, 10svh, 120px) var(--section-pad) 32px; }
.model-overview__content > * { max-width: 920px; }
.model-overview h2 { max-width: 680px; font: 400 clamp(42px, 7svh, 80px)/.98 var(--font-display); }
.model-overview h2 strong { display: block; color: var(--teal); font-weight: 400; }
.model-overview__steering { display: flex; align-items: center; gap: 10px; margin: 30px 0 32px; color: #777f91; font-size: 14px; font-weight: 500; }
.model-overview__steering b {
  display: inline-flex; align-items: center; min-height: 28px; padding: 5px 12px;
  border: 1px solid #7ed4d8; border-radius: 999px; background: var(--surface-teal); color: var(--teal-dark);
  font-size: 12px; letter-spacing: .06em;
}
.model-overview__steering b::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.model-overview__summary { color: #566075; font-size: clamp(18px, 1.55vw, 24px); font-weight: 500; line-height: 1.65; }
.model-overview__commercial { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: min(760px, 100%); margin-top: 28px; }
.price-card {
  display: grid; align-content: center; justify-items: center; min-height: 150px; padding: 25px 28px;
  border: 2px solid var(--teal); border-radius: 16px; background: #f1fafb; text-align: center;
}
.price-card span { color: var(--teal-dark); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.price-card strong { margin: 5px 0 8px; font: 400 clamp(36px, 4vw, 58px)/1 var(--font-display); }
.price-card small { color: #777f91; font-size: 12px; }

.key-specs { background: var(--navy); color: var(--white); }
.key-specs__content { display: flex; flex: 1 0 auto; flex-direction: column; justify-content: center; padding: clamp(68px, 8vw, 110px) var(--section-pad); }
.key-specs__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(38px, 5vw, 66px); }
.key-specs__heading .model-eyebrow { margin: 0; color: #7ee2e7; }
.key-specs h2 { font: 400 clamp(34px, 4vw, 62px)/1.05 var(--font-display); }
.key-specs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid rgb(255 255 255 / 20%); }
.key-specs__grid div { min-height: 170px; padding: 35px clamp(18px, 2.5vw, 42px); border-right: 1px solid rgb(255 255 255 / 20%); }
.key-specs__grid div:first-child { padding-left: 0; }
.key-specs__grid div:last-child { border-right: 0; }
.key-specs__grid dt { margin-bottom: 26px; color: #9ba2b2; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.key-specs__grid dd { font-size: clamp(22px, 2.2vw, 35px); font-weight: 500; line-height: 1.2; }
.key-specs__disclaimer { margin-top: 20px; color: #8f96a6; font-size: 12px; line-height: 1.55; }

/* Previous / next section links at the bottom of a section */
.section-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: auto; padding: 20px var(--section-pad); font-size: 14px; }
.section-nav[hidden] { display: none; }
.section-nav button { padding: 10px 0; }
.section-nav button:hover { color: var(--teal); }

@media (max-height: 700px) and (min-width: 768px) {
  .key-specs__content { padding-top: 88px; padding-bottom: 24px; }
  .key-specs__heading { margin-bottom: 24px; }
  .key-specs__grid div { min-height: 120px; padding-top: 22px; padding-bottom: 22px; }
}
@media (max-width: 900px) {
  .key-specs__heading { flex-direction: column; align-items: flex-start; }
  .key-specs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .key-specs__grid div:nth-child(2) { border-right: 0; }
  .key-specs__grid div:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / 20%); }
  .key-specs__grid div:nth-child(3) { padding-left: 0; }
}
@media (max-width: 767px) {
  .model-overview__content, .key-specs__content { padding-top: 110px; }
}
@media (max-width: 620px) {
  .model-overview h2 { font-size: clamp(46px, 15vw, 70px); }
  .model-overview__commercial { grid-template-columns: 1fr; }
  .key-specs__grid { grid-template-columns: 1fr; }
  .key-specs__grid div, .key-specs__grid div:nth-child(3) { min-height: auto; padding: 27px 0; border-top: 1px solid rgb(255 255 255 / 20%); border-right: 0; }
  .key-specs__grid div:first-child { border-top: 0; }
  .key-specs__grid dt { margin-bottom: 10px; }
}

/* Full breakdown: accordion of specification groups (same layout as the live site) */
.spec-sheet {
  --section-pad: clamp(24px, 8vw, 130px);
  display: flex; flex-direction: column;
  padding: clamp(90px, 11svh, 130px) var(--section-pad) calc(var(--model-bar) + 8px);
  background: var(--white);
}
.spec-sheet h2 { font: 400 clamp(34px, 4vw, 60px)/1.1 var(--font-display); }
.spec-sheet__intro { margin: 20px 0 32px; color: #606875; line-height: 1.6; }
.spec-sheet__pending { max-width: 70ch; padding: 28px 0; border-block: 1px solid #d8dce0; color: #606875; font-size: 17px; line-height: 1.6; }
.spec-sheet__pending + .text-link { align-self: flex-start; margin-top: 24px; }
.spec-sheet__disclaimer { margin-top: 20px; color: #8f96a6; font-size: 12px; line-height: 1.55; }
.spec-table-wrap--embedded { max-height: min(62svh, 640px); margin-bottom: 24px; background: var(--white); }
.spec-table--embedded { min-width: 680px; font-size: 13px; }
.spec-sheet__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; }
.spec-sheet__nav[hidden] { display: none; }
.spec-sheet__previous { padding: 10px 0; font-size: 14px; }
.spec-sheet__previous:hover { color: var(--teal); }
.spec-sheet__nav .button { min-height: 0; padding: 14px 22px; border-radius: 0; background: var(--navy); font-size: 15px; font-weight: 400; }
.accordion { border-top: 1px solid #d8dce0; }
.accordion summary { position: relative; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; top: 18px; right: 4px; font-size: 24px; }
.accordion[open]:not(.is-closing) summary::after { content: "−"; }
.accordion dl { margin-bottom: 24px; }
.accordion dl div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 15px 18px; line-height: 1.5; }
.accordion dl div:nth-child(odd) { background: #f3f5f6; }
.accordion dt { color: #626a74; }
.accordion dd { font-weight: 500; }
.spec-page .spec-sheet { padding: clamp(56px, 8vw, 112px) 0; background: none; }

@media (max-width: 767px) {
  .spec-sheet { padding-top: 110px; padding-bottom: calc(var(--model-bar) + 24px); }
  .accordion summary { font-size: 17px; }
  .accordion dl div { grid-template-columns: 1fr; gap: 5px; padding: 14px; }
}

/* Image slides (carousel / tabs) */
.slides { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); color: var(--white); }
.slides__media, .slides__slide { position: absolute; inset: 0; }
.slides__slide { opacity: 0; transition: opacity .8s; }
.slides__slide[hidden] { display: block; visibility: hidden; }
.slides__slide.is-active { opacity: 1; visibility: visible; }
.slides__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s linear; }
.slides__slide.is-active img { transform: none; }
.slides::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgb(0 0 0 / 35%), transparent 30%, transparent 70%, rgb(0 0 0 / 55%)); pointer-events: none; }
/* Title, carousel caption and arrows: same positions and sizes as the live site, which scales them with the screen width. */
.slides__title {
  position: absolute; z-index: 2; left: 0; right: 0; top: max(calc(var(--header-height) + 24px), 9.8vw);
  padding: 0 var(--gutter); font-size: clamp(30px, 3.125vw, 60px); font-weight: 400; line-height: 1; text-align: center;
}
.slides__captions {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 32px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px;
}
.slides__caption {
  padding: 14px 0 0; border-top: 2px solid rgb(255 255 255 / 30%);
  color: rgb(255 255 255 / 65%); font-size: 14px; text-align: left;
  transition: color .3s, border-color .3s;
}
.slides__caption:hover { color: var(--white); }
.slides__caption.is-active { border-color: var(--white); color: var(--white); font-weight: 500; }
.slides--carousel .slides__captions { left: 50%; right: auto; transform: translateX(-50%); grid-auto-flow: row; text-align: center; }
.slides--carousel .slides__caption { display: none; border: 0; font-size: clamp(16px, 1.36vw, 26px); text-align: center; }
.slides--carousel .slides__caption.is-active { display: block; font-weight: 400; animation: rise .8s var(--ease) both; }
.slides__arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); }
.slides__arrow--prev { left: var(--gutter); }
.slides__arrow--next { right: var(--gutter); }
.slides--carousel .slides__arrow { background: rgb(255 255 255 / 10%); }
.slides--carousel .slides__arrow:hover { background: rgb(255 255 255 / 22%); }
@media (min-width: 768px) {
  /* Keep the caption and arrows clear of the bar at the bottom of the screen. */
  .slides--carousel .slides__captions { bottom: calc(var(--model-bar) + clamp(40px, 6.5vw, 125px)); }
  .slides__arrow { top: calc(50% - var(--model-bar) / 2); width: 54px; height: 54px; }
  .slides__arrow--prev { left: clamp(16px, 4.17vw, 80px); }
  .slides__arrow--next { right: clamp(16px, 4.17vw, 80px); }
  .slides--tabs .slides__title { line-height: 1.5; }
  .slides--tabs .slides__captions {
    left: clamp(16px, 3.125vw, 60px); right: clamp(16px, 3.125vw, 60px);
    bottom: calc(var(--model-bar) + clamp(16px, 1.56vw, 30px)); align-items: start; gap: 24px;
  }
  .slides--tabs .slides__caption {
    padding-top: 20px; border-top-color: var(--white); color: var(--white);
    font-size: clamp(15px, 1.25vw, 24px); line-height: 1.5; opacity: .6; transition: opacity .3s;
  }
  .slides--tabs .slides__caption:hover { opacity: .85; }
  .slides--tabs .slides__caption.is-active { font-weight: 400; opacity: 1; }
}

@media (max-width: 767px) {
  .slides { height: auto; min-height: 0; aspect-ratio: 3 / 4; }
  .slides__captions { grid-auto-flow: row; grid-auto-columns: auto; bottom: 20px; }
  .slides--tabs .slides__caption { display: none; }
  .slides--tabs .slides__caption.is-active { display: block; }
  .slides--tabs .slides__captions::after { content: "‹ ›"; position: absolute; right: 0; bottom: 0; letter-spacing: 8px; opacity: .7; }
  .slides__arrow { top: auto; bottom: 16px; transform: none; width: 38px; height: 38px; }
}

/* Feature grid: the photos fill the screen below the title, as on the live site
   (6 = 3x2, 5 = 3 + 2, 4 = 2x2, 3 = one tall photo and two stacked, 2 = side by side). */
.feature-grid {
  display: flex; flex-direction: column;
  padding: 15.5svh clamp(16px, 2.6vw, 50px) calc(var(--model-bar) + 6svh);
  background: #afafaf; color: var(--white);
}
.feature-grid__title { margin-bottom: clamp(32px, 3.7vw, 71px); padding: 0 50px; font-size: clamp(30px, 3.125vw, 60px); font-weight: 400; line-height: 1; text-align: center; }
.feature-grid__items { display: grid; flex: 1 1 0; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 16px; }
.feature-grid--2 .feature-grid__items, .feature-grid--3 .feature-grid__items, .feature-grid--4 .feature-grid__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid--3 .feature-tile:first-child { grid-row: span 2; }
.feature-tile { position: relative; overflow: hidden; background: #777; }
.feature-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-tile:hover img { transform: scale(1.06); }
.feature-tile p {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 40px clamp(14px, 1.35vw, 26px);
  background: linear-gradient(transparent, rgb(0 0 0 / 45%)); font-size: clamp(15px, 1.354vw, 26px); line-height: 1.5;
}
@media (min-width: 768px) {
  .page-model .feature-grid { height: 100svh; }
}

@media (max-width: 767px) {
  .feature-grid { padding: 56px var(--gutter) 48px; }
  .feature-grid__title { padding: 0; }
  .feature-grid__items, .feature-grid--2 .feature-grid__items, .feature-grid--3 .feature-grid__items, .feature-grid--4 .feature-grid__items { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .feature-grid--3 .feature-tile:first-child { grid-row: auto; }
  .feature-tile { aspect-ratio: 3 / 2; }
  .feature-tile p { padding: 40px 20px 16px; }
}

/* Gallery collage */
.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 100svh; min-height: 560px; }
.gallery__item { overflow: hidden; }
.gallery__item--1 { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }

@media (max-width: 767px) {
  .gallery { height: auto; min-height: 0; grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery__item--1 { grid-row: auto; }
  .gallery__item { aspect-ratio: 4 / 3; }
}

/* Video strip: large videos that scroll sideways between two arrows, as on the live site */
.video-strip {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-content: center; align-items: center; column-gap: 40px; row-gap: 48px;
  padding: calc(var(--header-height) + 24px) clamp(16px, 2.7vw, 52px) calc(var(--model-bar) + 24px);
  background: var(--white); color: var(--ink);
}
.video-strip__list { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.video-strip__list::-webkit-scrollbar { display: none; }
.video-strip__arrow { width: 56px; height: 56px; background: rgb(0 0 0 / 5%); }
.video-strip__arrow[hidden] { display: grid; visibility: hidden; }
.video-strip__arrow:disabled { opacity: .3; cursor: default; }
.video-strip__progress { display: flex; grid-column: 1 / -1; height: 5px; }
.video-strip__progress[hidden] { display: none; }
.video-strip__progress span { flex: 1; background: var(--ink); opacity: .12; transition: opacity .3s; }
.video-strip__progress span.is-active { opacity: 1; }
.video-card { flex: 0 0 min(796px, 41.5vw); scroll-snap-align: start; }
.video-card video { width: 100%; aspect-ratio: 796 / 520; object-fit: cover; background: #000; }
.video-card p { margin-top: 24px; font-size: clamp(16px, 1.354vw, 26px); text-align: center; }

@media (max-width: 767px) {
  .video-strip { grid-template-columns: minmax(0, 1fr); row-gap: 24px; padding: 56px 0 48px; }
  .video-strip__arrow { display: none; }
  .video-strip__list { padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); }
  .video-strip__progress { margin: 0 var(--gutter); }
  .video-card { flex-basis: 80vw; }
}

/* Full-screen film */
.film { position: relative; height: 100svh; min-height: 480px; background: #000; }
.film__video { width: 100%; height: 100%; object-fit: cover; }
.film__toggle { position: absolute; right: var(--gutter); bottom: 32px; }

/* F700 feature + figures (same layout as the live F700 page) */
.feature {
  position: relative; display: flex; align-items: flex-end; justify-content: flex-end; min-height: 100svh;
  padding: calc(var(--header-height) + 32px) clamp(24px, 5.7vw, 110px) max(115px, calc(var(--model-bar) + 32px));
}
.feature__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__card { position: relative; display: grid; gap: 22px; width: min(570px, 100%); padding: clamp(28px, 2.9vw, 55px); background: rgb(10 16 30 / 88%); color: var(--white); }
.feature__card .eyebrow { color: #7ee2e7; }
.feature__card h2 { font: 400 clamp(40px, 4.4vw, 84px)/1.02 var(--font-display); }
.feature__card p:last-child { color: rgb(255 255 255 / 75%); font-size: clamp(16px, 1.04vw, 20px); line-height: 1.6; }
.figures { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); }
.figures__item { position: relative; overflow: hidden; color: var(--white); }
.figures__item + .figures__item { border-left: 1px solid rgb(255 255 255 / 25%); }
.figures__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.figures__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: start;
  padding: 120px clamp(24px, 3.65vw, 70px) max(85px, calc(var(--model-bar) + 16px)); background: linear-gradient(transparent, rgb(0 0 0 / 55%));
}
.figures__item b { font: 400 clamp(28px, 2.7vw, 52px)/1.5 var(--font-display); }
.figures__item span { max-width: 540px; color: rgb(255 255 255 / 76%); font-size: clamp(15px, 1vw, 19px); line-height: 1.55; }

@media (max-width: 767px) {
  .feature { justify-content: center; padding-bottom: 48px; }
  .figures { grid-template-columns: 1fr; }
  .figures__item { aspect-ratio: 4 / 5; }
  .figures__item + .figures__item { border-left: 0; border-top: 1px solid rgb(255 255 255 / 25%); }
  .figures__item figcaption { padding-bottom: 32px; }
}

/* Model call to action */
.model-cta {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 80svh;
  padding: 0 24px var(--model-bar); overflow: hidden; color: var(--white); text-align: center;
}
.model-cta__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.model-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(7 14 20 / 80%), rgb(7 14 20 / 48%)); }
.model-cta__content { position: relative; z-index: 2; display: grid; justify-items: center; max-width: 900px; padding: 100px 0 40px; }
.model-cta .model-eyebrow { justify-content: center; margin-bottom: 18px; color: #9ce5e8; }
.model-cta h2 { font: 400 clamp(40px, 5.5vw, 82px)/1.05 var(--font-display); }
.model-cta__text { margin-top: 17px; font-size: 18px; line-height: 1.6; }
.model-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.model-cta__button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 25px;
  border: 1px solid var(--white); background: var(--white); color: var(--navy); font-size: 16px; font-weight: 600;
  transition: background-color .2s, color .2s;
}
.model-cta__button--outline { background: transparent; color: var(--white); }
.model-cta__button:hover { background: #dcf0f1; color: var(--navy); }
.model-cta .section-nav { position: relative; z-index: 2; justify-content: center; width: 100%; margin-top: 0; padding: 20px 0; }

/* Persistent model actions */
.model-actions {
  position: fixed; inset: auto 0 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  height: var(--model-bar); padding: 0 var(--gutter); background: rgb(255 255 255 / 96%);
  box-shadow: 0 -1px 0 rgb(16 24 32 / 8%), 0 -10px 30px rgb(16 24 32 / 10%); backdrop-filter: blur(10px);
  transform: translateY(100%); transition: transform .4s var(--ease);
}
.model-actions.is-visible { transform: none; }
.model-actions__name { font-family: var(--font-display); font-size: 18px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.model-actions__links { display: flex; gap: 10px; }
.page-model .site-footer { padding-bottom: var(--model-bar); }
/* Keep the viewer's colour picker clear of the bar. */
.page-model .viewer { padding-bottom: var(--model-bar); }
.page-model .viewer__colors--interior { bottom: calc(56px + var(--model-bar)); }

@media (max-width: 600px) {
  :root { --model-bar: 60px; }
  .model-actions { gap: 10px; padding: 0 12px; }
  .model-actions__name { display: none; }
  .model-actions__links { flex: 1; }
  .model-actions__links .button { flex: 1; padding-inline: 10px; }
}

/* Specification page ---------------------------------------------- */

.spec-page { max-width: 1480px; margin: 0 auto; padding: 40px var(--gutter) 96px; }
.spec-page__header { display: grid; gap: 10px; margin-bottom: 32px; }
.spec-page__header h1 { display: grid; gap: 12px; margin-top: 24px; font-size: clamp(34px, 4vw, 56px); font-weight: 400; }
.spec-page__model { display: flex; align-items: center; gap: 18px; }
.spec-page__brand { width: clamp(150px, 16vw, 240px); height: auto; }
.spec-page__logo { width: auto; height: clamp(30px, 3vw, 46px); }
.spec-page__model span:not(.visually-hidden) { font: 700 clamp(28px, 3vw, 44px) var(--font-display); }
.spec-page__header p { color: var(--muted); font-size: 14px; }
.spec-page__scroll-hint { display: none; margin-bottom: 8px; color: var(--muted); font-size: 13px; }
.spec-page__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 48px; }

.spec-table-wrap { overflow: auto; max-height: calc(100svh - var(--header-height) - 24px); border: 1px solid var(--border); }
.spec-table { width: 100%; min-width: 760px; font-size: 14px; }
.spec-table th, .spec-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.spec-table thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--teal); color: var(--white); font-weight: 700;
}
.spec-table tbody th[scope="row"] {
  position: sticky; left: 0; z-index: 1;
  min-width: 200px; background: var(--white); font-weight: 400; text-align: left;
}
.spec-table thead th:first-child { left: 0; z-index: 3; text-align: left; }
.spec-table__group th {
  position: sticky; left: 0;
  background: #e2e2e2; font-weight: 700; text-align: left;
}
.spec-table tbody tr:not(.spec-table__group):hover td,
.spec-table tbody tr:not(.spec-table__group):hover th { background: #f6fafa; }

@media (max-width: 900px) {
  .spec-page__scroll-hint { display: block; }
}

/* Motion preferences ---------------------------------------------- */

/* Mobile section rhythm -------------------------------------------
   Keep the native touch scroll, but let short, screen-sized sections
   settle cleanly into view. Taller content remains freely scrollable. */
@media (max-width: 767px) {
  html:has(.page-home),
  html:has(.page-model) {
    scroll-snap-type: y proximity;
    scroll-padding-top: 0;
  }

  .page-home main > section,
  .page-home .service-card,
  .page-model main > section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .page-home main > section,
  .page-model main > section {
    min-height: 100svh;
  }

  /* The model carousel is exactly one phone screen. Its stage may shrink,
     while the car canvas always stays contained inside the available area. */
  .showcase {
    height: 100svh;
    min-height: 100svh;
    grid-template-rows: minmax(0, 1fr) auto;
    padding: calc(var(--header-height) + 12px) var(--gutter) 18px;
  }
  .showcase__stage,
  .showcase__slide { min-height: 0; }
  .showcase__slide {
    grid-template-rows: minmax(0, 1fr) auto;
    align-content: stretch;
  }
  .showcase__title {
    width: min(82vw, 400px);
    margin-top: 1svh;
  }
  .showcase__car {
    align-self: center;
    width: min(100%, 560px);
    max-width: 100%;
    margin-top: clamp(24px, 5svh, 52px);
  }
  .showcase__car > img:first-child {
    object-fit: contain;
    object-position: center;
  }
  .showcase__cta {
    min-width: 190px;
    margin-top: 8px;
  }
  .showcase__nav {
    min-width: 0;
    margin-top: 12px;
  }
  .showcase__thumbs {
    min-width: 0;
    scroll-padding-inline: 0;
  }

  /* Mobile vehicle menu cards keep the complete transparent car canvas
     inside each tile, including narrow phones and landscape screens. */
  .vehicle-card,
  .vehicle-card__image { min-width: 0; }
  .vehicle-card__image {
    aspect-ratio: 4 / 3;
    padding: 12px 6px;
  }
  .vehicle-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }

  /* These immersive model sections were previously reduced to their
     content ratio on phones, which exposed neighbouring sections. */
  .page-model .viewer { min-height: 100svh; }
  .page-model .slides {
    height: 100svh;
    min-height: 100svh;
    aspect-ratio: auto;
  }
  .page-model .model-cta { min-height: 100svh; }

  /* Each service card is its own visual sector within the services group. */
  .page-home .service-card { min-height: 100svh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html:has(.page-home), html:has(.page-model) { scroll-snap-type: none; }
}
