/* ==========================================================================
   Recursos Worship — Home 2026 · v2
   Referencia de sistema: mobbin.com (ver HOMEPAGE/_reference/mobbin/ANALISIS-MOBBIN.md)
   --------------------------------------------------------------------------
   1. Tokens
   2. Base
   3. Layout (anchos variables: narrow / text / base / wide / bleed)
   4. Tipografía
   5. Componentes (botones, iconos, superficies, chips, tabs, acordeón)
   6. Movimiento (revelado con desenfoque, estilo Mobbin)
   7. Secciones
   8. Responsive
   9. Movimiento reducido
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --font: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Neutros (Mobbin usa casi-negro y grises cálidos, nunca negro puro) */
  --bg: #ffffff;
  --surface: #f4f4f5;
  --surface-2: #ececee;
  --bg-soft: #f4f4f6;
  --bg-rgb: 255, 255, 255;        /* velos y degradados del hero */
  --panel: #ffffff;               /* paneles: hero, kits, FAQ, tarjetas */
  --media-bg: #ffffff;            /* fondo detrás de miniaturas */
  --glass: rgba(255, 255, 255, 0.86);
  --on-ink: #ffffff;              /* texto sobre fondo --ink */
  --ink-hover: #2a2a2e;
  --line-2: rgba(20, 20, 20, 0.1);
  --ink: #141414;
  --ink-2: #3a3a40;
  --muted: #707070;
  --muted-2: #9b9ba1;
  --line: rgba(20, 20, 20, 0.08);
  --fill: rgba(64, 64, 64, 0.08);
  --fill-hover: rgba(64, 64, 64, 0.14);

  /* Morados */
  --accent: #6b3df5;
  --accent-hover: #5a2ee0;
  --accent-soft: #f1ecff;
  --accent-soft-2: #e3d9ff;
  --accent-ink: #4a22c4;
  --accent-deep: #1c0a47;
  --accent-fg: #6b3df5;           /* acento usado como texto o ícono */

  /* Radios */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-squircle: 30%;
  --r-hero: clamp(28px, 3.6vw, 56px);

  /* Anchos (cada sección usa uno distinto) */
  --w-narrow: 760px;
  --w-text: 980px;
  --w-base: 1240px;
  --w-wide: 1640px;
  --gutter: clamp(16px, 2vw, 28px);

  /* Ritmo vertical */
  --space-xl: clamp(112px, 12vw, 200px);
  --space-lg: clamp(88px, 9vw, 160px);
  --space-md: clamp(64px, 6vw, 96px);
  --space-sm: clamp(40px, 4vw, 56px);

  /* Movimiento (easings reales de Mobbin) */
  --ease-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-ui: cubic-bezier(0.4, 0, 0.2, 1);
  --t-ui: 0.18s;
  --t-reveal: 1s;
}


/* Modo oscuro ----------------------------------------------------------------
   Paleta de mobbin.com/pricing (.dark): neutral-100 #141414 (fondo), neutral-95
   #1f1f1f (fondo secundario y ventanas), superficies blanco 6/8/12/16 %, texto
   #ffffff / neutral-40 #adadad / neutral-50 #878787, bordes blanco 8 % y 16 %. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141414;
  --bg-rgb: 20, 20, 20;
  --panel: #141414;
  --bg-soft: #1f1f1f;
  --surface: #1f1f1f;
  --surface-2: #292929;
  --media-bg: #1f1f1f;
  --glass: rgba(31, 31, 31, 0.86);
  --ink: #ffffff;
  --ink-2: #ededed;
  --muted: #adadad;
  --muted-2: #878787;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --fill: rgba(255, 255, 255, 0.08);
  --fill-hover: rgba(255, 255, 255, 0.12);
  --on-ink: #141414;
  --ink-hover: #ededed;
  --accent: #7046ff;
  --accent-hover: #8a66ff;
  --accent-fg: #a78bfa;
  --accent-soft: rgba(124, 92, 255, 0.16);
  --accent-soft-2: rgba(124, 92, 255, 0.28);
  --accent-ink: #c4b5fd;
}
:root[data-theme="dark"] .text-gradient {
  background-image: linear-gradient(100deg, #4f22d6 0%, #4300ff 30%, #a000ff 55%, #ff4db3 78%, #4f22d6 100%);
}
:root[data-theme="dark"] img.logo-light, :root:not([data-theme="dark"]) img.logo-dark { display: none; }

/* Cambio de tema instantáneo: sin transiciones mientras se aplica */
html.theme-instant, html.theme-instant *, html.theme-instant *::before, html.theme-instant *::after { transition: none !important; }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3, h4, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent-soft-2); color: var(--ink); }

