/* =============================================================
   JAECOO J8 FLAGSHIP — Visual System v2
   Typography: Sora (display) + Manrope (body/UI)
   Scope: .j8-page — does not affect J5, J7, or global pages
   =============================================================*/

/* ── FONT IMPORTS (J8-only via @import in this file) ─────── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800;900&family=Manrope:wght@400;500;600&display=swap');

/* ── J8 TOKEN LAYER ──────────────────────────────────────── */
.j8-page {
  --j8-dark:    #0c0d0f;
  --j8-darker:  #070809;
  --j8-surface: #111316;
  --j8-light:   #f2f1ed;
  --j8-muted:   #8a8a86;
  --j8-accent:  #c4a05a;
  --j8-line:    rgba(255,255,255,.09);
  --j8-line-mid:rgba(255,255,255,.15);

  /* Typography */
  --j8-font-display: 'Sora', 'Helvetica Neue', Arial, sans-serif;
  --j8-font-body:    'Manrope', 'Helvetica Neue', Arial, sans-serif;

  /* Easing */
  --j8-ease: cubic-bezier(0.16, 1, 0.3, 1);

  background: var(--j8-dark);
  color: var(--j8-light);
  font-family: var(--j8-font-body);
  overflow-x: hidden;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.j8-page .j8-container {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 72px);
}

.j8-page .j8-section {
  padding-block: clamp(80px, 10vw, 148px);
}

.j8-page .j8-section--dark  { background: var(--j8-darker); }
.j8-page .j8-section--light { background: var(--j8-surface); }

/* ── J8 SUBNAV ───────────────────────────────────────────── */
.j8-subnav {
  position: sticky;
  top: var(--nav-height, 84px);
  z-index: 90;
  background: rgba(8, 9, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--j8-line);
  overflow-x: auto;
  scrollbar-width: none;
}
.j8-subnav::-webkit-scrollbar { display: none; }

.j8-subnav__inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: min(1440px, 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 72px);
  min-width: max-content;
}

.j8-subnav__model {
  font-family: var(--j8-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--j8-accent);
  padding: 18px 24px 18px 0;
  border-right: 1px solid var(--j8-line);
  margin-right: 8px;
  white-space: nowrap;
}

.j8-subnav__link {
  font-family: var(--j8-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242,241,237,.46);
  padding: 18px 20px;
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}

.j8-subnav__link:hover { color: rgba(242,241,237,.8); }

.j8-subnav__link--active {
  color: var(--j8-light);
}

.j8-subnav__link--active::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 1.5px;
  background: var(--j8-accent);
}

@media (max-width: 640px) {
  .j8-subnav { top: var(--nav-height-mobile, 64px); }
  .j8-subnav__link { padding: 16px 16px; }
  .j8-subnav__link--active::after { left: 16px; right: 16px; }
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.j8-page .j8-kicker {
  font-family: var(--j8-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--j8-accent);
  margin: 0 0 18px;
}

.j8-page .j8-display {
  font-family: var(--j8-font-display);
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--j8-light);
}

.j8-page .j8-title {
  font-family: var(--j8-font-display);
  font-size: clamp(2.1rem, 4.8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--j8-light);
}

.j8-page .j8-lead {
  font-family: var(--j8-font-body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 400;
  line-height: 1.78;
  color: var(--j8-muted);
  max-width: 64ch;
}

.j8-page .j8-note {
  font-family: var(--j8-font-body);
  font-size: 11px;
  line-height: 1.6;
  color: #666663;
  margin-top: 20px;
  letter-spacing: 0.03em;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.j8-page .j8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 26px;
  font-family: var(--j8-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--j8-accent);
  color: var(--j8-accent);
  background: transparent;
  transition: background-color .22s, color .22s, border-color .22s;
  cursor: pointer;
}

.j8-page .j8-btn:hover {
  background: var(--j8-accent);
  color: #0b0b0b;
}

.j8-page .j8-btn--solid {
  background: var(--j8-accent);
  color: #0b0b0b;
}

.j8-page .j8-btn--solid:hover {
  background: #d6b470;
  border-color: #d6b470;
}

.j8-page .j8-btn--ghost {
  border-color: rgba(255,255,255,.5);
  color: #fff;
  background: rgba(0,0,0,.15);
}

.j8-page .j8-btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
  color: #fff;
}

