/* ============================================
   DRAMATIPS — style.css
   DRAMA-017 · sistema visual.
   Orden: tokens → base → primitivas → secciones (en orden de página)
          → modales → responsive → reduced motion.
   Regla: un valor nuevo de color, radio, sombra o espacio entra
   primero como token aquí arriba, no inline en un componente.
   ============================================ */

/* === 1. TOKENS === */
:root {
  /* Estructura — carbón con matiz frío, no negro absoluto */
  --bg: #0c0d12;
  --bg-alt: #12131a;
  --bg-deep: #08090c;      /* footer */
  --surface: #171922;
  --surface-2: #1e202b;
  --line: rgb(255 255 255 / 0.09);
  --line-strong: rgb(255 255 255 / 0.24);

  /* Texto — blanco cálido + 2 grises, todos legibles en monitor normal */
  --ink: #f6f2ea;
  --ink-2: #d5cfc5;
  --ink-3: #a8a297;

  /* Roles de color
     naranja = CTA / interacción / calor (texto oscuro encima: contraste AA)
     azul    = identidad Dramatips: estructura, líneas, estados activos, detalle editorial
     rojo    = solo «en vivo / nuevo»                                             */
  --orange: #f57c2b;
  --orange-hover: #ff8d42;
  --orange-ink: #160a02;
  --orange-soft: rgb(245 124 43 / 0.14);
  --blue: #3b8cf0;          /* líneas, rellenos, títulos grandes */
  --blue-ink: #9ec5f8;      /* azul para texto pequeño sobre oscuro */
  --blue-soft: rgb(59 140 240 / 0.16);
  --blue-line: rgb(59 140 240 / 0.45);
  --red: #e2483a;

  /* Tipografía — 2 familias */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-3: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.4rem + 2.4vw, 3.4rem);
  --step-5: clamp(3.2rem, 1.8rem + 5.2vw, 6.2rem);

  /* Ritmo (Pass 1) */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 9vw, 136px);
  --nav-h: 68px;

  /* Forma — dos radios + pill */
  --r-sm: 6px;
  --r: 12px;
  --pill: 999px;

  /* Profundidad — una sombra + una elevada */
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px -16px rgb(0 0 0 / 0.6);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.35), 0 30px 60px -24px rgb(0 0 0 / 0.85);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === 2. BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-variant-numeric: lining-nums; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.1; }
em { font-style: italic; }
::selection { background: var(--orange-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.hidden { display: none !important; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: var(--pill); }

/* === 3. PRIMITIVAS === */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--catalog { padding-bottom: 56px; }
.section--tight { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font: 600 0.75rem/1.35 var(--font-body);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before { content: ''; flex: none; width: 20px; height: 1px; background: var(--blue); }

.h-section {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 18ch;
}
.h-section--wide { max-width: 22ch; }
.h-section em { color: var(--blue); }
.h-sub { font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; line-height: 1.15; }
.lead { margin-top: 20px; max-width: 58ch; font-size: var(--step-1); color: var(--ink-2); line-height: 1.6; }

.section-head { margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head--center { display: grid; justify-items: center; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section--tight .section-head { margin-bottom: 28px; }

.link-more { flex: none; color: var(--blue-ink); font-size: 0.9rem; text-decoration: none; transition: color .25s var(--ease); }
.link-more span { display: inline-block; transition: transform .25s var(--ease); }
.link-more:hover { color: var(--ink); }
.link-more:hover span { transform: translateX(3px); }

/* Botones — un solo sistema. .btn-plan (generado por auth/payment.js) hereda el mismo. */
.btn, .btn-plan {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px;
  border-radius: var(--pill); border: 1px solid transparent;
  font: 500 0.9375rem/1 var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  background: none; color: var(--ink);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn--primary, .btn-plan.filled { background: var(--orange); color: var(--orange-ink); }
.btn--primary:hover, .btn-plan.filled:hover { background: var(--orange-hover); transform: translateY(-1px); }
.btn--ghost, .btn-plan.outline { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover, .btn-plan.outline:hover { border-color: var(--blue); background: var(--blue-soft); }
.btn--text { color: var(--ink); padding-inline: 14px; }
.btn--text:hover { color: var(--ink); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 0.875rem; }
.btn--block, .btn-plan { width: 100%; }
.btn:active, .btn-plan:active { transform: scale(0.98); }
.btn:disabled, .btn-plan:disabled { opacity: .55; cursor: default; transform: none; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tags — pequeños y funcionales */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: var(--pill);
  font: 500 0.75rem/1 var(--font-body); letter-spacing: 0.01em;
  background: rgb(255 255 255 / 0.06); color: var(--ink-2);
  white-space: nowrap;
}
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--live { color: var(--ink); }
.tag--live::before { background: var(--red); box-shadow: 0 0 0 3px rgb(226 72 58 / 0.22); }
.tag--accent { background: var(--orange-soft); color: var(--orange); }
.tag--brand { background: var(--blue-soft); color: var(--blue-ink); }
.tag--plain::before { display: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

.meta-label {
  margin-bottom: 10px;
  font: 600 0.72rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.card-meta { color: var(--ink-2); font-size: var(--step--1); }
.card-title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; line-height: 1.2; }
.card-desc { margin-top: 8px; color: var(--ink-2); font-size: 0.9375rem; }
.feature-num { font-family: var(--font-display); font-size: var(--step-1); color: var(--blue); line-height: 1.3; }

/* Facts — cifras como pausa, no como espectáculo */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; line-height: 1.1; }
.facts dd { margin-top: 6px; color: var(--ink-3); font-size: var(--step--1); line-height: 1.4; }

/* === 4. REVEAL — un solo sistema, 14 px === */
.js [data-reveal], .js [data-stagger] > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js [data-reveal].is-visible, .js [data-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-stagger].is-visible > :nth-child(2) { transition-delay: .07s; }
.js [data-stagger].is-visible > :nth-child(3) { transition-delay: .14s; }
.js [data-stagger].is-visible > :nth-child(4) { transition-delay: .21s; }
.js [data-stagger].is-visible > :nth-child(n+5) { transition-delay: .28s; }

/* === 5. NAVBAR === */
.navbar {
  position: fixed; inset: 0 0 auto; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.navbar.scrolled {
  background: rgb(12 12 16 / 0.8);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
          backdrop-filter: saturate(1.3) blur(14px);
  border-bottom-color: var(--line);
}
.nav-bar { display: flex; align-items: center; gap: 32px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-icon { width: 28px; height: 28px; flex: none; }
.logo-text { font: 600 1rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; }
.logo-text .d { color: var(--blue); }
.logo-text .t { color: var(--orange); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 6px 0;
  color: var(--ink); font-size: 0.9375rem; text-decoration: none; opacity: .86;
  transition: opacity .25s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 6px; }
nav[aria-label="Principal"] { margin-left: auto; }

.hamburger { display: none; width: 40px; height: 40px; place-content: center; gap: 6px; background: none; border: 0; cursor: pointer; }
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.hamburger.open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.hamburger.open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 16px) var(--gutter) 32px;
  background: var(--bg);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; visibility: visible; }
.mobile-menu a {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: var(--step-2);
  color: var(--ink); text-decoration: none;
}
.mobile-menu .btn-mobile-sub { margin-top: 28px; width: 100%; }
.mobile-menu-close {
  position: absolute; top: 14px; right: calc(var(--gutter) - 8px);
  width: 40px; height: 40px; background: none; border: 0;
  color: var(--ink-2); font-size: 1.25rem; cursor: pointer;
}
.mobile-menu-close:hover { color: var(--ink); }

.nav-user { position: relative; }
.nav-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: var(--orange-ink);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
  cursor: pointer; transition: box-shadow .2s var(--ease);
}
.nav-avatar:hover { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--orange); }
.user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 180px;
  padding: 6px; border-radius: var(--r);
  background: var(--surface-2); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.user-dropdown-name { padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 0.82rem; }
.user-dropdown button {
  width: 100%; padding: 8px 10px; border: 0; border-radius: var(--r-sm);
  background: none; color: var(--ink); text-align: left; font-size: 0.875rem; cursor: pointer;
}
.user-dropdown button:hover { background: rgb(255 255 255 / 0.06); }

/* === 6. HERO — escena por capas ===
   1) el arte del destacado ocupa la mitad derecha del canvas y se funde hacia el centro;
   2) overlays oscuros controlados sostienen la lectura;
   3) el póster frontal se apoya sobre ese mismo arte, con un marco azul desplazado detrás. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(100svh, 880px);
  padding: calc(var(--nav-h) + 40px) 0 64px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.hero-bg-layer {
  position: absolute; top: 0; bottom: 0; right: 0; width: 72%;
  background-size: cover; background-position: center 6%;
  filter: saturate(1.08) brightness(0.78);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 22%, rgb(12 13 18 / 0.78) 44%, rgb(12 13 18 / 0.28) 70%, rgb(12 13 18 / 0.5) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgb(12 13 18 / 0.88) 24%, rgb(12 13 18 / 0) 55%),
    linear-gradient(180deg, rgb(12 13 18 / 0.7) 0%, rgb(12 13 18 / 0) 22%);
}
/* Firma: filo azul en el borde inferior de la escena */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-line) 20%, var(--blue-line) 80%, transparent);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero-content .tag--live { background: rgb(12 13 18 / 0.6); border: 1px solid var(--line-strong); }
/* Firma: bicolor del logotipo (DRAMA azul · TIPS naranja) en la serif */
.ht-drama { color: var(--blue); }
.ht-tips { color: var(--orange); font-style: italic; font-weight: 500; margin-left: -0.02em; }
.hero-title {
  margin: 26px 0 0;
  font-family: var(--font-display); font-size: var(--step-5); font-weight: 600;
  line-height: 0.92; letter-spacing: -0.03em;
}
/* Firma tipográfica: el bicolor del logotipo (DRAMA azul · TIPS naranja) llevado a la serif */
.hero-eyeline {
  display: flex; align-items: center; gap: 14px;
  margin-top: 18px;
  font-family: var(--font-display); font-style: italic; font-size: var(--step-2); color: var(--ink);
}
.hero-eyeline::before { content: ''; flex: none; width: 40px; height: 2px; background: var(--blue); }
.hero-sub {
  max-width: 40ch; margin: 22px 0 36px;
  font-size: clamp(1.125rem, 1.04rem + 0.35vw, 1.3rem); line-height: 1.55; color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn--ghost { background: rgb(12 13 18 / 0.45); }

.hero-spotlight { justify-self: end; width: min(100%, 360px); margin: 0; }
.hs-stack { position: relative; }
.hs-stack::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1px solid var(--blue); border-radius: var(--r);
}
.hs-frame {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-lg);
  outline: 1px solid rgb(255 255 255 / 0.14); outline-offset: -1px;
}
.hs-thumb { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease); }
.hs-info { display: grid; gap: 4px; margin-top: 34px; }
.hs-label {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.hs-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgb(226 72 58 / 0.25); }
.hs-title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; line-height: 1.25; transition: opacity .4s var(--ease); }
.hs-genre { color: var(--ink-2); font-size: var(--step--1); }
.hs-dots { display: flex; gap: 6px; margin-top: 14px; }
.hs-dot { position: relative; width: 32px; height: 16px; cursor: pointer; }
.hs-dot::before {
  content: ''; position: absolute; inset: 7px 0 auto; height: 2px; border-radius: 2px;
  background: var(--line-strong); transition: background-color .3s var(--ease);
}
.hs-dot.active::before { background: var(--blue); }
.hs-dot:hover::before { background: var(--ink-2); }