/* 3. Layout ---------------------------------------------------------------- */
.w-narrow, .w-text, .w-base, .w-wide { margin-inline: auto; }
.w-narrow { width: min(100% - 2 * var(--gutter), var(--w-narrow)); }
.w-text   { width: min(100% - 2 * var(--gutter), var(--w-text)); }
.w-base   { width: min(100% - 2 * var(--gutter), var(--w-base)); }
.w-wide   { width: min(100% - 2 * var(--gutter), var(--w-wide)); }
.bleed    { width: 100%; }

/* Pista que arranca alineada al contenedor ancho y sangra hasta el borde derecho */
.bleed-track {
  --edge: max(var(--gutter), calc((100vw - var(--w-wide)) / 2));
  padding-inline: var(--edge);
  scroll-padding-inline: var(--edge);
}

.section { padding-block: var(--space-lg); }
.section-xl { padding-block: var(--space-xl); }
.section-tight { padding-block: var(--space-md); }

/* 4. Tipografía ------------------------------------------------------------ */
.display {
  font-size: clamp(44px, 6.3vw, 92px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(34px, 4.1vw, 56px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.45;
  color: var(--muted);
  font-weight: 420;
  text-wrap: pretty;
}
.lead strong, .muted strong { color: var(--ink); font-weight: 560; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.45; }
.kicker {
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.kicker b { color: var(--accent-fg); font-weight: 600; }

/* Frase en dos tonos (Mobbin: "Design research took hours. Now, it's one search.") */
.statement {
  font-size: clamp(28px, 3.25vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--muted-2);
  text-wrap: pretty;
}
.statement .ink { color: var(--ink); }

/* 5. Componentes ----------------------------------------------------------- */

/* Botones pill (alto 46, sin borde) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px;
  border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: 0.1px; line-height: 1;
  white-space: nowrap;
  transition: background-color var(--t-ui) var(--ease-ui), color var(--t-ui) var(--ease-ui), transform var(--t-ui) var(--ease-ui);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--fill); color: var(--ink); }
.btn-ghost:hover { background: var(--fill-hover); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: var(--ink-hover); }
.btn-white { background: #fff; color: var(--accent-deep); }
.btn-white:hover { background: var(--accent-soft); }
.btn-outline-white { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.btn-outline-white:hover { box-shadow: inset 0 0 0 1px #fff; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16.5px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn .arrow { width: 16px; height: 16px; transition: transform var(--t-ui) var(--ease-ui); }
.btn:hover .arrow, .link:hover .arrow, a:hover > .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.link .arrow { width: 15px; height: 15px; transition: transform var(--t-ui) var(--ease-ui); }
.link-accent { color: var(--accent-fg); }

/* Iconos del set de RW Presenter (máscara + currentColor, igual que en su landing) */
.ico {
  display: inline-block; flex: none;
  width: 22px; height: 22px;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
          mask: var(--i) center / contain no-repeat;
}
.ico-sm { width: 18px; height: 18px; }
.ico-lg { width: 28px; height: 28px; }
.product-ico { width: 36px; height: 36px; flex: none; }

/* Superficies planas (sin borde ni sombra) */
.surface { background: var(--surface); border-radius: var(--r-xl); }

/* Chips de texto */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 11px;
  border-radius: 999px;
  background: var(--fill);
  font-size: 13px; font-weight: 560; color: var(--ink-2);
  white-space: nowrap;
}
.chip-accent { background: var(--accent-soft); color: var(--accent-ink); }
.chip-dot::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--accent); }

/* Tabs de texto (Mobbin: "Latest · Most popular · Top rated") */
.text-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.text-tab {
  height: 36px; padding: 0 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 560; color: var(--muted);
  transition: color var(--t-ui), background-color var(--t-ui);
}
.text-tab:hover { color: var(--ink); }
.text-tab[aria-selected="true"] { color: var(--ink); background: var(--fill); }

