/* =========================================================
   Bloom Kids Café — estilos
   Colores de marca: COLORES.txt + azul del logo
   ========================================================= */

/* Fuentes alojadas en el propio servidor (variables: un archivo cubre todos los grosores) */
@font-face {
  font-family: "Fredoka"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/fredoka-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("assets/fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --amarillo: #f4b71a;
  --verde: #c2b630;
  --rojo: #d96165;
  --turquesa: #58c2b1;
  --navy: #0e2f48;
  --rosa: #f6c3d9;

  /* tonos pastel derivados */
  --amarillo-50: #fdf3d4;
  --verde-50: #f3f1d6;
  --rojo-50: #fbe4e3;
  --turquesa-50: #e2f5f1;
  --crema: #fffaf2;
  --blanco: #ffffff;

  --texto: #0e2f48;
  --texto-suave: #4a6274;
  --rojo-oscuro: #c24d52;

  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 18px 40px -18px rgba(14, 47, 72, .28);
  --shadow-sm: 0 8px 20px -10px rgba(14, 47, 72, .25);

  --font-title: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.6em;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }
.btn svg { width: 1.3em; height: 1.3em; fill: currentColor; }
.btn--primary { --bg: var(--rojo); }
.btn--primary:hover { --bg: var(--rojo-oscuro); }
.btn--secondary { --bg: var(--turquesa); --fg: var(--navy); }
.btn--light { --bg: #fff; --fg: var(--rojo-oscuro); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { --bg: var(--navy); --fg: #fff; }
.btn--outline { --bg: #fff; --fg: var(--navy); border-color: var(--navy); }
.btn--outline:hover { --bg: var(--navy); --fg: #fff; }
.btn--sm { padding: .65em 1.2em; font-size: .95rem; }
.btn--xl {
  padding: 1.05em 2.1em; font-size: 1.25rem; font-family: var(--font-title); font-weight: 600;
  box-shadow: 0 10px 0 -2px rgba(14, 47, 72, .18);
}
.btn--xl:hover { box-shadow: 0 14px 0 -2px rgba(14, 47, 72, .18); }
.btn--block { width: 100%; }
.btn.is-disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.3); transform: none; box-shadow: none; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .28);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.is-scrolled { background: rgba(255, 250, 242, .9); box-shadow: 0 6px 24px -14px rgba(14, 47, 72, .35); }
.nav__inner {
  width: min(1180px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 76px;
}
.nav__logo img { height: 50px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: .5em .85em; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: .98rem;
  transition: background .2s;
}
.nav__links a:hover { background: var(--turquesa-50); }
.nav__links .btn { margin-left: 8px; }
.nav__toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 14px;
  background: var(--turquesa-50); cursor: pointer; padding: 12px 11px;
  flex-direction: column; justify-content: space-between;
}
.nav__toggle span { display: block; height: 3px; border-radius: 3px; background: var(--navy); transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px;
    background: var(--crema); box-shadow: 0 20px 30px -20px rgba(14, 47, 72, .35);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all .25s ease;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: .8em 1em; font-size: 1.1rem; }
  .nav__links .btn { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  /* el color sube por detrás del menú (que arriba es transparente) */
  margin-top: -76px;
  background: linear-gradient(155deg, #a3e0d4 0%, #d3f1ea 32%, #fdedbd 66%, #f8c9d1 100%);
  padding: calc(76px + clamp(40px, 7vw, 90px)) 0 clamp(90px, 10vw, 140px);
}
/* confeti suelto en los bordes (no pasa por detrás del texto) */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .85;
  background:
    radial-gradient(circle, var(--rojo) 0 6px, transparent 7px) 3% 22% / 16px 16px no-repeat,
    radial-gradient(circle, var(--amarillo) 0 8px, transparent 9px) 1.5% 58% / 20px 20px no-repeat,
    radial-gradient(circle, var(--navy) 0 4px, transparent 5px) 4% 84% / 12px 12px no-repeat,
    radial-gradient(circle, var(--turquesa) 0 7px, transparent 8px) 49% 16% / 18px 18px no-repeat,
    radial-gradient(circle, var(--rojo) 0 5px, transparent 6px) 51% 90% / 14px 14px no-repeat,
    radial-gradient(circle, #fff 0 6px, transparent 7px) 97% 12% / 16px 16px no-repeat,
    radial-gradient(circle, var(--amarillo) 0 5px, transparent 6px) 98.5% 48% / 14px 14px no-repeat,
    radial-gradient(circle, var(--rojo) 0 7px, transparent 8px) 96% 80% / 18px 18px no-repeat,
    radial-gradient(circle, #fff 0 5px, transparent 6px) 30% 95% / 14px 14px no-repeat,
    radial-gradient(circle, var(--turquesa) 0 6px, transparent 7px) 72% 96% / 16px 16px no-repeat;
}
/* pantallas medianas y celular: los bordes son angostos, el confeti va solo abajo, sobre la onda */
@media (max-width: 1240px) {
  .hero::before {
    background:
      radial-gradient(circle, var(--rojo) 0 6px, transparent 7px) left 5% bottom 78px / 16px 16px no-repeat,
      radial-gradient(circle, var(--amarillo) 0 8px, transparent 9px) left 18% bottom 96px / 20px 20px no-repeat,
      radial-gradient(circle, #fff 0 5px, transparent 6px) left 34% bottom 74px / 14px 14px no-repeat,
      radial-gradient(circle, var(--turquesa) 0 7px, transparent 8px) left 52% bottom 100px / 18px 18px no-repeat,
      radial-gradient(circle, var(--navy) 0 4px, transparent 5px) left 66% bottom 80px / 12px 12px no-repeat,
      radial-gradient(circle, var(--rojo) 0 6px, transparent 7px) left 82% bottom 96px / 16px 16px no-repeat,
      radial-gradient(circle, var(--amarillo) 0 5px, transparent 6px) left 95% bottom 76px / 14px 14px no-repeat;
  }
}
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .6; pointer-events: none; }
.blob--1 { width: 360px; height: 360px; background: #fbd977; opacity: .5; top: -110px; left: -110px; }
.blob--2 { width: 240px; height: 240px; background: var(--rosa); opacity: .7; bottom: 30px; left: 38%; }
.blob--3 { width: 440px; height: 440px; background: #7fd2c3; opacity: .45; right: -170px; top: 18%; }
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 70px); align-items: center;
}
[hidden] { display: none !important; }
.u-squiggle { position: relative; color: var(--rojo); white-space: nowrap; }
/* onda continua: cada tile es una onda completa y "round" evita tiles cortados */
.u-squiggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.14em; height: .28em;
  background: var(--squiggle, var(--amarillo));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6Q10 0 20 6T40 6' fill='none' stroke='%23000' stroke-width='3.5'/%3E%3C/svg%3E") round 0 0 / auto 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6Q10 0 20 6T40 6' fill='none' stroke='%23000' stroke-width='3.5'/%3E%3C/svg%3E") round 0 0 / auto 100%;
}
.hero__kicker {
  display: block; width: fit-content; margin-bottom: .8em; padding: .45em 1em;
  border-radius: 999px; background: rgba(255, 255, 255, .78); box-shadow: var(--shadow-sm);
  font-family: var(--font-body); font-size: clamp(.8rem, 1.5vw, .95rem); font-weight: 800; line-height: 1.3;
  letter-spacing: .06em; text-transform: uppercase; color: #1d7464;
}
.hero__lead { font-size: 1.2rem; color: #344d61; max-width: 34em; }
.hero__lead strong { color: var(--navy); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8em; }

.hero__visual { position: relative; aspect-ratio: 1 / .95; }
.hero__photo { position: absolute; overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { inset: 6% 0 10% 14%; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.hero__photo--small { width: 40%; aspect-ratio: 1; left: 0; bottom: 0; border-radius: 50%; border-color: var(--amarillo); }
.hero__globo { position: absolute; width: 26%; right: -2%; top: -6%; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 18px 18px rgba(14,47,72,.18)); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-18px) rotate(3deg); } }

/* ---------- Temporadas (eventos especiales en el inicio) ----------
   Acá solo va el estilo común. Los colores de cada evento están en eventos/ID.css
   y el servidor los entrega únicamente en fecha (ver .htaccess). */
.hero__tag {
  display: inline-block; margin-bottom: 1.1em; padding: .5em 1.15em; border-radius: 999px;
  background: var(--event); color: var(--event-fg); font-weight: 800; font-size: .95rem;
  box-shadow: var(--shadow-sm); animation: pop 2.6s ease-in-out infinite;
}
.btn--event { --bg: var(--event); --fg: var(--event-fg); }
.btn--event:hover { filter: brightness(1.06); }
.hero--evento .hero__ctas { flex-direction: column; align-items: flex-start; }
.hero--evento #heroReservar { font-size: 1.05rem; padding: .9em 1.7em; }
.hero__deco { position: absolute; inset: 0; pointer-events: none; }
.hero__deco span {
  position: absolute; font-size: clamp(1.6rem, 3vw, 2.6rem); opacity: .55;
  left: calc(3% + var(--i) * 16%); top: var(--y);
  animation: float calc(5s + var(--i) * .7s) ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s);
}
@media (max-width: 860px) {
  .hero--evento .hero__ctas { align-items: stretch; }
  .hero__deco span { opacity: .35; }
}

/* ---------- Página 404 ---------- */
.notfound {
  margin-top: 0; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; padding: 40px 0 60px; text-align: center;
}
.notfound__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.notfound__logo img { height: 52px; width: auto; margin-bottom: clamp(20px, 4vw, 36px); }
.notfound__num {
  display: flex; align-items: center; justify-content: center; gap: .05em;
  font: 700 clamp(6rem, 20vw, 11rem)/1 var(--font-title); color: var(--rojo);
  text-shadow: 0 8px 0 rgba(14, 47, 72, .12);
}
.notfound__num span:last-child { color: var(--turquesa); }
.notfound__num img {
  width: .62em; height: auto; margin-top: -.12em;
  animation: float 6s ease-in-out infinite; filter: drop-shadow(0 14px 14px rgba(14,47,72,.18));
}
.notfound h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-top: .35em; }
.notfound .hero__lead { margin-inline: auto; }
.notfound__ctas { justify-content: center; }
@media (max-width: 860px) { .notfound__ctas { flex-direction: column; width: 100%; max-width: 360px; } }

.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; fill: var(--crema); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero__text { text-align: center; }
  .hero__kicker { margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas, .hero__badges { justify-content: center; }
  .btn--xl { width: 100%; }
}

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(70px, 9vw, 120px) 0; }
.section--crema { background: #fff; }
.section--amarillo { background: var(--amarillo-50); overflow: hidden; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section__head p { color: var(--texto-suave); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; margin-bottom: .9em; padding: .35em 1em; border-radius: 999px;
  font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow--turquesa { background: var(--turquesa-50); color: #1f7d6e; }
.eyebrow--rojo { background: var(--rojo-50); color: #b2464b; }
.eyebrow--verde { background: var(--verde-50); color: #6f6812; }
.eyebrow--navy { background: #fff; color: var(--navy); }

/* ---------- Cards juegos ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  --c: var(--turquesa); --c50: var(--turquesa-50);
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
  border-bottom: 6px solid var(--c);
}
.card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.card--amarillo { --c: var(--amarillo); --c50: var(--amarillo-50); }
.card--rojo { --c: var(--rojo); --c50: var(--rojo-50); }
.card__img { aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--c50); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 24px 26px 26px; }
.card__body h3 { display: flex; align-items: center; gap: .4em; }
.card__body h3::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: none; }
.card__body p { color: var(--texto-suave); margin: 0; }

.gallery {
  margin-top: 28px; display: grid; gap: 18px;
  grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 220px 220px;
}
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.g1 { grid-row: span 2; }
.g4 { grid-column: span 2; }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .card__img { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; }
  .g1 { grid-row: auto; grid-column: span 2; }
  .g4 { grid-column: span 2; }
}

/* Celular: las tarjetas pasan a carrusel deslizable */
@media (max-width: 760px) {
  .cards {
    display: flex; gap: 14px; max-width: none;
    margin-inline: -16px; padding: 6px 16px 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 82%; scroll-snap-align: start; }
  .js .cards .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
  .card__img { aspect-ratio: 4 / 3; }
  .card__body { padding: 18px 20px 20px; }
  .cards-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
  .cards-dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(14, 47, 72, .2); transition: width .3s, background .3s; }
  .cards-dots span.is-on { width: 22px; background: var(--turquesa); }
}
@media (min-width: 761px) { .cards-dots { display: none; } }

/* ---------- Split (cafetería / nosotros) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--reverse .split__visual { order: 2; }
.split__text p { color: var(--texto-suave); font-size: 1.1rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: .55em; }
.checks li { position: relative; padding-left: 2em; font-weight: 600; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: .15em;
  display: grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: 50%;
  background: var(--turquesa); color: #fff; font-size: .8em; font-weight: 800;
}

.cup { position: relative; aspect-ratio: 1; max-width: 440px; margin-inline: auto; display: grid; place-items: center; }
.cup__circle {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 26% 24%, rgba(255,255,255,.7) 0 12%, transparent 13%), var(--rojo-50);
  box-shadow: inset 0 0 0 14px #fff, var(--shadow);
}
.cup__art { position: relative; width: 62%; overflow: visible; }
.cup__steam path { animation: steam 2.4s ease-in-out infinite; }
.cup__steam path:nth-child(2) { animation-delay: -.8s; }
.cup__steam path:nth-child(3) { animation-delay: -1.6s; }
@keyframes steam { 0%, 100% { opacity: .2; transform: translateY(6px); } 50% { opacity: 1; transform: translateY(-4px); } }
.floaty {
  position: absolute; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm); font-size: 2.4rem; animation: float 5s ease-in-out infinite;
}
.floaty--1 { top: 4%; right: 6%; background: var(--amarillo-50); }
.floaty--2 { bottom: 10%; left: 0; background: var(--turquesa-50); animation-delay: -1.8s; }
.floaty--3 { bottom: 0; right: 14%; background: var(--verde-50); animation-delay: -3.2s; }

.bubble-photo {
  position: relative; max-width: 420px; margin-inline: auto; aspect-ratio: 1;
}
.bubble-photo::before, .bubble-photo::after { content: ""; position: absolute; border-radius: 50%; }
.bubble-photo::before { inset: -4% -4% 4% 4%; background: var(--turquesa); }
.bubble-photo::after { width: 22%; height: 22%; background: var(--amarillo); left: -4%; bottom: 2%; }
.bubble-photo img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 10px solid #fff; box-shadow: var(--shadow);
  transform: scale(1); object-position: center; clip-path: circle(46% at 50% 50%);
}

.stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }
.stats div { flex: 1 1 120px; padding: 16px; border-radius: var(--radius-sm); background: var(--verde-50); text-align: center; }
.stats div:nth-child(2) { background: var(--rojo-50); }
.stats div:nth-child(3) { background: var(--turquesa-50); }
.stats strong { display: block; font-family: var(--font-title); font-size: 1.8rem; font-weight: 600; line-height: 1.1; }
.stats span { font-size: .9rem; font-weight: 700; color: var(--texto-suave); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__visual { order: 0; }
  .split__text { text-align: center; }
  .checks { justify-content: center; text-align: left; }
  .cup, .bubble-photo { max-width: 320px; }
}
@media (max-width: 760px) {
  .split { gap: 28px; }
  .cup { max-width: 230px; }
  .floaty { width: 58px; height: 58px; font-size: 1.7rem; }
  .bubble-photo { max-width: 240px; }
  .bubble-photo img { border-width: 7px; }
  .stats { flex-wrap: nowrap; gap: 8px; }
  .stats div { flex: 1 1 0; min-width: 0; padding: 12px 6px; }
  .stats strong { font-size: 1.3rem; }
  .stats span { font-size: .75rem; line-height: 1.25; display: block; margin-top: 2px; }
}

/* ---------- Cumples ---------- */
.confetti {
  position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(circle, var(--rojo) 0 5px, transparent 6px),
    radial-gradient(circle, var(--turquesa) 0 6px, transparent 7px),
    radial-gradient(circle, var(--verde) 0 4px, transparent 5px),
    radial-gradient(circle, #fff 0 7px, transparent 8px);
  background-size: 220px 200px, 300px 260px, 180px 240px, 260px 300px;
  background-position: 20px 40px, 140px 120px, 90px 10px, 200px 180px;
}
/* zona despejada detrás del título: el confeti no tapa el texto */
#cumples .section__head { position: relative; isolation: isolate; }
#cumples .section__head::before {
  content: ""; position: absolute; inset: -18px -28px; z-index: -1;
  background: var(--amarillo-50); border-radius: 40px; filter: blur(14px);
}
.plans { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 28px; justify-content: center; align-items: start; }
.plan {
  position: relative; background: #fff; border-radius: var(--radius); padding: 38px 34px 34px;
  box-shadow: var(--shadow-sm);
}
.plan--featured { box-shadow: var(--shadow), 0 0 0 4px var(--rojo); transform: translateY(-10px); }
.plan__tag {
  position: absolute; top: -16px; left: 34px; padding: .4em 1em; border-radius: 999px;
  background: var(--turquesa); color: var(--navy); font-weight: 800; font-size: .85rem;
}
.plan--featured .plan__tag { background: var(--rojo); color: #fff; }
.plan h3 { font-size: 2.1rem; margin-bottom: .1em; }
.plan__sub { color: var(--texto-suave); font-weight: 700; }
.plan .checks li::before { background: var(--verde); }
.plan--featured .checks li::before { background: var(--rojo); }
.plan__note { font-size: .92rem; color: var(--texto-suave); font-style: italic; margin-top: -.6em; }
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
}

/* ---------- Medias ---------- */
.medias { background: var(--turquesa); color: var(--navy); padding: 48px 0; position: relative; overflow: hidden; }
.medias__inner { display: flex; align-items: center; justify-content: center; gap: 32px; }
.medias img { width: 110px; flex: none; animation: wiggle 3s ease-in-out infinite; transform-origin: top center; }
.medias h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .3em; }
.medias p { margin: 0; font-weight: 600; max-width: 36em; }
@keyframes wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@media (max-width: 640px) {
  .medias__inner { flex-direction: column; text-align: center; gap: 16px; }
  .medias img { width: 84px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details {
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  border-left: 6px solid var(--turquesa); overflow: hidden;
}
.faq details:nth-child(3n+2) { border-left-color: var(--amarillo); }
.faq details:nth-child(3n) { border-left-color: var(--rojo); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-family: var(--font-title); font-weight: 500; font-size: 1.18rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--turquesa-50); font-size: 1.4rem; font-weight: 600; transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--amarillo); outline-offset: -3px; }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--texto-suave); }

/* ---------- CTA ---------- */
.cta {
  background: var(--rojo); color: #fff; text-align: center; padding: clamp(60px, 8vw, 96px) 0;
  position: relative; overflow: hidden;
}
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta::before { width: 300px; height: 300px; left: -80px; top: -120px; }
.cta::after { width: 200px; height: 200px; right: -40px; bottom: -80px; background: rgba(244,183,26,.35); }
.cta__inner { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.cta p { font-size: 1.2rem; margin-bottom: 1.6em; }
.cta .btn--xl { width: auto; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.info-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.info-list li { display: flex; align-items: center; gap: 16px; line-height: 1.4; }
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.4rem; flex: none; }
.ic--rojo { background: var(--rojo-50); }
.ic--verde { background: var(--verde-50); }
.ic--turquesa { background: var(--turquesa-50); }
.hours { background: var(--amarillo-50); border-radius: var(--radius-sm); padding: 22px 24px; }
.hours h3 { font-size: 1.25rem; }
.hours dl { margin: 0; display: grid; gap: 8px; }
.hours dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px dashed rgba(14,47,72,.12); padding-bottom: 8px; }
.hours dl div:last-child { border: 0; padding: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-weight: 800; white-space: nowrap; }
.contact__map { position: relative; background: var(--turquesa-50); min-height: 380px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map-btn { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); white-space: nowrap; box-shadow: var(--shadow-sm); }
.map-btn:hover { transform: translateX(-50%) translateY(-2px); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Redes ---------- */
.social {
  position: relative; overflow: hidden; padding: clamp(56px, 7vw, 84px) 0;
  background: linear-gradient(120deg, var(--rojo-50) 0%, var(--amarillo-50) 55%, var(--turquesa-50) 100%);
}
.social::before, .social::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.social::before { width: 260px; height: 260px; left: -90px; bottom: -130px; background: rgba(88, 194, 177, .25); }
.social::after { width: 180px; height: 180px; right: 6%; top: -90px; background: rgba(244, 183, 26, .25); }
.social__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.social__text { flex: 1 1 320px; }
.social__text h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .3em; }
.social__text p { margin: 0; color: var(--texto-suave); font-size: 1.1rem; }
.social__cards { display: flex; gap: 18px; flex-wrap: wrap; flex: 1 1 420px; justify-content: flex-end; }
.social-card {
  flex: 1 1 200px; max-width: 280px; display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 22px; background: #fff; text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.social-card:nth-child(1) { transform: rotate(-2deg); }
.social-card:nth-child(2) { transform: rotate(2deg); }
.social-card:hover { transform: translateY(-4px) rotate(0); box-shadow: var(--shadow); }
.social-card:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }
.social-card__icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 16px; }
.social-card__icon svg { width: 28px; height: 28px; fill: #fff; }
.social-card--ig .social-card__icon { background: linear-gradient(45deg, #f9b233 0%, #e8467c 50%, #8a49c9 100%); }
.social-card--tt .social-card__icon { background: #111; }
.social-card--tt .social-card__icon svg { filter: drop-shadow(-1.5px -1px 0 #25f4ee) drop-shadow(1.5px 1px 0 #fe2c55); }
.social-card__txt { display: grid; line-height: 1.25; }
.social-card__txt strong { font-family: var(--font-title); font-weight: 600; font-size: 1.15rem; }
.social-card__txt span { font-size: .92rem; color: var(--texto-suave); font-weight: 700; }
.social-card__go {
  margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--turquesa-50); font-weight: 800; transition: background .2s, color .2s;
}
.social-card:hover .social-card__go { background: var(--navy); color: #fff; }
@media (max-width: 760px) {
  .social__text { text-align: center; }
  .social__cards { justify-content: center; }
  .social-card { max-width: none; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; padding: 56px 0 100px; text-align: center; }
.footer__inner { display: grid; justify-items: center; gap: 22px; }
.footer__logo { width: 190px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer__links a { text-decoration: none; font-weight: 700; opacity: .85; }
.footer__links a:hover { opacity: 1; color: var(--amarillo); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.1); transition: background .2s;
}
.footer__social a:hover { background: var(--turquesa); }
.footer__social svg { width: 22px; height: 22px; fill: #fff; }
.footer__legal {
  width: min(720px, 100%); margin-top: 10px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .85rem; line-height: 1.6; opacity: .8;
}
.footer__legal p { margin: 0 0 .4em; }
.footer__legal a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer__legal a:hover { color: var(--amarillo); }
.footer__copy { margin: 0; opacity: .6; font-size: .9rem; }
.modal__nota { margin: 0; font-size: .85rem; color: var(--texto-suave); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 999px; background: #25d366; color: #fff;
  text-decoration: none; font-weight: 800;
  box-shadow: 0 12px 26px -8px rgba(37, 211, 102, .7);
  transition: transform .2s ease, padding .3s ease;
  animation: pop 2.6s ease-in-out infinite;
}
.wa-float svg { width: 34px; height: 34px; fill: #fff; flex: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s ease; }
.wa-float:hover { padding-right: 20px; animation: none; }
.wa-float:hover .wa-float__label { max-width: 120px; }
@keyframes pop { 0%, 85%, 100% { transform: scale(1); } 92% { transform: scale(1.1); } }

/* ---------- Barra de reserva (solo celular) ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; gap: 10px; align-items: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 250, 242, .94); backdrop-filter: blur(8px);
    box-shadow: 0 -8px 24px -12px rgba(14, 47, 72, .35);
    transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.9,.3,1.1);
  }
  .mbar.is-visible { transform: none; }
  .mbar__btn { flex: 1; justify-content: center; padding: .8em 1em; font-size: 1.05rem; }
  .mbar__wa {
    flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
    background: #25d366; box-shadow: 0 8px 18px -8px rgba(37, 211, 102, .8);
  }
  .mbar__wa svg { width: 28px; height: 28px; fill: #fff; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(14, 47, 72, .55); backdrop-filter: blur(4px); animation: fade .25s ease; }
.modal__box {
  position: relative; width: min(600px, 100%); max-height: calc(100dvh - 32px);
  display: flex; flex-direction: column;
  background: var(--crema); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); animation: rise .35s cubic-bezier(.2,.9,.3,1.2);
}
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 5; width: 46px; height: 46px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: #fff; color: var(--navy); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background .2s, color .2s;
}
.modal__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 3; stroke-linecap: round; pointer-events: none; }
.modal__close:hover { background: var(--rojo); color: #fff; }
.modal__close:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 2px; }
.modal__head { padding: 28px 28px 18px; text-align: center; background: var(--turquesa-50); }
.modal__head h2 { font-size: 1.9rem; margin-bottom: .15em; }
.modal__head p { margin: 0; color: var(--texto-suave); font-weight: 600; }
.modal__icon { font-size: 2.6rem; display: block; animation: float 4s ease-in-out infinite; }
.modal__body { overflow-y: auto; padding: 18px 28px; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rules li { display: flex; gap: 14px; align-items: flex-start; font-size: .98rem; line-height: 1.5; }
.rules li > span { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.rules li:last-child { font-size: .88rem; color: var(--texto-suave); }
.modal__foot { padding: 18px 28px 26px; border-top: 2px dashed rgba(14,47,72,.1); background: #fff; display: grid; gap: 16px; }
.check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  width: 28px; height: 28px; flex: none; border-radius: 9px; border: 2.5px solid var(--navy);
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.check input:checked + .check__box { background: var(--turquesa); border-color: var(--turquesa); }
.check input:checked + .check__box::after { content: "✓"; color: var(--navy); font-weight: 900; }
.check input:focus-visible + .check__box { outline: 3px solid var(--amarillo); outline-offset: 2px; }
.check.shake { animation: shake .4s ease; }
/* ---------- Pop up "¡Estrenamos página nueva!" ---------- */
.novedad {
  position: relative; width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow: auto;
  background: var(--crema); border-radius: var(--radius); text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); animation: rise .45s cubic-bezier(.2,.9,.3,1.2);
}
.novedad__top {
  position: relative; overflow: hidden; padding: 34px 24px 54px;
  background: linear-gradient(155deg, #a3e0d4 0%, #d3f1ea 35%, #fdedbd 70%, #f8c9d1 100%);
}
/* confeti */
.novedad__top::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle, var(--rojo) 0 6px, transparent 7px) 8% 22% / 16px 16px no-repeat,
    radial-gradient(circle, var(--amarillo) 0 8px, transparent 9px) 16% 72% / 20px 20px no-repeat,
    radial-gradient(circle, #fff 0 5px, transparent 6px) 30% 12% / 14px 14px no-repeat,
    radial-gradient(circle, var(--navy) 0 4px, transparent 5px) 70% 18% / 12px 12px no-repeat,
    radial-gradient(circle, var(--turquesa) 0 7px, transparent 8px) 88% 64% / 18px 18px no-repeat,
    radial-gradient(circle, var(--rojo) 0 5px, transparent 6px) 62% 80% / 14px 14px no-repeat,
    radial-gradient(circle, #fff 0 6px, transparent 7px) 92% 30% / 16px 16px no-repeat;
}
/* onda abajo, como el inicio */
.novedad__top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; background: var(--crema);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 34' preserveAspectRatio='none'%3E%3Cpath d='M0 16c60 16 120 20 200 8S340 0 400 10v24H0z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 34' preserveAspectRatio='none'%3E%3Cpath d='M0 16c60 16 120 20 200 8S340 0 400 10v24H0z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
}
.novedad__logo { position: relative; width: 190px; height: auto; margin: 0 auto; filter: drop-shadow(0 6px 10px rgba(255,255,255,.7)); }
.novedad__globo {
  position: absolute; width: 64px; left: 18px; top: 16px;
  animation: float 6s ease-in-out infinite; filter: drop-shadow(0 10px 10px rgba(14,47,72,.18));
}
.novedad__tag {
  position: relative; display: inline-block; margin-top: 16px; padding: .45em 1.1em; border-radius: 999px;
  background: var(--rojo); color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  box-shadow: var(--shadow-sm); animation: pop 2.6s ease-in-out infinite;
}
.novedad__body { padding: 6px 28px 28px; }
.novedad__body h2 { font-size: clamp(1.7rem, 5vw, 2.1rem); margin-bottom: .45em; }
.novedad__body p { color: var(--texto-suave); font-size: 1.1rem; margin-bottom: 1.4em; }
.novedad__ctas { display: grid; gap: 10px; }
.novedad__ctas .btn { width: 100%; padding-block: .95em; font-size: 1.05rem; }

/* celular: aparece desde abajo, sin tapar toda la pantalla */
@media (max-width: 760px) {
  .modal--novedad { place-items: end center; padding: 0; }
  .modal--novedad .modal__backdrop { background: rgba(14, 47, 72, .35); }
  .novedad {
    width: 100%; border-radius: 28px 28px 0 0; max-height: 88dvh;
    padding-bottom: env(safe-area-inset-bottom); animation: sheet .4s cubic-bezier(.2,.9,.3,1.1);
  }
  .novedad__top { padding: 26px 20px 46px; }
  .novedad__logo { width: 160px; }
  .novedad__globo { width: 50px; left: 14px; top: 12px; }
  .novedad__body { padding: 0 20px 22px; }
}
@keyframes sheet { from { transform: translateY(100%); } }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
body.no-scroll { overflow: hidden; }

/* ---------- Animación de aparición ---------- */
/* solo se oculta si hay JavaScript: sin JS (o para buscadores) todo queda visible */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