/* === 7. CRÉDITOS === */
.credits { border-block: 1px solid var(--line); }
.credits-inner { display: flex; align-items: center; gap: 24px; padding-block: 18px; }
.credits-label { flex: none; font: 600 0.72rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.credits-list {
  display: flex; overflow-x: auto; scrollbar-width: none; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
          mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.credits-list::-webkit-scrollbar { display: none; }
.credits-list li { font-family: var(--font-display); font-style: italic; color: var(--ink-2); }
.credits-list li + li::before { content: '·'; margin: 0 14px; color: var(--ink-3); font-style: normal; }

/* === 8. CATÁLOGO === */
.categories-bar { margin-bottom: 36px; }
.cat-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: none; height: 36px; padding: 0 16px;
  border-radius: var(--pill); border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink-2);
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.cat-pill:hover { color: var(--ink); border-color: var(--blue); }
.cat-pill.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Card — un solo lenguaje para Destacadas y Continuar viendo:
   póster 3:4, nada encima de la imagen salvo un badge, caption debajo. */
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.card, .mini-card { cursor: pointer; }
.card-thumb, .mini-thumb {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--r); background: var(--surface);
  outline: 1px solid var(--line); outline-offset: -1px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), outline-color .3s var(--ease);
}
.card:hover .card-thumb, .mini-card:hover .mini-thumb { transform: translateY(-4px); box-shadow: var(--shadow-lg); outline-color: var(--blue-line); }
.card .card-title, .mini-card .mini-title { transition: color .25s var(--ease); }
.card:hover .card-title, .mini-card:hover .mini-title { color: var(--orange); }
.card-img, .mini-img, .prox-img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-img, .mini-card:hover .mini-img, .prox-card:hover .prox-img { transform: scale(1.03); }
.card-body { padding-top: 16px; }
.card-body .card-meta { margin-top: 6px; }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 10px; border-radius: var(--pill);
  background: rgb(12 12 16 / 0.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 500 0.72rem/1 var(--font-body); color: var(--ink);
}
.card-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.card-badge.exclusivo::before { background: var(--orange); }
.card-badge.nuevo::before { background: var(--red); }