.j8-page .j8-btn--dark {
  border-color: #111;
  background: #111;
  color: #fff;
}

.j8-page .j8-btn--dark:hover {
  background: #222;
}

/* ── HERO ────────────────────────────────────────────────── */
.j8-page .j8-hero {
  position: relative;
  overflow: hidden;
  background: #050505;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: clamp(620px, 88svh, 940px);
}

.j8-page .j8-hero--image  { min-height: clamp(620px, 86svh, 900px); }
.j8-page .j8-hero--video  { min-height: clamp(620px, 88svh, 940px); }
.j8-page .j8-hero--compact { min-height: clamp(560px, 76svh, 820px); }

.j8-page .j8-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .72;
}

.j8-page .j8-hero--video .j8-hero__media {
  object-fit: cover;
  object-position: center;
}

.j8-page .j8-hero--image .j8-hero__media {
  object-fit: cover;
  object-position: center;
}

.j8-page .j8-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Cinematic vignette: top-right lighter, bottom-left dense */
  background:
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.0) 30%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.88) 100%),
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, transparent 60%);
  pointer-events: none;
}

.j8-page .j8-hero__content {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px) clamp(52px, 8vh, 96px);
  text-align: left;
}

.j8-page .j8-hero__content .j8-kicker {
  margin-bottom: 12px;
  opacity: .75;
}

.j8-page .j8-hero__content .j8-lead {
  margin: 22px 0 0;
  max-width: 600px;
  color: rgba(242,241,237,.78);
}

.j8-page .j8-hero__actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ── COPY BLOCKS ─────────────────────────────────────────── */
.j8-page .j8-copy-block {
  max-width: 820px;
  margin-bottom: 52px;
}

.j8-page .j8-copy-block--center {
  text-align: center;
  margin-inline: auto;
}

.j8-page .j8-section-head {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-end;
  margin-bottom: 52px;
}

.j8-page .j8-section-head > .j8-lead {
  margin: 0;
  max-width: 540px;
}

/* ── SPLITS (two-col) ────────────────────────────────────── */
.j8-page .j8-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.j8-page .j8-split--reverse .j8-split__media { order: 0; }
.j8-page .j8-split__copy { max-width: 620px; }
.j8-page .j8-split__media { min-width: 0; }
.j8-page .j8-split--colors { align-items: center; }
.j8-page .j8-split--colors .j8-split__copy  { order: 1; }
.j8-page .j8-split--colors .j8-color-stage  { order: 2; }

/* ── STATS ───────────────────────────────────────────────── */
.j8-page .j8-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--j8-line);
  margin-top: 40px;
}

.j8-page .j8-stat {
  background: var(--j8-dark);
  padding: 28px;
}

.j8-page .j8-stat strong {
  display: block;
  font-family: var(--j8-font-display);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--j8-light);
}

.j8-page .j8-stat span {
  display: block;
  margin-top: 8px;
  font-family: var(--j8-font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--j8-muted);
}

