/* =====================================================================
   TARJETA DIGITAL · SARA CRISTERNA (@patassaladas07)
   Hoja de estilos principal.

   Concepto visual: "una visita a la galería".
   - Su retrato cuelga en un marco dorado, iluminado por un reflector.
   - Paredes verde museo, marfil, dorado, terracota y rosa suave
     (colores tomados de su foto: blusa verde, cabello cobrizo, lentes rosas, aretes dorados).
   - Cada enlace tiene forma de boleto de museo.

   Índice:
    1. Variables (colores y fuentes)
    2. Base y utilidades
    3. Botón de pausa
    4. Portada: reflector, marco con retrato, cédula, nombre, datos, botones
    5. Cintas (tickers) que se desplazan
    6. Boleto reutilizable (.tkt)
    7. Sección Museos: íconos que se transforman + Línea Museos con tren
    8. Frase destacada
    9. Redes sociales (boletos)
   10. Collab (postal con estampilla)
   11. Pie de página + bloque de Synesis Code
   12. Pausa global y accesibilidad (movimiento reducido)
   ===================================================================== */

/* Propiedad animable: permite girar los bordes con conic-gradient (Synesis Code). */
@property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ---------- 1. VARIABLES ----------
   Cambia aquí los colores y fuentes de toda la página. */
:root {
  color-scheme: light;
  --verde: #213328; /* verde museo (fondo principal de la portada y redes) */
  --verde2: #2f4a3a; /* verde museo claro */
  --salvia: #9dae8e; /* verde salvia (su blusa) */
  --salvia2: #d3dbc8; /* salvia muy claro (fondo de la frase) */
  --marfil: #f5efe6; /* marfil (fondos claros y textos sobre verde) */
  --cobre: #b8583a; /* terracota / cobre (su cabello): botones y acentos */
  --rosa: #e9b9ac; /* rosa suave (sus lentes): fondo de Collab */
  --rosa2: #c98b7d; /* rosa oscuro */
  --oro: #c8a15a; /* dorado (marcos, detalles) */
  --oro2: #e3cd9c; /* dorado claro */
  --tinta: #1c2520; /* texto oscuro y sombras */
  --gris: #5c665e; /* texto secundario sobre fondos claros */
  --navy: #0b1a3d; /* azul marino de Synesis Code */
  --teal: #00b9a0; /* turquesa de Synesis Code */
  --serif: "DM Serif Display", Georgia, serif; /* títulos: elegante, de cédula de museo */
  --sans: "Outfit", system-ui, sans-serif; /* textos */
}

/* ---------- 2. BASE Y UTILIDADES ---------- */
* {
  box-sizing: border-box;
  min-width: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--verde);
  color: var(--tinta);
  font: 17px/1.5 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--oro);
  outline-offset: 3px;
  border-radius: 14px;
}
/* Columna central: el contenido nunca pasa de 520px de ancho. */
.wrap {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
/* Lienzo (canvas) fijo: polvo dorado flotando y destellos. No bloquea clics. */
#fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 30;
  pointer-events: none;
}
/* Títulos de sección. */
h2 {
  font: 400 clamp(36px, 10vw, 48px) / 1.04 var(--serif);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
h2 em {
  color: var(--cobre);
}
.lead {
  margin: 12px 0 0;
  font-size: 17px;
}
/* Aparición al hacer scroll: JS agrega la clase .in cuando el elemento entra en pantalla.
   --d permite escalonar el retraso entre elementos. */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.rv.in {
  opacity: 1;
  transform: none;
}

/* ---------- 3. BOTÓN DE PAUSA ----------
   Botón flotante que detiene todas las animaciones (accesibilidad). */
.pause {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--oro);
  background: rgba(245, 239, 230, 0.94);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}
.pause i {
  width: 10px;
  height: 12px;
  border-left: 3.5px solid var(--cobre);
  border-right: 3.5px solid var(--cobre);
}
body.paused .pause i {
  border: 0;
  border-left: 10px solid var(--cobre);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  height: 0;
  width: 0;
}

