/* Sitio de Mnemodia (founder/brand.md): cálido y escolar, morado protagonista, papel de fondo.
   Letras servidas desde este sitio; sin scripts ni nada de terceros. Solo modo claro (como la marca impresa). */
@font-face { font-family: 'Fredoka'; src: url('/fuentes/fredoka-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/fuentes/nunito-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/fuentes/nunito-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --papel: #FFF8EE; --papel-2: #FBEFDD; --tarjeta: #FFFFFF; --tinta: #2B2238; --tinta-suave: #6B6177; --linea: #EADFD0;
  --morado: #6A3FD1; --morado-fuerte: #4E2BA8; --morado-suave: #EEE7FF; --lila: #B8A2FF;
  --amarillo: #FFC93C; --coral: #F26B4F; --verde: #1F7A50;
  --lenguajes: #FF6B8B; --saberes: #FFB020; --etica: #27C08A; --humano: #4C8DFF;
  --sombra: 0 18px 50px rgba(43, 34, 56, .12); --sombra-chica: 0 4px 14px rgba(43, 34, 56, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--papel); color: var(--tinta);
  font-family: 'Nunito', system-ui, sans-serif; font-size: 18px; line-height: 1.6;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--morado); font-weight: 700; }
a:hover { color: var(--morado-fuerte); }
h1, h2, h3 { font-family: 'Fredoka', sans-serif; font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 7.5vw, 68px); }
h2 { font-size: clamp(30px, 5vw, 44px); }
h3 { font-size: 24px; }
p { margin: 0; }
ul { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.contenedor { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.contenedor.texto { max-width: 740px; }
.ceja { display: inline-block; font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--morado); }
.marcador { background: linear-gradient(transparent 62%, var(--amarillo) 62%, var(--amarillo) 92%, transparent 92%); padding: 0 .08em; }

/* Encabezado */
.encabezado { position: sticky; top: 0; z-index: 10; background: rgba(255, 248, 238, .94); }
.encabezado .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 26px; color: var(--morado); }
.logo img { width: 40px; height: 40px; }
.menu { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 16px; }
.menu a { text-decoration: none; color: var(--tinta); }
.menu a:hover { color: var(--morado); }
.menu .boton { color: #fff; padding: 10px 18px; }

/* Botones */
.botones { display: flex; flex-wrap: wrap; gap: 12px; }
.boton {
  display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 999px; text-decoration: none;
  background: var(--morado); color: #fff; font-weight: 700; box-shadow: 0 4px 0 var(--morado-fuerte);
  transition: transform .15s ease, box-shadow .15s ease;
}
.boton:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 0 var(--morado-fuerte); }
.boton:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--morado-fuerte); }
.boton.secundario { background: var(--tarjeta); color: var(--morado-fuerte); box-shadow: 0 4px 0 var(--linea); }
.boton.secundario:hover { color: var(--morado-fuerte); box-shadow: 0 6px 0 var(--linea); }
.boton.claro { background: #fff; color: var(--morado-fuerte); box-shadow: 0 4px 0 rgba(0, 0, 0, .18); }
.boton.claro:hover { color: var(--morado-fuerte); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 72px; }
.hero::before { content: ''; position: absolute; width: 620px; height: 620px; right: -160px; top: -120px; border-radius: 50%; background: radial-gradient(circle, var(--morado-suave) 0%, rgba(238, 231, 255, 0) 70%); }
.hero .contenedor { position: relative; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero .contenedor { grid-template-columns: 1.05fr .95fr; } }
.hero-texto { display: flex; flex-direction: column; gap: 22px; }
.subtitulo { color: var(--tinta-suave); font-size: 21px; max-width: 34em; }
.confianza { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--tinta-suave); font-size: 15px; }
.confianza span::before { content: '✓'; color: var(--verde); font-weight: 700; margin-right: 6px; }
.etiqueta { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--amarillo); color: var(--tinta); font-weight: 700; font-size: 15px; }

