@font-face { font-family: "Fredoka"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/fredoka-600.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/fredoka-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/nunito-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/nunito-700.woff2") format("woff2"); }

:root {
  --verde: #1FD838;
  --crema: #FFF6DC;
  --noche: #13261A;
  --gris: #5A665C;
  --bambu: #E3B448;
  --rosa: #FF7EB6;
  --blanco: #FFFFFF;
  --suave: cubic-bezier(.2, .7, .1, 1);
  --rebote: cubic-bezier(.2, 1.35, .4, 1);
  --menu: 60px;
  --ancho: 1120px;
  color-scheme: light dark;
}
@media (min-width: 900px) { :root { --menu: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--crema);
  color: var(--noche);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.bloqueado { overflow: hidden; }
body {
  margin: 0;
  padding-top: var(--menu);
  background: var(--crema);
  color: var(--noche);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--noche); text-underline-offset: 3px; text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: "Fredoka", "Nunito", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: .005em;
  word-spacing: .08em;
  margin: 0 0 .5em;
  color: var(--noche);
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 6.4vw, 3.1rem); }
h3 { font-size: 1.3rem; line-height: 1.12; }
:focus-visible { outline: 3px solid var(--noche); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

section[id] { scroll-margin-top: 80px; }
.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.seccion { position: relative; overflow-x: clip; }
.seccion > .hoja-papel { padding: 64px 0 calc(64px + 12vh); padding-bottom: calc(64px + 12svh); }
.bajada-seccion { font-size: 1.15rem; max-width: 40rem; }
@media (min-width: 900px) {
  .contenedor { padding: 0 32px; }
  .seccion > .hoja-papel { padding: 96px 0 calc(96px + 10vh); padding-bottom: calc(96px + 10svh); }
  .bajada-seccion { font-size: 1.25rem; }
}

.btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 3px solid var(--noche);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--noche);
  background: var(--blanco);
  color: var(--noche);
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: translate 80ms ease, box-shadow 80ms ease;
}
.btn:active { translate: 2px 2px; box-shadow: 2px 2px 0 var(--noche); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { translate: -2px -2px; box-shadow: 6px 6px 0 var(--noche); }
  .btn:active { translate: 2px 2px; box-shadow: 2px 2px 0 var(--noche); }
}
.btn-verde { background: var(--verde); }
.btn-noche { background: var(--noche); color: var(--crema); }
.btn-contorno { background: var(--blanco); }
.btn-grande { min-height: 56px; padding: 0 28px; font-size: 1.1rem; }
.btn svg { width: 22px; height: 22px; flex: 0 0 22px; }
.btn-noche:focus-visible { outline-color: var(--noche); }

.late { animation: late 1.6s var(--suave) infinite; }
.late:hover { animation: none; }
@keyframes late { 0%, 100% { scale: 1; } 50% { scale: 1.04; } }

.redes { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.red {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid var(--noche);
  border-radius: 50%;
  background: var(--crema);
  color: var(--noche);
  transition: translate 80ms ease;
}
.red svg { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) { .red:hover { translate: -2px -2px; } }

.menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--menu);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  background: var(--crema);
  border-bottom: 3px solid var(--noche);
  transition: transform 250ms ease;
}
.menu-oculto { transform: translateY(-100%); }
.menu-logo { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; transition: opacity 200ms ease; }
.menu-logo img { display: block; width: 120px; height: auto; }
@media (min-width: 900px) { .menu-logo img { width: 150px; } }
html.en-revelacion .menu-logo { opacity: 0; pointer-events: none; }
.menu-links { display: none; }
.menu-wa { display: none; }
.menu-acciones { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.boton-redondo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 3px solid var(--noche);
  border-radius: 50%;
  background: var(--verde);
  color: var(--noche);
  box-shadow: 3px 3px 0 var(--noche);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.boton-redondo svg { width: 22px; height: 22px; }
.menu-boton { background: var(--blanco); }
@media (min-width: 900px) {
  .menu { padding: 0 24px; gap: 20px; }
  .menu-links { display: flex; gap: clamp(12px, 2vw, 26px); margin: 0 auto; }
  .menu-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: "Fredoka", sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .02em;
    text-decoration: none;
    white-space: nowrap;
  }
  .menu-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 3px;
    background: var(--verde);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 200ms var(--suave);
  }
  .menu-links a[aria-current="true"]::after, .menu-links a:hover::after { transform: scaleX(1); }
  .menu-acciones { margin-left: 0; }
  .menu-wa { display: inline-flex; min-height: 46px; padding: 0 18px; font-size: .95rem; }
  .menu-acciones .boton-redondo { display: none; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .menu-wa span { display: none; }
  .menu-wa { padding: 0 12px; }
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px 24px calc(28px + env(safe-area-inset-bottom));
  background: var(--crema);
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 300ms var(--suave);
  visibility: hidden;
}
.menu-panel.abierto { transform: none; visibility: visible; }
.menu-panel-cabeza { display: flex; justify-content: space-between; align-items: center; }
.menu-panel nav { display: flex; flex-direction: column; gap: 20px; }
.menu-panel nav a {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.15;
}
.menu-panel .btn { width: 100%; min-height: 56px; }