/* ---------- 4. PORTADA ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 44px;
  text-align: center;
  color: var(--marfil);
  background: radial-gradient(70% 45% at 50% 30%, rgba(157, 174, 142, 0.22), transparent 70%),
    linear-gradient(180deg, var(--verde) 0%, #1a2a20 100%);
}
/* Textura sutil de pared (rayas verticales tipo tapiz). */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 34px);
  pointer-events: none;
}
/* Riel dorado del que cuelga el cuadro. */
.rail {
  position: relative;
  height: 54px;
  border-bottom: 3px solid var(--oro);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--oro2);
  letter-spacing: 0.02em;
  z-index: 3;
}
.rail svg {
  width: 26px;
  height: 26px;
  color: var(--oro);
}
/* Reflector: haz de luz cálida que se "enciende" al cargar y luego respira. */
.beam {
  position: absolute;
  left: 50%;
  top: 54px;
  width: 760px;
  height: 820px;
  margin-left: -380px;
  background: radial-gradient(ellipse 50% 70% at 50% 0%, rgba(255, 236, 200, 0.26), transparent 70%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  pointer-events: none;
  animation:
    lightsOn 1.6s steps(1) 0.2s both,
    breathe 6s ease-in-out 2s infinite;
}
@keyframes lightsOn {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  22% {
    opacity: 0.1;
  }
  35% {
    opacity: 1;
  }
  42% {
    opacity: 0.3;
  }
  55%,
  100% {
    opacity: 1;
  }
}
@keyframes breathe {
  50% {
    opacity: 0.75;
  }
}
/* Cuadro: cuelga de dos cables y se balancea suavemente. */
.hang {
  position: relative;
  width: min(66%, 280px);
  margin: 0 auto;
  padding-top: 70px;
  transform-origin: 50% 0;
  animation:
    drop 1.2s cubic-bezier(0.3, 1.4, 0.5, 1) 0.1s both,
    swing 7s ease-in-out 1.6s infinite;
}
@keyframes drop {
  from {
    transform: translateY(-120px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes swing {
  0%,
  100% {
    transform: rotate(-0.8deg);
  }
  50% {
    transform: rotate(0.8deg);
  }
}
.wires {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 74px;
  overflow: visible;
}
/* Marco dorado con paspartú marfil y la foto dentro (arco, como una puerta de museo). */
.frame {
  position: relative;
  padding: 12px;
  border-radius: 999px 999px 16px 16px;
  background: linear-gradient(135deg, #f3dc9c, #b98c3e 30%, #f6e2a8 52%, #9a7230 75%, #e8c97c);
  box-shadow:
    0 30px 60px -18px rgba(0, 0, 0, 0.75),
    inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.mat {
  padding: 10px;
  border-radius: 999px 999px 8px 8px;
  background: var(--marfil);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.25);
}
.photo {
  position: relative;
  aspect-ratio: 3 / 4.1;
  border-radius: 999px 999px 4px 4px;
  overflow: hidden;
  background: var(--salvia);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
  transform-origin: 50% 30%;
  animation: kb 16s ease-in-out infinite alternate;
}
@keyframes kb {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.1);
  }
}
/* Brillo que cruza el vidrio del cuadro de vez en cuando. */
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 48%, transparent 60%);
  transform: translateX(-120%);
  animation: glass 7s ease-in-out 2.5s infinite;
}
@keyframes glass {
  0%,
  75% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}
/* Cédula de museo debajo del cuadro (usuario y origen). */
.cedula {
  display: inline-block;
  margin: 22px auto 0;
  padding: 10px 18px;
  background: var(--marfil);
  color: var(--tinta);
  border-radius: 4px;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.7);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  border-left: 4px solid var(--cobre);
  animation: fadeUp 0.8s ease-out 1.3s both;
}
.cedula b {
  display: block;
  font-size: 15px;
}
.cedula span {
  color: var(--gris);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Nombre grande: cada letra aparece con un pequeño retraso (--i lo asigna JS). */
.name {
  margin: 26px 0 0;
  font: 400 clamp(56px, 16vw, 84px) / 0.95 var(--serif);
  color: var(--marfil);
  letter-spacing: -0.01em;
}
.name .ln {
  display: block;
}
.name .ln + .ln {
  font-style: italic;
  color: var(--oro2);
}
.name span span {
  display: inline-block;
  opacity: 0;
  animation: letter 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards;
  animation-delay: calc(1.5s + var(--i) * 0.045s);
}
@keyframes letter {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
/* Línea dorada que se dibuja bajo el nombre. */
.sign {
  display: block;
  width: 190px;
  height: 20px;
  margin: 6px auto 0;
}
.sign path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.4s ease-out 2.3s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
/* Roles de Sara. */
.stks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 0;
  max-width: 380px;
}
.stk {
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  border: 1.5px solid rgba(200, 161, 90, 0.6);
  color: var(--marfil);
  background: rgba(245, 239, 230, 0.06);
  opacity: 0;
  animation: pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) forwards;
  animation-delay: calc(2.4s + var(--i) * 0.12s);
  transition:
    background 0.3s,
    color 0.3s;
}
.stk:hover {
  background: var(--oro);
  color: var(--tinta);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Texto que se escribe solo: "Soy actriz / conductora / ...". */
.type {
  margin: 16px 0 0;
  font-weight: 500;
  font-size: 18px;
  color: var(--salvia2);
  min-height: 28px;
}
.type span {
  color: var(--marfil);
  font-weight: 700;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 20px;
  background: var(--oro);
  vertical-align: -3px;
  margin-left: 3px;
  animation: blink 0.8s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
/* Tarjetas con cifras que cuentan hacia arriba al aparecer. */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.stat {
  border: 1px solid rgba(200, 161, 90, 0.45);
  border-radius: 16px;
  padding: 14px 6px;
  background: rgba(245, 239, 230, 0.05);
}
.stat b {
  display: block;
  font: 400 clamp(24px, 6.8vw, 30px) / 1.1 var(--serif);
  color: var(--oro2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat small {
  display: block;
  font-size: 13px;
  line-height: 1.25;
  margin-top: 4px;
  color: var(--salvia2);
}
/* Botones principales: Collab (va a #collab) y Museos (va al tren #metro). */
.cta {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  border: 0;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(2px);
}
.btn.pri {
  background: var(--cobre);
  color: #fff;
  box-shadow: 0 5px 0 #7f3923;
}
.btn.pri:active {
  box-shadow: 0 1px 0 #7f3923;
}
.btn.sec {
  background: var(--marfil);
  color: var(--verde);
  box-shadow: 0 5px 0 var(--oro);
}
.btn.sec:active {
  box-shadow: 0 1px 0 var(--oro);
}
.btn.out {
  background: transparent;
  color: var(--verde);
  border: 2px solid var(--verde);
}
.btn svg {
  width: 19px;
  height: 19px;
  flex: none;
}

/* ---------- 5. CINTAS (TICKERS) ----------
   Franjas con texto que se desplaza sin fin (el texto se duplica en JS). */
.tick {
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding: 12px 0;
  font: italic 400 22px/1 var(--serif);
  white-space: nowrap;
}
.tick.t1 {
  background: var(--oro);
  color: var(--tinta);
}
.tick.t2 {
  background: var(--verde2);
  color: var(--marfil);
}
.tick div {
  display: flex;
  width: max-content;
  animation: mq 30s linear infinite;
}
.tick.t2 div {
  animation-direction: reverse;
  animation-duration: 38s;
}
.tick span {
  padding: 0 18px;
}
.tick i {
  font-style: normal;
  color: var(--marfil);
  font-size: 14px;
  vertical-align: 3px;
}
.tick.t2 i {
  color: var(--oro);
}
@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 6. BOLETO REUTILIZABLE (.tkt) ----------
   Forma de boleto de museo: dos muescas semicirculares hechas con "mask".
   --nx define en qué posición horizontal van las muescas y la línea punteada (.cut).
   .tw envuelve al boleto para darle sombra (drop-shadow respeta la forma recortada). */
.tkt {
  --nx: 70px;
  position: relative;
  display: grid;
  align-items: stretch;
  background: #fffdf9;
  color: var(--tinta);
  border-radius: 12px;
  mask:
    radial-gradient(circle 10px at var(--nx) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 10px at var(--nx) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.tw {
  filter: drop-shadow(0 8px 12px rgba(28, 37, 32, 0.22));
}
.tw:hover .tkt {
  transform: translateY(-3px) rotate(-0.6deg);
}
.tkt .cut {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: var(--nx);
  border-left: 2px dashed rgba(28, 37, 32, 0.25);
}
.tkt small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cobre);
}

/* ---------- 7. SECCIÓN MUSEOS ---------- */
.museos {
  background: var(--marfil);
  padding: 64px 0 56px;
  position: relative;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--verde);
  color: var(--marfil);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.live b {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rosa);
  position: relative;
}
.live b::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--rosa);
  animation: ping 1.5s ease-out infinite;
}
@keyframes ping {
  to {
    transform: scale(3);
    opacity: 0;
  }
}
.museos h2 {
  color: var(--verde);
}
.museos .lead {
  color: var(--gris);
}

/* 7a. Íconos de la CDMX que se transforman.
   SVG con los íconos apilados; solo uno tiene la clase .on a la vez.
   - .on  → el ícono entra y sus trazos se dibujan (stroke-dashoffset 1→0), luego aparece el color.
   - .out → el ícono sale creciendo y desenfocándose. */
.stage {
  position: relative;
  width: min(78%, 300px);
  aspect-ratio: 1;
  margin: 30px auto 14px;
}
/* Mancha de color que cambia de forma (morph) y de color con cada ícono (--bc). */
.blob {
  position: absolute;
  inset: 4%;
  background: var(--bc, #9dae8e);
  border: 2px solid var(--verde);
  box-shadow: 8px 8px 0 var(--verde);
  border-radius: 42% 58% 63% 37% / 45% 41% 59% 55%;
  animation: morph 9s ease-in-out infinite;
  transition: background-color 0.9s;
}
@keyframes morph {
  0%,
  100% {
    border-radius: 42% 58% 63% 37% / 45% 41% 59% 55%;
  }
  25% {
    border-radius: 61% 39% 46% 54% / 56% 63% 37% 44%;
  }
  50% {
    border-radius: 37% 63% 52% 48% / 38% 52% 48% 62%;
  }
  75% {
    border-radius: 55% 45% 35% 65% / 60% 38% 62% 40%;
  }
}
.blob::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  border: 2px dashed rgba(33, 51, 40, 0.25);
  animation: spin 30s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.scene .ico {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 60%;
  transform: scale(0.4) rotate(-20deg);
  transition:
    transform 0.9s cubic-bezier(0.3, 1.5, 0.5, 1),
    opacity 0.4s,
    filter 0.5s;
}
.scene .ico.on {
  opacity: 1;
  transform: none;
}
.scene .ico.out {
  opacity: 0;
  transform: scale(1.4) rotate(15deg);
  filter: blur(8px);
  transition:
    transform 0.6s ease-in,
    opacity 0.5s,
    filter 0.5s;
}
.scene .ico * {
  stroke: var(--tinta);
  stroke-width: 4.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  fill-opacity: 0;
  transition:
    stroke-dashoffset 1.1s ease-out,
    fill-opacity 0.6s 0.55s;
}
.scene .ico.on * {
  stroke-dashoffset: 0;
  fill-opacity: 1;
}
.scene .ico text {
  stroke: none;
}
/* Nombre del lugar que se está mostrando. */
.place {
  display: flex;
  justify-content: center;
}
.place div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--verde);
  color: var(--marfil);
  font-weight: 600;
  font-size: 15px;
  min-height: 40px;
}
.place span {
  display: inline-block;
  animation: flip 0.55s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.place b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oro);
}
@keyframes flip {
  from {
    transform: rotateX(90deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* 7b. Línea Museos (estilo Metro CDMX).
   - .track: la vía; .fill: la parte recorrida; .train: el tren.
   - --p (porcentaje) lo calcula JS según el scroll.
   - Cada estación (.st) se "enciende" (.on) cuando el tren pasa por ella. */
.lbadge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 8px 14px 8px 8px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid rgba(33, 51, 40, 0.15);
  font-weight: 700;
  font-size: 15px;
  color: var(--verde);
}
.lbadge span {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--verde);
  color: var(--oro2);
  font: 400 19px var(--serif);
}
.metro {
  position: relative;
  margin: 22px 0 0;
  scroll-margin-top: 24px;
}
.track {
  position: absolute;
  left: 21px;
  top: 30px;
  bottom: 30px;
  width: 10px;
  border-radius: 10px;
  background: rgba(33, 51, 40, 0.1);
}
.fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--p, 0%);
  border-radius: 10px;
  background: linear-gradient(var(--verde2), var(--salvia), var(--oro), var(--cobre), var(--rosa2), var(--verde2));
}
.train {
  position: absolute;
  left: -5px;
  top: var(--p, 0%);
  width: 20px;
  height: 34px;
  margin-top: -17px;
  border-radius: 9px 9px 6px 6px;
  background: var(--marfil);
  border: 2.5px solid var(--verde);
  box-shadow: 0 0 16px 3px rgba(200, 161, 90, 0.7);
  z-index: 2;
}
.train::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 5px;
  height: 8px;
  border-radius: 3px;
  background: var(--verde2);
}
.train::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--oro);
  box-shadow: 5px 0 0 var(--oro);
}
.st {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 9px 0;
  opacity: 0.55;
  transition: opacity 0.5s;
}
.st.on {
  opacity: 1;
}
/* Círculo de la estación con su ícono. */
.bd {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c);
  border: 3.5px solid var(--marfil);
  box-shadow: 0 0 0 2px var(--verde);
  transition:
    transform 0.5s cubic-bezier(0.3, 1.8, 0.5, 1),
    box-shadow 0.5s;
  position: relative;
  z-index: 3;
}
.st.on .bd {
  transform: scale(1.1);
  box-shadow:
    0 0 0 2px var(--verde),
    0 0 22px 4px var(--c);
}
.bd svg {
  width: 26px;
  height: 26px;
  color: var(--tc, #fff);
}
/* Boleto de cada estación: datos a la izquierda, talón "Ver video" a la derecha. */
.st .tkt {
  --nx: calc(100% - 72px);
  grid-template-columns: minmax(0, 1fr) 72px;
  transform: scale(0.96);
  transform-origin: left center;
}
.st.on .tkt {
  transform: none;
}
.st .tw:hover .tkt {
  transform: translateY(-3px) rotate(-0.6deg);
}
.st .tm {
  padding: 12px 14px;
}
.st .tm b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  margin: 2px 0;
}
.st .tm span {
  display: block;
  font-size: 13.5px;
  color: var(--gris);
  line-height: 1.3;
}
.st .ts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--c);
  color: var(--tc, #fff);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  line-height: 1.1;
  padding: 8px 4px;
}
.st .ts svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}
.st .tw:hover .ts svg {
  transform: scale(1.2);
}
.note {
  margin: 22px 0 0;
  font-size: 15px;
  color: var(--gris);
}

