/* Ven la Festa · sitio público (landing + catálogo). Pensado primero para celular. */

@font-face { font-family: 'Fredoka'; src: url('fuentes/fredoka-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('fuentes/fredoka-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('fuentes/fredoka-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('fuentes/nunito-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('fuentes/nunito-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('fuentes/nunito-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('fuentes/caveat-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --tinta: #2e2145;
  --tinta-suave: #6b6080;
  --rosa: #ff5c8a;
  --rosa-oscuro: #e8457a;
  --rosa-suave: #ffe3ec;
  --durazno: #ffb37a;
  --lila: #a78bfa;
  --lila-suave: #efe9ff;
  --menta: #5fd3b5;
  --menta-suave: #e3f8f1;
  --amarillo: #ffd166;
  --crema: #fff7ef;
  --blanco: #ffffff;
  --sombra: 0 14px 40px rgb(46 33 69 / .10);
  --radio: 26px;
  --f-titulo: 'Fredoka', 'Trebuchet MS', sans-serif;
  --f-texto: 'Nunito', 'Segoe UI', sans-serif;
  --f-mano: 'Caveat', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { background: var(--crema); color: var(--tinta); font-family: var(--f-texto); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titulo); font-weight: 700; line-height: 1.12; }
h2 { font-size: clamp(30px, 6vw, 44px); margin-bottom: 14px; }
h3 { font-size: 21px; }
.contenedor { width: min(1120px, 100% - 32px); margin-inline: auto; }
.angosto { width: min(760px, 100% - 32px); }
.centro { text-align: center; }
.nota { font-family: var(--f-mano); font-size: 28px; color: var(--rosa); line-height: 1; margin-bottom: 8px; }
.intro { color: var(--tinta-suave); max-width: 620px; margin: 0 auto 36px; }
.seccion { padding: 84px 0; }
:focus-visible { outline: 3px solid var(--lila); outline-offset: 3px; border-radius: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 99px;
  font-family: var(--f-titulo);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-chico { min-height: 44px; padding: 8px 20px; font-size: 15px; }
.btn-rosa { background: var(--rosa); color: #fff; box-shadow: 0 10px 24px rgb(255 92 138 / .35); }
.btn-rosa:hover { background: var(--rosa-oscuro); }
.btn-tinta { background: var(--tinta); color: var(--crema); }
.btn-contorno { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.btn-crema { background: var(--crema); color: var(--tinta); }

/* ---------- Cabecera ---------- */
.cabecera { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--crema) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid rgb(46 33 69 / .06); }
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { font-family: var(--f-titulo); font-weight: 500; text-decoration: none; font-size: 16px; }
.menu a:not(.btn):hover, .menu a[aria-current] { color: var(--rosa); }
.menu-boton { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--rosa-suave); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-boton span { width: 20px; height: 2.5px; border-radius: 2px; background: var(--tinta); }

@media (max-width: 860px) {
  .menu-boton { display: flex; }
  .menu {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    background: var(--blanco);
    border-radius: 22px;
    box-shadow: var(--sombra);
    display: none;
  }
  .menu.abierto { display: flex; }
  .menu a:not(.btn) { padding: 10px 12px; border-radius: 12px; }
  .menu a:not(.btn):hover { background: var(--crema); }
  .menu .btn { margin-top: 6px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, var(--rosa-suave), transparent 70%); z-index: -1; }
.hero::after { content: ''; position: absolute; left: -200px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, var(--lila-suave), transparent 70%); z-index: -1; }
.hero-fila { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 7.2vw, 64px); margin: 6px 0 20px; }
.resalte { color: var(--rosa); position: relative; white-space: nowrap; }
.resalte::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .2em; background: var(--amarillo); border-radius: 99px; z-index: -1; }
.hero-sub { font-size: 19px; color: var(--tinta-suave); max-width: 540px; }
.hero-botones { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.hero-precio { font-size: 15px; color: var(--tinta-suave); }
.hero-precio b { color: var(--tinta); font-family: var(--f-titulo); font-size: 18px; }

.hero-visual { position: relative; height: 560px; }
.celular {
  width: 100%;
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 40px;
  background: var(--tinta);
  box-shadow: 0 30px 60px rgb(46 33 69 / .25), inset 0 0 0 2px rgb(255 255 255 / .08);
  position: relative;
}
.celular::before { content: ''; position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 70px; height: 18px; border-radius: 99px; background: var(--tinta); z-index: 2; }
.celular-pantalla { width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: #000; }
.celular-pantalla img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-visual .celular { position: absolute; width: 250px; }
.celular-0 { left: 8%; top: 30px; rotate: -7deg; z-index: 2; }
.celular-1 { right: 4%; top: 70px; rotate: 6deg; }
.burbuja {
  position: absolute;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 18px;
  background: var(--blanco);
  box-shadow: var(--sombra);
  font-family: var(--f-titulo);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.b1 { left: -2%; bottom: 70px; rotate: -4deg; }
.b2 { right: 0; top: 18px; rotate: 5deg; background: var(--menta-suave); }
.confeti { position: absolute; border-radius: 99px; z-index: 1; }
.c1 { width: 16px; height: 16px; background: var(--amarillo); top: 6%; left: 46%; }
.c2 { width: 26px; height: 10px; background: var(--lila); top: 16%; right: 2%; rotate: 30deg; }
.c3 { width: 12px; height: 12px; background: var(--menta); bottom: 14%; right: 44%; }
.c4 { width: 22px; height: 9px; background: var(--rosa); bottom: 26%; left: 2%; rotate: -35deg; }
.c5 { width: 10px; height: 10px; background: var(--durazno); top: 44%; right: -1%; }
.c6 { width: 18px; height: 8px; background: var(--amarillo); bottom: 4%; left: 40%; rotate: 60deg; }

@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero-fila { grid-template-columns: 1fr; }
  .hero-visual { height: 470px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-visual .celular { width: 205px; }
  .celular-0 { left: 4%; }
  .celular-1 { right: 2%; }
}

/* ---------- Cinta de eventos ---------- */
main { overflow-x: clip; }
.cinta-eventos { background: var(--tinta); color: var(--crema); overflow: hidden; padding: 16px 0; rotate: -1.2deg; margin: 0 -10px; }
.cinta-pista { display: flex; gap: 44px; width: max-content; animation: deslizar 32s linear infinite; font-family: var(--f-titulo); font-weight: 600; font-size: 20px; }
.cinta-pista span { white-space: nowrap; }
@keyframes deslizar { to { translate: -50% 0; } }

/* ---------- Funciones ---------- */
.funciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 40px; }
.funcion { padding: 26px; border-radius: var(--radio); background: var(--blanco); box-shadow: 0 8px 26px rgb(46 33 69 / .06); }
.funcion-icono { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; font-size: 26px; background: var(--rosa-suave); margin-bottom: 14px; }
.funcion:nth-child(4n+2) .funcion-icono { background: var(--lila-suave); }
.funcion:nth-child(4n+3) .funcion-icono { background: var(--menta-suave); }
.funcion:nth-child(4n+4) .funcion-icono { background: #fff3d6; }
.funcion h3 { font-size: 19px; margin-bottom: 6px; }
.funcion p { color: var(--tinta-suave); font-size: 16px; }

/* ---------- Pasos ---------- */
.seccion-rosa { background: var(--rosa-suave); }
.pasos { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 40px; counter-reset: paso; }
.paso { position: relative; padding: 34px 28px 28px; border-radius: var(--radio); background: var(--blanco); box-shadow: var(--sombra); }
.paso-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--rosa); color: #fff; font-family: var(--f-titulo); font-weight: 700; font-size: 26px; margin-bottom: 16px; box-shadow: 0 8px 18px rgb(255 92 138 / .35); }
.paso:nth-child(2) .paso-num { background: var(--lila); box-shadow: 0 8px 18px rgb(167 139 250 / .4); }
.paso:nth-child(3) .paso-num { background: var(--menta); box-shadow: 0 8px 18px rgb(95 211 181 / .4); }
.paso h3 { margin-bottom: 8px; }
.paso p { color: var(--tinta-suave); }

/* ---------- Tarjetas del catálogo ---------- */
.tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 24px; margin-bottom: 40px; }
.tarjeta { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; padding: 22px; border-radius: 30px; background: var(--blanco); box-shadow: var(--sombra); }
.tarjeta[hidden] { display: none; }
.tarjeta-celular { display: block; transition: transform .3s ease; }
.tarjeta-celular:hover { transform: rotate(-3deg) scale(1.03); }
.tarjeta .celular { padding: 7px; border-radius: 28px; }
.tarjeta .celular::before { top: 13px; width: 46px; height: 12px; }
.tarjeta .celular-pantalla { border-radius: 22px; }
.chip { display: inline-block; padding: 4px 12px; border-radius: 99px; background: var(--rosa-suave); font-family: var(--f-titulo); font-weight: 600; font-size: 13px; }
.tarjeta h3 { font-size: 24px; margin: 10px 0 6px; }
.tarjeta p { color: var(--tinta-suave); font-size: 15px; }
.paletas { display: flex; align-items: center; gap: 8px; margin: 14px 0 16px; }
.paleta { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgb(46 33 69 / .12); }
.paletas small { color: var(--tinta-suave); margin-left: 4px; }
.tarjeta-botones { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 520px) {
  .tarjeta { grid-template-columns: 1fr; text-align: center; }
  .tarjeta-celular { width: 190px; margin: 0 auto; }
  .paletas, .tarjeta-botones { justify-content: center; }
}

/* ---------- Precios ---------- */
.seccion-tinta { background: var(--tinta); color: var(--crema); }
.seccion-tinta .nota { color: var(--amarillo); }
.precios { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 44px; align-items: stretch; }
.precio { position: relative; display: flex; flex-direction: column; padding: 34px 28px 28px; border-radius: 30px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .14); }
.precio.destacado { background: var(--crema); color: var(--tinta); border-color: transparent; box-shadow: 0 24px 60px rgb(0 0 0 / .3); }
.precio-etiqueta { position: absolute; top: -15px; left: 50%; translate: -50% 0; padding: 6px 16px; border-radius: 99px; background: var(--rosa); color: #fff; font-family: var(--f-titulo); font-weight: 600; font-size: 14px; white-space: nowrap; }
.precio h3 { font-size: 24px; }
.precio-monto { font-family: var(--f-titulo); font-weight: 700; font-size: 46px; line-height: 1.1; margin: 10px 0 18px; }
.precio-monto small { font-size: 22px; vertical-align: .55em; margin-right: 2px; }
.precio ul { list-style: none; margin-bottom: 26px; flex: 1; }
.precio li { position: relative; padding: 7px 0 7px 30px; border-bottom: 1px dashed rgb(255 255 255 / .16); }
.precio.destacado li { border-color: rgb(46 33 69 / .12); }
.precio li::before { content: '✓'; position: absolute; left: 0; top: 8px; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--menta); color: var(--tinta); }

/* ---------- Preguntas ---------- */
.preguntas { margin-top: 36px; display: grid; gap: 12px; }
.pregunta { border-radius: 20px; background: var(--blanco); box-shadow: 0 6px 20px rgb(46 33 69 / .05); }
.pregunta summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-family: var(--f-titulo); font-weight: 600; font-size: 18px; position: relative; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after { content: '+'; position: absolute; right: 20px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--rosa-suave); color: var(--rosa); font-size: 22px; transition: rotate .2s ease; }
.pregunta[open] summary::after { rotate: 45deg; }
.pregunta p { padding: 0 24px 22px; color: var(--tinta-suave); }

/* ---------- CTA final ---------- */
.cierre-cta { padding: 84px 0 96px; background: radial-gradient(circle at 50% 0, var(--rosa-suave), transparent 70%); }
.cierre-cta img { margin: 0 auto 18px; }
.cierre-cta h2 { margin-bottom: 10px; }
.cierre-cta p { color: var(--tinta-suave); margin-bottom: 26px; }

/* ---------- Catálogo ---------- */
.catalogo-cabeza { padding: 56px 0 8px; }
.catalogo-cabeza h1 { font-size: clamp(36px, 7vw, 56px); margin-bottom: 14px; }
.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.filtro { min-height: 44px; padding: 8px 20px; border-radius: 99px; border: 2px solid var(--tinta); background: transparent; color: var(--tinta); font-family: var(--f-titulo); font-weight: 600; font-size: 16px; cursor: pointer; }
.filtro[aria-pressed='true'] { background: var(--tinta); color: var(--crema); }
.seccion-catalogo { padding-top: 40px; }
.sin-resultados { text-align: center; padding: 30px; border-radius: var(--radio); background: var(--blanco); margin-bottom: 40px; }
.proximamente { margin-top: 30px; padding: 48px 24px; border-radius: 34px; background: var(--lila-suave); }
.proximos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; }
.proximo { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 18px; background: var(--blanco); font-family: var(--f-titulo); font-weight: 600; }
.proximo b { font-size: 22px; }

/* ---------- Pie ---------- */
.pie { background: var(--tinta); color: var(--crema); padding: 52px 0 28px; }
.pie-fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: flex-start; }
.pie-lema { margin-top: 10px; opacity: .8; }
.pie-enlaces { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.pie-enlaces a { text-decoration: none; font-family: var(--f-titulo); font-weight: 500; }
.pie-enlaces a:hover { color: var(--rosa); }
.pie-legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 14px; opacity: .6; }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 26px rgb(37 211 102 / .45); transition: transform .2s ease; }
.wa-flotante:hover { transform: scale(1.08); }
.wa-flotante svg { width: 32px; height: 32px; }

/* ---------- Animaciones (sitio.js agrega .anim) ---------- */
.anim .aparece { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s ease; }
.anim .aparece.visible { opacity: 1; translate: 0 0; }
.anim .celular-0 { animation: flotar 6s ease-in-out infinite; }
.anim .celular-1 { animation: flotar 6s ease-in-out infinite 1.5s; }
.anim .confeti { animation: flotar 4s ease-in-out infinite; }
.anim .c2, .anim .c5 { animation-delay: 1s; }
.anim .c3, .anim .c6 { animation-delay: 2s; }
@keyframes flotar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cinta-pista { animation: none; }
}
