/* Pipumbas — landing. Paleta y formas tomadas del arte de marca (conejo, parque al atardecer, letras de colores). */
@font-face { font-family: 'Fredoka'; src: url('/fuentes/fredoka.woff2') format('woff2'); font-weight: 400 700; font-stretch: 100%; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/fuentes/nunito.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }

:root {
  --noche: #24084f;
  --noche-2: #2f0b78;
  --violeta: #5a17c9;
  --uva: #7a2bd1;
  --rosa: #ff4f9a;
  --rosa-suave: #ff9cc6;
  --naranja: #ff9426;
  --amarillo: #ffd326;
  --verde: #5ed05a;
  --celeste: #58c1ff;
  --crema: #fff7e8;
  --crema-2: #ffeecf;
  --blanco: #fff;
  --tinta: #2b1650;
  --tinta-suave: #5b4a7a;
  --titulos: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --texto: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ancho: 1160px;
  --radio: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--crema); color: var(--tinta);
  font-family: var(--texto); font-size: 1.0625rem; line-height: 1.6; font-weight: 500;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulos); line-height: 1.05; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 4px solid var(--amarillo); outline-offset: 3px; border-radius: 10px; }
.contenedor { width: min(var(--ancho), 100% - 40px); margin-inline: auto; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saltar { position: absolute; left: 16px; top: -80px; z-index: 50; background: var(--amarillo); color: var(--noche); padding: 10px 18px; border-radius: 14px; font-weight: 800; text-decoration: none; }
.saltar:focus { top: 12px; }

/* ---------- Botones ---------- */
.boton {
  --fondo: var(--amarillo); --sombra: #d89a00; --color: var(--noche);
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px;
  font-family: var(--titulos); font-weight: 600; font-size: 1.2rem; line-height: 1; text-decoration: none;
  color: var(--color); background: var(--fondo); border-radius: 999px;
  box-shadow: 0 7px 0 var(--sombra), 0 16px 28px rgba(20, 0, 60, .28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.boton:hover { transform: translateY(-3px); box-shadow: 0 10px 0 var(--sombra), 0 22px 34px rgba(20, 0, 60, .32); }
.boton:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--sombra), 0 6px 12px rgba(20, 0, 60, .3); }
.boton svg { width: 1.35em; height: 1.35em; flex: none; }
.boton--rosa { --fondo: var(--rosa); --sombra: #c81f6c; --color: #fff; }
.boton--chico { padding: 11px 20px; font-size: 1rem; box-shadow: 0 5px 0 var(--sombra); }
.boton--chico:hover { box-shadow: 0 8px 0 var(--sombra); }
.boton--linea { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .75); }
.boton--linea:hover { background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 3px #fff; }
.boton--linea:active { box-shadow: inset 0 0 0 3px #fff; transform: translateY(2px); }

/* ---------- Encabezado ---------- */
.cabecera { position: absolute; inset: 0 0 auto 0; z-index: 20; padding-top: 84px; }
.cabecera .contenedor { display: flex; align-items: center; gap: 20px; }
.cabecera__logo { flex: none; display: block; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.cabecera__logo:hover { transform: rotate(-4deg) scale(1.06); }
.cabecera__logo img { width: 172px; filter: drop-shadow(0 6px 10px rgba(20, 0, 60, .35)); }
.cabecera nav { margin-left: auto; display: flex; gap: 6px; }
.cabecera nav a { color: #fff; text-decoration: none; font-family: var(--titulos); font-weight: 500; font-size: 1.05rem; padding: 8px 14px; border-radius: 999px; transition: background .15s; }
.cabecera nav a:hover { background: rgba(255, 255, 255, .16); }
.idiomas { display: flex; gap: 2px; padding: 4px; background: rgba(20, 0, 60, .35); border-radius: 999px; list-style: none; margin: 0; }
.idiomas a { display: block; padding: 5px 10px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 800; font-size: .82rem; letter-spacing: .04em; }
.idiomas a:hover { background: rgba(255, 255, 255, .18); }
.idiomas a[aria-current] { background: #fff; color: var(--violeta); }

/* ---------- Portada ---------- */
.portada {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  padding: 236px 0 150px;
  background:
    radial-gradient(60% 40% at 78% 96%, rgba(255, 190, 80, .85), transparent 70%),
    linear-gradient(180deg, #230a6e 0%, #4a14bd 34%, #8f2bd3 62%, #f0579f 88%, #ffa25a 100%);
}
.guirnalda { position: absolute; top: 0; left: 50%; display: flex; width: max-content; transform: translateX(-50%); z-index: 3; pointer-events: none; }
.guirnalda svg { flex: none; max-width: none; height: 86px; width: auto; }
.guirnalda .luz { animation: titila 2.6s ease-in-out infinite; }
.guirnalda .luz:nth-of-type(2n) { animation-delay: -.9s; }
.guirnalda .luz:nth-of-type(3n) { animation-delay: -1.7s; }
.estrella { position: absolute; z-index: -1; color: var(--amarillo); animation: flota 6s ease-in-out infinite; }
.estrella svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .12)); }
.portada__grilla { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ceja {
  display: inline-block; font-family: var(--titulos); font-weight: 600; font-size: 1.05rem;
  background: var(--amarillo); color: var(--noche); padding: 8px 18px; border-radius: 999px; transform: rotate(-2deg);
  box-shadow: 0 5px 0 rgba(0, 0, 0, .18);
}
.portada h1 { font-weight: 700; font-size: clamp(2.5rem, 5.3vw, 4.5rem); margin: 22px 0 20px; text-shadow: 0 4px 0 rgba(30, 0, 80, .35); }
.portada h1 em { font-style: normal; display: inline-block; }
.portada h1 em:nth-of-type(1) { color: var(--amarillo); transform: rotate(-2deg); }
.portada h1 em:nth-of-type(2) { color: #ffb0d2; transform: rotate(1.5deg); }
.portada h1 em:nth-of-type(3) { color: #8fe58b; transform: rotate(-1.5deg); }
.portada__bajada { font-size: 1.22rem; max-width: 34em; color: #f3e9ff; font-weight: 600; }
.portada__acciones { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

.arte { position: relative; }
.arte__marco {
  border: 10px solid #fff; border-radius: 38px; overflow: hidden; transform: rotate(2.5deg);
  box-shadow: 0 14px 0 rgba(30, 0, 80, .35), 0 40px 70px rgba(20, 0, 60, .5); background: #3b1293;
  aspect-ratio: 4 / 3;
}
.arte__marco img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 50%; }
.arte__sello {
  position: absolute; left: -34px; bottom: -40px; width: 138px; border-radius: 50%; border: 8px solid #fff;
  box-shadow: 0 8px 0 rgba(30, 0, 80, .3), 0 18px 30px rgba(20, 0, 60, .4); animation: saluda 4.5s ease-in-out infinite;
}
.arte__nota { position: absolute; right: -14px; top: -30px; width: 84px; color: var(--amarillo); transform: rotate(14deg); animation: flota 5s ease-in-out infinite; }
.colinas { position: absolute; left: 0; bottom: -1px; width: 100%; height: 110px; z-index: 2; }

/* ---------- Cinta ---------- */
.cinta { background: var(--amarillo); color: var(--noche); transform: rotate(-1.6deg); margin: -34px -3vw 0; padding: 14px 0; position: relative; z-index: 4; box-shadow: 0 8px 0 #e0a800, 0 20px 30px rgba(60, 20, 0, .12); overflow: hidden; }
.cinta__pista { display: flex; width: max-content; animation: corre 28s linear infinite; }
.cinta__grupo { display: flex; align-items: center; flex: none; }
.cinta span { font-family: var(--titulos); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .03em; padding: 0 22px; white-space: nowrap; }
.cinta svg { width: 26px; height: 26px; flex: none; color: var(--violeta); }
.cinta__grupo svg:nth-of-type(3n + 2) { color: var(--rosa); }
.cinta__grupo svg:nth-of-type(3n) { color: #1f9a3a; }

/* ---------- Secciones ---------- */
.seccion { padding: 110px 0; position: relative; }
.seccion__cabeza { max-width: 760px; margin-bottom: 52px; }
.seccion__cabeza--centro { margin-inline: auto; text-align: center; }
.seccion h2 { font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3.5rem); color: var(--noche); }
.seccion h2 mark { background: none; color: inherit; position: relative; white-space: nowrap; z-index: 0; }
.seccion h2 mark::before { content: ''; position: absolute; inset: 52% -8px 2% -8px; background: var(--amarillo); border-radius: 999px; z-index: -1; transform: rotate(-1.2deg); }
.seccion__bajada { font-size: 1.2rem; color: var(--tinta-suave); margin-top: 16px; font-weight: 600; }

/* Momentos */
.momentos { background: radial-gradient(circle at 12% 18%, rgba(255, 79, 154, .12) 0 9px, transparent 10px), radial-gradient(circle at 88% 30%, rgba(88, 193, 255, .2) 0 13px, transparent 14px), radial-gradient(circle at 70% 88%, rgba(94, 208, 90, .2) 0 8px, transparent 9px), radial-gradient(circle at 30% 80%, rgba(255, 148, 38, .18) 0 11px, transparent 12px); }
.tarjetas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; list-style: none; padding: 0; margin: 0; }
.tarjeta { --fondo: var(--amarillo); --borde: #dba300; background: var(--fondo); color: var(--noche); border-radius: var(--radio); padding: 28px 26px 34px; box-shadow: 0 10px 0 var(--borde), 0 26px 34px rgba(60, 20, 100, .12); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
li:nth-child(odd) > .tarjeta { transform: rotate(-1.4deg); }
li:nth-child(even) > .tarjeta { transform: rotate(1.4deg) translateY(22px); }
.tarjetas li > .tarjeta:hover { transform: rotate(0) translateY(-8px) scale(1.03); }
li:nth-child(1) > .tarjeta { --fondo: var(--rosa-suave); --borde: #e45e9c; }
li:nth-child(2) > .tarjeta { --fondo: var(--amarillo); --borde: #dba300; }
li:nth-child(3) > .tarjeta { --fondo: #7ddb79; --borde: #3ba63a; }
li:nth-child(4) > .tarjeta { --fondo: #7fd0ff; --borde: #2f95d6; }
.tarjeta__icono { width: 72px; height: 72px; background: #fff; border-radius: 22px; display: grid; place-items: center; margin-bottom: 20px; color: var(--violeta); transform: rotate(-6deg); box-shadow: 0 5px 0 rgba(36, 8, 79, .18); }
.tarjeta__icono svg { width: 42px; height: 42px; }
.tarjeta h3 { font-weight: 600; font-size: 1.6rem; margin-bottom: 10px; }
.tarjeta p { font-weight: 600; font-size: 1.02rem; line-height: 1.5; }

/* Tarjetas con el conejo */
.tarjeta { position: relative; }
.tarjeta__conejo { height: 196px; margin: -104px 0 10px -12px; }
.tarjeta__conejo img { width: 196px; max-width: none; filter: drop-shadow(0 10px 0 rgba(36, 8, 79, .14)); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 50% 90%; }
.tarjeta:hover .tarjeta__conejo img { transform: scale(1.1) rotate(-6deg); }
.momentos .tarjetas { margin-top: 110px; row-gap: 100px; }

/* Series */
.series { padding-top: 40px; }
.series__grilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; list-style: none; padding: 0; margin: 0; }
.serie { background: #fff; border-radius: 30px; padding: 12px 12px 0; box-shadow: 0 9px 0 #f0dcb4, 0 24px 36px rgba(60, 20, 0, .09); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); height: 100%; }
.series__grilla li:nth-child(3n + 1) .serie { transform: rotate(-1.2deg); }
.series__grilla li:nth-child(3n) .serie { transform: rotate(1.2deg); }
.series__grilla li .serie:hover { transform: translateY(-8px) rotate(0) scale(1.02); }
.serie__img { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--crema-2); }
.serie__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.serie:hover .serie__img img { transform: scale(1.06); }
.serie__texto { padding: 18px 12px 24px; }
.serie h3 { font-size: 1.5rem; font-weight: 600; color: var(--violeta); margin-bottom: 6px; }
.serie p { color: var(--tinta-suave); font-weight: 600; font-size: 1rem; line-height: 1.45; }

/* Videos */
.videos { background: var(--crema-2); border-radius: 60px 60px 0 0; }
.videos__grilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; list-style: none; padding: 0; margin: 0 0 40px; }
.video { display: block; text-decoration: none; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 8px 0 #ecd6a8, 0 20px 30px rgba(60, 20, 0, .08); transition: transform .2s; }
.video:hover { transform: translateY(-6px) rotate(-.6deg); }
.video__img { position: relative; aspect-ratio: 16 / 9; background: var(--violeta); }
.video__img img { width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; background: var(--amarillo); color: var(--noche); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 5px 0 #d89a00; }
.video__play svg { width: 28px; height: 28px; margin-left: 4px; }
.video h3 { font-size: 1.15rem; font-weight: 600; padding: 16px 20px 20px; line-height: 1.25; color: var(--noche); }
.pronto { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; background: #fff; border-radius: 40px; padding: 36px 44px; box-shadow: 0 10px 0 #ecd6a8, 0 26px 40px rgba(60, 20, 0, .08); }
.pronto img { width: 230px; margin: -30px 0; filter: drop-shadow(0 10px 0 rgba(36, 8, 79, .12)); }
.pronto img.cuadrada { width: 190px; margin: 0; border-radius: 36px; transform: rotate(-5deg); filter: none; box-shadow: 0 8px 0 rgba(36, 8, 79, .15); }
.pronto h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: var(--violeta); margin-bottom: 10px; }
.pronto p { font-size: 1.15rem; color: var(--tinta-suave); font-weight: 600; margin-bottom: 24px; }
.videos__mas { text-align: center; }

/* Familias */
.familias { background: var(--crema-2); padding-top: 20px; }
.familias__panel { position: relative; background: linear-gradient(150deg, #6a1fe0, #4712ad); color: #fff; border-radius: 48px; padding: 64px 60px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; box-shadow: 0 14px 0 #300a80, 0 40px 60px rgba(40, 0, 110, .25); overflow: hidden; }
.familias__panel::before, .familias__panel::after { content: ''; position: absolute; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .07); pointer-events: none; }
.familias__panel::before { width: 420px; height: 420px; right: -150px; top: -190px; }
.familias__panel::after { width: 300px; height: 300px; left: -120px; bottom: -170px; }
.familias h2 { color: #fff; }
.familias h2 mark::before { background: var(--rosa); }
.familias .seccion__bajada { color: #e6d8ff; }
.puntos { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.puntos li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.puntos svg { width: 42px; height: 42px; }
.puntos h3 { font-size: 1.25rem; font-weight: 600; margin: 4px 0 4px; }
.puntos p { font-size: 1rem; color: #e6d8ff; font-weight: 600; line-height: 1.45; }
.familias__img { position: relative; z-index: 1; }
.familias__img img { width: 100%; max-width: 400px; margin-inline: auto; filter: drop-shadow(0 14px 0 rgba(20, 0, 60, .3)); }
.familias__img img.cuadrada { max-width: 340px; border-radius: 44px; border: 9px solid #fff; transform: rotate(4deg); filter: none; box-shadow: 0 12px 0 rgba(20, 0, 60, .35); }

/* Redes */
.redes { background: var(--crema-2); }
.redes__grilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.red { display: block; text-decoration: none; text-align: center; background: #fff; border-radius: 32px; padding: 30px 20px 26px; box-shadow: 0 9px 0 var(--borde, #ecd6a8), 0 22px 34px rgba(60, 20, 0, .08); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); color: var(--noche); }
.red:hover { transform: translateY(-8px) rotate(-1.5deg); }
.red img { width: 112px; border-radius: 50%; margin: 0 auto 18px; border: 6px solid var(--borde); }
.red strong { display: block; font-family: var(--titulos); font-weight: 600; font-size: 1.5rem; line-height: 1.1; }
.red span { display: block; color: var(--tinta-suave); font-weight: 700; font-size: .98rem; margin-top: 4px; }
.red small { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--titulos); font-weight: 600; font-size: 1rem; color: #fff; background: var(--borde); padding: 6px 14px; border-radius: 999px; }
.red--youtube { --borde: #ef3b36; } .red--instagram { --borde: #d6359b; } .red--tiktok { --borde: #24084f; } .red--facebook { --borde: #2f6fe0; }
.redes__aviso { text-align: center; margin-top: 36px; color: var(--tinta-suave); font-weight: 700; font-size: .98rem; }

/* Preguntas */
.faq { background: var(--crema-2); padding-top: 30px; }
.faq__lista { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: 24px; box-shadow: 0 6px 0 #ecd6a8; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 64px 20px 26px; position: relative; font-family: var(--titulos); font-weight: 600; font-size: 1.25rem; color: var(--noche); border-radius: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--amarillo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324084f' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--rosa-suave); }
.faq details p { padding: 0 26px 24px; color: var(--tinta-suave); font-weight: 600; }
.faq a, .legal a { color: var(--violeta); font-weight: 800; text-underline-offset: 3px; }

/* Cierre */
.cierre { background: var(--crema-2); padding: 40px 0 0; }
.cierre__caja { position: relative; text-align: center; background: linear-gradient(180deg, #ff6aa8, #ff8f4a); color: #fff; border-radius: 48px 48px 0 0; padding: 76px 24px 96px; overflow: hidden; }
.cierre h2 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 700; color: #fff; text-shadow: 0 4px 0 rgba(140, 20, 60, .3); }
.cierre p { font-size: 1.3rem; font-weight: 700; margin: 14px 0 32px; }
.cierre .estrella { z-index: 0; color: #fff3a8; }
.cierre .boton { position: relative; z-index: 1; }
.cierre__conejo { width: 230px; margin: -30px auto 6px; position: relative; z-index: 1; filter: drop-shadow(0 10px 0 rgba(140, 20, 60, .22)); animation: brinca 2.4s ease-in-out infinite; }
@keyframes brinca { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

/* Pie */
.pie { background: var(--noche); color: #d9ccf5; padding: 70px 0 34px; font-size: .98rem; margin-top: -40px; border-radius: 40px 40px 0 0; position: relative; }
.pie__grilla { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.pie__logo img { width: 170px; margin-bottom: 14px; }
.pie h2 { font-size: 1.05rem; font-weight: 600; color: var(--amarillo); margin-bottom: 14px; letter-spacing: .02em; }
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.pie a { text-decoration: none; font-weight: 700; }
.pie a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pie__base { margin-top: 48px; padding-top: 24px; border-top: 2px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; font-size: .88rem; color: #b9a8e0; }
.pie .idiomas { background: rgba(255, 255, 255, .1); width: max-content; display: flex; gap: 2px; }

/* ---------- Páginas legales ---------- */
.portada--chica { padding: 226px 0 110px; }
.portada--chica h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 12px; }
.portada--chica .volver { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; text-decoration: none; margin-bottom: 20px; opacity: .9; }
.portada--chica .volver:hover { opacity: 1; text-decoration: underline; }
.portada--chica .fecha { font-weight: 700; color: #f3e9ff; }
.legal { padding: 60px 0 120px; }
.legal__grilla { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 60px; align-items: start; }
.legal__indice { position: sticky; top: 24px; background: #fff; border-radius: 24px; padding: 22px 24px; box-shadow: 0 6px 0 #ecd6a8; font-size: .94rem; }
.legal__indice h2 { font-size: 1.05rem; font-weight: 600; color: var(--violeta); margin-bottom: 10px; }
.legal__indice ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.legal__indice a { text-decoration: none; font-weight: 700; color: var(--tinta); }
.legal__indice a:hover { color: var(--violeta); text-decoration: underline; }
.legal__texto { max-width: 720px; font-size: 1.06rem; }
.legal__texto > p { margin-bottom: 16px; }
.legal__resumen { background: #fff; border-radius: 24px; padding: 24px 28px; box-shadow: 0 6px 0 #ecd6a8; margin-bottom: 40px; }
.legal__resumen p + p { margin-top: 12px; }
.legal__texto section { scroll-margin-top: 24px; margin-top: 42px; }
.legal__texto h2 { font-size: 1.6rem; font-weight: 600; color: var(--noche); margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline; }
.legal__texto h2 span { flex: none; font-size: 1rem; background: var(--amarillo); color: var(--noche); min-width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; transform: translateY(-3px) rotate(-6deg); }
.legal__texto section p { margin-bottom: 14px; }
.legal__texto ul { margin: 0 0 14px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.legal__texto li { position: relative; padding-left: 30px; }
.legal__texto li::before { content: ''; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--rosa); }
.legal__texto li:nth-child(3n + 2)::before { background: var(--celeste); }
.legal__texto li:nth-child(3n)::before { background: var(--verde); }

/* 404 */
.e404 { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 0; }
.e404 img { width: 260px; margin: 0 auto 10px; }
.e404 img.cuadrada { width: 200px; border-radius: 50%; border: 9px solid #fff; margin-bottom: 28px; animation: saluda 4.5s ease-in-out infinite; }
.e404 h1 { font-size: clamp(2rem, 6vw, 3.6rem); margin: 0 0 12px; }
.e404 p { font-size: 1.25rem; font-weight: 700; margin-bottom: 30px; }

/* ---------- Animaciones ---------- */
@keyframes titila { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes flota { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -14px; rotate: 10deg; } }
@keyframes saluda { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-10px); } }
@keyframes corre { to { transform: translateX(-50%); } }
@keyframes entra { from { opacity: 0; transform: translateY(34px) scale(.97); } to { opacity: 1; transform: none; } }
.portada .ceja, .portada h1, .portada__bajada, .portada__acciones, .arte { animation: entra .8s cubic-bezier(.2, .9, .3, 1.2) both; }
.portada h1 { animation-delay: .08s; } .portada__bajada { animation-delay: .18s; } .portada__acciones { animation-delay: .28s; } .arte { animation-delay: .22s; }
.js .aparece { opacity: 0; translate: 0 36px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .9, .3, 1.2); transition-delay: calc(var(--i, 0) * 90ms); }
.js .aparece.visible { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .aparece { opacity: 1; translate: 0 0; }
}

/* ---------- Adaptación ---------- */
@media (max-width: 1020px) {
  .cabecera nav { display: none; }
  .portada > .estrella:nth-of-type(2), .portada > .estrella:nth-of-type(4) { display: none; }
  .cabecera .idiomas { margin-left: auto; }
  .portada { padding: 220px 0 130px; }
  .portada__grilla { grid-template-columns: 1fr; gap: 60px; }
  .arte { max-width: 620px; margin-inline: auto; width: 100%; }
  .arte__marco { aspect-ratio: 16 / 10; }
  .tarjetas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  li:nth-child(even) > .tarjeta { transform: rotate(1.4deg); }
  .videos__grilla, .series__grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series__grilla li:nth-child(n) .serie { transform: none; }
  .familias__panel { grid-template-columns: 1fr; padding: 50px 36px; }
  .familias__img { order: -1; }
  .familias__img img { max-width: 220px; }
  .redes__grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pie__grilla { grid-template-columns: 1fr 1fr; }
  .legal__grilla { grid-template-columns: 1fr; gap: 30px; }
  .legal__indice { position: static; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .contenedor { width: min(var(--ancho), 100% - 32px); }
  .cabecera { padding-top: 66px; }
  .cabecera .contenedor { gap: 10px; }
  .cabecera__logo img { width: 124px; }
  .cabecera .boton { display: none; }
  .guirnalda svg { height: 64px; }
  .portada { padding: 176px 0 110px; }
  .portada__bajada { font-size: 1.1rem; }
  .boton { font-size: 1.08rem; padding: 15px 22px; }
  .portada__acciones .boton { flex: 1 1 100%; justify-content: center; }
  .arte__marco { border-width: 7px; border-radius: 28px; transform: rotate(1.5deg); aspect-ratio: 4 / 3; }
  .arte__sello { width: 96px; left: -8px; bottom: -34px; border-width: 6px; }
  .arte__nota { width: 60px; right: -4px; top: -26px; }
  .colinas { height: 60px; }
  .cinta span { font-size: 1.25rem; padding: 0 14px; }
  .cinta svg { width: 20px; height: 20px; }
  .seccion { padding: 76px 0; }
  .seccion__cabeza { margin-bottom: 36px; }
  .tarjetas { grid-template-columns: 1fr; gap: 22px; }
  .tarjetas li:nth-child(n) > .tarjeta { transform: none; }
  .videos { border-radius: 36px 36px 0 0; }
  .videos__grilla, .series__grilla { grid-template-columns: 1fr; }
  .momentos .tarjetas { row-gap: 96px; margin-top: 100px; }
  .pronto img { margin: -10px auto; width: 190px; }
  .cierre__conejo { width: 180px; }
  .familias__img img { max-width: 240px; }
  .pronto { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; gap: 22px; border-radius: 30px; }
  .pronto img { width: 150px; margin-inline: auto; }
  .familias { padding-top: 0; }
  .familias__panel { padding: 40px 24px; border-radius: 34px; }
  .puntos { grid-template-columns: 1fr; }
  .redes__grilla { gap: 16px; }
  .red { padding: 22px 12px 20px; border-radius: 26px; }
  .red img { width: 84px; }
  .red strong { font-size: 1.25rem; }
  .red span { font-size: .88rem; }
  .faq summary { font-size: 1.1rem; padding: 18px 60px 18px 20px; }
  .faq details p { padding: 0 20px 20px; }
  .cierre__caja { border-radius: 34px 34px 0 0; padding: 60px 20px 86px; }
  .pie__grilla { grid-template-columns: 1fr; gap: 30px; }
  .portada--chica { padding: 170px 0 90px; }
  .legal { padding: 40px 0 90px; }
  .legal__texto h2 { font-size: 1.35rem; }
}
