/* =========================================================
   Guardería Infantil Amelín — propuesta de web
   ========================================================= */

html, body { background: #fcf8f3; }
html { overflow-x: clip; }
::selection { background: rgba(123, 77, 143, .28); }

:root {
  --night: #1c0d2b;
  --plum: #2f1544;
  --violet: #57287a;
  --brand: #7b4d8f;
  --brand-600: #6a3d80;
  --lilac: #ecdff5;
  --lilac-2: #f6effa;
  --cream: #fcf8f3;
  --paper: #ffffff;
  --ink: #241530;
  --ink-2: #5b4c66;
  --line: #e7dcee;

  /* letras A·M·E·L·I·N */
  --c-a: #e2489e;
  --c-m: #1f9d63;
  --c-e: #ffc83a;
  --c-l: #ff8a3d;
  --c-i: #c8a6e6;
  --c-n: #e0245e;

  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 36px;
  --shadow-sm: 0 2px 8px rgba(47, 21, 68, .06);
  --shadow: 0 18px 50px -18px rgba(47, 21, 68, .28);
  --shadow-lg: 0 40px 90px -30px rgba(28, 13, 43, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-e); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -.01em; }
p { margin: 0; }
em.magic, .magic {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  background: linear-gradient(100deg, var(--c-a), var(--c-l) 45%, var(--c-e));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.on-dark em.magic { background: linear-gradient(100deg, #ff9ad5, var(--c-e) 60%, #fff1b8); -webkit-background-clip: text; background-clip: text; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 22px; height: 22px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: scale(.7);
}
.on-dark .eyebrow { color: var(--c-e); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 56ch; }
.on-dark .lead { color: rgba(255, 255, 255, .78); }

/* ---------- botones ---------- */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .2s;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--bg) 80%, transparent);
  position: relative; isolation: isolate; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--bg) 85%, transparent); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { --bg: var(--c-e); --fg: var(--night); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor; background: rgba(255, 255, 255, .08); }
.btn--light { --bg: #fff; --fg: var(--violet); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn::after { /* brillo */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

/* =========================================================
   INTRO — la bruja cruza la pantalla
   ========================================================= */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 100%, #4a2066 0%, var(--plum) 40%, var(--night) 100%);
  color: #fff;
  transition: clip-path 1.1s var(--ease), opacity .6s ease;
  clip-path: circle(150% at 50% 50%);
}
.intro.is-leaving { clip-path: circle(0% at 78% 46%); }
.intro.is-gone { display: none; }
.intro__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__word {
  position: relative; z-index: 2;
  display: flex; gap: .02em;
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(4rem, 15vw, 11rem); line-height: 1;
}
.intro__word span {
  display: inline-block; opacity: 0; transform: translateY(40px) rotate(-8deg) scale(.6);
  transition: opacity .5s ease, transform .9s cubic-bezier(.3, 1.6, .5, 1);
  text-shadow: 0 0 40px currentColor;
}
.intro__word span.is-in { opacity: 1; transform: none; }
.intro__sub {
  position: absolute; left: 0; right: 0; bottom: 18vh; text-align: center; z-index: 2;
  font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
  opacity: 0; transition: opacity .8s ease .2s;
}
.intro.show-sub .intro__sub { opacity: 1; }
.intro__skip {
  position: absolute; right: 20px; bottom: 20px; z-index: 3;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; border-radius: 999px; padding: 8px 16px; font-size: .85rem; cursor: pointer;
  backdrop-filter: blur(6px);
}
.intro__skip:hover { background: rgba(255, 255, 255, .2); }

.flyer { /* bruja animada por JS */
  position: fixed; left: 0; top: 0; z-index: 101;
  width: clamp(180px, 26vw, 340px);
  pointer-events: none; will-change: transform;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35));
}

#sparkles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 102; pointer-events: none; }