/* ── COLOUR SELECTOR ─────────────────────────────────────── */
.j8-page .j8-color-stage {
  height: clamp(280px, 38vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.j8-page .j8-color-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .25s ease;
}

.j8-page .j8-color-stage img.is-fading { opacity: 0; }

.j8-page .j8-swatches {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.j8-page .j8-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 1px solid rgba(255,255,255,.2);
  outline-offset: 2px;
  cursor: pointer;
  transition: transform .2s, border-color .2s;
}

.j8-page .j8-swatch:hover { transform: scale(1.08); }
.j8-page .j8-swatch[aria-pressed="true"] { border-color: var(--j8-accent); }

.j8-page .j8-color-name {
  margin: 14px 0 22px;
  font-family: var(--j8-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--j8-muted);
}

/* ── MEDIA FRAMES ────────────────────────────────────────── */
.j8-page .j8-media-frame {
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
}

.j8-page .j8-media-frame .j8-media {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.j8-page .j8-media {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  aspect-ratio: 16/9;
}

.j8-page .j8-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.94) contrast(1.02);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.j8-page .j8-media:hover img { transform: scale(1.022); }
.j8-page .j8-media--portrait  { aspect-ratio: 4/5; }
.j8-page .j8-media--square    { aspect-ratio: 1/1; }
.j8-page .j8-media--wide      { aspect-ratio: 16/9; }
.j8-page .j8-media--contain   { object-fit: contain !important; }

/* ── PHOTO GRIDS ─────────────────────────────────────────── */
.j8-page .j8-photo-grid { display: grid; gap: 18px; }
.j8-page .j8-photo-grid--capability  { grid-template-columns: repeat(3, minmax(0,1fr)); }
.j8-page .j8-photo-grid--details     { grid-template-columns: repeat(3, minmax(0,1fr)); }
.j8-page .j8-photo-grid--rear        { grid-template-columns: 1.35fr 1fr 1fr; }

.j8-page .j8-photo-grid--editorial   { grid-template-columns: repeat(12, minmax(0,1fr)); }
.j8-page .j8-photo-grid--editorial .j8-photo-card:nth-child(1),
.j8-page .j8-photo-grid--editorial .j8-photo-card:nth-child(4) { grid-column: span 7; }
.j8-page .j8-photo-grid--editorial .j8-photo-card:nth-child(2),
.j8-page .j8-photo-grid--editorial .j8-photo-card:nth-child(3),
.j8-page .j8-photo-grid--editorial .j8-photo-card:nth-child(5),
.j8-page .j8-photo-grid--editorial .j8-photo-card:nth-child(6) { grid-column: span 5; }

.j8-page .j8-photo-card {
  position: relative;
  min-width: 0;
  margin: 0;
  background: #111;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 16px 48px rgba(0,0,0,.16);
}

.j8-page .j8-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #111;
  filter: saturate(.94) contrast(1.02);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.j8-page .j8-photo-card:hover img { transform: scale(1.018); }

.j8-page .j8-photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,rgba(255,255,255,.03) 0%,transparent 28%,transparent 70%,rgba(0,0,0,.1) 100%);
  opacity: .7;
}

.j8-page .j8-photo-card figcaption {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
  background: linear-gradient(180deg,#141619,#0d0e10);
}

.j8-page .j8-photo-card figcaption span,
.j8-page .j8-feature-photo__caption span {
  font-family: var(--j8-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--j8-accent);
}

.j8-page .j8-photo-card figcaption strong,
.j8-page .j8-feature-photo__caption strong {
  font-family: var(--j8-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.15;
  color: #f0efe9;
}

/* ── FEATURE PHOTO ───────────────────────────────────────── */
.j8-page .j8-feature-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,.07);
}

.j8-page .j8-feature-photo > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #111;
}

.j8-page .j8-feature-photo__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  background: linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.82));
  text-shadow: 0 1px 10px rgba(0,0,0,.6);
}

/* ── VIDEO BLOCK ─────────────────────────────────────────── */
.j8-page .j8-video {
  position: relative;
  background: #050505;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.j8-page .j8-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.j8-page .j8-video__label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 10px;
  background: rgba(0,0,0,.65);
  font-family: var(--j8-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── SCROLL GALLERY ──────────────────────────────────────── */
.j8-page .j8-scroll-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.j8-page .j8-scroll-gallery > * {
  flex: 0 0 min(82vw, 520px);
  scroll-snap-align: center;
}

/* ── SPEC TABLE / ACCORDION ──────────────────────────────── */
.j8-page .j8-spec-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 0 24px;
  color: var(--j8-muted);
  line-height: 1.7;
}

.j8-page .j8-spec-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.05);
  font-family: var(--j8-font-body);
  font-size: 13.5px;
}