/* Acordeón */
.accordion { display: grid; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:first-child { border-top: 1px solid var(--line); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; text-align: left;
  font-size: clamp(17px, 1.3vw, 19px); font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.acc-plus { position: relative; width: 32px; height: 32px; flex: none; border-radius: 999px; background: var(--fill); transition: background-color var(--t-ui), transform 0.45s var(--ease-quint); }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); }
.acc-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-trigger:hover .acc-plus { background: var(--fill-hover); }
.acc-item.is-open .acc-plus { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent-fg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-quint); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 56px 26px 0; color: var(--muted); font-size: 17px; line-height: 1.55; opacity: 0; filter: blur(4px); transition: opacity 0.4s var(--ease-quint), filter 0.4s var(--ease-quint); }
.acc-item.is-open .acc-panel p { opacity: 1; filter: none; transition-delay: 0.08s; }

/* Imágenes que aparecen al cargar */
img[data-fade], video[data-fade] { opacity: 0; transition: opacity 0.7s var(--ease-quint); }
img[data-fade].is-loaded, video[data-fade].is-loaded { opacity: 1; }

/* 6. Movimiento ------------------------------------------------------------ */
/* Carga inicial del hero (keyframes de Mobbin: titleReveal / supportingReveal / surfaceReveal) */
@keyframes titleReveal {
  from { opacity: 0.15; filter: blur(8px); transform: translateY(0.25em); }
  to   { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes supportingReveal {
  from { opacity: 0; filter: blur(8px); transform: translateY(12px); }
  to   { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes surfaceReveal {
  from { opacity: 0; filter: blur(8px); transform: translateY(40px); }
  to   { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes caretBlink { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }

.js [data-load] { opacity: 0; }
.is-ready [data-load="title"]   { animation: titleReveal 1.1s var(--ease-quint) both; }
.is-ready [data-load="support"] { animation: supportingReveal 1s var(--ease-quint) both; }
.is-ready [data-load="surface"] { animation: surfaceReveal 1.2s var(--ease-quint) both; }
.is-ready [data-load="fade"]    { animation: fadeIn 1.6s var(--ease-ui) both; }
.is-ready [data-load] { animation-delay: calc(var(--d, 0) * 90ms); }

/* Revelado al hacer scroll */
.js [data-reveal] {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(18px);
  transition:
    opacity var(--t-reveal) var(--ease-quint),
    filter var(--t-reveal) var(--ease-quint),
    transform var(--t-reveal) var(--ease-quint);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.js [data-reveal="surface"] { transform: translateY(44px); }
.js [data-reveal].is-in { opacity: 1; filter: none; transform: none; }

/* 7. Secciones ------------------------------------------------------------- */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(680px, 92svh, 980px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 132px 0 88px;
  background: var(--panel);
  border-radius: 0 0 var(--r-hero) var(--r-hero);
}


/* Muro de previews (filas que se desplazan en sentidos opuestos) */
.hero-wall {
  position: absolute; inset: -12% -8%;
  z-index: -2;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  transform: rotate(-6deg);
  pointer-events: none;
}
.hero-row { overflow: visible; }
.hero-track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.hero-card {
  flex: none;
  width: clamp(240px, 22vw, 400px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-2);
}
.hero-card video, .hero-card img { width: 100%; height: 100%; object-fit: cover; }

/* Overlay claro para que el texto se lea encima */
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 56% 62% at 50% 52%, rgba(var(--bg-rgb), 0.98) 0%, rgba(var(--bg-rgb), 0.96) 46%, rgba(var(--bg-rgb), 0.78) 68%, rgba(var(--bg-rgb), 0.44) 100%),
    linear-gradient(180deg, rgb(var(--bg-rgb)) 0%, rgba(var(--bg-rgb), 0.6) 14%, rgba(var(--bg-rgb), 0) 30%, rgba(var(--bg-rgb), 0) 70%, rgba(var(--bg-rgb), 0.7) 88%, rgb(var(--bg-rgb)) 100%);
}

/* Desvanecido inferior (referencia del usuario: rect 1901x501, blanco sólido en la mitad de abajo
   y de blanco a transparente en la mitad de arriba). Mantiene la proporción 501/1901 del ancho. */
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -1;
  height: clamp(220px, 26.35vw, 501px);
  pointer-events: none;
  background: linear-gradient(to top, rgb(var(--bg-rgb)) 0%, rgb(var(--bg-rgb)) 50%, rgba(var(--bg-rgb), 0) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
  text-align: center;
}
.hero-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 5px 14px 5px 6px; text-align: left; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 560; color: var(--ink-2); }
.hero-badge .chip { height: 24px; padding: 0 9px; font-size: 12px; }
.hero-title { max-width: 22ch; font-size: 3.3vw; }
.hero-sub { max-width: 46ch; }
.hero-proof {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px;
  margin-top: 4px;
  font-size: 14px; color: var(--muted);
}
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ico { width: 17px; height: 17px; color: var(--accent-fg); }
.stars { color: var(--accent-fg); letter-spacing: 1px; font-size: 14px; }

/* Degradado morado en el titular (se desplaza muy despacio) */
.text-gradient {
  background: linear-gradient(100deg, #4f22d6 0%, #4300ff 30%, #a000ff 55%, #ff4db3 78%, #4f22d6 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradientDrift 9s ease-in-out infinite alternate;
}
@keyframes gradientDrift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }


/* ---------- Cabeceras de sección ---------- */
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.head-split .head-copy { display: grid; gap: 14px; max-width: 760px; }
.head-center { justify-items: center; text-align: center; }
.head-center .lead { max-width: 52ch; }

/* ---------- Shell gris: hero (panel blanco) + Funciona con + tira + kits ---------- */
.hero-shell { background: var(--bg-soft); }

/* Funciona con (horizonx: mt-12 px-6 max-w-4xl mx-auto) */
.works { padding-top: clamp(40px, 4vw, 56px); text-align: center; }
.works-label { font-size: 14px; font-weight: 500; color: var(--muted); }
.works-list { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.works-list li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.works-list img { width: 20px; height: 20px; }
.js .works[data-reveal] { filter: none; transform: none; }
.js .works .works-list li { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity 0.52s cubic-bezier(0.33, 1, 0.68, 1), transform 0.52s cubic-bezier(0.33, 1, 0.68, 1); transition-delay: calc(var(--d, 0) * 50ms + 0.1s); }
.js .works.is-in .works-list li { opacity: 1; transform: none; }

/* Tira de tarjetas flotantes (horizonx: strip relative w-full overflow-hidden py-6) */
.strip { position: relative; width: 100%; overflow: hidden; padding: 24px 0; margin: clamp(32px, 4vw, 64px) 0 clamp(48px, 5vw, 80px); }
.strip-track { display: flex; width: max-content; animation: stripMove var(--strip-duration, 64s) linear infinite; }
/* Con el cursor encima la tira se detiene */
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
.strip-list { display: flex; flex-shrink: 0; align-items: flex-start; }
.strip-list li { flex-shrink: 0; padding-right: 20px; }
@keyframes stripMove { to { transform: translateX(-50%); } }
/* Las tarjetas no flotan ni giran: solo avanzan con la tira, todas alineadas */
.s-card { display: block; width: 320px; border-radius: 22px; }
.s-media { position: relative; height: 240px; overflow: hidden; border-radius: 16px; background: #171717; }
.s-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.s-media img, .s-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-chip { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; color: #141414; }
.s-meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 0 4px; min-width: 0; }
.s-meta strong { min-width: 0; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-meta span { min-width: 0; margin-left: auto; font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Kits ---------- */
.kits { padding-top: clamp(56px, 6vw, 96px); padding-bottom: var(--space-md); background: var(--panel); border-radius: var(--r-hero) var(--r-hero) 0 0; }
.kit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 1.4vw, 22px); }
.kit { display: grid; gap: 14px; }
.kit-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--surface); }
.kit-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-quint), opacity 0.7s var(--ease-quint); }
/* Tarjetas con video al pasar el cursor: sin zoom, el video aparece de inmediato (pedido) */
.kit-video, .hover-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.kit.is-playing .kit-video, .is-playing .hover-video { opacity: 1; }
.kit-new, .kit-cta { z-index: 1; }
.kit-cta {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px 0 14px; border-radius: 999px;
  background: rgba(255,255,255,0.94); color: #141414;
  font-size: 13.5px; font-weight: 600;
  opacity: 0; transform: translateY(6px); filter: blur(4px);
  transition: opacity 0.4s var(--ease-quint), transform 0.4s var(--ease-quint), filter 0.4s var(--ease-quint);
}
.kit-cta .arrow { width: 14px; height: 14px; }
.kit:hover .kit-cta, .kit:focus-within .kit-cta { opacity: 1; transform: none; filter: none; }
.kit-new { position: absolute; left: 12px; top: 12px; }
.kit-info { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.kit-info h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.kit-info span { font-size: 13.5px; color: var(--muted); white-space: nowrap; }


/* ---------- Intro (frase + video cuadrado) ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro-copy { display: grid; gap: 28px; }
.intro-copy .lead { max-width: 50ch; }
.video-card { position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-quint); }
.video-card:hover img { transform: scale(1.03); }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: grid; place-items: end start; padding: 20px; }
.video-play span {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 18px 0 8px; border-radius: 999px;
  background: rgba(255,255,255,0.94); color: #141414;
  font-weight: 600; font-size: 15px;
  transition: background-color var(--t-ui), color var(--t-ui);
}
.video-play span i { width: 32px; height: 32px; border-radius: 999px; background: var(--accent); display: grid; place-items: center; }
.video-play span i::before { content: ""; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.video-play:hover span { background: #fff; }

/* ---------- Superficie grande (RW Library) ---------- */
.showcase { padding-top: var(--space-md); }
/* Expansión horizontal al hacer scroll (JS escribe --p de 0 a 1) */
.expand {
  --p: 0;
  --from: min(calc(100% - 2 * var(--gutter)), var(--expand-from, 1180px));
  width: calc(var(--from) + (100% - var(--from)) * var(--p));
  margin-inline: auto;
  border-radius: calc(var(--r-xl) * (1 - var(--p)));
  overflow: hidden;
  isolation: isolate;
}
.showcase-surface {
  position: relative;
  padding: clamp(14px, 2.6vw, 40px) clamp(14px, 2.6vw, 40px) 0;
  background: var(--surface);
}
.showcase-inner { max-width: 1760px; margin-inline: auto; }
.showcase-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 6px 22px; flex-wrap: wrap; }
.showcase-top .brand-line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-weight: 620; font-size: 17px; letter-spacing: -0.015em; min-width: 0; }
.showcase-shot { border-radius: 18px 18px 0 0; overflow: hidden; background: #0d0d10; height: clamp(260px, 38vw, 640px); }
/* Altura fija: al expandirse se ve más interfaz sin mover el resto de la página */
.showcase-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* Captura de la interfaz de RW Library (clara/oscura según el tema): anclada arriba a la izquierda, con la barra lateral */
.showcase-shot img.lib-ui { object-position: 0 0; }
.showcase-shot:has(img.lib-ui) { background: var(--surface); }

/* ---------- Explorador (etiqueta que se escribe + carrusel a sangre) ---------- */
.explorer-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 64px; align-items: end; margin-bottom: 44px; }
.typed { display: flex; align-items: center; gap: 14px; font-size: clamp(24px, 2.3vw, 32px); font-weight: 620; letter-spacing: -0.025em; margin-bottom: 22px; min-height: 1.3em; }
.typed .ico-box { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-fg); display: grid; place-items: center; }
.typed-caret { display: inline-block; width: 2px; height: 1.05em; background: var(--ink); margin-left: 2px; vertical-align: -0.12em; animation: caretBlink 1s steps(1) infinite; }
.carousel {
  display: flex; gap: clamp(12px, 1.2vw, 18px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.carousel::-webkit-scrollbar { display: none; }
.c-card {
  flex: none; scroll-snap-align: start;
  width: clamp(260px, 27vw, 440px);
  padding: 10px; border-radius: var(--r-lg);
  background: var(--surface);
  transition: opacity 0.5s var(--ease-quint), filter 0.5s var(--ease-quint), transform 0.5s var(--ease-quint), background-color var(--t-ui);
}
.c-card:hover { background: var(--surface-2); }
.c-card.is-portrait { width: clamp(200px, 19vw, 320px); }
.c-media { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--media-bg); }
.c-card.is-portrait .c-media { aspect-ratio: 4 / 5; }
.c-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-quint); }