/* ---------- 8. FRASE DESTACADA ----------
   Marco dorado que se dibuja alrededor; cada palabra entra con suavidad. */
.qband {
  background: var(--salvia2);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.qframe {
  position: absolute;
  inset: 22px;
  width: calc(100% - 44px);
  height: calc(100% - 44px);
  pointer-events: none;
}
.qframe rect {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2s ease-out 0.2s;
}
.qband.in .qframe rect {
  stroke-dashoffset: 0;
}
.qmark {
  display: block;
  width: 48px;
  height: 38px;
  margin: 0 auto 14px;
  color: var(--cobre);
}
.qband p {
  position: relative;
  margin: 0;
  font: italic 400 clamp(30px, 8.2vw, 42px) / 1.12 var(--serif);
  color: var(--verde);
  text-wrap: balance;
}
.qband p span {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  transition:
    opacity 0.6s,
    transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2),
    filter 0.6s;
  transition-delay: calc(var(--i) * 0.07s);
}
.qband.in p span {
  opacity: 1;
  transform: none;
  filter: none;
}
.qband p span.hl {
  color: var(--cobre);
}
.qband cite {
  display: inline-block;
  margin-top: 20px;
  font-style: normal;
  font-weight: 600;
  color: var(--verde2);
  font-size: 15px;
}