/* =========================================================
   CABECERA
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s ease, box-shadow .4s ease, transform .4s var(--ease), color .4s;
  color: #fff;
}
.header__in { display: flex; align-items: center; gap: 24px; height: 78px; }
.header.is-solid {
  background: rgba(252, 248, 243, .86); color: var(--ink);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo img { width: 46px; height: auto; transform: rotate(-6deg); transition: transform .5s var(--ease); }
.logo:hover img { transform: rotate(4deg) translateY(-3px); }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.65rem;
  font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.01em;
}
.logo__name b { font-weight: inherit; }
.logo__name b:nth-child(1) { color: var(--c-a); }
.logo__name b:nth-child(2) { color: var(--c-m); }
.logo__name b:nth-child(3) { color: var(--c-e); }
.logo__name b:nth-child(4) { color: var(--c-l); }
.logo__name b:nth-child(5) { color: var(--c-i); }
.logo__name b:nth-child(6) { color: var(--c-n); }
.is-solid .logo__name b:nth-child(3) { color: #e6a800; }
.is-solid .logo__name b:nth-child(5) { color: #a77bd0; }
.logo__tag { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; opacity: .7; margin-top: 4px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: 8px 14px; border-radius: 999px; position: relative; opacity: .85;
  transition: opacity .2s, background .2s;
}
.nav a:hover, .nav a.is-active { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.header__cta { display: flex; gap: 10px; align-items: center; }
.header .btn--ghost { min-height: 42px; }
.burger { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .burger {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: color-mix(in srgb, currentColor 12%, transparent); border: 0; cursor: pointer;
  }
  .burger span, .burger span::before, .burger span::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
    transition: transform .3s var(--ease), background .2s;
  }
  .burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
  .burger span::before { top: -6px; } .burger span::after { top: 6px; }
  body.menu-open .burger span { background: transparent; }
  body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
  body.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .header__cta .btn--ghost { display: none; }
  .logo__tag { display: none; }
}

.drawer {
  position: fixed; inset: 0; z-index: 49; background: var(--night); color: #fff;
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease);
  visibility: hidden;
}
body.menu-open .drawer { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
body.menu-open .header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
.drawer a {
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem); text-decoration: none;
  padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.drawer a:hover { color: var(--c-e); }
.drawer .btn { margin-top: 24px; font-family: var(--font-ui); font-size: 1rem; border: 0; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: max(720px, 100svh);
  background:
    radial-gradient(60% 50% at 78% 40%, rgba(226, 72, 158, .25), transparent 70%),
    radial-gradient(70% 60% at 10% 90%, rgba(123, 77, 143, .55), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--plum) 55%, #4b2266 100%);
  color: #fff; overflow: hidden; isolation: isolate;
  padding: 110px 0 170px;
  display: flex; align-items: center;
}
.hero__sky { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__moon {
  position: absolute; z-index: -1; right: 8%; top: 16%;
  width: clamp(220px, 30vw, 440px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #fff8dc 0%, #ffe9a6 45%, #f5c96a 100%);
  box-shadow: 0 0 80px 20px rgba(255, 220, 140, .25), 0 0 200px 60px rgba(255, 200, 120, .12);
}
.hero__moon::before, .hero__moon::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(220, 170, 80, .25);
}
.hero__moon::before { width: 18%; height: 18%; left: 58%; top: 26%; }
.hero__moon::after { width: 11%; height: 11%; left: 30%; top: 62%; }

.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 450; margin: 22px 0 24px;
  letter-spacing: -.035em; line-height: .98;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.is-ready .hero h1 .line > span { transform: none; }
.is-ready .hero h1 .line:nth-child(2) > span { transition-delay: .1s; }
.is-ready .hero h1 .line:nth-child(3) > span { transition-delay: .2s; }
.hero .fade-up { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform 1s var(--ease); }
.is-ready .hero .fade-up { opacity: 1; transform: none; }
.is-ready .hero .fade-up.d1 { transition-delay: .35s; }
.is-ready .hero .fade-up.d2 { transition-delay: .5s; }
.is-ready .hero .fade-up.d3 { transition-delay: .65s; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 8px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
}
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); margin-left: 4px; }

.hero__witch {
  position: relative; justify-self: center; width: min(440px, 100%);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  opacity: 0;
}
.is-ready .hero__witch { opacity: 1; }
.hero__witch img { width: 100%; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .35)); }
.hero__witch .bob { animation: bob 5s ease-in-out infinite; transform-origin: 50% 60%; }
.hero__witch .hint {
  position: absolute; left: -2%; top: 6%;
  background: #fff; color: var(--violet); font-weight: 700; font-size: .82rem;
  padding: 8px 14px; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow);
  transform: rotate(-6deg); white-space: nowrap;
  animation: hint 4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(0, 0) rotate(-2deg); }
  25% { transform: translate(-8px, -16px) rotate(1deg); }
  50% { transform: translate(4px, -26px) rotate(-1deg); }
  75% { transform: translate(8px, -10px) rotate(2deg); }
}
@keyframes hint { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-6px); } }

.hero__hills { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: auto; pointer-events: none; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 36px; z-index: 2; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); font-weight: 700;
  text-decoration: none;
}
.hero__scroll span { width: 26px; height: 40px; border-radius: 20px; border: 2px solid currentColor; position: relative; }
.hero__scroll span::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: currentColor; animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 900px) {
  .hero { padding: 110px 0 170px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__witch { order: -1; width: min(240px, 62%); margin: 0 auto -6px; }
  .hero__witch .hint { font-size: .72rem; left: -8%; }
  .hero__moon { right: -18%; top: 70px; width: 300px; }
  .hero__scroll { display: none; }
}

/* =========================================================
   SECCIONES
   ========================================================= */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 70px); }