.c-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 6px 4px; }
.c-meta strong { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-meta span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.carousel.is-out .c-card { opacity: 0; filter: blur(6px); transform: translateX(-24px); }
.carousel.is-in .c-card { animation: cardIn 0.7s var(--ease-quint) both; animation-delay: calc(var(--d, 0) * 50ms); }
@keyframes cardIn { from { opacity: 0; filter: blur(6px); transform: translateX(40px); } to { opacity: 1; filter: none; transform: none; } }
.explorer-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.carousel-nav { display: flex; gap: 8px; }
.nav-btn { width: 42px; height: 42px; border-radius: 999px; background: var(--fill); display: grid; place-items: center; transition: background-color var(--t-ui); }
.nav-btn:hover { background: var(--fill-hover); }
.nav-btn svg { width: 18px; height: 18px; }

/* ---------- Productos (bento) ---------- */
.products { padding-top: var(--space-xl); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.tile {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 520px;
  border-radius: var(--r-xl);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  transition: background-color 0.3s var(--ease-ui);
}
.tile:hover { background: var(--surface-2); }
.tile-7 { grid-column: span 7; }
.tile-5 { grid-column: span 5; }
.tile-4 { grid-column: span 4; min-height: 460px; }
.tile-copy { position: relative; z-index: 1; display: grid; gap: 10px; padding: clamp(24px, 2.4vw, 36px); }
.tile-copy .row { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.tile-copy p { color: var(--muted); font-size: 16.5px; line-height: 1.45; max-width: 36ch; }
.tile-copy .link { margin-top: 6px; }
.tile-media { position: relative; margin-top: auto; padding-left: clamp(24px, 2.4vw, 36px); }
.tile-media img { width: 100%; border-radius: 16px 0 0 0; transition: transform 0.9s var(--ease-quint); transform-origin: left bottom; }
.tile-media.is-center { padding-inline: clamp(20px, 2vw, 32px); }
.tile-media.is-center img { border-radius: 16px 16px 0 0; }
.tile:hover .tile-media img { transform: translateY(-6px); }
/* RW Presenter y RW Titler: captura a todo el ancho de la tarjeta, misma distancia bajo el enlace,
   pegada abajo y recortada por abajo como una máscara (solo esquinas superiores redondeadas) */
.tile-7 .tile-media, .tile-5 .tile-media, .tile-4 .tile-media { flex: 1 1 auto; min-height: clamp(300px, 30vw, 560px); margin-top: 8px; padding: 0; line-height: 0; overflow: hidden; border-radius: 16px 16px 0 0; }
.tile-7 .tile-media img, .tile-5 .tile-media img, .tile-4 .tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: 0; }
.tile-7:hover .tile-media img, .tile-5:hover .tile-media img, .tile-4:hover .tile-media img { transform: none; }
.ai-ico { display: grid; place-items: center; border-radius: 10px; background: var(--accent); color: #fff; }
.testi-intro { margin-top: 0; }
.testi-intro .head { margin-bottom: clamp(40px, 5vw, 72px); }
.tile-badge { position: absolute; top: clamp(24px, 2.4vw, 36px); right: clamp(24px, 2.4vw, 36px); z-index: 2; }

/* ---------- Categorías (lista interactiva + preview) ---------- */
.cats-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.cat-list { display: grid; }
.cat-item { border-bottom: 1px solid var(--line); }
.cat-item:first-child { border-top: 1px solid var(--line); }
.cat-btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 20px 0; text-align: left; font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -0.02em; color: var(--muted-2); transition: color 0.3s var(--ease-ui); }
.cat-btn .ico { color: currentColor; transition: color 0.3s var(--ease-ui); }
.cat-btn:hover { color: var(--ink-2); }
.cat-item.is-active .cat-btn { color: var(--ink); }
.cat-item.is-active .cat-btn .ico { color: var(--accent-fg); }
.cat-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-quint); }
.cat-item.is-active .cat-body { grid-template-rows: 1fr; }
.cat-body > div { overflow: hidden; }
.cat-body p { color: var(--muted); font-size: 16.5px; line-height: 1.5; padding: 0 0 8px 36px; max-width: 46ch; }
.cat-body .link { margin: 6px 0 22px 36px; }
.cat-preview { position: sticky; top: 32px; aspect-ratio: 1 / 1; border-radius: var(--r-xl); background: var(--surface); padding: clamp(12px, 1.4vw, 20px); overflow: hidden; }
.cat-mosaic { position: absolute; inset: clamp(12px, 1.4vw, 20px); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(8px, 0.9vw, 14px); opacity: 0; filter: blur(8px); transform: scale(0.985); transition: opacity 0.6s var(--ease-quint), filter 0.6s var(--ease-quint), transform 0.8s var(--ease-quint); }
.cat-mosaic.is-active { opacity: 1; filter: none; transform: none; }
.cat-mosaic > div { border-radius: 16px; overflow: hidden; background: var(--media-bg); }
.cat-mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- LED + Video Loops ---------- */
.led { padding-top: var(--space-xl); }
.led-stage { position: relative; display: grid; place-items: center; background: #1f1722; }
/* La imagen se queda a tamaño nítido y sus bordes se funden con el escenario que crece */
.led-stage img {
  width: min(100%, 1180px);
  aspect-ratio: 746 / 420;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.loops-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); margin-top: clamp(12px, 1.2vw, 18px); }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-quint); }