.thumb-bg {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px;
  background: linear-gradient(165deg, var(--surface-2), var(--bg));
  font-family: var(--font-display); font-size: var(--step-1); line-height: 1.2; color: var(--ink-2);
}

.carousel-wrap { position: relative; }
.scroll-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 16vw, 200px);
  gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px;
}
.scroll-row::-webkit-scrollbar { display: none; }
.mini-card { scroll-snap-align: start; }
.mini-body { padding-top: 12px; }
.mini-title { font-family: var(--font-display); font-size: var(--step-0); font-weight: 500; line-height: 1.3; }
.mini-sub { margin-top: 4px; color: var(--ink-2); font-size: 0.8125rem; line-height: 1.4; }
.car-btn {
  position: absolute; top: 34%; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgb(12 12 16 / 0.82); border: 1px solid var(--line-strong);
  color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer;
  opacity: 0; transition: opacity .3s var(--ease), border-color .25s var(--ease);
}
.carousel-wrap:hover .car-btn, .car-btn:focus-visible { opacity: 1; }
.car-btn:hover { border-color: var(--ink-2); }
.car-prev { left: -20px; }
.car-next { right: -20px; }

/* === 9. STATS — pausa editorial === */
.stats { border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: clamp(28px, 4vw, 48px) 24px; border-left: 1px solid var(--line); }
.stats-grid > div:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; line-height: 1.1; }
.stat-label { margin-top: 6px; color: var(--ink-3); font-size: var(--step--1); }

