/* ─────────────────────────────────────────────────────────────────────────────
   FaenApp Aprende · hoja de estilos única
   Recreación de la maqueta de diseño (parallax + mockups anclados).
   Paleta tomada del logo oficial. Tipografía Montserrat.
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  --hondo:   #0437b3;   /* azul FaenApp: acciones y títulos */
  --brillo:  #128bec;   /* acento, kickers y links */
  --noche:   #02165a;   /* fondo profundo de los heroes */
  --loma:    #02114a;
  --fin:     #0a5ad6;
  --cielo:   #7fc4ff;
  --tinta:   #0a1230;   /* texto principal */
  --suave:   #4a5578;   /* texto secundario */
  --papel:   #f4f7fd;   /* fondo */
  --borde:   rgba(4, 55, 179, .1);
  --borde-suave: rgba(4, 55, 179, .08);
  --borde-fuerte: rgba(4, 55, 179, .14);
  --sombra-mockup: 0 40px 80px -30px rgba(4, 55, 179, .55);
  --sombra-tarjeta: 0 26px 44px -26px rgba(4, 55, 179, .4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--brillo); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--hondo); }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

img { max-width: 100%; display: block; }

.oculto { display: none !important; }

/* ── Barra de progreso de lectura ─────────────────────────────────────────── */
.barra-lectura {
  position: fixed; top: 0; left: 0; right: 0; height: 4px;
  background: rgba(4, 55, 179, .12); z-index: 60;
}
.barra-lectura > span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--hondo), var(--brillo));
}