/* Escena del hero: teléfono dibujado + Mnemo + avisos flotantes */
.escena { position: relative; display: flex; justify-content: center; min-height: 560px; }
.telefono {
  position: relative; width: 280px; height: 560px; border-radius: 44px; padding: 12px; background: var(--tinta);
  box-shadow: var(--sombra), inset 0 0 0 2px #4a3d5c; transform: rotate(-3deg);
}
.pantalla { width: 100%; height: 100%; border-radius: 34px; background: var(--papel); overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 18px 14px; }
.p-barra { display: flex; justify-content: space-between; align-items: center; }
.p-logo { font-family: 'Fredoka', sans-serif; font-weight: 600; color: var(--morado); font-size: 18px; }
.p-avatar { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--morado); }
.p-grupo { border-radius: 18px; padding: 14px; color: #fff; background: linear-gradient(135deg, var(--morado), var(--morado-fuerte)); }
.p-grupo b { font-family: 'Fredoka', sans-serif; font-size: 26px; display: block; line-height: 1; }
.p-grupo small { opacity: .9; font-size: 12px; }
.p-nota { border-radius: 16px; padding: 12px; background: var(--morado); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 3px 0 var(--morado-fuerte); }
.p-nota small { display: block; font-weight: 400; opacity: .9; font-size: 11px; }
.p-rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-tile { border-radius: 14px; padding: 10px; background: #fff; font-size: 12px; font-weight: 700; box-shadow: var(--sombra-chica); }
.p-tile i { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--morado-suave); margin-bottom: 6px; }
.p-alumnos { border-radius: 14px; background: #fff; padding: 6px 10px; box-shadow: var(--sombra-chica); }
.p-alumno { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--linea); }
.p-alumno:last-child { border-bottom: 0; }
.p-alumno i { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.aviso {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff;
  font-weight: 700; font-size: 15px; box-shadow: var(--sombra); white-space: nowrap; animation: flotar 4s ease-in-out infinite;
}
.aviso .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; font-size: 13px; }
.aviso.a1 { top: 70px; left: -10px; }
.aviso.a2 { bottom: 120px; right: -6px; animation-delay: 1.3s; }
.aviso.a3 { bottom: 34px; left: 6px; animation-delay: 2.4s; }
.escena .mnemo-vivo { position: absolute; width: 170px; right: -8px; top: -14px; }
@media (max-width: 520px) { .aviso.a1 { left: 0; } .aviso.a2 { right: 0; } .escena .mnemo-vivo { width: 130px; right: -4px; } }

/* Franja SEP */
.franja { padding: 22px 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: var(--papel-2); }
.franja .contenedor { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.franja p { font-weight: 700; color: var(--tinta-suave); margin-right: 8px; }
.pastilla { padding: 6px 14px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; box-shadow: var(--sombra-chica); }

/* Secciones */
.seccion { padding: 88px 0; }
.seccion.alterna { background: var(--papel-2); }
.cabeza { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 44px; }
.cabeza.centro { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.cabeza p { color: var(--tinta-suave); font-size: 20px; }

/* Cómo funciona */
.pasos { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: paso; }
.paso { position: relative; background: #fff; border-radius: 24px; padding: 30px 26px; box-shadow: var(--sombra-chica); display: flex; flex-direction: column; gap: 10px; }
.paso::before {
  counter-increment: paso; content: counter(paso); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amarillo); color: var(--tinta); font-family: 'Fredoka', sans-serif; font-size: 22px; margin-bottom: 4px;
}
.paso p { color: var(--tinta-suave); }

/* Funciones: texto + dibujo, alternando lados */
.funcion { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; padding: 36px 0; }
@media (min-width: 880px) { .funcion { grid-template-columns: 1fr 1fr; gap: 72px; } .funcion.reves .dibujo { order: -1; } }
.funcion-texto { display: flex; flex-direction: column; gap: 14px; }
.funcion-texto p { color: var(--tinta-suave); font-size: 19px; }
.lista-check { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lista-check li { padding-left: 32px; position: relative; }
.lista-check li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--morado-suave); color: var(--morado); font-weight: 700; display: grid; place-items: center; font-size: 13px; }
.dibujo { position: relative; background: #fff; border-radius: 28px; padding: 28px; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 12px; }
.dibujo .titulo-dib { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 18px; }

/* Dibujo: notas por voz */
.burbuja-voz { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--morado); color: #fff; }
.mic { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; flex: none; }
.ondas { display: flex; align-items: center; gap: 4px; height: 26px; }
.ondas i { width: 4px; border-radius: 2px; background: #fff; animation: onda 1.1s ease-in-out infinite; }
.ondas i:nth-child(1) { height: 30%; } .ondas i:nth-child(2) { height: 80%; animation-delay: .1s; } .ondas i:nth-child(3) { height: 55%; animation-delay: .2s; }
.ondas i:nth-child(4) { height: 95%; animation-delay: .3s; } .ondas i:nth-child(5) { height: 40%; animation-delay: .4s; } .ondas i:nth-child(6) { height: 70%; animation-delay: .5s; }
.ondas i:nth-child(7) { height: 35%; animation-delay: .6s; } .ondas i:nth-child(8) { height: 60%; animation-delay: .7s; }
.frase { font-size: 15px; color: var(--tinta-suave); font-style: italic; }
.reparto { display: flex; flex-direction: column; gap: 8px; }
.reparto div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--papel); font-size: 15px; }
.inicial { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex: none; }

/* Dibujo: calificaciones */
.tabla-dib { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: 15px; }
.tabla-dib th { text-align: left; font-weight: 700; color: var(--tinta-suave); font-size: 13px; padding: 0 8px; }
.tabla-dib td { background: var(--papel); padding: 10px 8px; }
.tabla-dib td:first-child { border-radius: 12px 0 0 12px; font-weight: 700; }
.tabla-dib td:last-child { border-radius: 0 12px 12px 0; font-weight: 700; }
.tabla-dib .c-len td:first-child { border-left: 6px solid var(--lenguajes); }
.tabla-dib .c-sab td:first-child { border-left: 6px solid var(--saberes); }
.tabla-dib .c-eti td:first-child { border-left: 6px solid var(--etica); }
.tabla-dib .c-hum td:first-child { border-left: 6px solid var(--humano); }

/* Dibujo: planeación */
.semana { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.dia { border-radius: 14px; background: var(--papel); padding: 10px 6px; text-align: center; font-size: 13px; font-weight: 700; }
.dia.hoy { background: var(--morado); color: #fff; }
.pda { display: flex; flex-wrap: wrap; gap: 6px; }
.pda span { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--papel); border: 2px solid var(--linea); }
.pda .len { border-color: var(--lenguajes); } .pda .sab { border-color: var(--saberes); } .pda .eti { border-color: var(--etica); } .pda .hum { border-color: var(--humano); }

/* Dibujo: ficha descriptiva */
.hoja { border-radius: 16px; padding: 14px 18px; display: flex; flex-direction: column; gap: 0; font-size: 15px; line-height: 32px; background: var(--papel) repeating-linear-gradient(transparent 0 31px, var(--linea) 31px 32px); }
.hoja .nombre { font-weight: 700; }

/* Dibujo: diario */
.libreta { background: var(--papel); border-radius: 16px; padding: 16px 18px 16px 34px; position: relative; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.libreta::before { content: ''; position: absolute; left: 16px; top: 12px; bottom: 12px; width: 2px; background: var(--coral); opacity: .5; }
.hora { color: var(--morado); font-weight: 700; margin-right: 6px; }

/* Privacidad */
.privacidad-banda { border-radius: 32px; padding: 48px 28px; background: var(--tinta); color: #fff; display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 880px) { .privacidad-banda { grid-template-columns: 1fr 1fr; padding: 64px; } }
.privacidad-banda h2 { color: #fff; }
.privacidad-banda p, .privacidad-banda li { color: #E4DCF2; }
.privacidad-banda .ceja { color: var(--amarillo); }
.privacidad-banda a { color: var(--amarillo); }
.privacidad-banda .lista-check li::before { background: rgba(255, 201, 60, .18); color: var(--amarillo); }
.privacidad-texto { display: flex; flex-direction: column; gap: 16px; }
.transforma { display: flex; flex-direction: column; gap: 14px; }
.nota-ia { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 16px 18px; font-size: 16px; }
.nota-ia small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--lila); font-weight: 700; margin-bottom: 6px; }
.tachado { text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 3px; color: #fff; }
.seudonimo { background: var(--amarillo); color: var(--tinta); border-radius: 6px; padding: 0 6px; font-weight: 700; }
.flecha { text-align: center; font-size: 26px; color: var(--amarillo); }

/* Planes */
.planes { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 900px; margin: 0 auto; }
.plan { position: relative; background: #fff; border-radius: 28px; padding: 34px 30px; box-shadow: var(--sombra-chica); display: flex; flex-direction: column; gap: 16px; border: 2px solid transparent; }
.plan.destacado { border-color: var(--morado); box-shadow: var(--sombra); }
.plan .liston { position: absolute; top: -14px; right: 24px; padding: 6px 14px; border-radius: 999px; background: var(--amarillo); font-weight: 700; font-size: 14px; }
.precio { font-family: 'Fredoka', sans-serif; font-size: 48px; line-height: 1; }
.precio small { font-family: 'Nunito', sans-serif; font-size: 17px; color: var(--tinta-suave); font-weight: 400; }
.plan .alt { color: var(--tinta-suave); font-size: 16px; }
.plan .lista-check { flex: 1; }
.nota { color: var(--tinta-suave); font-size: 16px; text-align: center; margin-top: 22px; }

/* Preguntas */
.preguntas { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
details { background: #fff; border-radius: 18px; padding: 18px 22px; box-shadow: var(--sombra-chica); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--morado); font-family: 'Fredoka', sans-serif; font-size: 24px; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { margin-top: 10px; color: var(--tinta-suave); }

/* Cierre */
.cierre { padding: 40px 0 88px; }
.cierre-caja { position: relative; overflow: hidden; border-radius: 36px; padding: 56px 32px; background: linear-gradient(135deg, var(--morado), var(--morado-fuerte)); color: #fff; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
@media (min-width: 880px) { .cierre-caja { grid-template-columns: 1.4fr .6fr; padding: 64px; } }
.cierre-caja h2 { color: #fff; }
.cierre-caja p { color: #EDE6FF; font-size: 20px; }
.cierre-texto { display: flex; flex-direction: column; gap: 18px; }
.cierre-caja .mnemo-vivo { max-width: 220px; justify-self: center; }

/* Pie */
footer { margin-top: auto; padding: 36px 0; border-top: 1px solid var(--linea); color: var(--tinta-suave); font-size: 15px; }
footer .contenedor { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Páginas de texto (privacidad, términos, soporte, borrar cuenta) */
.pagina { padding: 32px 0 72px; }
.pagina .contenedor { display: flex; flex-direction: column; gap: 16px; }
.pagina h1 { font-size: clamp(34px, 6vw, 48px); }
.pagina h2 { font-size: 26px; margin-top: 18px; }
.pagina ul, .pagina ol { padding-left: 24px; display: flex; flex-direction: column; gap: 6px; }
.pagina .preguntas { margin: 0; }
.aviso-preliminar { background: var(--amarillo); color: var(--tinta); border-radius: 14px; padding: 12px 16px; font-weight: 700; }
.fecha { color: var(--tinta-suave); font-size: 16px; }

/* 404 */
.muy-pronto { flex: 1; max-width: 640px; margin: 0 auto; padding: 48px 20px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.muy-pronto .mnemo { width: 160px; height: auto; animation: flotar 3s ease-in-out infinite; }
.lead { color: var(--tinta-suave); max-width: 52ch; }

/* Mnemo vivo: parpadea, saluda con el ala, mueve la cabeza y destellan estrellitas (solo CSS). */
.mnemo-vivo { width: 100%; height: auto; overflow: visible; }
.mnemo-vivo * { transform-box: fill-box; }
.m-cuerpo { transform-origin: 50% 100%; animation: flotar 3s ease-in-out infinite; }
.m-cabeza { transform-origin: 50% 90%; animation: cabeza 6s ease-in-out infinite; }
.m-ala-der { transform-origin: 15% 15%; animation: saludar 6s ease-in-out infinite; }
.m-parpados { opacity: 0; animation: parpadear 4.5s infinite; }
.m-ojos { animation: mirar 6s ease-in-out infinite; }
.m-estrella { transform-origin: 50% 50%; animation: destello 2.4s ease-in-out infinite; }
.m-estrella.e2 { animation-delay: .8s; }
.m-estrella.e3 { animation-delay: 1.6s; }

@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes saludar {
  0%, 55%, 100% { transform: rotate(0deg); }
  60% { transform: rotate(-120deg); } 65% { transform: rotate(-95deg); } 70% { transform: rotate(-125deg); }
  75% { transform: rotate(-95deg); } 80% { transform: rotate(-120deg); } 88% { transform: rotate(0deg); }
}
@keyframes cabeza { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-5deg); } 60% { transform: rotate(4deg); } }
@keyframes parpadear { 0%, 92%, 100% { opacity: 0; } 94%, 97% { opacity: 1; } }
@keyframes mirar { 0%, 40%, 100% { transform: translateX(0); } 45%, 55% { transform: translateX(-3px); } 60%, 70% { transform: translateX(3px); } }
@keyframes destello { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes onda { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }

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

/* Colores de los dibujos (la CSP no permite estilos en línea) */
.bg-a { background: var(--lenguajes); } .bg-b { background: var(--saberes); } .bg-c { background: var(--etica); } .bg-d { background: var(--humano); } .bg-e { background: var(--morado); }

.transforma { margin: 0; }

/* Ajustes: la onda llena la burbuja de voz y la semana avanza sola */
.burbuja-voz { gap: 14px; }
.ondas { flex: 1; justify-content: space-between; height: 34px; gap: 0; min-width: 0; }
.ondas i { width: 4px; height: 40%; }
.ondas i:nth-child(3n+1) { height: 75%; animation-delay: .15s; }
.ondas i:nth-child(4n+2) { height: 100%; animation-delay: .3s; }
.ondas i:nth-child(5n+3) { height: 55%; animation-delay: .45s; }
.ondas i:nth-child(7n) { height: 30%; animation-delay: .6s; }
.ondas i:nth-child(n+30) { opacity: .55; }
.grabando { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; flex: none; }
.grabando::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); animation: latido 1.2s ease-in-out infinite; }
@media (max-width: 420px) { .ondas i:nth-child(n+25) { display: none; } }

.dia { transition: none; animation: dia-activo 10s infinite; }
.dia.d2 { animation-delay: 2s; } .dia.d3 { animation-delay: 4s; } .dia.d4 { animation-delay: 6s; } .dia.d5 { animation-delay: 8s; }
.pda span { animation: pda-activo 10s infinite; }
.pda .p2 { animation-delay: 2s; } .pda .p3 { animation-delay: 4s; } .pda .p4 { animation-delay: 6s; }
@keyframes dia-activo { 0%, 18% { background: var(--morado); color: #fff; transform: translateY(-3px); } 20%, 100% { background: var(--papel); color: var(--tinta); transform: none; } }
@keyframes pda-activo { 0%, 18% { background: #fff; box-shadow: 0 4px 14px rgba(43, 34, 56, .14); transform: scale(1.06); } 20%, 100% { background: var(--papel); box-shadow: none; transform: none; } }
@keyframes latido { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .dia.d2 { background: var(--morado); color: #fff; } }
