/* =============================================================
   FIESTA PARTY RENTAL — Estilos
   Paleta y variables globales: cambia aquí y cambia todo el sitio
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --rosa: #ff2e88;
  --morado: #7b2ff7;
  --azul: #00bbf9;
  --amarillo: #ffd166;
  --verde: #00c48c;
  --naranja: #ff9f1c;

  --tinta: #1b1035;
  --tinta-suave: #55496e;
  --fondo: #fffdf9;
  --fondo-alt: #f6f1ff;
  --blanco: #ffffff;
  --borde: rgba(27, 16, 53, 0.10);

  --sombra-sm: 0 4px 14px rgba(27, 16, 53, 0.08);
  --sombra: 0 10px 30px rgba(27, 16, 53, 0.12);
  --sombra-lg: 0 24px 60px rgba(27, 16, 53, 0.18);

  --radio: 20px;
  --radio-lg: 32px;
  --max: 1200px;

  --fiesta: linear-gradient(120deg, var(--rosa), var(--morado) 45%, var(--azul));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--tinta);
  background: var(--fondo);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Baloo 2', 'Nunito', sans-serif; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
p  { margin: 0 0 1em; }
a  { color: inherit; }
img { max-width: 100%; display: block; }

.contenedor { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.centrado { text-align: center; }
.texto-degradado {
  background: var(--fiesta);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 800; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn-primario { background: var(--fiesta); color: #fff; box-shadow: 0 10px 24px rgba(255, 46, 136, .35); }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.btn-fantasma { background: rgba(255,255,255,.85); color: var(--tinta); box-shadow: var(--sombra-sm); }
.btn-borde { background: transparent; color: var(--tinta); border: 2px solid var(--borde); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }

/* ---------- Barra superior ---------- */
.barra-anuncio {
  background: var(--fiesta); color: #fff;
  font-weight: 700; font-size: .9rem; text-align: center;
  padding: .5rem 1rem;
}

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 249, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--borde);
}
.nav-inner { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 0; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-family: 'Baloo 2'; font-weight: 800; font-size: 1.25rem; }
.logo-mark {
  width: auto; height: 54px;
  display: block; border-radius: 0;
  background: none; box-shadow: none;
  animation: flotar 5s ease-in-out infinite;
}
.logo-mark-footer { height: 62px; }
.logo-texto { font-family: 'Baloo 2', 'Nunito', sans-serif; font-weight: 800; font-size: 1.25rem; white-space: nowrap; }
@media (max-width: 480px) { .logo-texto { font-size: 1.05rem; } }
@media (max-width: 600px) { .logo-mark { height: 44px; } }

/* Texto visible solo para lectores de pantalla y buscadores */
.solo-lectores {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.nav-links { display: flex; gap: .3rem; margin-left: auto; align-items: center; }
.nav-links a {
  text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: .5rem .8rem; border-radius: 999px; transition: background .18s;
}
.nav-links a:hover { background: var(--fondo-alt); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--blanco); padding: 1rem;
    box-shadow: var(--sombra); display: none;
  }
  .nav-links.abierto { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto -10%; height: 130%;
  background:
    radial-gradient(closest-side, rgba(255,46,136,.18), transparent) 12% 20%/45% 60% no-repeat,
    radial-gradient(closest-side, rgba(0,187,249,.18), transparent) 85% 15%/45% 60% no-repeat,
    radial-gradient(closest-side, rgba(255,209,102,.22), transparent) 60% 85%/50% 55% no-repeat;
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.pildora {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--blanco); box-shadow: var(--sombra-sm);
  border-radius: 999px; padding: .4rem 1rem;
  font-weight: 800; font-size: .85rem; letter-spacing: .02em;
  margin-bottom: 1.2rem;
}
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--tinta-suave); max-width: 52ch; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.5rem; }
.stat b { display: block; font-family: 'Baloo 2'; font-size: 1.9rem; line-height: 1; }
.stat span { font-size: .85rem; color: var(--tinta-suave); font-weight: 700; }