.section__head h2 { margin-top: 16px; }
@media (max-width: 800px) { .section__head { grid-template-columns: 1fr; } }

.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- franja de datos ---------- */
.facts { margin-top: -70px; position: relative; z-index: 3; }
.facts__card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 10px;
}
.fact { padding: 26px 28px; display: flex; gap: 16px; align-items: center; border-radius: 26px; transition: background .3s; }
.fact:hover { background: var(--lilac-2); }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__ico {
  width: 52px; height: 52px; border-radius: 16px; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c);
}
.fact__ico svg { width: 26px; height: 26px; }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
.fact span { font-size: .86rem; color: var(--ink-2); }
@media (max-width: 960px) {
  .facts__card { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); border-radius: 0 0 26px 26px; }
}
@media (max-width: 520px) {
  .facts { margin-top: -50px; }
  .facts__card { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact { padding: 18px; }
}

/* ---------- intro / quiénes ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; }
.about__photo {
  border-radius: 260px 260px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.about__badge {
  position: absolute; right: -20px; bottom: 40px;
  width: 150px; height: 150px; border-radius: 50%; background: var(--c-e); color: var(--night);
  display: grid; place-items: center; text-align: center; box-shadow: var(--shadow);
}
.about__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.about__badge strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-weight: 600; }
.about__badge small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text h2 { margin: 16px 0 24px; }
.about__text .lead + .lead { margin-top: 14px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.value { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.value b { display: block; font-size: 1rem; }
.value span { color: var(--ink-2); font-size: .9rem; }
.value i {
  flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 18%, #fff); color: var(--c); font-style: normal; font-size: 1rem;
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; margin: 0 auto; width: 100%; }
  .about__badge { right: 0; width: 120px; height: 120px; }
  .about__badge strong { font-size: 2rem; }
}
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* ---------- grupos ---------- */
.groups-bg { background: var(--lilac-2); }
.groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.group {
  --c: var(--brand);
  position: relative; border-radius: var(--r-lg); padding: 30px 26px 28px; overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  transform-style: preserve-3d; isolation: isolate;
  display: flex; flex-direction: column; min-height: 400px;
}
.group:hover { box-shadow: var(--shadow); }
.group::before {
  content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 14%, transparent); transition: transform .8s var(--ease);
}
.group:hover::before { transform: scale(1.5); }
.group__ico {
  width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; margin-bottom: 26px;
  background: var(--c); color: #fff; box-shadow: 0 14px 24px -10px var(--c);
  transform: rotate(-6deg); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1);
}
.group:hover .group__ico { transform: rotate(6deg) scale(1.06); }
.group__ico svg { width: 40px; height: 40px; }
.group__age {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c); margin-bottom: 6px;
}
.group h3 { font-size: 2rem; margin-bottom: 12px; }
.group p { color: var(--ink-2); font-size: .95rem; }
.group ul { list-style: none; padding: 0; margin: auto 0 0; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.group li { font-size: .76rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: color-mix(in srgb, var(--c) 70%, #000); }
@media (max-width: 1000px) { .groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .groups { grid-template-columns: 1fr; } .group { min-height: 0; } }

/* ---------- un día en Amelín ---------- */
.day { background: var(--night); color: #fff; overflow: hidden; }
.day__sky { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.day .wrap { position: relative; }
.timeline { position: relative; margin-top: 20px; }
.timeline__track { position: absolute; left: 0; right: 0; top: 46px; height: 3px; background: rgba(255, 255, 255, .12); border-radius: 3px; }
.timeline__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--c-a), var(--c-l), var(--c-e)); }
.timeline__broom {
  position: absolute; top: -38px; left: 0; width: 86px; transform: translateX(-50%) scaleX(1);
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .4)); transition: left .1s linear;
}
.timeline__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.tl { padding-top: 80px; position: relative; }
.tl::before {
  content: ""; position: absolute; top: 39px; left: 0; width: 17px; height: 17px; border-radius: 50%;
  background: var(--night); border: 3px solid rgba(255, 255, 255, .3); transition: all .4s var(--ease);
}
.tl.is-on::before { background: var(--c-e); border-color: var(--c-e); box-shadow: 0 0 18px var(--c-e); }
.tl time { font-family: var(--font-display); font-size: 1.6rem; display: block; line-height: 1; margin-bottom: 8px; }
.tl b { display: block; font-size: .98rem; margin-bottom: 4px; }
.tl span { font-size: .86rem; color: rgba(255, 255, 255, .6); line-height: 1.45; display: block; }
@media (max-width: 1000px) {
  .timeline__track, .timeline__broom { display: none; }
  .timeline__list { grid-template-columns: 1fr; gap: 0; border-left: 2px solid rgba(255, 255, 255, .14); margin-left: 8px; }
  .tl { padding: 0 0 26px 30px; }
  .tl::before { top: 6px; left: -10px; }
  .tl time { font-size: 1.35rem; }
}