.icono-wa { width: 22px; height: 22px; }

.portada { position: relative; }
.portada > .hoja-papel { padding: 28px 0 72px; }
.portada > .hoja-papel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: url("../img/guarda-pasto-flores.svg") left bottom / auto 48px repeat-x;
  pointer-events: none;
}
.portada-grid { display: grid; gap: 28px; }
.portada h1 { font-size: clamp(34px, 6vw, 64px); line-height: 1; margin-bottom: 16px; }
.portada .bajada { font-size: 20px; line-height: 1.45; max-width: 34rem; margin-bottom: 22px; }
.portada .botones { display: flex; flex-direction: column; gap: 14px; align-items: stretch; max-width: 26rem; }
.portada .botones .btn { min-height: 54px; }
.portada .redes { margin-top: 18px; }
.portada-imagen {
  margin: 0;
  max-width: 560px;
  width: 100%;
  border: 3px solid var(--noche);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--noche);
  overflow: hidden;
  background: #8A8D88;
}
.portada-imagen img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .portada > .hoja-papel { padding: 32px 0 88px; min-height: calc(100svh - var(--menu)); display: flex; align-items: center; }
  .portada-grid { grid-template-columns: 55fr 45fr; align-items: center; gap: 48px; }
  .portada .bajada { font-size: 22px; }
  .portada .botones { flex-direction: row; flex-wrap: nowrap; max-width: none; gap: 12px; }
  .portada .botones .btn { padding: 0 16px; font-size: .92rem; white-space: nowrap; flex: 0 0 auto; }
  .portada-imagen { justify-self: end; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .portada-grid { grid-template-columns: 60fr 40fr; gap: 28px; }
  .portada .botones { gap: 10px; }
  .portada .botones .btn { padding: 0 12px; font-size: .82rem; gap: 6px; }
  .portada .botones .btn svg { width: 18px; height: 18px; flex-basis: 18px; }
}

.k { display: inline-block; white-space: pre; }
.palabra { display: inline-block; white-space: nowrap; }
html.js .h1-letras .k { animation: letra 260ms var(--suave) backwards; animation-delay: calc(var(--i) * var(--paso, 13ms)); }
@keyframes letra { from { opacity: 0; transform: translateY(40%) rotate(4deg); } }
@media (max-width: 899px) {
  html.js .h1-letras .k { animation-name: letra-fundido; }
  @keyframes letra-fundido { from { opacity: 0; } }
}