/* Collage del hero */
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.collage-item {
  border-radius: var(--radio-lg);
  aspect-ratio: 4 / 3;
  display: grid; place-items: center; font-size: 3rem;
  box-shadow: var(--sombra);
  background-color: var(--fondo-alt);
  background-size: cover; background-position: center;
  animation: flotar 6s ease-in-out infinite;
}
.collage-item:nth-child(2) { margin-top: 2rem; }
.collage-item:nth-child(3) { animation-delay: .6s; }
.collage-item:nth-child(4) { margin-top: -1rem; animation-delay: 1.2s; }

@keyframes flotar { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }

/* ---------- Secciones genéricas ---------- */
.seccion { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.seccion-alt { background: var(--fondo-alt); }
.encabezado { max-width: 62ch; margin-bottom: 2.5rem; }
.encabezado.centrado { margin-inline: auto; }
.kicker { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--rosa); margin-bottom: .4rem; }

/* ---------- Chips de filtro ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.chip {
  border: 2px solid var(--borde); background: var(--blanco);
  border-radius: 999px; padding: .55rem 1.15rem;
  font-weight: 800; font-size: .92rem; cursor: pointer;
  transition: all .18s ease; font-family: inherit; color: inherit;
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--sombra-sm); }
.chip.activo { background: var(--fiesta); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(255,46,136,.3); }

/* ---------- Grid de secciones ---------- */
.grupo-familia { margin-bottom: 3rem; }
.grupo-titulo { display: flex; align-items: center; gap: .6rem; font-family: 'Baloo 2'; font-size: 1.4rem; margin-bottom: 1.2rem; }
.grupo-titulo::after { content: ''; flex: 1; height: 2px; background: var(--borde); border-radius: 2px; }

.grid-secciones { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }

.tarjeta {
  position: relative; display: flex; flex-direction: column;
  background: var(--blanco); border-radius: var(--radio-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--sombra-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  border: 1px solid var(--borde);
}
.tarjeta:hover { transform: translateY(-8px); box-shadow: var(--sombra-lg); }
.tarjeta-media {
  height: 150px; display: grid; place-items: center; font-size: 3.2rem;
  background-size: cover; background-position: center; position: relative;
}
.tarjeta-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.15));
}
.tarjeta-cuerpo { padding: 1.2rem 1.3rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.tarjeta h3 { margin-bottom: .35rem; font-size: 1.22rem; }
.tarjeta p { font-size: .93rem; color: var(--tinta-suave); margin-bottom: 1rem; }
.tarjeta .flecha { margin-top: auto; font-weight: 800; font-size: .9rem; display: inline-flex; gap: .35rem; align-items: center; }
.tarjeta:hover .flecha { gap: .7rem; }
.tarjeta .flecha, .tarjeta:hover .flecha { transition: gap .2s ease; }

.etiquetas { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .9rem; }
.etiqueta {
  font-size: .72rem; font-weight: 800; padding: .2rem .6rem;
  border-radius: 999px; background: var(--fondo-alt); color: var(--tinta-suave);
}

/* ---------- Galería ---------- */
.grid-galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.foto {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radio);
  overflow: hidden; display: grid; place-items: center; font-size: 3rem;
  text-decoration: none; color: #fff; box-shadow: var(--sombra-sm);
  background-size: cover; background-position: center;
  transition: transform .22s ease;
}
.foto:hover { transform: scale(1.03) rotate(-1deg); }
img.foto { width: 100%; height: 100%; object-fit: cover; background: var(--fondo-alt); }
.foto span.pie {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2rem .9rem .8rem; font-size: .88rem; font-weight: 800;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}