/* === 10. FUNDADOR === */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.founder-photo { position: sticky; top: calc(var(--nav-h) + 32px); margin: 0; }
.founder-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%;
  border-radius: var(--r); background: var(--surface);
}
.founder-photo figcaption { margin-top: 14px; color: var(--ink-3); font-size: var(--step--1); }
.founder-role { margin: 14px 0 36px; color: var(--ink-3); font-size: var(--step--1); letter-spacing: 0.04em; }
.prose p { max-width: 62ch; color: var(--ink-2); }
.prose p + p { margin-top: 16px; }
.prose em, .prose strong { color: var(--ink); }
.prose strong { font-weight: 600; }
.quote { margin: 40px 0 0; padding-left: 24px; border-left: 2px solid var(--blue); }
.quote p { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); line-height: 1.45; color: var(--ink); max-width: 40ch; }
.quote cite { display: block; margin-top: 14px; font-style: normal; color: var(--ink-3); font-size: var(--step--1); }
.founder-meta { display: grid; gap: 28px; }
.meta-list { color: var(--ink-2); font-size: 0.9375rem; }
.filmography { display: flex; flex-wrap: wrap; row-gap: 6px; font-size: 0.9375rem; color: var(--ink-3); }
.filmography li:not(:last-child)::after { content: '·'; margin: 0 10px; color: var(--line-strong); }
.filmography .is-key { color: var(--ink); }