html.js .reveal:not(.visto), html.js .e3:not(.visto) { opacity: 0; }
html.js .reveal.visto { animation: aparece .6s var(--suave) backwards; animation-delay: calc(var(--k, 0) * 90ms); }
@keyframes aparece { from { opacity: 0; transform: translateY(14px); } }
html.js .e3.visto { animation: desde-izq .65s var(--suave) backwards; animation-delay: calc(var(--k, 0) * 90ms); }
html.js .e3.visto.par { animation-name: desde-der; }
@keyframes desde-izq { from { opacity: 0; transform: translateX(-60px); } }
@keyframes desde-der { from { opacity: 0; transform: translateX(60px); } }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .02em .06em; margin: -.14em -.02em -.06em; }
.wi { display: inline-block; }
html.js .titulo-partido:not(.armado) .wi { transform: translateY(112%) rotate(5deg); }
html.js .titulo-partido.armado .wi { transition: transform .85s var(--cine); transition-delay: calc(var(--l, 0) * 150ms + var(--j, 0) * 55ms); }
.titulo-partido.armado .w { translate: 0 calc(var(--s, 0) * (-26px - var(--i, 0) * 9px)); opacity: calc(1 - var(--s, 0) * .8); }
html.js .rebota:not(.visto) { opacity: 0; }
html.js .rebota.visto { animation: rebota .7s var(--rebote) backwards; animation-delay: calc(.3s + var(--k, 0) * .14s); }
@keyframes rebota { from { opacity: 0; transform: scale(.86); } }

.caja {
  background: var(--blanco);
  border: 3px solid var(--noche);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--noche);
}
.levanta { transition: translate 120ms ease, box-shadow 120ms ease; }
@media (hover: hover) and (pointer: fine) {
  .levanta:hover { translate: -2px -2px; box-shadow: 8px 8px 0 var(--noche); }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 2px 12px;
  border: 2px solid var(--noche);
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.2;
  white-space: nowrap;
}
.chip-teddy { background: var(--bambu); }
.chip-sheep { background: var(--rosa); }
.chip-ts { background: var(--verde); }
.chip-ia { background: var(--crema); color: var(--noche); }

.preguntas { list-style: none; margin: 8px 0 32px; padding: 0; display: grid; gap: 16px; }
.pregunta {
  padding: 20px 20px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}