/* ---------- Videos ---------- */
.grid-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.video-card {
  position: relative; aspect-ratio: 9/16; max-height: 460px;
  border-radius: var(--radio-lg); overflow: hidden;
  box-shadow: var(--sombra); text-decoration: none; color: #fff;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #2b1055, #7b2ff7);
  transition: transform .22s ease;
}
.video-card:hover { transform: translateY(-6px); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card .play {
  position: absolute; width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--morado);
  display: grid; place-items: center; font-size: 1.6rem;
  box-shadow: 0 10px 26px rgba(0,0,0,.3);
}
.video-card .pie {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem 1rem; font-weight: 800; font-size: .95rem;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.video-emoji { position: absolute; top: 1rem; left: 1rem; font-size: 2rem; }

/* Reels incrustados de Facebook e Instagram */
.video-embed {
  margin: 0; background: #000;
  display: flex; flex-direction: column;
  aspect-ratio: auto; max-height: none;
}
.video-embed iframe {
  width: 100%; aspect-ratio: 9 / 16; max-height: 560px;
  border: 0; display: block; background: #000;
}
.video-embed figcaption {
  padding: .8rem 1rem 1rem; font-weight: 800; font-size: .95rem;
  background: var(--tinta); color: #fff;
}
.video-embed figcaption a {
  display: block; margin-top: .2rem;
  font-weight: 700; font-size: .82rem;
  color: rgba(255,255,255,.75); text-decoration: none;
}
.video-embed figcaption a:hover { color: #fff; }
.video-embed:hover { transform: none; }

/* ---------- Pasos ---------- */
.grid-pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.paso { background: var(--blanco); border-radius: var(--radio-lg); padding: 1.6rem; box-shadow: var(--sombra-sm); border: 1px solid var(--borde); }
.paso-num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-family: 'Baloo 2'; font-size: 1.3rem; color: #fff; margin-bottom: .9rem;
  background: var(--fiesta);
}
.paso h3 { font-size: 1.1rem; }
.paso p { font-size: .93rem; color: var(--tinta-suave); margin: 0; }

/* ---------- Lista de items (página de sección) ---------- */
.grid-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.item {
  background: var(--blanco); border: 1px solid var(--borde);
  border-radius: var(--radio); padding: 1rem 1.1rem;
  box-shadow: var(--sombra-sm); transition: transform .18s ease;
}
.item:hover { transform: translateY(-4px); }
.item b { display: block; font-size: 1rem; }
.item span { font-size: .87rem; color: var(--tinta-suave); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  background: var(--blanco); border: 1px solid var(--borde);
  border-radius: var(--radio); padding: 1rem 1.3rem; margin-bottom: .8rem;
  box-shadow: var(--sombra-sm);
}
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: 'Baloo 2'; font-size: 1.5rem; line-height: 1; color: var(--rosa); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: .8rem 0 0; color: var(--tinta-suave); font-size: .96rem; }

/* ---------- CTA final ---------- */
.cta {
  background: var(--fiesta); color: #fff; border-radius: var(--radio-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem); text-align: center;
  box-shadow: var(--sombra-lg); position: relative; overflow: hidden;
}
.cta::before {
  content: '🎉🎈🎂🎊🪅'; position: absolute; inset: 0;
  font-size: 5rem; opacity: .12; letter-spacing: 2rem; line-height: 3;
  pointer-events: none;
}
.cta h2 { color: #fff; position: relative; }
.cta p { position: relative; max-width: 55ch; margin-inline: auto; opacity: .95; }
.cta .btn { position: relative; }

/* ---------- Formulario de cotización ---------- */
.form-cotiza {
  background: var(--blanco); border-radius: var(--radio-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--sombra);
  border: 1px solid var(--borde);
}
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .campos { grid-template-columns: 1fr; } }
.campo { display: flex; flex-direction: column; gap: .35rem; }
.campo.ancho { grid-column: 1 / -1; }
.campo label { font-weight: 800; font-size: .88rem; }
.campo input, .campo select, .campo textarea {
  font-family: inherit; font-size: 1rem; padding: .75rem .95rem;
  border: 2px solid var(--borde); border-radius: 14px; background: var(--fondo);
  color: inherit;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--rosa); }
.campo textarea { resize: vertical; min-height: 100px; }
.form-nota { font-size: .85rem; color: var(--tinta-suave); margin-top: 1rem; }