.thumb-label { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,0.94); color: #141414; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(6px); filter: blur(4px); transition: opacity 0.4s var(--ease-quint), transform 0.4s var(--ease-quint), filter 0.4s var(--ease-quint); }
.thumb:hover .thumb-label { opacity: 1; transform: none; filter: none; }

/* ---------- Split (plantillas / títulos) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.is-reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split.is-reverse .split-media { order: 2; }
.split-media { border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
.split-media img { width: 100%; }
.split-copy { display: grid; gap: 22px; }
.list-check { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.list-check li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink-2); }
.list-check .ico { width: 18px; height: 18px; color: var(--accent-fg); }
.list-label { font-size: 14px; font-weight: 600; color: var(--ink); }

/* Títulos animados reales de RW Titler */
.titles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); margin-top: clamp(40px, 5vw, 72px); }
.title-card { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0f0f12; }
.title-card video { width: 100%; height: 100%; object-fit: cover; }
.title-card:hover .thumb-label { opacity: 1; transform: none; filter: none; }

/* ---------- Últimos recursos ---------- */
.latest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(14px, 1.4vw, 22px); }
.res { display: grid; gap: 12px; }
.res-media { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--surface); display: block; }
.res-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-quint); }
.res:hover .res-media img { transform: scale(1.035); }
.res h3 { font-size: 15.5px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.res span { font-size: 13px; color: var(--muted); }

/* ---------- Sección gris (nosotros + testimonios) ---------- */
.gray { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.about-copy { display: grid; gap: 20px; }
.about-copy p { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-2); }
.stat { display: grid; gap: 8px; padding: 28px 24px 0 0; transition: color var(--t-ui); }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-2); }
.stat-num { font-size: clamp(40px, 4.4vw, 64px); font-weight: 650; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num sup { font-size: 0.42em; color: var(--accent-fg); vertical-align: top; position: relative; top: 0.25em; margin-left: 2px; }
.stat-label { color: var(--muted); font-size: 15px; max-width: 22ch; }
.stat:hover .stat-label { color: var(--ink); }

.quote { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px 80px; align-items: end; }
.quote-mark { font-size: 64px; line-height: 0.6; font-weight: 700; color: var(--accent-fg); height: 30px; }
.quote blockquote { font-size: clamp(26px, 2.7vw, 40px); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); text-wrap: pretty; }
.person { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 650; font-size: 17px; flex: none; }
.person strong { display: block; font-size: 15.5px; font-weight: 600; }
.person span { font-size: 14px; color: var(--muted); }