.cierre-linea { font-weight: 700; font-size: 1.15rem; }
@media (min-width: 600px) { .preguntas { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .preguntas { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.modos { display: grid; gap: 26px; margin: 12px 0 36px; }
.modo {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--noche);
  overflow: hidden;
}
@media (hover: hover) and (pointer: fine) { .modo.levanta:hover { box-shadow: 9px 9px 0 var(--noche); } }
.modo-cabeza { position: relative; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 18px 18px 16px; border-bottom: 3px solid var(--noche); }
.modo-cabeza h3 { margin: 0; font-size: 1.45rem; }
.modo-teddy .modo-cabeza { background: var(--bambu); }
.modo-sheep .modo-cabeza { background: var(--rosa); }
.modo-ts .modo-cabeza { background: var(--verde); }
.etiqueta { display: inline-flex; min-height: 30px; align-items: center; padding: 2px 12px; border: 2px solid var(--noche); border-radius: 999px; background: var(--blanco); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.cinta {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 14px;
  border: 2px solid var(--noche);
  border-radius: 8px;
  background: var(--noche);
  color: var(--crema);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.modo-imagen { display: block; width: 100%; height: auto; aspect-ratio: 1; border-bottom: 3px solid var(--noche); background: #D9D2BF; }
.modo-cuerpo { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 18px 22px; flex: 1; }
.modo-cuerpo p { margin: 0; }
.modo-texto { font-size: 1.1rem; font-weight: 700; }
.modo-cuerpo .btn { margin-top: auto; }
.modo-cuerpo .modo-extra + .btn, .modo-cuerpo .modo-texto + .btn { margin-top: 14px; }
.modo-ts { order: -1; }
.no-sabes { font-weight: 700; font-size: 1.15rem; }
@media (min-width: 900px) {
  .modos { grid-template-columns: 1fr 1.06fr 1fr; align-items: center; gap: 24px; }
  .modo-ts { order: 0; scale: 1.06; z-index: 1; }
}

.areas { list-style: none; margin: 12px 0 40px; padding: 0; display: grid; gap: 18px; align-items: start; }
.area { padding: 18px 18px 14px; }
.area-cabeza { display: flex; align-items: flex-start; gap: 12px; }
.area-emoji { font-size: 1.9rem; line-height: 1; flex: 0 0 auto; }
.area-titulo { margin: 2px 0 10px; font-size: 1.15rem; }
.area-texto { margin: 0 0 12px; }
.area-pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.area-abrir {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px 0 12px;
  border: 0;
  background: none;
  color: var(--noche);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.signo { position: relative; width: 30px; height: 30px; border: 3px solid var(--noche); border-radius: 50%; background: var(--crema); flex: 0 0 auto; }
.signo::before, .signo::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 3px; margin: -1.5px 0 0 -6px; background: var(--noche); border-radius: 2px; }
.signo::after { transform: rotate(90deg); transition: transform 200ms var(--suave); }
[aria-expanded="true"] .signo::after { transform: rotate(0deg); }
.area-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms var(--suave), visibility 0s linear 300ms; visibility: hidden; }
.area-panel > div { overflow: hidden; min-height: 0; }
.area-panel.abierto { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 300ms var(--suave), visibility 0s; }
.area-panel .gancho { margin: 10px 0 8px; font-weight: 700; }
.area-panel a { font-weight: 700; }
.area-panel p:last-child { margin-bottom: 6px; }
.area-destacada { box-shadow: 8px 8px 0 var(--noche); }
.area-destacada .area-titulo { font-size: 1.3rem; }
@media (min-width: 600px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .areas { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .area-destacada { scale: 1.03; z-index: 1; }
}

.destacado {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0 0 44px;
  padding: 28px 22px;
  background: var(--noche);
  color: var(--crema);
  border: 3px solid var(--verde);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--verde);
}
.destacado h3 { color: var(--crema); font-size: clamp(1.5rem, 5vw, 2.1rem); margin: 0; }
.destacado p { margin: 0; color: var(--crema); }
.destacado a:not(.btn) { color: var(--crema); }
.destacado-marcas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.destacado .cinta { background: var(--verde); color: var(--noche); border-color: var(--verde); }
.destacado .chip-ia { border-color: var(--crema); }
.destacado-bajada { font-weight: 700; font-size: 1.1rem; }
.destacado-preguntas { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 8px; }
.destacado-preguntas li { padding-left: 18px; position: relative; font-weight: 700; }
.destacado-preguntas li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--verde); }
.destacado .btn { justify-self: start; }
.destacado :focus-visible { outline-color: var(--crema); }
.credito { font-size: .85rem; opacity: .92; }
@media (min-width: 900px) { .destacado { padding: 36px 40px; grid-template-columns: 1fr; max-width: 52rem; } }

.cinta-plataformas { overflow: hidden; border-top: 3px solid var(--noche); border-bottom: 3px solid var(--noche); background: var(--blanco); }
.cinta-pista { display: flex; width: max-content; animation: cinta-pasa 26s linear infinite; }
.cinta-pista span { padding: 14px 0; padding-right: .6em; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.35rem; text-transform: uppercase; white-space: nowrap; }
.cinta-plataformas:hover .cinta-pista { animation-play-state: paused; }
@keyframes cinta-pasa { to { transform: translateX(-50%); } }

.quienes-grid { display: grid; gap: 30px; align-items: start; }
.quienes-texto p { font-size: 1.1rem; }
.fundador { display: inline-block; margin-top: 6px; padding: 14px 18px; }
.fundador p { margin: 0; font-weight: 700; }
.quienes-imagen { margin: 0; }
.quienes-imagen .marco { border: 3px solid var(--noche); border-radius: 20px; box-shadow: 8px 8px 0 var(--noche); overflow: hidden; background: #8A8D88; }
.quienes-imagen img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.quienes-imagen figcaption { margin-top: 18px; font-size: 1.05rem; }
@media (min-width: 900px) { .quienes-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }

.webinar-caja { padding: 28px 24px; max-width: 40rem; }

.juego-tarjeta { padding: 8px 0; }
.juego-contenido { max-width: 30rem; padding: 22px 20px 24px; background: var(--crema); border: 3px solid var(--noche); border-radius: 20px; box-shadow: 5px 5px 0 var(--noche); }
.juego-contenido h2 { font-size: clamp(1.8rem, 6.4vw, 2.5rem); }
@media (min-width: 900px) { .juego-tarjeta { padding: 24px 0; } }

.logo {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--verde);
  width: calc(var(--fw) * var(--u));
  height: calc(var(--fh) * var(--u));
  transition: height var(--giro, .9s) var(--suave);
}
.logo-apilado { --fw: 2515; --fh: 1600; --u: calc(var(--logo-w, 240px) / 2515); }
.logo-apilado.giro-sheep { --fh: 1690; }
.logo-capa { position: absolute; inset: 0; }
.logo img {
  position: absolute;
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u));
  height: auto;
  max-width: none;
  transition: opacity var(--giro, .9s) var(--suave), transform var(--giro, .9s) var(--suave);
}
.logo .t-comp { opacity: 0; }
.logo.giro-teddy .t-liso { opacity: 0; }
.logo.giro-teddy .t-comp { opacity: 1; }
.logo .s-comp { opacity: 0; transform: translateX(calc(var(--dx) * -1 * var(--u))); }
.logo.giro-sheep .s-liso { opacity: 0; transform: translateX(calc(var(--dx) * var(--u))); }
.logo.giro-sheep .s-comp { opacity: 1; transform: none; }