/* ---------- Encabezado de página de sección ---------- */
.hero-seccion { padding: 3rem 0 2.5rem; color: #fff; position: relative; }
.hero-seccion.con-foto {
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  background-repeat: no-repeat;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.hero-seccion.con-foto h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); }
.hero-seccion.con-foto p { font-size: clamp(1.05rem, 2vw, 1.2rem); }
.hero-seccion.con-foto .btn { text-shadow: none; }
.hero-seccion .migas { font-size: .9rem; font-weight: 700; opacity: .9; margin-bottom: 1rem; }
.hero-seccion .migas a { text-decoration: none; }
.hero-seccion h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: .4rem; }
.hero-seccion p { max-width: 60ch; opacity: .95; font-size: 1.05rem; }
.hero-seccion .emoji-grande { font-size: 3.5rem; line-height: 1; margin-bottom: .5rem; display: block; }

/* Navegación entre secciones */
.nav-secciones { display: flex; gap: .5rem; overflow-x: auto; padding: 1rem 0; scrollbar-width: thin; }
.nav-secciones a {
  flex: 0 0 auto; text-decoration: none; font-weight: 800; font-size: .88rem;
  padding: .5rem 1rem; border-radius: 999px; background: var(--blanco);
  border: 1px solid var(--borde); white-space: nowrap;
}
.nav-secciones a.activo { background: var(--fiesta); color: #fff; border-color: transparent; }

/* ---------- Mapa del sitio (índice de secciones) ---------- */
.mapa-sitio { background: var(--fondo-alt); }

.mapa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 1rem;
  align-items: start;
}

.mapa-grupo {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio-lg);
  padding: 1.3rem 1.3rem 1rem;
  box-shadow: var(--sombra-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mapa-grupo:hover { transform: translateY(-4px); box-shadow: var(--sombra); }

.mapa-grupo h3 {
  display: flex; align-items: center; gap: .5rem;
  font-size: .98rem; line-height: 1.25; margin: 0 0 .9rem;
  padding-bottom: .7rem;
  border-bottom: 2px solid var(--borde);
}
.mapa-grupo h3 .emoji { font-size: 1.35rem; line-height: 1; }

.mapa-grupo ul { list-style: none; margin: 0; padding: 0; }
.mapa-grupo li + li { margin-top: .15rem; }
.mapa-grupo a {
  display: flex; align-items: center; gap: .55rem;
  text-decoration: none; font-weight: 700; font-size: .93rem;
  padding: .42rem .55rem; margin-inline: -.55rem;
  border-radius: 12px;
  color: var(--tinta-suave);
  transition: background .16s ease, color .16s ease, padding-left .16s ease;
}
.mapa-grupo a .emoji { font-size: 1.05rem; }
.mapa-grupo a:hover {
  background: var(--fondo-alt);
  color: var(--tinta);
  padding-left: .9rem;
}
.mapa-grupo a::after {
  content: '→'; margin-left: auto; opacity: 0;
  transition: opacity .16s ease; color: var(--rosa);
}
.mapa-grupo a:hover::after { opacity: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--tinta); color: #fff; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 1.05rem; margin-bottom: .8rem; }
.footer a { color: rgba(255,255,255,.8); text-decoration: none; display: block; padding: .22rem 0; font-size: .95rem; }
.footer a:hover { color: #fff; }
.footer .fine { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; color: rgba(255,255,255,.6); }
.redes { display: flex; gap: .6rem; margin-top: 1rem; }
.redes a {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .10);
  color: #fff;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}
.redes a svg { width: 21px; height: 21px; display: block; }
.redes a:hover { transform: translateY(-3px); }
/* Colores oficiales de cada red al pasar el mouse */
.redes .red-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.redes .red-fb:hover { background: #1877F2; }
.redes .red-wa:hover { background: #25D366; }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37,211,102,.45);
  animation: latido 2.6s ease-in-out infinite;
}
.wa-flotante svg { width: 32px; height: 32px; display: block; }
@keyframes latido { 0%,100% { transform: scale(1) } 50% { transform: scale(1.08) } }

/* ---------- Utilidades de animación ---------- */
.aparece { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.aparece.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .aparece { opacity: 1; transform: none; }
}