/* ---------- horarios ---------- */
.schedule { display: grid; grid-template-columns: 340px 1fr; gap: 30px; align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 8px; }
.tab {
  --c: var(--brand);
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 18px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer;
  transition: all .3s var(--ease);
}
.tab:hover { border-color: color-mix(in srgb, var(--c) 50%, #fff); transform: translateX(4px); }
.tab[aria-selected="true"] { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 16px 30px -14px var(--c); }
.tab__dot { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, #fff); font-size: 1.2rem; }
.tab[aria-selected="true"] .tab__dot { background: rgba(255, 255, 255, .2); }
.tab b { display: block; font-size: 1rem; }
.tab small { font-size: .82rem; opacity: .72; }
.panel { background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); min-height: 100%; }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.panel > p { color: var(--ink-2); margin: 10px 0 28px; max-width: 54ch; }

.dayline { position: relative; margin: 10px 0 34px; padding-top: 30px; }
.dayline__bar { position: relative; height: 54px; border-radius: 16px; background: repeating-linear-gradient(90deg, var(--lilac-2) 0 calc(100% / 19 - 1px), var(--line) calc(100% / 19 - 1px) calc(100% / 19)); overflow: hidden; }
.dayline__seg {
  position: absolute; top: 8px; bottom: 8px; border-radius: 10px;
  background: var(--c, var(--brand)); transform-origin: left; animation: grow .9s var(--ease) both;
  display: flex; align-items: center; padding: 0 12px; color: #fff; font-size: .78rem; font-weight: 700; white-space: nowrap; overflow: hidden;
}
.dayline__seg--soft { background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--c) 35%, #fff) 0 8px, color-mix(in srgb, var(--c) 22%, #fff) 8px 16px); color: var(--ink); }
@keyframes grow { from { transform: scaleX(0); } }
.dayline__ticks { display: flex; justify-content: space-between; font-size: .74rem; color: var(--ink-2); margin-top: 8px; font-weight: 600; }
.dayline__legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--ink-2); position: absolute; top: 0; left: 0; }
.dayline__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; background: var(--c); }
.dayline__legend i.soft { background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--c) 35%, #fff) 0 3px, color-mix(in srgb, var(--c) 18%, #fff) 3px 6px); }