/* === 11. TEATRO === */
.split-head {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.note-card { padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.note-title { margin-bottom: 8px; font-weight: 600; }
.note-card p:not(.note-title) { color: var(--ink-2); font-size: 0.9375rem; }
.note-card .tags { margin-top: 18px; }

.teatro-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: start; }
.teatro-feature { cursor: pointer; }
.teatro-stage {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r); outline: 1px solid var(--line); outline-offset: -1px;
  /* Una de las dos superficies con gradiente permitidas: un cenital de escenario. */
  background:
    radial-gradient(ellipse 55% 75% at 50% -5%, rgb(245 124 43 / 0.2), transparent 70%),
    linear-gradient(180deg, #1a1417, #0e0d10);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.teatro-feature:hover .teatro-stage { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.teatro-stage .tag { position: absolute; top: 20px; left: 20px; }
.teatro-stage-title { font-family: var(--font-display); font-size: var(--step-4); font-weight: 500; line-height: 1; }
.teatro-stage-title em { color: var(--ink-2); }
.teatro-stage-note { margin-top: 14px; font: 600 0.72rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.teatro-feature-body { padding-top: 18px; }
.teatro-feature-body .card-title { margin-top: 6px; }

.feature-list { border-bottom: 1px solid var(--line); }
.feature-item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px;
  padding: 24px 0; border-top: 1px solid var(--line); cursor: pointer;
}
.feature-item h3 { font: 600 var(--step-1)/1.3 var(--font-body); transition: color .25s var(--ease); }
.feature-item p { margin-top: 6px; color: var(--ink-2); font-size: 0.9375rem; }
.feature-item:hover h3 { color: var(--orange); }
.feature-item--cta .feature-num, .feature-item--cta h3 { color: var(--orange); }

/* === 12. PRÓXIMAMENTE === */
.prox-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.prox-card { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: center; cursor: pointer; }
.prox-thumb {
  aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r);
  background: var(--surface); outline: 1px solid var(--line); outline-offset: -1px;
}
.prox-title { margin: 10px 0 10px; font-family: var(--font-display); font-size: var(--step-4); font-weight: 500; line-height: 1.04; letter-spacing: -0.015em; }
.prox-tagline { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--ink-2); }
.prox-desc { margin: 16px 0 28px; max-width: 46ch; color: var(--ink-2); font-size: 0.9375rem; }
.prox-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.prox-estreno { color: var(--ink-3); font-size: var(--step--1); }
.prox-side .meta-label { margin-bottom: 4px; }
.prox-coming-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.coming-thumb {
  flex: none; width: 56px; aspect-ratio: 3 / 4; border-radius: var(--r-sm);
  background: linear-gradient(165deg, var(--surface-2), var(--bg)) center / cover no-repeat;
  outline: 1px solid var(--line); outline-offset: -1px;
}
.coming-title { font-weight: 500; transition: color .25s var(--ease); }
.prox-coming-item:hover .coming-title { color: var(--orange); }
.coming-sub { color: var(--ink-3); font-size: var(--step--1); }
.coming-badge { display: inline-block; margin-top: 6px; color: var(--blue); font-size: 0.75rem; }

/* === 13. INVERSORES === */
.inversion { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); align-items: start; }
.inversion .facts { margin-bottom: 36px; }
.aside-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 52ch; color: var(--ink-3); font-size: var(--step--1); }
.aside-note strong { display: block; margin-bottom: 4px; color: var(--ink-2); font-weight: 500; }
.project-list { display: grid; gap: 16px; }
.project-card { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.project-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.project-type { color: var(--ink-3); font-size: var(--step--1); }
.project-title { margin-bottom: 12px; font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; }
.project-card > p { color: var(--ink-2); font-size: 0.9375rem; }
.project-card > p em { color: var(--ink); }
.project-card .project-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: 0.8125rem;
}
.project-foot span { color: var(--ink-2); }