.j8-page .j8-spec-row strong {
  color: #edece7;
  font-weight: 600;
}

.j8-page .j8-accordion { border-top: 1px solid var(--j8-line); }
.j8-page .j8-accordion__item { border-bottom: 1px solid var(--j8-line); }

.j8-page .j8-accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: var(--j8-font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.j8-page .j8-accordion__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--j8-line);
  border-radius: 50%;
  font-size: 1.1rem;
  flex: 0 0 auto;
  transition: transform .25s;
}

.j8-page .j8-accordion__trigger[aria-expanded="true"] .j8-accordion__icon { transform: rotate(45deg); }
.j8-page .j8-accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.j8-page .j8-accordion__panel > div { overflow: hidden; }
.j8-page .j8-accordion__panel[hidden] { display: grid; }
.j8-page .j8-accordion__panel.is-open { grid-template-rows: 1fr; }

/* ── SEAT VISUAL ─────────────────────────────────────────── */
.j8-page .j8-seat-visual {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 22px;
}

.j8-page .j8-seat {
  border: 1px solid var(--j8-line);
  padding: 18px 12px;
  text-align: center;
}

.j8-page .j8-seat strong {
  display: block;
  font-family: var(--j8-font-display);
  font-size: 1.5rem;
  font-weight: 800;
}

.j8-page .j8-seat span {
  display: block;
  margin-top: 4px;
  font-family: var(--j8-font-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--j8-muted);
}

/* ── PLACEHOLDER ─────────────────────────────────────────── */
.j8-page .j8-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  width: 100%;
  aspect-ratio: 16/9;
  padding: clamp(20px,3vw,36px);
  overflow: hidden;
  background: linear-gradient(135deg,#1b1d20,#101113);
  border: 1px solid rgba(196,160,90,.55);
}

.j8-page .j8-placeholder::before {
  content: 'DEVELOPMENT PLACEHOLDER';
  display: block;
  margin-bottom: auto;
  font: 600 .65rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
  color: var(--j8-accent);
}

/* ── GALLERY (old) ───────────────────────────────────────── */
.j8-page .j8-gallery { display: grid; grid-template-columns: 1fr; gap: 16px; }
.j8-page .j8-gallery--wide { grid-template-columns: 1fr; }
.j8-page .j8-gallery__item { min-width: 0; }

/* ── VARIANT PRICING — REDESIGNED ────────────────────────── */
.j8-page .j8-pricing-section {
  /* Inherits section padding from .j8-section */
}

.j8-page .j8-pricing-header {
  text-align: center;
  margin-bottom: 72px;
}

.j8-page .j8-pricing-header .j8-title {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 0;
}

.j8-page .j8-variant-layout {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: start;
  gap: 0;
  max-width: 1040px;
  margin-inline: auto;
}

.j8-page .j8-variant-divider {
  background: rgba(255,255,255,.08);
  height: 100%;
  min-height: 320px;
  align-self: stretch;
}

.j8-page .j8-variant-item {
  padding: clamp(36px, 5vw, 60px) clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.j8-page .j8-variant-tag {
  font-family: var(--j8-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--j8-accent);
  margin: 0 0 14px;
}

.j8-page .j8-variant-name {
  font-family: var(--j8-font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--j8-light);
  margin: 0 0 6px;
}

.j8-page .j8-variant-sub {
  font-family: var(--j8-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--j8-muted);
  margin: 0 0 28px;
}

.j8-page .j8-variant-price {
  font-family: var(--j8-font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--j8-light);
  margin: 0;
  line-height: 1;
}

.j8-page .j8-variant-otr {
  font-family: var(--j8-font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--j8-muted);
  margin: 8px 0 32px;
}

.j8-page .j8-variant-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
}