/* ── Cabecera ─────────────────────────────────────────────────────────────── */
.cabecera {
  position: fixed; top: 4px; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 14px clamp(16px, 3vw, 34px);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--borde-suave);
}
.cabecera__logo { width: 30px; height: 30px; border-radius: 8px; }
.cabecera__marca { font-weight: 700; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.cabecera__marca span { color: var(--brillo); }
.cabecera__sep { width: 1px; height: 20px; background: var(--borde-fuerte); }
.cabecera__link { font-size: 13px; font-weight: 500; color: var(--suave); white-space: nowrap; }
.cabecera__link:hover { color: var(--hondo); }
.cabecera__espacio { flex: 1; }
.cabecera .etiquetas { margin: 0; }

/* Selector de app (pill group) */
.selector {
  display: flex; gap: 2px; padding: 3px;
  background: rgba(4, 55, 179, .06); border-radius: 999px;
}
.selector button {
  padding: 6px 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--suave);
  font-family: inherit; font-size: 12px; font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.selector button:hover { background: rgba(4, 55, 179, .08); }
.selector button[aria-pressed="true"] { background: var(--hondo); color: #fff; }

/* ── Botones ──────────────────────────────────────────────────────────────── */
.boton, .boton-fantasma {
  display: inline-flex; align-items: center; gap: 10px; width: max-content;
  padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.boton { background: var(--hondo); color: #fff; }
.boton:hover { background: #02258a; color: #fff; }
.boton--claro { background: #fff; color: var(--hondo); }
.boton--claro:hover { background: #e9f3ff; color: var(--hondo); }
.boton-fantasma {
  background: transparent; color: #fff; font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, .34);
}
.boton-fantasma:hover { border-color: #fff; color: #fff; }
.boton[disabled], .boton-video--pendiente {
  background: rgba(4, 55, 179, .1); color: var(--suave); cursor: default;
}
.boton[disabled]:hover, .boton-video--pendiente:hover { background: rgba(4, 55, 179, .1); }

/* ── Hero con parallax ────────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 640px; overflow: hidden;
  background: linear-gradient(175deg, var(--noche) 0%, var(--hondo) 58%, var(--fin) 100%);
}
.capa { position: absolute; will-change: transform; }
.capa--lejos {
  left: 0; right: 0; bottom: 0; height: 62%;
  display: flex; align-items: flex-end; gap: 3.4%; padding: 0 4%; opacity: .16;
}
.capa--lejos i { flex: 1; background: var(--cielo); border-radius: 16px 16px 0 0; }
.capa--medio {
  left: 0; right: 0; bottom: -4%; height: 44%;
  display: flex; align-items: flex-end; gap: 5%; padding: 0 9%; opacity: .34;
}
.capa--medio i { flex: 1; background: var(--brillo); border-radius: 20px 20px 0 0; }
.capa--loma {
  left: -6%; right: -6%; bottom: -10%; height: 22%;
  background: var(--loma); border-radius: 50% 50% 0 0;
}
.capa--sol {
  right: 8%; top: 16%; width: min(340px, 26vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(127, 196, 255, .5), rgba(18, 139, 236, 0) 68%);
}
.hero__contenido {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(24px, 7vw, 120px);
}
.kicker {
  display: flex; align-items: center; gap: 12px;
  color: var(--cielo); font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
}
.kicker::before { content: ''; width: 34px; height: 2px; background: var(--cielo); }
.hero h1 {
  margin: 18px 0 0; font-size: clamp(42px, 7.2vw, 100px); line-height: .94;
  color: #fff; max-width: 14ch; text-wrap: pretty;
}
.hero p {
  margin: 22px 0 0; max-width: 46ch; font-weight: 500;
  font-size: clamp(16px, 1.5vw, 21px); line-height: 1.55; color: rgba(255, 255, 255, .78);
}
.hero__acciones { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  color: rgba(255, 255, 255, .6); font-size: 11px; font-weight: 600; letter-spacing: .2em;
  animation: flotar 2.4s ease-in-out infinite;
}
@keyframes flotar { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 9px); } }

/* ── Carrusel de bienvenida (portada) ─────────────────────────────────────── */
.carrusel { position: absolute; inset: 0; overflow: hidden; }
.carrusel__pista {
  display: flex; height: 100%;
  transition: transform .6s cubic-bezier(.6, .05, .2, 1);
}
.carrusel__panel {
  flex: 0 0 100%; height: 100%;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(20px, 4vw, 60px);
  padding: 90px clamp(24px, 7vw, 120px) 120px;
}
.carrusel__texto .kicker { color: var(--cielo); }
.carrusel__texto h1 { font-size: clamp(34px, 5.4vw, 74px); max-width: 16ch; }
.carrusel__texto p { max-width: 42ch; }
.carrusel__mockup { display: flex; justify-content: center; align-items: center; height: 100%; }
/* En el carrusel manda la altura disponible, no el ancho */
.carrusel__mockup .telefono { width: auto; height: min(100%, 60vh); }
.carrusel__controles {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3;
  display: flex; align-items: center; gap: 14px; padding: 0 clamp(24px, 7vw, 120px);
}
.redondo {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: transparent; color: #fff; font-size: 18px;
  border: 1.5px solid rgba(255, 255, 255, .34);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, background .2s ease;
}
.redondo:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.puntitos { display: flex; gap: 7px; }
.puntitos button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .35); transition: all .3s ease;
}
.puntitos button[aria-current="true"] { width: 26px; background: #fff; }
.carrusel__saltar { margin-left: auto; color: rgba(255, 255, 255, .78); font-size: 13px; font-weight: 600; }
.carrusel__saltar:hover { color: #fff; }

/* ── Mockups ──────────────────────────────────────────────────────────────── */
.telefono {
  width: min(330px, 27vw); aspect-ratio: 9 / 19.2; border-radius: 42px;
  background: var(--tinta); padding: 10px;
  box-shadow: var(--sombra-mockup), 0 0 0 1.5px rgba(255, 255, 255, .06) inset;
}
.telefono__pantalla {
  position: relative; width: 100%; height: 100%;
  border-radius: 33px; overflow: hidden; background: #fff;
}
.telefono__notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 38%; height: 26px; background: var(--tinta); border-radius: 0 0 16px 16px; z-index: 2;
}
.monitor {
  width: min(560px, 42vw);
  filter: drop-shadow(0 40px 80px rgba(4, 55, 179, .35));
}
.monitor__marco {
  width: 100%; aspect-ratio: 16 / 10; border-radius: 16px;
  background: var(--tinta); padding: 12px;
}
.monitor__pantalla { position: relative; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; background: #fff; }
.monitor__base { width: 34%; height: 12px; margin: 0 auto; background: var(--tinta); border-radius: 0 0 8px 8px; }
.monitor__pie { width: 22%; height: 6px; margin: 0 auto; background: rgba(10, 18, 48, .55); border-radius: 999px; }

/* Hueco de captura (mientras no hay imagen real) */
.hueco {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 22px; text-align: center;
  background: repeating-linear-gradient(135deg, #f4f7fd 0 12px, #eaf1fc 12px 24px);
  color: var(--suave);
}
.hueco__icono { font-size: 26px; opacity: .55; }
.hueco__texto { font-size: 12px; font-weight: 600; line-height: 1.45; max-width: 22ch; }
.hueco__slot { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: rgba(74, 85, 120, .65); }
.hueco img, .hueco video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.captura { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.captura[data-visible="1"] { opacity: 1; }

/* ── Secciones genéricas ──────────────────────────────────────────────────── */
.seccion { padding: clamp(60px, 8vw, 110px) clamp(24px, 7vw, 120px); }
.seccion--blanca { background: #fff; }
.seccion--papel { background: var(--papel); }
.seccion__kicker {
  color: var(--brillo); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.seccion h2 { margin: 14px 0 0; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.06; max-width: 22ch; }
.seccion__bajada { margin: 14px 0 0; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--suave); font-weight: 500; }

/* ── Conceptos ────────────────────────────────────────────────────────────── */
.conceptos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 40px; }
.concepto {
  background: var(--papel); border: 1.5px solid var(--borde-suave);
  border-radius: 20px; padding: 24px;
}
.concepto__n {
  width: 34px; height: 34px; border-radius: 10px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  background: linear-gradient(140deg, var(--hondo), var(--brillo));
}
.concepto h3 { margin: 16px 0 0; font-size: 19px; line-height: 1.25; }
.concepto p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--suave); font-weight: 500; }

/* ── Índice de bloques ────────────────────────────────────────────────────── */
.indice { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.indice__estado { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--suave); }
.tarjeta {
  display: block; background: #fff; border: 1.5px solid var(--borde);
  border-radius: 22px; padding: 22px; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tarjeta:hover { transform: translateY(-4px); box-shadow: var(--sombra-tarjeta); color: inherit; }
.tarjeta__imagen {
  position: relative; height: 132px; border-radius: 14px; overflow: hidden; margin-bottom: 18px;
  background: linear-gradient(150deg, #e6eefb, #f7faff);
}
.tarjeta__kicker { color: var(--brillo); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tarjeta h3 { margin: 8px 0 0; font-size: 21px; letter-spacing: -.02em; }
.tarjeta p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--suave); font-weight: 500; }
.tarjeta__pie { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 12px; font-weight: 600; color: var(--suave); }
.tarjeta__barra { height: 6px; border-radius: 999px; background: rgba(4, 55, 179, .1); margin-top: 14px; overflow: hidden; }
.tarjeta__barra > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--hondo), var(--brillo)); transition: width .4s ease; }
.tarjeta--completa { border-color: rgba(18, 139, 236, .5); }

.etiquetas { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.etiqueta {
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: rgba(4, 55, 179, .06); color: var(--hondo);
}
.etiqueta--suave { background: rgba(74, 85, 120, .1); color: var(--suave); }

/* ── Referencia (dos columnas) ────────────────────────────────────────────── */
.columnas { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 40px; }
.lista-fichas { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.ficha-link {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: #fff; border: 1.5px solid var(--borde); border-radius: 16px; color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
.ficha-link:hover { border-color: rgba(18, 139, 236, .5); transform: translateX(4px); color: inherit; }
.ficha-link strong { font-size: 16px; }
.ficha-link small { display: block; margin-top: 3px; font-size: 13px; color: var(--suave); font-weight: 500; }
.ficha-link span { margin-left: auto; color: var(--brillo); font-size: 18px; }

/* ── Escenas con parallax (página de bloque) ──────────────────────────────── */
.escenas { position: relative; background: var(--papel); }
.escenario { position: sticky; top: 0; height: 100vh; overflow: hidden; z-index: 0; }
.escenario__tinte { position: absolute; inset: 0; background: var(--papel); transition: background .5s ease; }
.capa2 { position: absolute; will-change: transform; }
.capa2--barras {
  left: 0; right: 0; bottom: -8%; height: 46%;
  display: flex; align-items: flex-end; gap: 4%; padding: 0 3%; opacity: .1;
}
.capa2--barras i { flex: 1; background: var(--hondo); border-radius: 18px 18px 0 0; }
.capa2--halo {
  left: -10%; top: 22%; width: 44%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(18, 139, 236, .18), rgba(18, 139, 236, 0) 70%);
}
.escenario__mockups {
  position: absolute; right: clamp(24px, 7vw, 120px); top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 24px;
}
.escenario__mockups > * { transition: opacity .4s ease, transform .4s ease; }
.escenario__mockups [data-apagado="1"] { opacity: 0; pointer-events: none; position: absolute; }

.escenas__columna {
  position: relative; z-index: 1; margin-top: -100vh;
  width: min(560px, 52%); padding-left: clamp(24px, 7vw, 120px);
}
.escena { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0; }
.escena__kicker { color: var(--brillo); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.escena h2 { margin: 14px 0 0; font-size: clamp(30px, 4vw, 54px); line-height: 1.02; }
.escena__resumen { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--suave); font-weight: 500; }
.escena__nota {
  margin: 22px 0 0; font-size: 15px; line-height: 1.6; color: var(--suave); font-weight: 500;
  padding-left: 14px; border-left: 2px solid rgba(18, 139, 236, .4);
}

/* Listas de la escena */
.pasos { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.pasos li { display: flex; gap: 14px; align-items: flex-start; }
.pasos b { font-weight: 700; }
.pasos .n {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--hondo); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pasos .t { font-size: 15px; line-height: 1.5; font-weight: 500; padding-top: 3px; }
.puntos { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.puntos li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; font-weight: 500; }
.puntos li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brillo); flex: none; margin-top: 7px; }

.pastillas { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.pastilla {
  padding: 10px 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
  background: #fff; border: 1.5px solid var(--borde-fuerte);
}
.pastilla--activa { background: var(--hondo); color: #fff; border-color: var(--hondo); font-weight: 700; }

.mini-tarjetas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.mini-tarjeta { padding: 16px; border-radius: 14px; background: #fff; border: 1.5px solid var(--borde); }
.mini-tarjeta small { font-size: 12px; color: var(--suave); font-weight: 600; }
.mini-tarjeta strong { display: block; font-size: 15px; margin-top: 4px; }

.dato {
  margin-top: 26px; padding: 20px; border-radius: 18px; background: #fff;
  border: 1.5px solid var(--borde); display: flex; flex-direction: column; gap: 12px;
}
.dato__fila { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.dato__fila span:first-child { color: var(--suave); }
.dato__fila span:last-child { color: var(--hondo); font-weight: 700; }
.dato__barra { height: 8px; border-radius: 999px; background: rgba(4, 55, 179, .1); overflow: hidden; }
.dato__barra > span { display: block; height: 100%; background: linear-gradient(90deg, var(--hondo), var(--brillo)); }
.dato__nota { font-size: 13px; color: var(--suave); font-weight: 500; }

.escena__acciones { display: flex; align-items: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.marca-pendiente {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(74, 85, 120, .8);
}

/* ── Cierre "Ojo con esto" ────────────────────────────────────────────────── */
.ojo {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, var(--noche), var(--hondo));
  padding: clamp(70px, 10vw, 130px) clamp(24px, 7vw, 120px);
}
.ojo::before {
  content: ''; position: absolute; right: -6%; top: -30%; width: 52%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 139, 236, .42), transparent 68%);
}
.ojo__caja { position: relative; max-width: 900px; }
.ojo__kicker { color: var(--cielo); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.ojo h2 { margin: 16px 0 0; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.08; max-width: 26ch; text-wrap: pretty; }
.ojo p { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .76); max-width: 52ch; font-weight: 500; }
.ojo__acciones { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* ── Páginas de texto (fichas y referencia) ───────────────────────────────── */
.articulo { max-width: 780px; }
.articulo p { margin-top: 18px; font-size: 17px; line-height: 1.7; color: var(--suave); font-weight: 500; }
.articulo p b { color: var(--tinta); }
.articulo h3 { margin: 40px 0 0; font-size: 22px; }
.tabla-envoltorio { overflow-x: auto; margin-top: 22px; border: 1.5px solid var(--borde); border-radius: 18px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--borde-suave); }
th { font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); }
tr:last-child td { border-bottom: 0; }
td b { font-weight: 700; }
.si { color: var(--hondo); font-weight: 700; }
.no { color: rgba(74, 85, 120, .5); }
.cond { color: var(--suave); font-weight: 600; font-size: 13px; }
.nube { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.nube span {
  padding: 8px 14px; border-radius: 999px; background: #fff;
  border: 1.5px solid var(--borde); font-size: 13px; font-weight: 600;
}

/* ── Pie ──────────────────────────────────────────────────────────────────── */
.pie {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 34px clamp(24px, 7vw, 120px);
  background: var(--papel); border-top: 1px solid var(--borde-suave);
  font-size: 13px; color: var(--suave); font-weight: 500;
}
.pie img { width: 24px; height: 24px; border-radius: 6px; }
.pie__espacio { flex: 1; }

/* ── Encabezado interior (fichas / referencia) ────────────────────────────── */
.tapa {
  padding: calc(clamp(60px, 8vw, 110px) + 40px) clamp(24px, 7vw, 120px) clamp(50px, 6vw, 80px);
  background: linear-gradient(160deg, var(--noche), var(--hondo));
  color: #fff;
}
.tapa .kicker { color: var(--cielo); }
.tapa h1 { margin: 18px 0 0; font-size: clamp(34px, 5vw, 66px); line-height: 1; max-width: 18ch; }
.tapa p { margin: 18px 0 0; max-width: 54ch; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .78); font-weight: 500; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cabecera { gap: 10px; padding: 10px 16px; }
  .cabecera__link, .cabecera__sep, .cabecera .etiquetas { display: none; }
  .selector button { padding: 6px 10px; font-size: 11px; }

  .carrusel__panel { grid-template-columns: 1fr; align-content: center; padding: 96px 24px 130px; }
  .carrusel__mockup { display: none; }
  .telefono { width: min(280px, 62vw); }

  /* Las escenas se apilan: captura arriba pegada, texto abajo */
  .escenario { position: static; height: auto; }
  .escenario__tinte, .capa2 { display: none; }
  .escenario__mockups { position: static; transform: none; display: none; }
  .escenas__columna { margin-top: 0; width: 100%; padding: 0 24px; }
  .escena { min-height: 0; padding: 60px 0; }
  .escena__movil {
    display: block; margin: 0 0 24px; border-radius: 22px; overflow: hidden;
    border: 1.5px solid var(--borde); background: #fff; aspect-ratio: 9 / 16; position: relative;
  }
  .escena__movil--ancho { aspect-ratio: 16 / 10; }
  .monitor { width: 100%; }
}

@media (min-width: 901px) {
  .escena__movil { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
  .carrusel__pista { transition: none; }
}