.revelacion { position: relative; }
.revelacion > .hoja-papel {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  color: var(--crema);
  overflow: hidden;
}
.js-pila .revelacion { height: 220vh; height: 220svh; }
.js-pila .revelacion > .hoja-papel { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.js-pila .rev-frase { transition: none; }
.rev-frase.sin-fundido .pal { transition: none !important; }
.js-pila .rev-final { opacity: var(--vf, 0); transition: none; }
.js-pila .logo-rev { --fh: 1690; transition: none; }
.js-pila .logo-rev img { transition: none; }
.js-pila .logo-rev .t-liso { opacity: calc(1 - var(--g1, 0)); }
.js-pila .logo-rev .t-comp { opacity: var(--g1, 0); }
.js-pila .logo-rev .s-liso { opacity: calc(1 - var(--g2, 0)); transform: translateX(calc(var(--dx) * var(--g2, 0) * var(--u))); }
.js-pila .logo-rev .s-comp { opacity: var(--g2, 0); transform: translateX(calc(var(--dx) * (var(--g2, 0) - 1) * var(--u))); }
html.js:not(.js-pila) .revelacion > .hoja-papel { display: block; padding: 0 20px; }
html.js:not(.js-pila) .rev-frase { min-height: 100vh; min-height: 100svh; display: flex; flex-wrap: wrap; align-items: center; align-content: center; justify-content: center; column-gap: .28em; margin: 0 auto; }
html.js:not(.js-pila) .rev-final { padding: calc(50vh + 110px) 0 96px; padding-top: calc(50svh + 110px); }
.rev-frase, .rev-final { grid-area: 1 / 1; }
.rev-frase {
  margin: 0;
  max-width: 14ch;
  text-align: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 7vw, 72px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--crema);
  transition: opacity 300ms ease;
}
.rev-frase .pal { display: inline-block; opacity: 0; transform: translateY(12px); transition: opacity .4s var(--suave), transform .4s var(--suave); transition-delay: calc(var(--i) * 120ms); }
.rev-frase.dicha .pal { opacity: 1; transform: none; }
.rev-frase.se-fue { opacity: 0; }
.rev-frase.oculta { visibility: hidden; }
.rev-final { display: flex; flex-direction: column; align-items: center; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.rev-final.ve { opacity: 1; visibility: visible; }
.logo-rev { --logo-w: min(520px, 80vw); --giro: 1.1s; }
.rev-acciones { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.rev-acciones a:not(.btn) { color: var(--crema); font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }
.revelacion :focus-visible { outline-color: var(--crema); }
html.sin-js .rev-frase { display: none; }
html.sin-js .rev-final { opacity: 1; visibility: visible; }

.contacto p { font-size: 1.1rem; max-width: 40rem; }
.btn-enorme {
  width: 100%;
  min-height: 64px;
  padding: 0 28px;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 6px 6px 0 var(--noche);
  margin: 10px 0 12px;
}
.btn-enorme svg { width: 26px; height: 26px; flex-basis: 26px; }
.wa-numero { font-weight: 700; }
.mails { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 8px; font-size: 1.05rem; }
.mails a { font-weight: 700; overflow-wrap: anywhere; }
@media (min-width: 900px) { .btn-enorme { width: auto; min-width: 320px; } }

.pie { position: relative; z-index: 2; margin-top: calc(-1 * var(--curva)); background: var(--noche); color: var(--crema); padding: calc(48px + var(--curva)) 0 calc(100px + env(safe-area-inset-bottom));
  border: 3px solid var(--noche); border-bottom: 0; border-radius: var(--curva) var(--curva) 0 0; }
.pie a { color: var(--crema); }
.pie :focus-visible { outline-color: var(--crema); }
.pie-grid { display: grid; gap: 34px; }
.pie-logo img { display: block; width: 150px; height: auto; }
.pie-titulo { font-size: 1.05rem; color: var(--crema); margin: 0 0 12px; letter-spacing: .04em; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pie ul a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-weight: 700; }
.pie ul a:hover { text-decoration: underline; }
.pie ul a.red { justify-content: center; min-height: 44px; text-decoration: none; }
.pie-contacto { display: grid; gap: 12px; justify-items: start; }
.pie-contacto .mails { margin: 0; }
.pie .red { background: var(--crema); color: var(--noche); }
.pie-legal { margin-top: 40px; padding-top: 22px; border-top: 2px solid var(--gris); display: grid; gap: 6px; font-size: .9rem; }
.pie-legal p { margin: 0; }
@media (min-width: 900px) { .pie { padding-bottom: 56px; } .pie-grid { grid-template-columns: 220px 1fr 1fr; gap: 48px; } }

.zona-mascota { position: relative; height: 0; overflow: hidden; pointer-events: none; }
@media (max-width: 1279px) {
  [data-mascota] > .hoja-papel { padding-top: 12px; }
  [data-mascota] .zona-mascota { height: calc(var(--alto-mascota) + 10px); }
}
@media (min-width: 1280px) {
  [data-mascota] .zona-mascota { position: absolute; z-index: 1; left: 0; right: 0; top: 88px; height: calc(var(--alto-mascota) + 20px); }
}
.mascota { position: absolute; z-index: 30; pointer-events: none; height: var(--alto-mascota); transition: transform 700ms var(--suave), opacity 200ms ease; will-change: transform; }
.mascota.sale { transition: transform 500ms ease-in, opacity 200ms ease; }
.mascota-giro { height: 100%; transform-origin: 50% 100%; }
.mascota.dentro .mascota-giro { animation: saluda 1s ease 1, balancea 2.4s ease-in-out 1s infinite; }
.mascota img { display: block; height: 100%; width: auto; max-width: none; }
@keyframes saluda { 0%, 100% { rotate: 0deg; } 25% { rotate: -4deg; } 60% { rotate: 4deg; } }
@keyframes balancea { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
:root { --alto-mascota: clamp(96px, 26vw, 130px); }
@media (min-width: 1280px) { :root { --alto-mascota: clamp(160px, 18vw, 260px); } }

.dolly-lanzador {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 3px solid var(--noche);
  border-radius: 50%;
  background: var(--rosa);
  box-shadow: 4px 4px 0 var(--noche);
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: translate 80ms ease, box-shadow 80ms ease, transform 250ms ease;
}
.dolly-lanzador.dolly-oculto { transform: translateY(calc(100% + 40px)); }
.dolly-lanzador img { display: block; width: 100%; height: 100%; }
.dolly-lanzador:active { translate: 2px 2px; box-shadow: 2px 2px 0 var(--noche); }
.dolly-globito {
  position: fixed;
  right: 16px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: min(260px, calc(100vw - 32px));
  padding: 8px 6px 8px 14px;
  background: var(--blanco);
  border: 3px solid var(--noche);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--noche);
  font-weight: 700;
  animation: globito .3s var(--suave) backwards;
}
.dolly-globito p { margin: 0; }
.dolly-globito button {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--noche);
  cursor: pointer;
}
.dolly-globito svg { width: 16px; height: 16px; }
@keyframes globito { from { opacity: 0; transform: translateY(8px); } }
@media (min-width: 900px) {
  .dolly-lanzador { width: 64px; height: 64px; right: 24px; bottom: 24px; }
  .dolly-globito { right: 24px; bottom: 100px; }
}

:root { --curva: clamp(24px, 4vw, 44px); --cine: cubic-bezier(.7, 0, .2, 1); }
.hoja { position: relative; z-index: 1; }
.hoja-papel { position: relative; background: var(--crema); }
.hoja + .hoja { margin-top: calc(-1 * var(--curva)); }
.hoja + .hoja > .hoja-papel { border: 3px solid var(--noche); border-bottom: 0; border-radius: var(--curva) var(--curva) 0 0; }
.js-pila .hoja { position: sticky; top: min(0px, calc(100vh - var(--hoja-alto, 0px))); }
@supports (top: 1svh) { .js-pila .hoja { top: min(0px, calc(100svh - var(--hoja-alto, 0px))); } }
.js-pila .hoja-papel { overflow: clip; }
.hoja-medir .hoja { position: relative !important; top: auto !important; }
.hoja-velo { position: absolute; left: 0; right: 0; bottom: 0; height: min(100%, 100vh); z-index: 40; background: var(--noche); opacity: 0; pointer-events: none; border-radius: inherit; }

.hoja-crema > .hoja-papel { background: var(--crema); }
.hoja-blanco > .hoja-papel { background: var(--blanco); }
.hoja-verde > .hoja-papel { background: var(--verde) url("../img/trama-pasto.webp") center / 220px 220px repeat; }
.hoja-noche > .hoja-papel { background: var(--noche); color: var(--crema); }
.hoja-noche h2, .hoja-noche .cierre-linea, .hoja-noche .quienes-texto, .hoja-noche figcaption { color: var(--crema); }
.hoja-noche .caja { color: var(--noche); box-shadow: 5px 5px 0 var(--verde); }
.hoja-noche .quienes-imagen .marco { box-shadow: 8px 8px 0 var(--verde); }
@media (hover: hover) and (pointer: fine) { .hoja-noche .levanta:hover { box-shadow: 8px 8px 0 var(--verde); } }
.hoja-noche :focus-visible { outline-color: var(--crema); }
.hoja-noche .caja :focus-visible { outline-color: var(--noche); }
.hoja-blanco .area, .hoja-blanco .pregunta { background: var(--blanco); }
.hoja-crema .cinta-plataformas { background: var(--blanco); }

.js-pila .portada-texto { translate: 0 calc(var(--k, 0) * -60px); opacity: calc(1 - var(--k, 0) * .85); }

.contenedor { position: relative; isolation: isolate; }
.num-fondo {
  position: absolute; z-index: -1; right: 0; top: -.2em; pointer-events: none; user-select: none;
  font: 700 clamp(150px, 44vw, 380px)/.8 "Fredoka", sans-serif; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 2px rgba(19, 38, 26, .14); translate: 0 calc(var(--par, 0) * 1px);
}
.hoja-noche .num-fondo { -webkit-text-stroke-color: rgba(255, 246, 220, .17); }
@media (min-width: 1280px) { .num-fondo { right: -2%; } }
[tabindex="-1"]:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  html.js .reveal:not(.visto), html.js .e3:not(.visto), html.js .rebota:not(.visto) { opacity: 1; }
  html.js .titulo-partido:not(.armado) .wi { transform: none; }
  .titulo-partido .w { translate: none !important; opacity: 1 !important; }
  .num-fondo { translate: none !important; }
  .mascota { transition: opacity 200ms ease !important; }
  .cinta-pista { flex-wrap: wrap; width: auto; }
  .cinta-pista span[aria-hidden="true"] { display: none; }
  .cinta-pista span { white-space: normal; padding: 14px 20px; }
}

@media (prefers-color-scheme: dark) {
  html { scrollbar-color: #5A665C transparent; }
}