.testi-track { display: flex; gap: clamp(12px, 1.2vw, 18px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: clamp(48px, 5vw, 80px); }
.testi-track::-webkit-scrollbar { display: none; }
.t-card { flex: none; width: clamp(290px, 30vw, 420px); scroll-snap-align: start; background: var(--panel); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.t-card p { font-size: 17px; line-height: 1.5; color: var(--ink-2); flex: 1; }
.t-card .avatar { width: 40px; height: 40px; font-size: 15px; background: var(--accent-soft); color: var(--accent-ink); }
.testi-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.rating { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.rating strong { color: var(--ink); font-size: 15px; }

/* ---------- FAQ (blanca, esquinas inferiores redondeadas sobre la banda) ---------- */
.faq { position: relative; z-index: 2; background: var(--panel); border-radius: 0 0 var(--r-xl) var(--r-xl); padding-block: var(--space-lg) var(--space-lg); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { display: grid; gap: 18px; position: sticky; top: 32px; }

/* ---------- CTA final (banda morada profunda, como la referencia) ---------- */
.cta { position: relative; z-index: 1; margin-top: calc(var(--r-xl) * -1); padding: calc(var(--space-xl) + var(--r-xl)) 0 var(--space-xl); background: var(--accent-deep); color: #fff; overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 80px; align-items: center; }
.cta h2 { font-size: clamp(56px, 8.6vw, 136px); font-weight: 700; line-height: 0.92; letter-spacing: -0.055em; color: #fff; }
.cta-copy { display: grid; gap: 26px; }
.cta-copy p { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: rgba(255,255,255,0.78); max-width: 40ch; }
.cta-copy p strong { color: #fff; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { padding: var(--space-md) 0 36px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer-col h4 { font-size: 13px; font-weight: 560; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color var(--t-ui); display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: var(--accent-fg); }
.footer-col img { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: var(--space-md); padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a:hover { color: var(--ink); }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--fill); }
.lang a { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--panel); color: var(--ink); }

/* 8. Responsive ------------------------------------------------------------ */
@media (max-width: 1200px) {
  .kit-grid, .latest-grid, .loops-grid, .titles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-7, .tile-5 { grid-column: span 6; }
  .tile-4 { grid-column: span 6; }
  .tile-4:last-child { grid-column: span 12; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line-2); }
}
@media (max-width: 900px) {
  .hero-title { font-size: clamp(34px, 9.4vw, 46px); }
  .s-card { width: 250px; }
  .s-media { height: 190px; }
  .intro-grid, .explorer-head, .cats-grid, .split, .split.is-reverse, .about-grid, .quote, .faq-grid, .cta-grid { grid-template-columns: 1fr; }
  .split.is-reverse .split-media { order: 0; }
  .kit-grid, .latest-grid, .loops-grid, .titles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-7, .tile-5, .tile-4, .tile-4:last-child { grid-column: span 12; min-height: 0; }
  .tile-media { margin-top: 12px; }
  .cat-preview { position: relative; top: 0; order: -1; aspect-ratio: 4 / 3; }
  .faq-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .led-stage img { -webkit-mask-image: none; mask-image: none; }
  .video-card { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .showcase-top .chip { display: none; }
  /* En pantallas estrechas el velo cubre casi todo: las previews quedan como textura de fondo */
  .hero-veil {
    background:
      linear-gradient(180deg, rgb(var(--bg-rgb)) 0%, rgba(var(--bg-rgb), 0.9) 10%, rgba(var(--bg-rgb), 0.9) 88%, rgb(var(--bg-rgb)) 100%);
  }
  .hero-wall { inset: -6% -40%; gap: 10px; }
  .hero-badge { font-size: 12.5px; }
  .kit-new { left: 8px; top: 8px; height: 22px; padding: 0 8px; font-size: 11.5px; }
  .hero { padding: 104px 0 72px; min-height: 760px; }
  .hero-card { width: 200px; border-radius: 14px; }
  .hero-proof { gap: 8px 16px; font-size: 13px; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 auto; }
  .kit-grid, .latest-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .kit-info { flex-direction: column; gap: 2px; }
  .kit-info h3 { font-size: 14.5px; }
  .list-check { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 12px; }
  .acc-panel p { padding-right: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}

/* 9. Movimiento reducido --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-load], .js [data-reveal] { opacity: 1 !important; filter: none !important; transform: none !important; animation: none !important; }
  .typed-caret, .text-gradient { animation: none; }
  .strip-track { animation: none !important; }
  .strip { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .strip-list[data-copy="1"] { display: none; }
  .js .works .works-list li { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Franja «Funciona con» + tira: morado oscuro y texto blanco (pedido) */
.hero-shell { background: #0d0013; }
.hero-shell .works-label { color: rgba(255, 255, 255, 0.7); }
.hero-shell .works-list li { color: #fff; }
.hero-shell .s-meta strong { color: #fff; }
.hero-shell .s-meta span { color: rgba(255, 255, 255, 0.6); }
/* En oscuro, solo el hero pasa a negro puro (velo y degradado inferior incluidos) */
:root[data-theme="dark"] .hero { --bg-rgb: 0, 0, 0; background: #000; }

/* Las 3 tarjetas pequeñas: captura algo más baja que en Presenter/Titler */
.tile-4 .tile-media { min-height: clamp(240px, 22vw, 400px); }