.io { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.io > div { background: var(--lilac-2); border-radius: 20px; padding: 18px 20px; }
.io h4 { font-family: var(--font-ui); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; font-weight: 800; }
.io ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.io li { background: #fff; padding: 6px 12px; border-radius: 10px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-sm); }
.schedule__note { margin-top: 22px; font-size: .9rem; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
@media (max-width: 900px) {
  .schedule { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; scroll-snap-align: start; padding: 10px 14px; }
  .tab:hover { transform: none; }
  .tab small { display: none; }
  .tab__dot { width: 32px; height: 32px; }
  .dayline__ticks span:nth-child(even) { visibility: hidden; }
}
@media (max-width: 520px) { .io { grid-template-columns: 1fr; } }

/* ---------- instalaciones ---------- */
.space { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.space__photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 6; box-shadow: var(--shadow-lg); position: relative; }
.space__photo img { width: 100%; height: 100%; object-fit: cover; }
.space__photo figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); border-radius: 18px; padding: 14px 18px;
  display: flex; gap: 22px;
}
.space__photo figcaption div strong { font-family: var(--font-display); font-size: 1.8rem; display: block; line-height: 1; }
.space__photo figcaption div span { font-size: .8rem; color: var(--ink-2); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.feature {
  display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; background: var(--paper);
  border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature i { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c); }
.feature i svg { width: 22px; height: 22px; }
.feature b { font-size: .95rem; line-height: 1.3; }
@media (max-width: 860px) { .space { grid-template-columns: 1fr; } .space__photo { aspect-ratio: 4 / 3; } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* ---------- comedor ---------- */
.food {
  background: linear-gradient(135deg, #fff5dc, #ffe6c7); border-radius: var(--r-lg);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
  padding: clamp(30px, 5vw, 64px); position: relative; overflow: hidden;
}
.food::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 138, 61, .15); }
.food h2 { margin: 14px 0 18px; }
.food .eyebrow { color: #c25b10; }
.food__chef { position: relative; z-index: 1; width: min(320px, 100%); justify-self: center; animation: chef 6s ease-in-out infinite; transform-origin: bottom center; }
@keyframes chef { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) translateY(-6px); } }
.today {
  margin-top: 28px; background: #fff; border-radius: 22px; padding: 20px 22px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; max-width: 520px; position: relative; z-index: 1;
}
.today header { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.today header b { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #c25b10; }
.today header span { font-size: .82rem; color: var(--ink-2); }
.today dt { font-weight: 800; font-size: .85rem; color: var(--ink-2); }
.today dd { margin: 0; font-weight: 600; font-size: .95rem; }
.food__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; position: relative; z-index: 1; }
.food__actions .btn { --bg: #ff8a3d; }
.food__actions .btn--ghost { --bg: transparent; --fg: #9b4a0c; }
@media (max-width: 820px) { .food { grid-template-columns: 1fr; } .food__chef { width: 200px; order: -1; } }

/* ---------- ludoteca + talleres ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.card-x {
  border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; isolation: isolate;
  min-height: 380px; display: flex; flex-direction: column;
}
.card-x h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 14px 0 14px; }
.card-x p { max-width: 42ch; }
.card-x .btn { margin-top: auto; align-self: flex-start; }
.card-x--sun { background: linear-gradient(150deg, #22a06b, #157a50); color: #fff; }
.card-x--sun .eyebrow { color: #bff3d9; }
.card-x--sun p { color: rgba(255, 255, 255, .85); }
.card-x--pink { background: linear-gradient(150deg, #e2489e, #b52677); color: #fff; }
.card-x--pink .eyebrow { color: #ffd6ec; }
.card-x--pink p { color: rgba(255, 255, 255, .88); }
.card-x .deco { position: absolute; right: -30px; top: -30px; width: 200px; height: 200px; z-index: -1; opacity: .22; animation: spin 40s linear infinite; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.pills span { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); padding: 6px 12px; border-radius: 999px; font-size: .84rem; font-weight: 700; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } .card-x { min-height: 0; } }

/* ---------- familias (app) ---------- */
.families {
  background: radial-gradient(80% 60% at 80% 20%, rgba(226, 72, 158, .22), transparent 70%), linear-gradient(180deg, var(--plum), var(--night));
  color: #fff; overflow: hidden;
}
.families__grid { display: grid; grid-template-columns: 1fr 420px; gap: clamp(40px, 6vw, 90px); align-items: center; }
.families h2 { margin: 16px 0 20px; }
.perks { list-style: none; padding: 0; margin: 34px 0 34px; display: grid; gap: 10px; }
.perk {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center;
  padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s, transform .4s var(--ease);
}
.perk:hover { background: rgba(255, 255, 255, .09); transform: translateX(6px); }
.perk i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--c); font-style: normal; font-size: 1.3rem; }
.perk b { display: block; }
.perk span { font-size: .9rem; color: rgba(255, 255, 255, .66); }
.families__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.phone-col { display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.demo-roles { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.demo-roles button { border: 0; background: none; color: rgba(255, 255, 255, .75); font-weight: 700; font-size: .9rem; padding: 10px 18px; border-radius: 999px; cursor: pointer; min-height: 44px; transition: background .3s var(--ease), color .3s; }
.demo-roles button[aria-pressed="true"] { background: #fff; color: var(--violet); }
.phone {
  position: relative; justify-self: center; flex: none;
  /* nunca más alto que la pantalla: el ancho se deriva de la altura disponible */
  width: min(100%, 380px, calc((100svh - 120px) * 400 / 820));
  aspect-ratio: 400 / 820; border-radius: 13% / 6.4%; padding: 3%;
  background: linear-gradient(145deg, #3a2550, #120819); box-shadow: 0 0 0 2px #5a3e73, var(--shadow-lg), 0 0 120px rgba(226, 72, 158, .25);
}
.phone::before { content: ""; position: absolute; top: 3%; left: 50%; width: 28%; height: 3.4%; transform: translateX(-50%); background: #0d0612; border-radius: 20px; z-index: 2; pointer-events: none; }
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 10.5% / 5.2%; background: var(--cream); }
/* la app se dibuja a tamaño de iPhone real (390 px) y se escala para encajar en el marco */
.phone iframe { position: absolute; top: 0; left: 0; width: 390px; height: 800px; border: 0; display: block; transform-origin: 0 0; }
.phone__label {
  position: absolute; left: -24px; top: 18%; z-index: 3; background: var(--c-e); color: var(--night); font-weight: 800; font-size: .8rem;
  padding: 8px 14px; border-radius: 14px; transform: rotate(-8deg); box-shadow: var(--shadow); pointer-events: none;
}
@media (max-width: 960px) {
  .families__grid { grid-template-columns: 1fr; }
  .phone { width: min(100%, 340px, calc((100svh - 90px) * 400 / 820)); }
  .phone__label { display: none; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); }
.faq__aside .btn { margin-top: 28px; }
.faq__aside img { width: 140px; margin-top: 40px; transform: scaleX(1) rotate(-8deg); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 500;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b4d8f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.qa[open] summary::after { transform: rotate(135deg); background-color: var(--c-e); }
.qa p { padding: 0 50px 24px 0; color: var(--ink-2); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq__aside img { display: none; } }

/* ---------- visita / contacto ---------- */
.visit { background: var(--lilac-2); }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form {
  background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow);
}
.form h3 { font-size: 1.9rem; margin-bottom: 6px; }
.form > p { color: var(--ink-2); margin-bottom: 24px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s; color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(123, 77, 143, .14); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots label { cursor: pointer; position: relative; }
.slots input { position: absolute; opacity: 0; pointer-events: none; }
.slots span { display: inline-block; padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 700; background: var(--cream); transition: all .2s; }
.slots input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.slots input:focus-visible + span { outline: 3px solid var(--c-e); outline-offset: 2px; }
.form .btn { width: 100%; margin-top: 22px; }
.form__ok {
  display: none; text-align: center; padding: 30px 10px;
}
.form.is-sent .form__ok { display: block; }
.form.is-sent form { display: none; }
.form__ok img { width: 160px; margin: 0 auto 12px; animation: bob 4s ease-in-out infinite; }
.form__ok h3 { margin-bottom: 8px; }
.form__ok p { color: var(--ink-2); }

.contact { display: grid; grid-template-rows: auto 1fr; gap: 20px; }
.contact__card { background: var(--night); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.contact__card h3 { margin-bottom: 18px; }
.contact__rows { display: grid; gap: 4px; }
.contact__rows a, .contact__rows div {
  display: flex; gap: 14px; align-items: center; text-decoration: none; padding: 12px; border-radius: 16px; transition: background .2s;
}
.contact__rows a:hover { background: rgba(255, 255, 255, .07); }
.contact__rows i { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex: none; color: var(--c-e); }
.contact__rows i svg { width: 20px; height: 20px; }
.contact__rows small { display: block; font-size: .76rem; color: rgba(255, 255, 255, .55); }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 280px; box-shadow: var(--shadow); background: var(--lilac) url("../assets/img/bruja.png") center/120px no-repeat; }
.map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; filter: saturate(.85); }
@media (max-width: 900px) { .visit__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--night); color: rgba(255, 255, 255, .7); padding: 80px 0 40px; position: relative; overflow: hidden; }
.footer__big {
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(4rem, 19vw, 16rem); line-height: .8; letter-spacing: -.03em; color: #fff; margin-bottom: 50px;
  display: flex; flex-wrap: wrap;
}
.footer__big span { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), color .3s; display: inline-block; }
.footer__big span:hover { transform: translateY(-14px) rotate(-6deg); }
.footer__big span:nth-child(1):hover { color: var(--c-a); }
.footer__big span:nth-child(2):hover { color: var(--c-m); }
.footer__big span:nth-child(3):hover { color: var(--c-e); }
.footer__big span:nth-child(4):hover { color: var(--c-l); }
.footer__big span:nth-child(5):hover { color: var(--c-i); }
.footer__big span:nth-child(6):hover { color: var(--c-n); }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer h4 { font-family: var(--font-ui); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .94rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--c-e); }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: .84rem; }
.footer__witch { position: absolute; right: 4%; top: 40px; width: 150px; opacity: .95; animation: bob 6s ease-in-out infinite; }
@media (max-width: 860px) { .footer__cols { grid-template-columns: 1fr 1fr; } .footer__witch { width: 100px; top: 20px; } }

/* ---------- bruja guía flotante ---------- */
.guide {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 96px; height: 96px; border: 0; padding: 0; background: none; cursor: pointer;
  opacity: 0; transform: translateY(40px) scale(.6); pointer-events: none;
  transition: opacity .5s ease, transform .7s cubic-bezier(.3, 1.5, .5, 1);
}
.guide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.guide img { width: 100%; filter: drop-shadow(0 10px 14px rgba(28, 13, 43, .35)); transition: transform .3s; }
.guide__badge {
  position: absolute; top: 6px; left: -2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-n); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 0 0 3px var(--cream); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.15); } }
