/* Linaje Sara · referencia elegida: Jenna Kutcher (nombre gigante, recorte al frente, bloques pastel, sello que gira). */
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --lila: #77629f;
  --lila-hondo: #5b4785;
  --lavanda: #4b59b0;
  --rosa: #f7c9e6;
  --amarillo: #f4e463;
  --durazno: #f8b995;
  --tinta: #2b2240;
  --tinta-suave: #574d6b;
  --papel: #fff8fc;
  --blanco: #ffffff;
  --linea: #e9dcef;
  --sombra: #2b224026;
  --display: "Fraunces", Georgia, serif;
  --texto: "DM Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  /* nombres que usa el botón de música */
  --cream: var(--blanco); --navy: var(--tinta); --coral: var(--lavanda); --pink: var(--rosa);
  --line: var(--linea); --shadow: var(--sombra); --font-body: var(--texto); --space-2xs: 4px; --space-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; scroll-padding-bottom: 90px; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 17px/1.6 var(--texto); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-optical-sizing: auto; margin: 0; line-height: 1.05; text-wrap: balance; font-weight: 500; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.envoltura { width: min(1180px, 90%); margin-inline: auto; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px var(--blanco); }
main:focus { outline: none; box-shadow: none; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--blanco); padding: 10px 16px; border-radius: 8px; }
.saltar:focus { top: 12px; }