.j8-page .j8-variant-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-family: var(--j8-font-body);
  font-size: 12.5px;
}

.j8-page .j8-variant-specs li span { color: var(--j8-muted); font-weight: 400; }
.j8-page .j8-variant-specs li strong { color: var(--j8-light); font-weight: 600; text-align: right; }

/* CTA link style — minimal text-link approach */
.j8-page .j8-variant-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--j8-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--j8-accent);
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: gap .2s, color .2s;
  margin-top: auto;
}

.j8-page .j8-variant-cta::after {
  content: '→';
  font-size: 14px;
  font-weight: 400;
  transition: transform .2s;
}

.j8-page .j8-variant-cta:hover {
  color: #d6b470;
  gap: 12px;
}

.j8-page .j8-variant-cta:hover::after { transform: translateX(2px); }

/* Highlighted variant */
.j8-page .j8-variant-item--featured .j8-variant-name { color: var(--j8-light); }
.j8-page .j8-variant-item--featured .j8-variant-price { color: var(--j8-accent); }

.j8-page .j8-pricing-note {
  text-align: center;
  margin-top: 40px;
  font-family: var(--j8-font-body);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #5a5a57;
}

/* Legacy variant classes (kept for compat, hidden by redesign) */
.j8-page .j8-variant-grid { display: none; }

/* ── CTA BAND ─────────────────────────────────────────────── */
.j8-page .j8-cta {
  padding: clamp(72px,9vw,120px) 24px;
  text-align: center;
  background: var(--j8-accent);
  color: #0a0a0a;
}

.j8-page .j8-cta .j8-title {
  max-width: 800px;
  margin-inline: auto;
  color: #0a0a0a;
  font-size: clamp(2rem, 4vw, 4rem);
}

.j8-page .j8-cta p {
  font-family: var(--j8-font-body);
  font-size: 15px;
  color: rgba(10,10,10,.7);
  max-width: 560px;
  margin-inline: auto;
  margin-top: 14px;
}

.j8-page .j8-cta .j8-btn {
  border-color: #0a0a0a;
  background: #0a0a0a;
  color: #fff;
  margin-top: 32px;
}