.quick {
  position: fixed; right: 18px; bottom: 124px; z-index: 41; width: min(300px, calc(100vw - 36px));
  background: var(--paper); border-radius: 26px; box-shadow: var(--shadow-lg); padding: 10px;
  transform-origin: bottom right; transform: scale(.7) translateY(20px); opacity: 0; pointer-events: none;
  transition: all .4s cubic-bezier(.3, 1.4, .5, 1);
}
.quick.is-open { transform: none; opacity: 1; pointer-events: auto; }
.quick p { padding: 12px 14px 8px; font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; }
.quick a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; text-decoration: none; font-weight: 700; font-size: .95rem;
}
.quick a:hover { background: var(--lilac-2); }
.quick a i { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, #fff); font-style: normal; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* iconos SVG en pestañas, ventajas y menú rápido */
.tab__dot svg { width: 20px; height: 20px; color: var(--c); }
.tab[aria-selected="true"] .tab__dot svg { color: #fff; }
.perk i svg { width: 24px; height: 24px; color: #fff; }
.quick a i svg { width: 18px; height: 18px; color: color-mix(in srgb, var(--c) 75%, #000); }
.schedule__note svg { width: 20px; height: 20px; color: #e6a800; flex: none; }

/* grano sutil que unifica la página */
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* sin JS: todo visible */
.no-js .intro, .no-js .flyer { display: none; }
.no-js .hero h1 .line > span, .no-js .hero .fade-up, .no-js .hero__witch { transform: none; opacity: 1; }