/* === 14. UNIVERSIDAD === */
.uni-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.uni-feat { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.uni-feat.is-featured { border-top-color: var(--orange); }
.uni-feat h3 { font: 600 var(--step-1)/1.3 var(--font-body); }
.uni-feat p { margin-top: 10px; color: var(--ink-2); font-size: 0.9375rem; }
.uni-feat-tag { display: block; margin-top: 16px; color: var(--ink-3); font-size: 0.8125rem; }
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px);
  margin: clamp(56px, 6vw, 88px) 0; padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
}
.steps h3 { margin: 10px 0 6px; font: 600 var(--step-0)/1.35 var(--font-body); }
.steps p { color: var(--ink-3); font-size: 0.9rem; }
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(28px, 4vw, 52px); border-radius: var(--r);
  background: var(--surface-2); border: 1px solid var(--line);
}
.cta-band-sub { margin-top: 10px; color: var(--ink-3); font-size: 0.9375rem; }

/* === 15. PRICING === */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1040px; margin-inline: auto; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
}
.plan.featured { background: var(--surface-2); border-color: var(--orange); }
.plan-badge {
  position: absolute; top: -12px; left: 28px;
  padding: 6px 12px; border-radius: var(--pill);
  background: var(--orange); color: var(--orange-ink);
  font: 600 0.72rem/1 var(--font-body);
}
.plan-name { color: var(--ink-2); font-weight: 500; }
.plan-price { display: flex; align-items: baseline; margin: 14px 0 6px; font-family: var(--font-display); }
.plan-price .amount { font-size: var(--step-4); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.plan-price .currency { font-size: var(--step-1); color: var(--ink-2); }
.plan-price .period { margin-left: 6px; font-family: var(--font-body); font-size: var(--step--1); color: var(--ink-3); }
.plan-savings { min-height: 1.5em; color: var(--ink-3); font-size: var(--step--1); }
.plan-features { display: grid; align-content: start; gap: 12px; flex: 1; margin: 24px 0 32px; }
.plan-features li { display: flex; gap: 12px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.4; }
.plan-features li::before {
  content: ''; flex: none; width: 12px; height: 7px; margin-top: 5px;
  border-left: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue);
  transform: rotate(-45deg);
}
.plan.featured .plan-features li::before { border-color: var(--orange); }

/* === 16. FOOTER === */
.footer { padding: clamp(56px, 6vw, 80px) 0 40px; background: var(--bg-deep); box-shadow: inset 0 2px 0 var(--blue); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand p { max-width: 34ch; margin-top: 16px; color: var(--ink-3); font-size: var(--step--1); }
.footer-links { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 80px); }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h4 { margin-bottom: 4px; font: 600 0.72rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.footer-col a { color: var(--ink-2); font-size: var(--step--1); text-decoration: none; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; color: var(--ink-3); font-size: 0.8125rem; }
.footer-disclaimer { margin-top: 24px; max-width: 110ch; color: var(--ink-3); font-size: 0.75rem; line-height: 1.6; opacity: 0.8; }
.footer-disclaimer strong { color: var(--ink-2); font-weight: 600; }

/* === 17. MODALES — video, auth, leads (NEXO más abajo) === */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgb(6 6 9 / 0.86);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  width: 100%; max-width: 860px; max-height: calc(100svh - 32px); overflow: auto;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.modal-overlay.open .modal { opacity: 1; transform: none; }
.player-area { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #08080b; }
.play-big {
  position: relative; z-index: 2; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--orange); transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.play-big svg { fill: var(--orange-ink); margin-left: 3px; }
.play-big:hover { transform: scale(1.05); background: var(--orange-hover); }
.player-controls { position: absolute; inset: auto 0 0; padding: 20px 24px 16px; background: linear-gradient(to top, rgb(0 0 0 / 0.85), transparent); }
.progress-bar { height: 3px; margin-bottom: 12px; border-radius: 3px; background: rgb(255 255 255 / 0.2); }
.progress-fill { position: relative; width: 22%; height: 100%; border-radius: 3px; background: var(--orange); }
.ctrl-row { display: flex; align-items: center; justify-content: space-between; }
.ctrl-left, .ctrl-right { display: flex; align-items: center; gap: 16px; }
.ctrl-btn { display: flex; align-items: center; padding: 4px; border: 0; background: none; color: var(--ink-2); font-size: 0.72rem; letter-spacing: 0.08em; cursor: pointer; }
.ctrl-btn:hover { color: var(--ink); }
.time-display { color: var(--ink-3); font-size: 0.75rem; }
.modal-info { padding: 20px 24px 24px; }
.modal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.modal-title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; }
.modal-close {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: none; color: var(--ink-2);
  font-size: 0.9rem; cursor: pointer; transition: color .2s var(--ease), border-color .2s var(--ease);
}
.modal-close:hover { color: var(--ink); border-color: var(--ink-2); }
.modal-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; color: var(--ink-3); font-size: var(--step--1); }
.modal-meta .highlight { color: var(--ink-2); }
.modal-desc { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.7; }