/* ---------- 9. REDES SOCIALES (BOLETOS) ----------
   Talón de color con ícono a la izquierda, datos al centro y botón a la derecha. */
.redes {
  background: var(--verde);
  padding: 60px 0;
  color: var(--marfil);
}
.redes .lead {
  color: var(--salvia2);
}
.links {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.lk .tkt {
  --nx: 76px;
  grid-template-columns: 76px minmax(0, 1fr) auto;
}
.lk .tw {
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35));
}
.lk .stub {
  display: grid;
  place-items: center;
  background: var(--c);
  color: #fff;
}
.lk .stub svg {
  width: 30px;
  height: 30px;
  transition: transform 0.45s cubic-bezier(0.3, 1.8, 0.5, 1);
}
.lk .tw:hover .stub svg {
  transform: rotate(-10deg) scale(1.1);
}
.lk .tm {
  padding: 14px 10px 14px 16px;
}
.lk .tm b {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
}
.lk .tm span {
  display: block;
  font-size: 14px;
  color: var(--gris);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lk .go {
  align-self: center;
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--verde);
  color: var(--marfil);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.lk .go svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s;
}
.lk .tw:hover .go svg {
  transform: translate(3px, -3px);
}
/* Brillo que recorre cada boleto. */
.lk .tkt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: sweep 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.6s);
  pointer-events: none;
}
@keyframes sweep {
  0%,
  72% {
    transform: translateX(-100%);
  }
  92%,
  100% {
    transform: translateX(100%);
  }
}