.j8-page .j8-cta .j8-btn:hover { background: #242424; }

.j8-page .j8-cta__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ── NEXT-PAGE SECTION ───────────────────────────────────── */
.j8-page .j8-section--next-page {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 64px;
  padding-bottom: 64px;
}

.j8-page .j8-next-page { max-width: 560px; }
.j8-page .j8-next-page .j8-kicker { margin-bottom: 12px; opacity: .6; }
.j8-page .j8-next-page .j8-title  { margin-bottom: 16px; font-size: clamp(1.6rem, 3vw, 2.8rem); }
.j8-page .j8-next-page .j8-lead   { margin-bottom: 32px; opacity: .75; }
.j8-page .j8-next-page .j8-btn    { display: inline-flex; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
.j8-page .j8-anim {
  opacity: 0;
  will-change: transform, opacity, filter, clip-path;
  transition:
    opacity .9s var(--j8-ease),
    transform .9s var(--j8-ease),
    filter .9s var(--j8-ease),
    clip-path .9s var(--j8-ease);
}

.j8-page .j8-anim--fade-up  { transform: translateY(32px); }
.j8-page .j8-anim--blur     { filter: blur(10px); transform: scale(1.014); }
.j8-page .j8-anim--clip     { clip-path: inset(0 100% 0 0); transform: translateX(-16px); }
.j8-page .j8-anim--scale    { transform: scale(.965); }

.j8-page .j8-anim.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(0 0 0 0);
}

/* ── RESPONSIVE — DESKTOP ─────────────────────────────────── */
@media (min-width: 1100px) {
  .j8-page .j8-section { padding-block: clamp(96px,8vw,148px); }
  .j8-page .j8-photo-grid--editorial { gap: 22px; }
  .j8-page .j8-photo-grid--capability { gap: 22px; }
  .j8-page .j8-photo-grid--details    { gap: 22px; }
  .j8-page .j8-stat { padding: 32px; }
  .j8-page .j8-hero__content { padding-bottom: 96px; }
}

@media (min-width: 760px) {
  .j8-page .j8-stat-grid { grid-template-columns: repeat(4,1fr); }
  .j8-page .j8-gallery   { grid-template-columns: repeat(2,1fr); }
  .j8-page .j8-gallery--three { grid-template-columns: repeat(3,1fr); }
  .j8-page .j8-gallery--wide  { grid-template-columns: 2fr 1fr; }
  .j8-page .j8-split { grid-template-columns: 1fr 1fr; }
  .j8-page .j8-split--reverse .j8-split__media { order: 2; }
  .j8-page .j8-spec-list { max-width: 760px; margin-inline: auto; }
}

/* ── RESPONSIVE — TABLET ─────────────────────────────────── */
@media (max-width: 900px) {
  .j8-page .j8-section-head { display: block; }
  .j8-page .j8-section-head > .j8-lead { margin-top: 18px; }

  .j8-page .j8-photo-grid--capability {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .j8-page .j8-photo-grid--capability .j8-photo-card {
    flex: 0 0 min(78vw, 390px);
    scroll-snap-align: start;
  }

  .j8-page .j8-photo-grid--editorial,
  .j8-page .j8-photo-grid--rear,
  .j8-page .j8-photo-grid--details { grid-template-columns: repeat(2,minmax(0,1fr)); }

  .j8-page .j8-photo-grid--editorial .j8-photo-card:nth-child(n) { grid-column: span 1; }
  .j8-page .j8-photo-grid--details .j8-photo-card:nth-child(3) { grid-column: span 2; }
}

/* ── PRICING RESPONSIVE ──────────────────────────────────── */
@media (max-width: 860px) {
  .j8-page .j8-variant-layout {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
  .j8-page .j8-variant-divider {
    display: none;
  }
  .j8-page .j8-variant-item {
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 40px 0;
  }
  .j8-page .j8-variant-item:last-child { border-bottom: none; }
  .j8-page .j8-variant-item--featured { order: -1; }
}

/* ── RESPONSIVE — MOBILE ─────────────────────────────────── */
@media (max-width: 640px) {
  .j8-page .j8-hero { min-height: calc(100svh - var(--nav-height-mobile,64px)); }
  .j8-page .j8-hero--image  { min-height: calc(100svh - 64px); }
  .j8-page .j8-hero--video  { min-height: calc(100svh - 64px); }
  .j8-page .j8-hero--compact { min-height: calc(82svh - 64px); }

  .j8-page .j8-hero__media { object-position: 58% center; }

  .j8-page .j8-hero__content {
    padding: 0 20px 40px;
    text-align: left;
  }

  .j8-page .j8-hero__content .j8-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .j8-page .j8-hero__actions { margin-top: 24px; }

  .j8-page .j8-section      { padding-block: 72px; }
  .j8-page .j8-container    { padding-inline: 20px; }

  .j8-page .j8-split        { gap: 36px; }

  .j8-page .j8-photo-grid--editorial,
  .j8-page .j8-photo-grid--rear,
  .j8-page .j8-photo-grid--details { grid-template-columns: 1fr; }

  .j8-page .j8-photo-grid--details .j8-photo-card:nth-child(3) { grid-column: auto; }

  .j8-page .j8-photo-card figcaption { padding: 13px 14px 15px; }
  .j8-page .j8-photo-card figcaption strong,
  .j8-page .j8-feature-photo__caption strong { font-size: 1rem; }

  .j8-page .j8-split--colors .j8-split__copy,
  .j8-page .j8-split--colors .j8-color-stage { order: initial; }

  .j8-page .j8-color-stage { height: 280px; margin-top: 18px; }

  .j8-page .j8-stat-grid { margin-top: 28px; }
  .j8-page .j8-spec-row { grid-template-columns: 1fr; gap: 4px; }

  .j8-page .j8-variant-price { font-size: clamp(2.2rem, 10vw, 3rem); }
  .j8-page .j8-pricing-header { margin-bottom: 48px; }

  .j8-page .j8-tech-safety { margin-top: 64px; }
}

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .j8-page .j8-anim {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    transition: none;
  }
  .j8-page .j8-color-stage img { transition: none; }
  .j8-page .j8-accordion__panel { transition: none; }
  .j8-page .j8-media img { transition: none; }
  .j8-page .j8-photo-card img { transition: none; }
}

/* ── GLOBAL FOOTER (scoped copy for J8 pages) ─────────────── */
.footer-v2 {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 48px 0 0;
  font-family: var(--j8-font-body, 'Manrope', sans-serif);
  font-size: .82rem;
}
.footer-v2__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px 40px;
  align-items: start;
}
.footer-v2__logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 18px;
}
.footer-v2__logo-wrap img { height: 28px; width: auto; display: block; }
.footer-v2__city {
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .55;
  border-left: 1px solid rgba(255,255,255,.14);
  padding-left: 14px;
  line-height: 1;
  white-space: nowrap;
}
.footer-v2__tagline { font-size:.78rem; opacity:.55; line-height:1.6; margin:0; max-width:280px; }
.footer-v2__col-title { font-size:.65rem; letter-spacing:.2em; text-transform:uppercase; opacity:.55; margin:0 0 16px; }
.footer-v2__col--social { display: none; }
.footer-v2__col nav { display:flex; flex-direction:column; gap:10px; }
.footer-v2__col nav a { color:inherit; text-decoration:none; opacity:.65; font-size:.82rem; letter-spacing:.04em; transition:opacity .18s; }
.footer-v2__col nav a:hover { opacity:1; }
.footer-v2__social-row { border-top: 1px solid rgba(255,255,255,.06); }
.footer-v2__social-row-inner { max-width:1200px; margin:0 auto; padding:32px 40px; display:flex; align-items:center; gap:32px; flex-wrap:wrap; }
.footer-v2__social-row-inner .footer-v2__col-title { margin:0; white-space:nowrap; flex-shrink:0; }
.footer-v2__social-links { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.footer-v2__social-links a { display:inline-flex; align-items:center; gap:8px; color:inherit; text-decoration:none; opacity:.55; font-size:.8rem; letter-spacing:.06em; padding:8px 16px; border:1px solid rgba(255,255,255,.09); border-radius:3px; transition:opacity .18s, border-color .18s; min-height:40px; white-space:nowrap; }
.footer-v2__social-links a:hover { opacity:1; border-color:rgba(255,255,255,.28); }
.footer-v2__social-links svg { flex-shrink:0; }
.footer-v2__social-links-wa { opacity:.75!important; border-color:rgba(37,211,102,.22)!important; }
.footer-v2__social-links-wa:hover { border-color:rgba(37,211,102,.46)!important; opacity:1!important; }
.footer-v2__bottom { border-top:1px solid rgba(255,255,255,.06); text-align:center; padding:18px 40px; }
.footer-v2__bottom p { margin:0; font-size:.72rem; letter-spacing:.05em; opacity:.48; }
@media(max-width:900px){
  .footer-v2__inner { grid-template-columns:1fr 1fr; gap:40px 32px; padding:0 32px 40px; }
  .footer-v2__social-row-inner { padding:28px 32px; gap:20px; }
}
@media(max-width:640px){
  .footer-v2__inner { grid-template-columns:1fr; padding:0 24px 36px; gap:32px; }
  .footer-v2__social-row-inner { padding:24px; flex-direction:column; align-items:flex-start; gap:16px; }
  .footer-v2__social-links { gap:8px; }
  .footer-v2__social-links a { padding:10px 14px; min-height:44px; font-size:.78rem; }
  .footer-v2__bottom { padding:16px 24px; }
}