.modal-form-card { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 420px; padding: 36px 32px 28px; }
.modal-form-card > .modal-close { position: absolute; top: 14px; right: 14px; }
.mf-logo { text-align: center; font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.mf-title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; line-height: 1.25; padding-right: 32px; }
.mf-sub { margin-top: -6px; color: var(--ink-3); font-size: 0.9rem; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); }
.auth-tab {
  flex: 1; padding: 10px; margin-bottom: -1px;
  border: 0; border-bottom: 2px solid transparent; background: none;
  color: var(--ink-3); font-size: 0.9rem; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.auth-tab.active { color: var(--ink); border-bottom-color: var(--orange); }
.auth-form { display: flex; flex-direction: column; gap: 10px; }
.form-input {
  width: 100%; padding: 12px 14px;
  border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 0.95rem;
  transition: border-color .2s var(--ease);
}
.form-input:focus { outline: none; border-color: var(--orange); }
.form-input::placeholder { color: var(--ink-3); }
.auth-error, .leads-error, .nexo-submit-err { color: #ff8b80; font-size: 0.84rem; }
.auth-error, .auth-success { min-height: 1.1rem; }
.auth-success, .leads-success { color: #7fd6a0; font-size: 0.875rem; }
.leads-success { text-align: center; }
.auth-plan-note { color: var(--orange); font-size: 0.82rem; text-align: center; }

/* NEXO — modal de pago (markup generado por payment.js; solo se retokeniza) */
.modal-payment-card { max-width: 460px; }
.nexo-step-head { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-bottom: 6px; text-align: center; }
.nexo-eyebrow { font: 600 0.72rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.nexo-plan-chip { padding: 5px 12px; border-radius: var(--pill); background: var(--orange-soft); color: var(--orange); font-size: 0.8rem; font-weight: 600; }
.nexo-step-title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; }
.nexo-price-usd { font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1; }
.nexo-price-usd span { font-family: var(--font-body); font-size: 0.9rem; color: var(--ink-3); }
.nexo-price-ves { min-height: 1.3rem; color: var(--ink-2); font-size: 0.85rem; }
.nexo-rate-note { color: var(--ink-3); font-size: 0.78rem; }
.nexo-step-note { color: var(--ink-3); font-size: 0.85rem; line-height: 1.55; text-align: center; }
.nexo-copy-tip { font-size: 0.78rem; }
.nexo-cta { margin-top: 4px; }
.nexo-link-btn { width: 100%; padding: 4px 0; border: 0; background: none; color: var(--ink-3); font-size: 0.82rem; cursor: pointer; }
.nexo-link-btn:hover { color: var(--ink-2); }
.nexo-methods { display: flex; flex-direction: column; gap: 8px; }
.nexo-method-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px;
  border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--bg);
  color: var(--ink); text-align: left; cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nexo-method-btn:hover { border-color: var(--orange); background: var(--orange-soft); }
.nm-icon { flex: none; font-size: 1.3rem; }
.nm-info { display: flex; flex: 1; flex-direction: column; gap: 2px; }
.nm-label { font-size: 0.95rem; font-weight: 600; }
.nm-hint { color: var(--ink-3); font-size: 0.75rem; }
.nm-arrow { flex: none; color: var(--ink-3); }
.nexo-instr-box { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); }
.ni-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.88rem; }
.ni-lbl { flex: none; color: var(--ink-3); }
.ni-val { font-weight: 500; text-align: right; word-break: break-all; }
.ni-val.copyable { color: var(--blue); cursor: pointer; }
.ni-val.copyable:hover { text-decoration: underline; }
.nexo-highlight { color: var(--orange); font-weight: 600; }
.nexo-upload-lbl {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px;
  border-radius: var(--r-sm); border: 1px dashed var(--line-strong);
  color: var(--ink-2); font-size: 0.88rem; cursor: pointer;
  transition: border-color .2s var(--ease);
}
.nexo-upload-lbl:hover { border-color: var(--orange); }
.nexo-upload-icon { flex: none; }
.nexo-textarea { min-height: 64px; resize: vertical; font-size: 0.88rem; }
.nexo-success { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0; text-align: center; }
.nexo-success-icon { font-size: 2.5rem; }
.nexo-success-title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; }
.nexo-success-sub { max-width: 320px; color: var(--ink-2); font-size: 0.88rem; }
.nexo-success-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nexo-success-pills span { padding: 4px 12px; border-radius: var(--pill); background: rgb(255 255 255 / 0.06); color: var(--ink-2); font-size: 0.8rem; }