/* Cabecera: sobre el lila de la portada */
.barra { position: sticky; top: 0; z-index: 20; background: var(--lila); color: var(--blanco); }
.cabecera { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.marca { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font: 600 24px/1 var(--display); text-decoration: none; min-height: 44px; }
.menu { display: flex; gap: 30px; margin-inline-start: auto; }
.menu a { text-decoration: none; font-weight: 700; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.menu a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 28px;
  border-radius: 999px; color: var(--blanco); text-decoration: none; font-weight: 700; font-size: 16px;
}
.boton-chico { min-height: 44px; padding: 0 20px; font-size: 15px; }
.boton-grande { min-height: 62px; font-size: 19px; padding: 0 34px; }
.enlace { font-weight: 700; text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* Portada: nombre gigante con Sara al frente */
.portada { position: relative; background: var(--lila); overflow: hidden; display: grid; justify-items: center; }
.nombre {
  grid-area: 1 / 1; align-self: start; text-align: center; color: var(--rosa);
  letter-spacing: -.03em; font-variation-settings: "opsz" 144;
}
.nombre span { display: block; }
.recorte {
  grid-area: 1 / 1; align-self: end; position: relative; z-index: 2;
  filter: drop-shadow(0 24px 40px #2b224040);
}

/* Presentación: franja lavanda con la frase en colores */
.presentacion { color: var(--blanco); padding: clamp(56px, 8vw, 110px) 0; text-align: center; }
.declaracion { font: 400 clamp(30px, 3.8vw, 54px)/1.18 var(--display); max-width: 24ch; margin-inline: auto; letter-spacing: -.01em; }
.c-amarillo { color: var(--amarillo); } .c-rosa { color: var(--rosa); } .c-durazno { color: var(--durazno); }
.presentacion .bajada { font-size: clamp(17px, 1.4vw, 19px); max-width: 56ch; color: #ffffff; }
.presentacion .acciones { justify-content: center; }

/* Dos caminos */
.caminos { padding: clamp(56px, 8vw, 110px) 0; }
.caminos h2, .pasos-seccion h2 { font-size: clamp(38px, 4.4vw, 62px); letter-spacing: -.02em; margin-bottom: 36px; text-align: center; }
.caminos-rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.camino { display: grid; grid-template-rows: auto 1fr; border-radius: 32px; overflow: hidden; background: var(--rosa); scroll-margin-top: 90px; }
.camino img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.camino-texto { padding: 30px 32px 34px; display: grid; gap: 14px; grid-template-rows: auto auto 1fr; }
.camino h3 { font-size: clamp(32px, 3vw, 42px); letter-spacing: -.015em; }
.camino p { color: var(--tinta-suave); max-width: 44ch; }
.camino .acciones { margin-top: 6px; align-self: end; }
.camino-oscuro { background: var(--amarillo); }
.camino-oscuro img { object-position: 50% 35%; }

/* Equipo */
.equipo { background: var(--lila-hondo); color: var(--blanco); padding-bottom: clamp(56px, 7vw, 100px); }
.equipo-foto .ver-foto { width: 100%; }
.equipo-foto img { width: 100%; object-fit: cover; object-position: 50% 45%; }
.equipo-texto { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px 60px; padding-top: 48px; align-items: center; }
.equipo h2 { font-size: clamp(36px, 4.2vw, 58px); letter-spacing: -.02em; grid-column: 1 / -1; color: var(--rosa); }
.equipo p { color: #ece6f7; font-size: 19px; max-width: 46ch; }
.niveles { list-style: none; margin: 0; padding: 0; display: grid; }
.niveles li { padding: 14px 0; border-top: 1px solid #ffffff33; color: #ece6f7; }
.niveles li:last-child { border-bottom: 1px solid #ffffff33; }
.niveles b { color: var(--amarillo); font-family: var(--display); font-weight: 500; font-size: 22px; margin-inline-end: 8px; }

/* Pasos: franja durazno */
.pasos-seccion { padding: clamp(56px, 8vw, 110px) 5vw; background: var(--durazno); width: auto; margin: 0; }
.pasos { list-style: none; counter-reset: paso; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; max-width: 1180px; }
.pasos li { counter-increment: paso; }
.pasos li::before { content: counter(paso); }
.pasos h3 { font-size: 24px; margin-bottom: 8px; }
.pasos p { color: #4b3d52; font-size: 16px; }

/* Contacto */
.contacto { background: var(--lila); color: var(--blanco); padding: clamp(56px, 8vw, 104px) 0; }
.contacto-rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 70px; align-items: center; }
.contacto h2 { font-size: clamp(52px, 7vw, 100px); letter-spacing: -.03em; color: var(--rosa); font-variation-settings: "opsz" 144; }
.contacto p { color: #f6f1ff; font-size: 19px; margin: 16px 0 28px; max-width: 36ch; }
.redes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.redes a { gap: 2px; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.redes a:hover { background: #ffffff3d; }
.redes a > span:first-child { font-size: 14px; color: var(--amarillo); font-weight: 700; }

/* Pie */
.pie { padding: 40px 0 130px; font-size: 14px; color: var(--tinta-suave); }
.pie .envoltura { display: grid; gap: 14px; }
.marca-pie { color: var(--tinta); }
.creditos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding-top: 14px; border-top: 1px solid var(--linea); }
.creditos a { min-height: 44px; display: inline-flex; align-items: center; }

/* WhatsApp flotante */
.flotante {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30; min-height: 52px; padding: 0 22px;
  display: inline-flex; align-items: center; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: transform .16s var(--ease), opacity .25s ease;
}
.flotante:active { transform: scale(.97); }

/* Páginas de texto (aviso, error) */
.legal { padding: 56px 0 90px; max-width: 760px; display: grid; gap: 16px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -.02em; }
.legal h2 { font-size: 26px; margin-top: 14px; }
.legal p { color: var(--tinta-suave); }

/* Movimiento */
@media (prefers-reduced-motion: no-preference) {
  .con-js .aparece { opacity: 0; translate: 0 22px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
  .con-js .aparece.visto { opacity: 1; translate: 0 0; }
  .nombre span { animation: subir 1s var(--ease) backwards; }
  .nombre span + span { animation-delay: .12s; }
  .recorte { animation: subir-foto 1.1s var(--ease) .25s backwards; }
  @keyframes subir { from { opacity: 0; translate: 0 40px; } }
  @keyframes subir-foto { from { opacity: 0; translate: 0 80px; } }
  @keyframes aparecer-sello { from { opacity: 0; scale: .7; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Tableta y celular */
@media (max-width: 900px) {
  .menu { display: none; }
  .cabecera .boton-chico { margin-inline-start: auto; }
  .equipo-texto, .contacto-rejilla { grid-template-columns: minmax(0, 1fr); }
  .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .cabecera { gap: 10px; }
  .marca { min-width: 0; }
  .caminos-rejilla { grid-template-columns: minmax(0, 1fr); }
  .pasos { grid-template-columns: minmax(0, 1fr); }
  .acciones .boton { width: 100%; }
  .flotante { min-height: 48px; padding: 0 18px; }
  body.en-portada .flotante, body.en-portada .musica { opacity: 0; pointer-events: none; }
  .musica { transition: opacity .25s ease; }
}

/* Logo real de Sara (moneda dorada "LS") */
.marca-logo { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 2px 8px #0000002e; }
.sello { position: absolute; z-index: 3; width: clamp(130px, 13vw, 190px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; bottom: clamp(24px, 6vw, 90px); box-shadow: 0 16px 36px -10px #2b224080; }
.sello img { width: 100%; height: 100%; }
.sello::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, #fff8 48%, transparent 60%); translate: -120% 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .sello { animation: aparecer-sello .7s var(--ease) .9s backwards, flotar-sello 6s ease-in-out 1.6s infinite; }
  .sello::after { animation: destello-sello 5s ease-in-out 2s infinite; }
  @keyframes flotar-sello { 50% { translate: 0 -8px; rotate: -4deg; } }
  @keyframes destello-sello { 0%, 55% { translate: -120% 0; } 85%, 100% { translate: 120% 0; } }
}
@media (max-width: 680px) { .sello { width: 104px; } }

/* ================= Rediseño 2026-11-21: más fotos y efectos ================= */
:root { --oro: #f2c14e; --oro-claro: #ffe49a; --noche: #120d18; --barra: 70px; }

/* Botón para pausar animaciones (WCAG 2.2.2) */
.pausa {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: transparent; color: var(--blanco); border: 1.5px solid #ffffff80; font: 700 14px var(--texto); cursor: pointer;
}
.pausa:hover { background: #ffffff1f; }
.pausa-icono { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.pausa[aria-pressed="true"] .pausa-icono { border: 0; width: 0; height: 0; border-block: 6px solid transparent; border-inline-start: 10px solid currentColor; }
html.pausado *, html.pausado *::before, html.pausado *::after { animation-play-state: paused !important; }

/* Botón que abre una foto en grande */
.ver-foto { display: block; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; border-radius: inherit; }
.ver-foto img { pointer-events: none; }

/* Cinta amarilla que corre */
.cinta { background: var(--amarillo); color: var(--tinta); overflow: hidden; border-block: 2px solid var(--tinta); }
.cinta-pista { display: flex; width: max-content; }
.cinta span { font: italic 500 clamp(22px, 2.6vw, 34px)/1 var(--display); padding: 16px 0; white-space: nowrap; display: inline-flex; align-items: center; }
.cinta span::after { content: "\2726"; font-style: normal; color: var(--lavanda); margin-inline: 28px; font-size: .8em; }

/* Números */
.cifras { list-style: none; margin: 46px auto 8px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 900px; }
.cifras li { display: grid; gap: 6px; justify-items: center; align-content: start; padding: 22px 12px; border-radius: 26px; background: #ffffff14; border: 1px solid #ffffff2e; }
.cifras b { font: 500 clamp(56px, 7vw, 92px)/.9 var(--display); color: var(--amarillo); font-variant-numeric: tabular-nums; }
.cifras span { font-size: 16px; color: #eef0ff; max-width: 18ch; }

/* Carruseles que corren solos (el JS duplica la fila; sin JS o con menos movimiento se deslizan con el dedo) */
.carrusel { overflow-x: auto; scrollbar-width: none; padding-block: 16px 30px; }
.carrusel::-webkit-scrollbar { display: none; }
.carrusel-pista { display: flex; gap: 26px; width: max-content; padding-inline: 5vw; }
.carrusel.animado { overflow: hidden; }
.carrusel.animado .carrusel-pista { padding-inline: 0 26px; }
.carrusel-copia { display: contents; }
@media (prefers-reduced-motion: no-preference) {
  .carrusel.animado .carrusel-pista { animation: deslizar var(--duracion, 60s) linear infinite; }
  .carrusel.animado:hover .carrusel-pista, .carrusel.animado:focus-within .carrusel-pista { animation-play-state: paused; }
  .cinta-pista { animation: deslizar 28s linear infinite; }
  @keyframes deslizar { to { translate: -50% 0; } }
}

/* Mi día a día: polaroids */
.tienda { padding: clamp(56px, 8vw, 110px) 0 clamp(30px, 4vw, 60px); background: linear-gradient(var(--papel), var(--rosa) 140%); }
.tienda-cabeza { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 16px 60px; align-items: end; margin-bottom: 20px; }
.tienda h2, .honor h2 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -.025em; }
.tienda h2 em, .honor h2 em { font-style: italic; color: var(--lavanda); }
.tienda-cabeza p { color: var(--tinta-suave); font-size: 18px; }
.foto-tienda { background: var(--blanco); padding: 12px 12px 28px; border-radius: 6px; box-shadow: 0 18px 34px -18px #2b224066, 0 2px 6px #2b22401a; rotate: -2.5deg; transition: rotate .4s var(--ease), translate .4s var(--ease); }
.foto-tienda:nth-child(even) { rotate: 2deg; translate: 0 14px; }
.foto-tienda:nth-child(3n) { rotate: -1deg; }
.foto-tienda img { width: 240px; height: 300px; object-fit: cover; border-radius: 2px; }
@media (hover: hover) and (pointer: fine) { .foto-tienda:hover { rotate: 0deg; translate: 0 -8px; } }

/* Etiqueta pequeña sobre los títulos */
.etiqueta { font: 700 13px var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--amarillo); }

/* Cuadro de honor: negro y dorado, como sus publicaciones */
.honor { background: radial-gradient(60% 50% at 80% 10%, #4a2d6a 0%, transparent 70%), radial-gradient(50% 40% at 10% 90%, #3b2a12 0%, transparent 70%), var(--noche); color: var(--blanco); padding: clamp(60px, 8vw, 110px) 0; overflow: hidden; }
.honor-cabeza { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 30px 60px; align-items: center; margin-bottom: 26px; }
.honor-cabeza > div:first-child { display: grid; gap: 16px; justify-items: start; }
.honor h2 em { color: var(--oro); background: linear-gradient(100deg, var(--oro) 20%, var(--oro-claro) 45%, var(--oro) 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.honor-cabeza p:not(.etiqueta) { color: #ddd5e8; font-size: 18px; max-width: 48ch; }
.etiqueta-oro { color: var(--oro); }
.boton-oro { background: linear-gradient(135deg, var(--oro-claro), var(--oro)); border-color: var(--oro); color: var(--noche); }
.boton-oro:hover { background: var(--oro-claro); border-color: var(--oro-claro); }
.foto-premios { border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1.5px #f2c14e88, 0 20px 40px -18px #f2c14e55; transition: translate .35s var(--ease), box-shadow .35s ease; }
.foto-premios img { width: 230px; height: 230px; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .foto-premios:hover { translate: 0 -8px; box-shadow: 0 0 0 2px var(--oro), 0 26px 50px -16px #f2c14e88; } }
.honor-sub { font-size: clamp(28px, 3vw, 40px); margin: 40px 0 22px; color: var(--oro); }
.reconocimientos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.foto-honor { border-radius: 18px; overflow: hidden; border: 1px solid #f2c14e55; }
.foto-honor img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: scale .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .foto-honor:hover img { scale: 1.04; } }

/* Frases */
.frases { color: var(--blanco); padding: clamp(56px, 7vw, 96px) 0; }
.frases-rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 70px; }
.frases blockquote { margin: 0; padding-top: 54px; position: relative; }
.frases blockquote::before { content: "\201C"; position: absolute; top: -18px; left: -4px; font: 400 120px/1 var(--display); color: var(--amarillo); }
.frases p { font: 400 clamp(26px, 2.8vw, 40px)/1.2 var(--display); letter-spacing: -.01em; }
.frases em { color: var(--rosa); }

/* Visor de fotos en grande */
.visor { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0d0a12f2; color: var(--blanco); }
.visor[open] { display: grid; place-items: center; }
.visor::backdrop { background: #0d0a12cc; }
.visor figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 60px 70px 24px; }
.visor img { max-width: min(92vw, 1400px); max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.visor figcaption { text-align: center; color: #e6def0; font-size: 16px; max-width: 60ch; }
.visor button { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid #ffffff55; background: #ffffff1a; color: var(--blanco); font: 400 34px/1 var(--texto); cursor: pointer; }
.visor button:hover { background: #ffffff33; }
.visor-cerrar { top: 14px; right: 14px; }
.visor-antes { left: 14px; top: 50%; translate: 0 -50%; }
.visor-despues { right: 14px; top: 50%; translate: 0 -50%; }

@media (max-width: 900px) {
  .tienda-cabeza, .honor-cabeza, .frases-rejilla { grid-template-columns: minmax(0, 1fr); }
  .reconocimientos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reconocimientos .ver-foto:first-child { grid-column: 1 / -1; }
  .reconocimientos .ver-foto:first-child img { aspect-ratio: 4 / 3; }
}
@media (max-width: 680px) {
  .cifras { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cifras li { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 16px; padding: 14px 20px; text-align: start; }
  .cifras b { font-size: 54px; min-width: 1.2em; }
  .foto-tienda img { width: 190px; height: 240px; }
  .foto-premios img { width: 180px; height: 180px; }
  .visor figure { padding: 70px 10px 20px; }
  .visor-antes, .visor-despues { top: auto; bottom: 14px; translate: none; }
}

/* En celular con "menos movimiento", las filas largas de fotos ensanchaban la página: se contienen aquí */
.honor { contain: paint; }

/* Ajustes tras la crítica de diseño (2026-11-21) */
.pasos-seccion .acciones { justify-content: center; margin-top: 44px; }
.presentacion .bajada { margin: 22px auto 0; }
.presentacion .cifras + .acciones { margin-top: 34px; }
.equipo-foto { width: min(1180px, 90%); margin: 0 auto; padding-top: clamp(40px, 5vw, 70px); }
.equipo-foto .ver-foto { border-radius: 32px; overflow: hidden; }
.equipo-foto img { height: clamp(260px, 40vw, 520px); }
.frases blockquote footer { margin-top: 14px; font: 700 14px var(--texto); letter-spacing: .12em; text-transform: uppercase; color: var(--amarillo); }
.frases { background: radial-gradient(70% 90% at 90% 0%, #6b78d6 0%, transparent 60%), var(--lavanda); }
.presentacion { background: radial-gradient(60% 70% at 10% 0%, #6270cc 0%, transparent 60%), var(--lavanda); }
@media (max-width: 1180px) {
  .pausa-texto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pausa { width: 44px; padding: 0; justify-content: center; flex: none; }
  .menu { gap: 22px; }
}

/* ================= Rediseño 3 (2026-11-21): efectos pro del catálogo ================= */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
:root {
  --ico-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-12.3 7.5L3 21l2-5.5A8.5 8.5 0 1 1 21 11.5z'/%3E%3Cpath d='M9 10.5h.01M12.5 10.5h.01M16 10.5h.01'/%3E%3C/svg%3E");
  --ico-bolsa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8h13l1 12.5h-15z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
  --ico-flecha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --ico-casa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5.5 9.5V20h13V9.5'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E");
  --ico-estrella: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 17.1 6.4 20l1.1-6.2L3 9.4l6.2-.9z'/%3E%3C/svg%3E");
  --ico-fb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8.5h3V4.6h-3.2c-3 0-4.6 1.8-4.6 4.7v2.2H6.6v3.8h2.6V22h4v-6.7h3.1l.6-3.8h-3.7V9.7c0-.8.3-1.2.8-1.2z'/%3E%3C/svg%3E");
  --ico-ig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.2' cy='6.8' r='.6' fill='black'/%3E%3C/svg%3E");
  --ico-tt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M14 3v11.6a3.6 3.6 0 1 1-3.2-3.6'/%3E%3Cpath d='M14 3.2c.5 2.9 2.4 4.4 5 4.7'/%3E%3C/svg%3E");
  --grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ---------- Portada: aurora con grano (S35), nombre que se lee completo, tarjetas flotantes 3D (H29) ---------- */
.portada { --f: clamp(96px, 15vw, 230px); isolation: isolate; padding-top: clamp(22px, 3vw, 40px); }
.portada-aurora { position: absolute; inset: -10%; z-index: -1; background:
    radial-gradient(38% 42% at 18% 30%, #f7c9e6cc, transparent 70%),
    radial-gradient(34% 40% at 82% 22%, #8f9cf0cc, transparent 70%),
    radial-gradient(40% 45% at 70% 85%, #f8b995aa, transparent 70%),
    radial-gradient(45% 50% at 25% 90%, #4b59b0cc, transparent 70%), var(--lila); filter: saturate(1.1); }
.portada-aurora::after { content: ""; position: absolute; inset: 0; background: var(--grano); opacity: .22; mix-blend-mode: overlay; }
.portada-etiqueta { grid-area: 1 / 1; align-self: start; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: #ffffff2e; border: 1px solid #ffffff66; color: #fff; font: 700 13px var(--texto); letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.portada-etiqueta::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--amarillo); box-shadow: 0 0 0 4px #f4e46355; }
.nombre { font-size: var(--f); line-height: .86; margin-top: 48px; padding: 0 .06em .04em; font-weight: 500;
  background: linear-gradient(100deg, #f7c9e6 30%, #ffffff 45%, #ffd9ef 52%, #f7c9e6 66%); background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 6px 22px #2b224040); }
.recorte { margin-top: calc(48px + var(--f) * 1.84); width: min(440px, 74vw); }
.flota { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; background: #ffffffd9; color: var(--tinta); border: 1px solid #fff; box-shadow: 0 22px 40px -16px #2b224099, inset 0 1px 0 #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 700 14px/1.25 var(--texto); transform: perspective(700px) rotateY(var(--gy, 12deg)) rotateX(4deg); }
.flota b { font: 600 38px/1 var(--display); background: linear-gradient(135deg, #c2286b, var(--lavanda)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-inline: 4px; }
.flota-ico { width: 40px; height: 40px; border-radius: 13px; flex: none; background: linear-gradient(135deg, var(--lavanda), #c2286b); position: relative; }
.flota-ico::after { content: ""; position: absolute; inset: 9px; background: #fff; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.flota-ico-casa { --ico: var(--ico-casa); }
.flota-ico-estrella { --ico: var(--ico-estrella); background: linear-gradient(135deg, #f2c14e, #e8822b); }
.flota-1 { left: max(4vw, calc(50% - 600px)); top: calc(48px + var(--f) * 1.95); }
.flota-2 { left: max(7vw, calc(50% - 540px)); bottom: 12%; --gy: 16deg; }
.flota-3 { right: max(4vw, calc(50% - 600px)); top: calc(48px + var(--f) * 1.75); --gy: -14deg; }
.sello { right: max(6vw, calc(50% - 470px)); }

/* ---------- Botones: 3D que se hunde (139), brillo que cruza (32), degradado que fluye (224), borde que gira (358), íconos ---------- */
.boton { position: relative; overflow: hidden; isolation: isolate; border: 2px solid transparent; gap: 10px;
  background: linear-gradient(135deg, #4a3a6e, var(--tinta) 70%); color: #fff;
  box-shadow: 0 5px 0 #120d18, 0 16px 28px -12px #2b2240b3; transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-position .4s ease; }
.boton:hover { background: linear-gradient(135deg, #5b4785, #33284d 70%); border-color: transparent; transform: translateY(-2px); box-shadow: 0 7px 0 #120d18, 0 20px 32px -12px #2b2240cc; }
.boton:active { transform: translateY(4px); box-shadow: 0 1px 0 #120d18, 0 6px 12px -8px #2b2240b3; scale: 1; }
.boton::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, #ffffff59 48%, transparent 66%); translate: -130% 0; transition: translate .7s var(--ease); pointer-events: none; }
.boton:hover::after { translate: 130% 0; }
.boton[data-wa]::before, .boton[href*="betterware.com"]::before { content: ""; width: 21px; height: 21px; flex: none; background: currentColor; -webkit-mask: var(--ico-chat) center / contain no-repeat; mask: var(--ico-chat) center / contain no-repeat; }
.boton[href*="betterware.com"]::before { -webkit-mask-image: var(--ico-bolsa); mask-image: var(--ico-bolsa); }
.boton-amarillo { color: var(--tinta); background: linear-gradient(120deg, #fff6b8, #f4e463 35%, #f2c14e 65%, #fff6b8) 0 0 / 260% 100%; box-shadow: 0 5px 0 #b38a1d, 0 16px 28px -12px #8a6a00aa; }
.boton-amarillo:hover { color: var(--tinta); background: linear-gradient(120deg, #fff6b8, #f4e463 35%, #f2c14e 65%, #fff6b8) 100% 0 / 260% 100%; box-shadow: 0 7px 0 #b38a1d, 0 20px 32px -12px #8a6a00cc; }
.boton-amarillo:active { box-shadow: 0 1px 0 #b38a1d; }
.boton-claro { background: #ffffff1f; color: #fff; border-color: #ffffffb3; box-shadow: 0 5px 0 #ffffff33, 0 16px 28px -14px #0006; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.boton-claro:hover { background: #fff; color: var(--tinta); border-color: #fff; }
.boton-chico { background: linear-gradient(135deg, #ffe0f1, var(--rosa)); color: var(--tinta); box-shadow: 0 4px 0 #c98fb3, 0 10px 20px -10px #2b224099; }
.boton-chico:hover { background: #fff; color: var(--tinta); box-shadow: 0 6px 0 #c98fb3; }
.boton-chico:active { box-shadow: 0 1px 0 #c98fb3; }
.boton-oro { color: var(--noche); border: 3px solid transparent;
  background: linear-gradient(135deg, #fff1c2, var(--oro) 60%, #e0a432) padding-box, conic-gradient(from var(--ang), #fff7d6, #f2c14e, #c2286b, #f2c14e, #fff7d6) border-box;
  box-shadow: 0 5px 0 #8a6200, 0 0 34px -6px #f2c14e99; }
.boton-oro:hover { color: var(--noche); background: linear-gradient(135deg, #fff7d6, #ffd76e 60%, #f2c14e) padding-box, conic-gradient(from var(--ang), #fff7d6, #f2c14e, #c2286b, #f2c14e, #fff7d6) border-box; box-shadow: 0 7px 0 #8a6200, 0 0 44px -4px #f2c14ecc; }
.boton-oro:active { box-shadow: 0 1px 0 #8a6200; }
.enlace { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 2px no-repeat; gap: 8px; transition: background-size .3s var(--ease); }
.enlace::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ico-flecha) center / contain no-repeat; mask: var(--ico-flecha) center / contain no-repeat; transition: translate .25s var(--ease); }
.enlace:hover::after { translate: 4px 0; }
.flotante { background: linear-gradient(135deg, #3ee07a, #1fb257); color: #062a14; gap: 8px; box-shadow: 0 5px 0 #138a40, 0 18px 30px -10px #1fb25799; }
.flotante::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--ico-chat) center / contain no-repeat; mask: var(--ico-chat) center / contain no-repeat; }
.flotante::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 #25d36699; }

/* ---------- Títulos: marcador que subraya (398) y etiquetas ---------- */
.subraya { font-style: italic; padding: 0 .12em; background: linear-gradient(transparent 58%, var(--amarillo) 58% 90%, transparent 90%) 0 0 / 100% 100% no-repeat; }
.tienda .subraya { color: var(--lavanda); background-image: linear-gradient(transparent 58%, #f7c9e6 58% 90%, transparent 90%); }
.pasos-seccion .subraya { background-image: linear-gradient(transparent 58%, #ffffffa6 58% 90%, transparent 90%); }
.equipo h2 em { font-style: italic; color: var(--amarillo); }
.caminos h2, .pasos-seccion h2 { font-weight: 500; }

/* ---------- Números: vidrio con borde de luz (S32) ---------- */
.cifras li { position: relative; background: linear-gradient(160deg, #ffffff2b, #ffffff0d); border: 1px solid #ffffff40; box-shadow: inset 0 1px 0 #ffffff59, 0 24px 40px -24px #0b0f3a99; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cifras b { background: linear-gradient(135deg, #fff6b8, var(--amarillo) 45%, #f8b995); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-inline: .06em; }

/* ---------- Caminos: tarjetas pastel con borde y sombra marcada, que se inclinan con reflejo (126) ---------- */
.caminos-rejilla { gap: 34px; }
.camino { position: relative; border: 2px solid var(--tinta); box-shadow: 10px 10px 0 var(--tinta); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .3s ease; }
.camino::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), #ffffff59, transparent 45%); opacity: 0; transition: opacity .3s ease; }
.camino.inclinada { transition: transform .08s linear, box-shadow .3s ease; }
.camino.inclinada::after { opacity: 1; }
.camino img { border-bottom: 2px solid var(--tinta); }
.camino h3 { font-weight: 500; }

/* ---------- Cuadro de honor: lujo negro y dorado (S47) con polvo dorado (269) ---------- */
.honor { position: relative; }
.honor::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7; background:
  radial-gradient(1.5px 1.5px at 12% 20%, #ffe49a, transparent), radial-gradient(1px 1px at 28% 64%, #ffe49a, transparent),
  radial-gradient(2px 2px at 44% 32%, #f2c14e, transparent), radial-gradient(1px 1px at 63% 78%, #fff3c4, transparent),
  radial-gradient(1.5px 1.5px at 77% 18%, #ffe49a, transparent), radial-gradient(2px 2px at 88% 56%, #f2c14e, transparent),
  radial-gradient(1px 1px at 6% 82%, #fff3c4, transparent), radial-gradient(1.5px 1.5px at 52% 92%, #ffe49a, transparent);
  background-size: 420px 420px; }
.honor > * { position: relative; }
.honor h2 em { display: inline-block; padding: 0 .14em .08em 0; }
.foto-premios { position: relative; }

/* ---------- Caja de regalo 3D (448 del catálogo) + confeti (292) ---------- */
.regalo { --e1: cubic-bezier(.22, 1, .36, 1); position: relative; width: 300px; height: 300px; justify-self: center; scale: 1.25; transform-origin: 50% 60%; }
.regalo::after { content: ""; position: absolute; left: 50%; top: 200px; width: 160px; height: 22px; margin-left: -80px; border-radius: 50%; background: radial-gradient(ellipse, #000b, #0000 70%); }
.rg-rayos { position: absolute; left: 50%; top: 44%; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; background: repeating-conic-gradient(#ffd27a4d 0 7deg, #0000 7deg 20deg); -webkit-mask: radial-gradient(circle, #000 12%, #0000 66%); mask: radial-gradient(circle, #000 12%, #0000 66%); opacity: 0; }
.rg-esc { position: absolute; z-index: 1; left: 50%; top: 150px; perspective: 700px; }
.rg-giro { transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(-30deg); }
.rg-caja, .rg-tapa { position: absolute; transform-style: preserve-3d; }
.rg-f { position: absolute; left: -45px; top: -45px; width: 90px; height: 90px; background: linear-gradient(var(--sh, #0000), var(--sh, #0000)), linear-gradient(90deg, #0000 41%, #f8cf62 41% 59%, #0000 59%), #d93a5b; }
.rg-fr { transform: translateZ(45px); }
.rg-at { transform: rotateY(180deg) translateZ(45px); --sh: #0005; }
.rg-iz { transform: rotateY(-90deg) translateZ(45px); --sh: #ffffff1a; }
.rg-de { transform: rotateY(90deg) translateZ(45px); --sh: #0004; }
.rg-ab { transform: rotateX(-90deg) translateZ(45px); --sh: #0007; }
.rg-ar { transform: rotateX(90deg) translateZ(45px); background: radial-gradient(circle, #fff1c2, #ffb84a 30%, #7a1f35 75%); }
.rg-t { position: absolute; left: -50px; top: -52px; width: 100px; height: 20px; background: linear-gradient(var(--sh, #0000), var(--sh, #0000)), linear-gradient(90deg, #0000 42%, #f8cf62 42% 58%, #0000 58%), #e5486a; }
.rg-tfr { transform: translateZ(50px); }
.rg-tat { transform: rotateY(180deg) translateZ(50px); --sh: #0005; }
.rg-tiz { transform: rotateY(-90deg) translateZ(50px); --sh: #ffffff1a; }
.rg-tde { transform: rotateY(90deg) translateZ(50px); --sh: #0004; }
.rg-tar { position: absolute; left: -50px; top: -102px; width: 100px; height: 100px; transform: rotateX(90deg); background: linear-gradient(90deg, #0000 42%, #f8cf62 42% 58%, #0000 58%), linear-gradient(#0000 42%, #f8cf62 42% 58%, #0000 58%), #ef5677; }
.rg-mono { position: absolute; left: -32px; top: -84px; width: 64px; height: 34px; background: radial-gradient(ellipse 30% 42% at 28% 55%, #0000 55%, #f8cf62 58% 96%, #0000), radial-gradient(ellipse 30% 42% at 72% 55%, #0000 55%, #f8cf62 58% 96%, #0000), radial-gradient(circle 7px at 50% 82%, #ffd978 96%, #0000); }
.rg-mono2 { transform: rotateY(90deg); }
.rg-cupon { position: absolute; z-index: 4; left: 50%; top: 30px; width: 200px; margin-left: -100px; padding: 12px 14px; border-radius: 12px; background: #fff8ec; color: #3a1020; text-align: center; display: grid; gap: 4px; box-shadow: 0 18px 40px -12px #000c, 0 0 0 1px #f8cf6266, 0 0 40px -6px #f2c14e88; }
.rg-cupon::before { content: ""; position: absolute; inset: 5px; border-radius: 8px; border: 1.5px dashed #d93a5b66; pointer-events: none; }
.rg-cupon small { font: 700 10px/1 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: #a12c48; }
.rg-cupon b { font: 600 22px/1.05 var(--display); }
.rg-cupon span { justify-self: center; font: 700 11px/1 var(--texto); letter-spacing: .08em; background: #f8cf6255; border-radius: 6px; padding: 4px 8px; }
.rg-confeti { position: absolute; left: 50%; top: 110px; z-index: 3; }
.confeti { position: absolute; width: 9px; height: 14px; border-radius: 2px; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .rg-rayos { animation: rg-rayos 7s var(--e1) infinite both; }
  .rg-giro { animation: rg-giro 14s linear infinite; }
  .rg-caja { animation: rg-sacude 7s infinite both; }
  .rg-tapa { animation: rg-tapa 7s var(--e1) infinite both; }
  .rg-cupon { animation: rg-cupon 7s var(--e1) infinite both; }
  .confeti { animation: rg-confeti 7s cubic-bezier(.2, .7, .4, 1) infinite both; }
  @keyframes rg-giro { from { transform: rotateX(-24deg) rotateY(-30deg); } to { transform: rotateX(-24deg) rotateY(330deg); } }
  @keyframes rg-sacude { 0%, 18% { transform: none; } 21% { transform: rotateZ(-7deg); } 24% { transform: rotateZ(6deg); } 27% { transform: rotateZ(-4deg); } 30% { transform: scaleY(.9) scaleX(1.05); } 34% { transform: scaleY(1.04); } 38%, 100% { transform: none; } }
  @keyframes rg-tapa { 0%, 30% { transform: none; } 34% { transform: translateY(-26px); } 46%, 84% { transform: translate3d(135px, -105px, 0) rotateZ(40deg) rotateX(30deg); } 86% { transform: translate3d(0, -110px, 0); animation-timing-function: cubic-bezier(.5, 0, .75, 0); } 93% { transform: none; } 96% { transform: translateY(-8px); } 100% { transform: none; } }
  @keyframes rg-rayos { 0%, 33% { opacity: 0; transform: rotate(0) scale(.6); } 44%, 80% { opacity: 1; transform: rotate(40deg) scale(1); } 90%, 100% { opacity: 0; transform: rotate(60deg) scale(.8); } }
  @keyframes rg-cupon { 0%, 36% { opacity: 0; transform: translateY(80px) scale(.35); } 50%, 82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-10px) scale(.96); } }
  @keyframes rg-confeti { 0%, 34% { opacity: 0; transform: translate(0, 0) rotate(0); } 36% { opacity: 1; } 50% { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)); } 72% { opacity: 0; transform: translate(calc(var(--x) * 1.2), calc(var(--y) + 160px)) rotate(calc(var(--r) * 2)); } 100% { opacity: 0; } }
  .nombre { animation: brillo-nombre 6s ease-in-out 1.2s infinite; }
  @keyframes brillo-nombre { 0%, 30% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
  .portada-aurora { animation: aurora 18s ease-in-out infinite alternate; }
  @keyframes aurora { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-3%, 2%) scale(1.06) rotate(2deg); } 100% { transform: translate(2%, -2%) scale(1.03) rotate(-2deg); } }
  .flota { animation: flotar 6s ease-in-out infinite, aparecer-flota .8s var(--ease) backwards; }
  .flota-2 { animation-delay: -2s, 1.1s; }
  .flota-3 { animation-delay: -4s, 1.3s; }
  .flota-1 { animation-delay: 0s, .9s; }
  @keyframes flotar { 50% { translate: 0 -12px; } }
  @keyframes aparecer-flota { from { opacity: 0; scale: .8; } }
  .boton-amarillo, .boton-oro, .boton-grande { animation: fluir 6s ease-in-out infinite; }
  .boton-amarillo::after, .boton-oro::after, .boton-grande::after { animation: brillo-boton 4.5s ease-in-out 1s infinite; }
  .boton-oro { animation: girar-borde 4s linear infinite; }
  @keyframes fluir { 50% { background-position: 100% 0; } }
  @keyframes brillo-boton { 0%, 60% { translate: -130% 0; } 85%, 100% { translate: 130% 0; } }
  @keyframes girar-borde { to { --ang: 360deg; } }
  .flotante::after { animation: latido 2.4s ease-out infinite; }
  @keyframes latido { 0% { box-shadow: 0 0 0 0 #25d36699; } 70%, 100% { box-shadow: 0 0 0 16px #25d36600; } }
  .honor::before { animation: polvo 30s linear infinite; }
  @keyframes polvo { to { background-position: 0 -420px; } }
  .honor h2 em { animation: brillo-oro 5s ease-in-out infinite; }
  @keyframes brillo-oro { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
  .con-js .subraya { background-size: 0% 100%; transition: background-size .9s var(--ease) .3s; }
  .con-js .subraya.visto { background-size: 100% 100%; }
  .con-js .pal { opacity: .12; filter: blur(4px); transition: opacity .5s ease, filter .5s ease; transition-delay: calc(var(--i) * 55ms); }
  .con-js .visto .pal { opacity: 1; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rg-tapa { transform: translate3d(135px, -105px, 0) rotateZ(40deg) rotateX(30deg); }
  .rg-rayos { opacity: 1; }
}

/* ---------- Pasos: tarjetas con número en medalla ---------- */
.pasos li { background: #fff8f3; border: 2px solid var(--tinta); border-radius: 24px; padding: 24px 22px 26px; box-shadow: 7px 7px 0 var(--tinta); }
.pasos li::before { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; font: 500 30px/1 var(--display); color: var(--tinta); background: linear-gradient(135deg, #fff6b8, var(--amarillo) 50%, #f2c14e); box-shadow: inset 0 -3px 0 #c99a2e, 0 6px 14px -6px #8a6a00; margin-bottom: 16px; }

/* ---------- Niveles del equipo ---------- */
.niveles b { background: linear-gradient(135deg, #fff6b8, var(--amarillo) 50%, #f2c14e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Contacto: tarjetas de vidrio esmerilado (59) con ícono ---------- */
.redes a { display: grid; grid-template-columns: 46px minmax(0, 1fr) 20px; column-gap: 16px; align-items: center; padding: 14px 18px; border-radius: 20px; background: linear-gradient(160deg, #ffffff33, #ffffff14); border: 1px solid #ffffff59; box-shadow: inset 0 1px 0 #ffffff59, 0 18px 30px -22px #1b1330; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .25s var(--ease), background-color .2s ease; }
.redes a::before { content: ""; grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 14px; background: var(--amarillo); -webkit-mask: none; box-shadow: inset 0 -3px 0 #c99a2e; }
.redes a::after { content: ""; grid-column: 3; grid-row: 1 / 3; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--ico-flecha) center / contain no-repeat; mask: var(--ico-flecha) center / contain no-repeat; transition: translate .25s var(--ease); }
.redes a:hover { transform: translateY(-3px); background-color: #ffffff1a; }
.redes a:hover::after { translate: 4px 0; }
.redes a > span:first-child { grid-column: 2; }
.red-nombre { grid-column: 2; overflow-wrap: anywhere; }
.redes .red-fb::before, .redes .red-ig::before, .redes .red-tt::before, .redes .red-tienda::before { background: linear-gradient(135deg, #fff6b8, var(--amarillo) 55%, #f2c14e); }
.redes li { position: relative; }
.redes li::after { content: ""; position: absolute; left: 31px; top: 50%; width: 24px; height: 24px; margin-top: -12px; background: var(--tinta); -webkit-mask: var(--icono, var(--ico-fb)) center / contain no-repeat; mask: var(--icono, var(--ico-fb)) center / contain no-repeat; pointer-events: none; }
.redes li:has(.red-ig) { --icono: var(--ico-ig); } .redes li:has(.red-tt) { --icono: var(--ico-tt); } .redes li:has(.red-tienda) { --icono: var(--ico-bolsa); }

/* ---------- Celular ---------- */
@media (max-width: 900px) {
  .flota-3 { display: none; }
  .flota-1 { left: 3vw; }
  .flota-2 { left: auto; right: 3vw; bottom: 46%; --gy: -14deg; }
  .sello { right: 4vw; }
}
@media (max-width: 680px) {
  .portada { --f: min(22vw, 104px); }
  .portada-etiqueta { font-size: 11px; padding: 7px 12px 7px 10px; }
  .nombre { margin-top: 44px; }
  .recorte { margin-top: calc(44px + var(--f) * 1.84); width: 78vw; }
  .flota { padding: 8px 12px 8px 8px; gap: 8px; font-size: 12px; border-radius: 16px; }
  .flota b { font-size: 28px; }
  .flota-ico { width: 32px; height: 32px; border-radius: 10px; }
  .flota-ico::after { inset: 7px; }
  .regalo { scale: 1; margin-block: -20px -10px; }
  .camino { box-shadow: 7px 7px 0 var(--tinta); }
  .caminos-rejilla { gap: 28px; }
}
/* Confeti: cada pieza sale en su propia dirección */
.c1 { --x: -119px; --y: -7px; --r: -217deg; background: #f7c9e6; }
.c2 { --x: -107px; --y: -44px; --r: -439deg; background: #ff5fa2; }
.c3 { --x: -102px; --y: -54px; --r: 215deg; background: #8f9cf0; }
.c4 { --x: -107px; --y: -95px; --r: -469deg; background: #f2c14e; border-radius: 50%; width: 10px; height: 10px; }
.c5 { --x: -74px; --y: -99px; --r: -475deg; background: #ffffff; }
.c6 { --x: -36px; --y: -107px; --r: -203deg; background: #f8b995; }
.c7 { --x: -12px; --y: -117px; --r: 253deg; background: #f4e463; }
.c8 { --x: 18px; --y: -143px; --r: -232deg; background: #f7c9e6; border-radius: 50%; width: 10px; height: 10px; }
.c9 { --x: 52px; --y: -139px; --r: 229deg; background: #ff5fa2; }
.c10 { --x: 62px; --y: -95px; --r: -496deg; background: #8f9cf0; }
.c11 { --x: 101px; --y: -112px; --r: 340deg; background: #f2c14e; }
.c12 { --x: 140px; --y: -87px; --r: 333deg; background: #ffffff; border-radius: 50%; width: 10px; height: 10px; }
.c13 { --x: 112px; --y: -44px; --r: -221deg; background: #f8b995; }
.c14 { --x: 141px; --y: -11px; --r: 409deg; background: #f4e463; }
@media (max-width: 680px) {
  .cabecera .boton-chico::before { display: none; }
  .cabecera .boton-chico { padding: 0 16px; }
  .marca { font-size: 19px; gap: 8px; }
  .flota-2 { display: none; }
}

/* ---------- Mi salón: álbum con fotos pegadas con cinta (S41) ---------- */
.salon { background: radial-gradient(60% 60% at 90% 10%, #77629f 0%, transparent 60%), var(--lila-hondo); color: #fff; padding: clamp(60px, 8vw, 110px) 0; }
.salon-rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 70px; align-items: center; }
.salon-texto { display: grid; gap: 16px; justify-items: start; }
.salon h2, .tianguis h2 { font-size: clamp(40px, 5vw, 70px); letter-spacing: -.025em; }
.salon h2 { color: var(--rosa); }
.salon h2 em { font-style: italic; color: var(--amarillo); }
.salon-texto > p:not(.etiqueta) { color: #ece6f7; font-size: 18px; max-width: 46ch; }
.salon-fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 26px; justify-content: center; }
.foto-salon, .foto-tianguis { position: relative; background: #fff; padding: 8px; border-radius: 6px; box-shadow: 0 18px 30px -16px #120d18cc; rotate: -3deg; transition: rotate .4s var(--ease), translate .4s var(--ease); }
.foto-salon:nth-child(even), .foto-tianguis:nth-child(even) { rotate: 2.5deg; translate: 0 12px; }
.foto-salon img, .foto-tianguis img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.foto-salon::before, .foto-tianguis::before { content: ""; position: absolute; z-index: 1; left: 50%; top: -12px; width: 74px; height: 24px; margin-left: -37px; background: #f4e463c7; rotate: -4deg; box-shadow: 0 1px 2px #0002; }
.foto-salon:nth-child(3n)::before, .foto-tianguis:nth-child(3n)::before { background: #f7c9e6cc; rotate: 5deg; }
@media (hover: hover) and (pointer: fine) { .foto-salon:hover, .foto-tianguis:hover { rotate: 0deg; translate: 0 -8px; } }

/* ---------- Tianguis: toldo de mercado (S66) ---------- */
.tianguis { position: relative; background: var(--amarillo); padding: 0 0 clamp(60px, 8vw, 100px); text-align: center; overflow: hidden; }
.toldo { height: 64px; background: repeating-linear-gradient(90deg, #c2286b 0 44px, #fff8fc 44px 88px);
  -webkit-mask: radial-gradient(22px 16px at 22px 100%, #0000 98%, #000) 0 0 / 44px 100%; mask: radial-gradient(22px 16px at 22px 100%, #0000 98%, #000) 0 0 / 44px 100%; }
.tianguis-cabeza { display: grid; gap: 14px; justify-items: center; padding-top: clamp(40px, 5vw, 60px); }
.tianguis-cabeza > p:not(.etiqueta) { color: #3d3350; font-size: 18px; max-width: 52ch; }
.etiqueta-tinta { color: #8a2350; }
.tianguis .subraya { background-image: linear-gradient(transparent 58%, #ffffffb3 58% 90%, transparent 90%); }
.tianguis-fotos { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 26px; margin-top: 42px; }
.foto-tianguis { width: min(220px, 42vw); }
.tianguis-accion { margin-top: 44px; display: flex; justify-content: center; }
@media (max-width: 900px) { .salon-rejilla { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) { .salon-fotos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .tianguis-fotos { gap: 26px 16px; } .toldo { height: 48px; } }

/* ---------- #67 Frase que se pinta palabra por palabra al bajar ---------- */
.declaracion .pinta { transition: opacity .35s ease, filter .35s ease, text-shadow .35s ease; }
.con-js .declaracion.pintando .pinta { opacity: .2; filter: blur(1.5px); }
.con-js .declaracion.pintando .pinta.lista { opacity: 1; filter: none; text-shadow: 0 0 24px #ffffff40; }

/* ---------- S33 Letrero de neón suave ---------- */
.neon { font: italic 600 clamp(30px, 3.4vw, 46px)/1.05 var(--display); color: #fff3fb; letter-spacing: .01em; margin-bottom: 10px;
  text-shadow: 0 0 4px #fff, 0 0 12px #ff7cc8, 0 0 26px #ff4fb0, 0 0 48px #ff4fb0aa; }
.neon span { color: #eaf6ff; text-shadow: 0 0 4px #fff, 0 0 12px #7fd6ff, 0 0 26px #39b8ff, 0 0 48px #39b8ffaa; }
@media (prefers-reduced-motion: no-preference) {
  .neon { animation: neon-enciende 6s linear infinite; }
  .neon span { animation: neon-zumbido 3.2s ease-in-out infinite; }
  @keyframes neon-enciende { 0%, 2%, 6%, 9%, 100% { opacity: 1; } 3%, 5%, 7.5% { opacity: .35; } 60% { opacity: 1; } 61% { opacity: .75; } 62% { opacity: 1; } }
  @keyframes neon-zumbido { 50% { text-shadow: 0 0 4px #fff, 0 0 10px #7fd6ff, 0 0 20px #39b8ff, 0 0 34px #39b8ff88; } }
}

/* ---------- #198 Frase que se tacha y se reescribe ---------- */
.tacha { text-align: center; font: 400 clamp(24px, 2.6vw, 34px)/1.3 var(--display); margin: -18px auto 40px; color: var(--tinta); }
.tacha-palabras { display: inline-grid; vertical-align: bottom; text-align: start; }
.tw { grid-area: 1 / 1; position: relative; font-style: italic; white-space: nowrap; }
.tw1, .tw2 { color: #6a5a78; }
.tw1::after, .tw2::after { content: ""; position: absolute; left: -4%; top: 54%; width: 108%; height: 4px; border-radius: 4px; background: #d8263f; rotate: -3deg; transform-origin: left; scale: 0 1; }
.tw3 { font-weight: 600; color: #8a2350; }
.tw1, .tw2 { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .tw1 { animation: tw1 9s infinite; } .tw1::after { animation: tw1-raya 9s infinite; }
  .tw2 { animation: tw2 9s infinite; } .tw2::after { animation: tw2-raya 9s infinite; }
  .tw3 { animation: tw3 9s infinite; }
  @keyframes tw1 { 0%, 24% { opacity: 1; translate: 0 0; } 29%, 100% { opacity: 0; translate: 0 -10px; } }
  @keyframes tw1-raya { 0%, 9% { scale: 0 1; } 17%, 100% { scale: 1 1; } }
  @keyframes tw2 { 0%, 28% { opacity: 0; translate: 0 10px; } 32%, 56% { opacity: 1; translate: 0 0; } 61%, 100% { opacity: 0; translate: 0 -10px; } }
  @keyframes tw2-raya { 0%, 40% { scale: 0 1; } 49%, 100% { scale: 1 1; } }
  @keyframes tw3 { 0%, 60% { opacity: 0; translate: 0 10px; scale: .9; } 65%, 94% { opacity: 1; translate: 0 0; scale: 1; } 99%, 100% { opacity: 0; } }
}
@media (max-width: 680px) { .tacha { margin: -10px auto 32px; } }
.salon-texto > p.neon { font-size: clamp(34px, 4.2vw, 58px); max-width: none; color: #fff3fb; margin-bottom: 6px; }

/* ---------- Pie oscuro con acentos de la marca ---------- */
.pie { position: relative; background: radial-gradient(50% 120% at 100% 0%, #3d2f5c 0%, transparent 60%), #211a33; color: #d9d0e8; }
.pie::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--rosa), var(--amarillo), var(--durazno), var(--lavanda)); }
.pie p { color: #d9d0e8; }
.marca-pie { color: var(--rosa); font-size: 28px; }
.creditos { border-top-color: #ffffff26; color: #b9aecb; }
.creditos a { color: var(--amarillo); text-underline-offset: 4px; }
.creditos a:hover { color: #fff; }

/* ---------- Portada: nombre un poco más chico en computadora y botones ---------- */
.portada { --f: clamp(96px, 12vw, 190px); }
.portada-acciones { position: absolute; z-index: 5; left: max(4vw, calc(50% - 600px)); bottom: 8%; display: grid; gap: 14px; justify-items: start; }
.portada-acciones .boton-claro { background: #2b224066; }
@media (min-width: 901px) { .flota-2 { display: none; } }
@media (max-width: 900px) {
  .portada-acciones { position: relative; left: auto; bottom: auto; grid-row: 2; grid-column: 1; width: min(100%, 520px); padding: 22px 5vw 30px; justify-items: stretch; }
  .portada-acciones .boton { width: 100%; }
}

/* ---------- Comprar conmigo es fácil ---------- */
.compra { background: var(--papel); padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); text-align: center; }
.compra h2, .testimonios h2, .preguntas h2 { font-size: clamp(40px, 5vw, 70px); letter-spacing: -.025em; margin: 10px 0 40px; }
.compra-pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; counter-reset: compra; text-align: start; }
.compra-pasos li { counter-increment: compra; position: relative; background: #fff; border: 2px solid var(--tinta); border-radius: 26px; overflow: hidden; box-shadow: 8px 8px 0 var(--rosa), 8px 8px 0 2px var(--tinta); }
.compra-pasos li::before { content: counter(compra); position: absolute; z-index: 1; top: 14px; left: 14px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font: 500 26px/1 var(--display); background: linear-gradient(135deg, #fff6b8, var(--amarillo) 50%, #f2c14e); box-shadow: inset 0 -3px 0 #c99a2e, 0 6px 14px -6px #8a6a00; }
.compra-pasos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 2px solid var(--tinta); }
.compra-pasos li > div { padding: 20px 22px 24px; display: grid; gap: 8px; }
.compra-pasos h3 { font-size: 26px; }
.compra-pasos p { color: var(--tinta-suave); }
.compra-acciones { justify-content: center; margin-top: 40px; }

/* ---------- Testimonios ---------- */
.testimonios { background: linear-gradient(180deg, var(--rosa), #fde4f2); padding: clamp(60px, 8vw, 110px) 0; text-align: center; }
.testimonios-rejilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; text-align: start; }
.testimonio { margin: 0; background: #fff; border-radius: 26px; padding: 28px 26px; display: grid; gap: 14px; align-content: start; border: 2px solid var(--tinta); box-shadow: 8px 8px 0 var(--tinta); }
.estrellas { color: #e0a432; letter-spacing: .15em; font-size: 20px; }
.testimonio blockquote { margin: 0; }
.testimonio blockquote p { font: 400 21px/1.35 var(--display); }
.testimonio figcaption { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--linea); }
.testimonio figcaption span { color: var(--tinta-suave); font-size: 15px; }
/* Lo que falta llenar se ve marcado para que nadie lo pase por alto */
[data-pendiente] { outline: 3px dashed #d8263f; outline-offset: 4px; }

/* ---------- Preguntas frecuentes (#393) ---------- */
.preguntas { background: var(--lila-hondo); color: #fff; padding: clamp(60px, 8vw, 110px) 0; }
.preguntas-rejilla { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 70px; align-items: start; }
.preguntas-rejilla > div:first-child { display: grid; gap: 16px; justify-items: start; }
.preguntas h2 { margin: 0; color: var(--rosa); }
.preguntas h2 em { font-style: italic; color: var(--amarillo); }
.preguntas-rejilla > div:first-child > p:not(.etiqueta) { color: #ece6f7; font-size: 18px; }
.preguntas-lista { display: grid; gap: 12px; }
.preguntas details { border-radius: 20px; background: linear-gradient(160deg, #ffffff26, #ffffff0d); border: 1px solid #ffffff40; }
.preguntas summary { list-style: none; cursor: pointer; padding: 18px 60px 18px 22px; font: 500 21px/1.3 var(--display); position: relative; min-height: 44px; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--amarillo); color: var(--tinta); font: 600 22px/1 var(--texto); transition: rotate .3s var(--ease); }
.preguntas details[open] summary::after { rotate: 45deg; }
.preguntas details p { padding: 0 22px 20px; color: #ece6f7; }
@media (prefers-reduced-motion: no-preference) {
  .preguntas details[open] p { animation: abrir-respuesta .4s var(--ease); }
  @keyframes abrir-respuesta { from { opacity: 0; translate: 0 -8px; } }
}

@media (max-width: 900px) {
  .compra-pasos, .testimonios-rejilla, .preguntas-rejilla { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) { .portada .sello { bottom: 190px; } .portada .flota-1 { bottom: 200px; top: auto; } }

/* ================= Movimiento en tianguis, salón y testimonios ================= */
/* Tianguis: toldo que se mece (430) + papel picado (115) + fotos que caen sobre la mesa (405) */
.toldo { transform-origin: 50% 0; }
.papel-picado { position: relative; z-index: 1; display: flex; justify-content: center; gap: 6px; height: 74px; margin-top: -6px; overflow: hidden; padding-top: 10px; }
.papel-picado::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: #2b224066; }
.papel-picado i { flex: none; width: 52px; height: 58px; transform-origin: 50% 0; background: var(--c, #c2286b);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 90% 100%, 80% 82%, 70% 100%, 60% 82%, 50% 100%, 40% 82%, 30% 100%, 20% 82%, 10% 100%, 0 82%);
  -webkit-mask: radial-gradient(circle 5px at 50% 40%, #0000 96%, #000) , radial-gradient(circle 3px at 25% 22%, #0000 96%, #000), radial-gradient(circle 3px at 75% 22%, #0000 96%, #000), radial-gradient(circle 3px at 25% 60%, #0000 96%, #000), radial-gradient(circle 3px at 75% 60%, #0000 96%, #000);
  -webkit-mask-composite: source-in; mask: radial-gradient(circle 5px at 50% 40%, #0000 96%, #000), radial-gradient(circle 3px at 25% 22%, #0000 96%, #000), radial-gradient(circle 3px at 75% 22%, #0000 96%, #000), radial-gradient(circle 3px at 25% 60%, #0000 96%, #000), radial-gradient(circle 3px at 75% 60%, #0000 96%, #000); mask-composite: intersect; }
.papel-picado i:nth-child(6n+1) { --c: #c2286b; } .papel-picado i:nth-child(6n+2) { --c: #4b59b0; } .papel-picado i:nth-child(6n+3) { --c: #e8822b; }
.papel-picado i:nth-child(6n+4) { --c: #1fb257; } .papel-picado i:nth-child(6n+5) { --c: #77629f; } .papel-picado i:nth-child(6n) { --c: #ff5fa2; }
.tianguis-cabeza { padding-top: clamp(20px, 3vw, 36px); }

/* Salón: luces suaves al fondo */
.salon { position: relative; overflow: hidden; }
.salon::before { content: ""; position: absolute; inset: -20%; pointer-events: none; opacity: .55; background:
  radial-gradient(120px 120px at 15% 25%, #ff7cc855, transparent 70%), radial-gradient(160px 160px at 80% 70%, #39b8ff40, transparent 70%),
  radial-gradient(90px 90px at 60% 15%, #f4e46345, transparent 70%), radial-gradient(140px 140px at 35% 85%, #ff7cc840, transparent 70%); }
.salon > * { position: relative; }

/* Testimonios: mazo de tarjetas que pasa solo (369) + estrellas que se encienden (145) */
.testimonio { position: relative; }
.testimonio::before { content: "\201C"; position: absolute; right: 22px; top: -6px; font: 400 120px/1 var(--display); color: var(--rosa); pointer-events: none; }
.estrellas span { display: inline-block; }
.mazo-puntos { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.mazo-puntos button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.mazo-puntos button::after { content: ""; width: 12px; height: 12px; border-radius: 999px; background: #2b224040; transition: width .3s var(--ease), background-color .3s ease; }
.mazo-puntos button[aria-current="true"]::after { width: 34px; background: var(--tinta); }
.testimonios.mazo .testimonios-rejilla { display: grid; grid-template-columns: minmax(0, 640px); justify-content: center; }
.testimonios.mazo .testimonio { grid-area: 1 / 1; transition: transform .7s var(--ease), opacity .5s ease, filter .5s ease; }
.testimonios.mazo .testimonio[data-pos="0"] { z-index: 3; }
.testimonios.mazo .testimonio[data-pos="1"] { z-index: 2; transform: translate(26px, 22px) rotate(3deg) scale(.95); filter: brightness(.96); }
.testimonios.mazo .testimonio[data-pos="2"] { z-index: 1; transform: translate(-26px, 40px) rotate(-3deg) scale(.9); filter: brightness(.92); }
.testimonios.mazo .testimonio.sale { transform: translate(-120%, -20px) rotate(-14deg); opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .toldo { animation: toldo-tela 5s ease-in-out infinite; }
  @keyframes toldo-tela { 0%, 100% { transform: scaleY(1); -webkit-mask-position: 0 0; mask-position: 0 0; } 50% { transform: scaleY(1.1); -webkit-mask-position: 22px 0; mask-position: 22px 0; } }
  .papel-picado i { animation: picado 3.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.25s); }
  .papel-picado i:nth-child(odd) { animation-duration: 2.9s; }
  .papel-picado i:nth-child(3n) { animation-duration: 3.8s; }
  @keyframes picado { 0%, 100% { transform: rotate(-7deg) skewX(4deg); } 50% { transform: rotate(7deg) skewX(-4deg); } }
  .con-js .foto-tianguis { opacity: 0; transform: translateY(-140px) rotate(-18deg) scale(1.1); }
  .con-js .foto-tianguis:nth-child(even) { transform: translateY(-160px) rotate(16deg) scale(1.1); }
  .con-js .tianguis-fotos.visto .foto-tianguis { animation: caer-mesa .9s cubic-bezier(.3, 1.35, .5, 1) forwards, mecer-foto 5s ease-in-out 1.6s infinite; animation-delay: calc(var(--i) * 140ms), calc(1.2s + var(--i) * 300ms); }
  @keyframes caer-mesa { to { opacity: 1; transform: none; } }
  @keyframes mecer-foto { 0%, 100% { opacity: 1; transform: rotate(0deg); } 50% { opacity: 1; transform: rotate(1.6deg) translateY(-4px); } }
  .salon::before { animation: luces 16s ease-in-out infinite alternate; }
  @keyframes luces { to { transform: translate(6%, -5%) scale(1.15); } }
  .con-js .foto-salon img { filter: brightness(2.2) contrast(.4) sepia(.6) blur(3px); opacity: .55; }
  .con-js .salon-fotos.visto .foto-salon img { animation: revelar 2.6s ease-out forwards; animation-delay: calc(var(--i) * 350ms); }
  .con-js .salon-fotos.visto .foto-salon { animation: flotar-salon 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.5s); }
  @keyframes revelar { to { filter: none; opacity: 1; } }
  @keyframes flotar-salon { 50% { transform: translateY(-8px); } }
  .testimonio[data-pos="0"] .estrellas span { animation: estrella .5s cubic-bezier(.3, 1.6, .5, 1) backwards; animation-delay: calc(.35s + var(--i) * 110ms); }
  @keyframes estrella { from { opacity: 0; transform: scale(0) rotate(-90deg); } }
}
@media (max-width: 680px) {
  .papel-picado i { width: 40px; height: 46px; }
  .papel-picado { height: 60px; }
  .testimonios.mazo .testimonio[data-pos="1"] { transform: translate(12px, 18px) rotate(2.5deg) scale(.95); }
  .testimonios.mazo .testimonio[data-pos="2"] { transform: translate(-12px, 32px) rotate(-2.5deg) scale(.9); }
}

/* Contraste del texto sobre fondos translúcidos (WCAG 1.4.3) */
.portada-etiqueta { background: #2b224066; }
.boton-claro { background: #2b224066; }
.redes a { background: linear-gradient(160deg, #2b224066, #2b224040); }
.redes a:hover { background: #2b224080; }

/* Pantallas de 320 px: nada se corta (reflow 1.4.10) */
@media (max-width: 360px) {
  .portada { --f: 22vw; }
  .portada-etiqueta { white-space: normal; text-align: center; letter-spacing: .06em; }
  .marca { font-size: 16px; }
  .cabecera { gap: 6px; }
  .cabecera .boton-chico { padding: 0 12px; }
}