/* ---------- 10. COLLAB (POSTAL) ----------
   Postal con estampilla perforada (.stamp) y matasellos que gira (.pm). */
.collab {
  background: var(--rosa);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.collab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 1.5px, transparent 2.5px) 0 0 / 24px 24px;
  pointer-events: none;
}
.post {
  position: relative;
  background: #fffdf9;
  border-radius: 20px;
  box-shadow: 0 24px 40px -18px rgba(28, 37, 32, 0.5);
  padding: 28px 20px 22px;
  transform: rotate(-1.2deg);
}
.post h2 {
  color: var(--verde);
  padding-right: 96px;
}
.post .lead {
  color: var(--gris);
}
.stamp {
  position: absolute;
  top: -22px;
  right: 14px;
  width: 92px;
  height: 110px;
  padding: 7px;
  background: #fffdf9;
  transform: rotate(7deg);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
  mask:
    radial-gradient(circle 5px at 50% 50%, transparent 98%, #000) -7px -7px / 14px 14px,
    linear-gradient(#000, #000) content-box;
  mask-composite: add;
  animation: stampb 4s ease-in-out infinite;
}
@keyframes stampb {
  50% {
    transform: rotate(3deg) translateY(-4px);
  }
}
.stamp svg {
  width: 100%;
  height: 100%;
  display: block;
}
.pm {
  position: absolute;
  right: 76px;
  top: -30px;
  width: 96px;
  height: 96px;
  opacity: 0.45;
  animation: spin 16s linear infinite;
  pointer-events: none;
}
.mail {
  display: block;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px dashed var(--verde);
  font-weight: 700;
  font-size: clamp(16px, 4.6vw, 19px);
  text-align: center;
  overflow-wrap: anywhere;
  color: var(--verde);
}
.row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
/* Aviso emergente ("¡Correo copiado!"). */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  transform: translate(-50%, 40px);
  opacity: 0;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--verde);
  color: var(--oro2);
  font-weight: 700;
  font-size: 15px;
  transition: 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
  pointer-events: none;
}
.toast.on {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ---------- 11. PIE DE PÁGINA + SYNESIS CODE ----------
   Tarjeta con borde giratorio turquesa, logo flotante y botón con pulso. */
.foot {
  background: var(--tinta);
  color: var(--marfil);
  padding: 48px 0 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.foot .nm {
  font: 400 34px/1 var(--serif);
  color: var(--marfil);
}
.foot .nm em {
  color: var(--oro2);
}
.foot .rl {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--salvia);
}
.syn {
  position: relative;
  margin: 38px 0 0;
}
.synb {
  padding: 3px;
  border-radius: 28px;
  background: conic-gradient(from var(--a), var(--teal), #7cf5e0, var(--navy), var(--teal), #fff, var(--teal));
  animation: rot 4s linear infinite;
  box-shadow: 0 0 50px -6px rgba(0, 185, 160, 0.55);
}
@keyframes rot {
  to {
    --a: 360deg;
  }
}
.syni {
  border-radius: 25px;
  background: radial-gradient(120% 90% at 50% 0%, #12305f, var(--navy) 70%);
  padding: 26px 18px 22px;
  position: relative;
  overflow: hidden;
}
/* Cuadrícula "tecnológica" que se desplaza al fondo. */
.syni::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 185, 160, 0.12) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(0, 185, 160, 0.12) 1px, transparent 1px) 0 0 / 22px 22px;
  mask: radial-gradient(circle at 50% 30%, #000, transparent 75%);
  animation: grid 6s linear infinite;
  pointer-events: none;
}
@keyframes grid {
  to {
    background-position:
      0 22px,
      22px 0;
  }
}
.kick {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 185, 160, 0.18);
  color: #7cf5e0;
  font-weight: 700;
  font-size: 13px;
}
.syni h3 {
  position: relative;
  margin: 12px 0 18px;
  font: 800 clamp(24px, 6.6vw, 30px) / 1.12 var(--sans);
  color: #fff;
  text-wrap: balance;
}
.syni h3 em {
  font-style: normal;
  color: #7cf5e0;
}
.slogo {
  position: relative;
  display: block;
  margin: 0 auto;
  width: min(100%, 330px);
  padding: 12px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 7px 0 var(--teal),
    0 18px 40px -10px rgba(0, 185, 160, 0.8);
  animation: lfloat 4s ease-in-out infinite;
  overflow: hidden;
}
.slogo img {
  width: 100%;
  display: block;
}
.slogo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(0, 185, 160, 0.25) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: sweep 4.5s ease-in-out infinite;
}
@keyframes lfloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-7px) rotate(1deg);
  }
}
.cto {
  position: relative;
  margin: 24px 0 10px;
  color: #bfefe6;
  font-weight: 600;
  font-size: 16px;
}
.sbtn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal), #11d6b9);
  color: var(--navy);
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 6px 0 #04705f;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
/* Pulso de luz alrededor del botón. */
.sbtn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  border: 2px solid var(--teal);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  from {
    opacity: 0.9;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.08, 1.3);
  }
}
.sbtn:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #04705f;
}
.sbtn:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #04705f;
}
.sbtn svg {
  width: 16px;
  height: 16px;
}
.spark {
  position: absolute;
  width: 18px;
  height: 18px;
  color: #7cf5e0;
  animation: twk 2.2s ease-in-out infinite;
}
@keyframes twk {
  0%,
  100% {
    transform: scale(1) rotate(0);
  }
  50% {
    transform: scale(0.6) rotate(45deg);
  }
}
.copy {
  margin: 26px 0 0;
  font-size: 13px;
  color: #8c968e;
}

/* ---------- 12. PAUSA GLOBAL Y ACCESIBILIDAD ----------
   body.paused congela todas las animaciones CSS.
   prefers-reduced-motion respeta a quien pidió menos movimiento en su sistema. */
body.paused *,
body.paused *::before,
body.paused *::after {
  animation-play-state: paused !important;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rv {
    transition: none;
  }
}