/* === 18. RESPONSIVE === */
@media (max-width: 1080px) {
  nav[aria-label="Principal"] { display: none; }
  .nav-right { margin-left: auto; }
  .hamburger { display: grid; }
}

@media (max-width: 900px) {
  /* Hero móvil: el póster vertical pasa a ser el fondo, nítido; el texto se apoya abajo */
  .hero { min-height: 100svh; align-items: flex-end; padding: calc(var(--nav-h) + 32px) 0 44px; }
  .hero-bg-layer { inset: 0; width: auto; filter: brightness(0.72) saturate(1.05); background-position: center top; -webkit-mask-image: none; mask-image: none; }
  .hero-bg::after {
    background: linear-gradient(0deg, var(--bg) 10%, rgb(12 13 18 / 0.9) 48%, rgb(12 13 18 / 0.25) 76%, rgb(12 13 18 / 0.65) 100%);
  }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-title { margin-top: 20px; }
  .hero-sub { margin: 18px 0 28px; }
  .hero-spotlight { justify-self: stretch; width: 100%; padding-top: 20px; border-top: 1px solid var(--blue-line); }
  .hs-stack::before { display: none; }
  .hs-frame { display: none; }
  .hs-info { margin-top: 0; }
  .hs-title { font-size: var(--step-1); }

  .founder, .split-head, .teatro-grid, .prox-grid, .inversion { grid-template-columns: minmax(0, 1fr); }
  .founder-photo { position: static; max-width: 440px; }
  .split-head { align-items: start; }
  .uni-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; gap: 28px; }
  .car-btn { display: none; }
}

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div { padding: 24px 0 24px 20px; }
  .stats-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .footer-top { flex-direction: column; }

  /* Destacadas = misma fila deslizable que Continuar viendo */
  .featured-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .featured-grid::-webkit-scrollbar { display: none; }
  .featured-grid .card { scroll-snap-align: start; }
  .scroll-row { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); grid-auto-columns: 42%; }
  .prox-card { grid-template-columns: minmax(0, 1fr); }
  .prox-thumb { max-width: 320px; }
}

@media (max-width: 560px) {
  #navLoginBtn { display: none; }
  .nav-bar { gap: 12px; }
  .logo-text { font-size: 0.875rem; letter-spacing: 0.12em; }
  .nav-right { gap: 4px; }
  #navAuthBtn { padding: 0 14px; }
  .hamburger { width: 36px; }
  .section-head--row { flex-wrap: wrap; }
  .uni-features { grid-template-columns: minmax(0, 1fr); }
  .facts { gap: 16px; }
  .credits-label { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cta-band .actions, .inversion .actions { width: 100%; }
  .cta-band .btn, .inversion .actions .btn { flex: 1 1 auto; }
  .project-head { flex-wrap: wrap; }
}

/* === 19. REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important;
  }
}
