:root {
  --yellow: #FCC419;
  --butter: #FFE48F;
  --yellow-soft: #FFF3C4;
  --cream: #FFFBF1;
  --cream-2: #F6EBD0;
  --ink: #3B3550;          /* texto: ciruela suave, no negro */
  --ink-2: #5A5470;
  --muted: #847D96;
  --line: #4A4362;         /* contornos */
  --shadow: #E7DDF7;       /* sombra pastel por defecto */
  --coral: #FF8A7A;
  --coral-soft: #FFE1DA;
  --peach: #FFC2B2;
  --green: #4CC98A;
  --green-soft: #DDF5E8;
  --sky: #7CC6F2;
  --sky-soft: #E2F2FD;
  --lilac: #B9A6F5;
  --lilac-soft: #EEE8FF;
  --indigo: #5B4FCF;
  --white: #FFFFFF;
  --radius: 26px;
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-type: "Special Elite", "Courier New", monospace;
  --font-hand: "Caveat", cursive;
  --zigzag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28'%3E%3Cpath d='M-2 24 L14 8 L28 22 L42 8 L58 24' fill='none' stroke='white' stroke-width='6' stroke-linejoin='miter'/%3E%3C/svg%3E");
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  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; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; position: relative; }
.narrow { width: min(800px, 100% - 32px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--indigo); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 5px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--coral), var(--yellow), var(--green), var(--sky), var(--lilac)); transform-origin: 0 50%; transform: scaleX(0); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  padding: .8em 1.5em; border-radius: 999px; text-decoration: none;
  border: 2px solid var(--line); cursor: pointer; position: relative;
  box-shadow: 0 5px 0 var(--shadow);
  transition: transform .18s var(--ease-bounce), box-shadow .18s ease, background .2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--shadow); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--shadow); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-ghost { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--indigo); color: var(--white); box-shadow: 0 5px 0 var(--lilac); border-color: var(--line); }
.btn-dark:hover { box-shadow: 0 8px 0 var(--lilac); }
.btn-dark:active { box-shadow: 0 1px 0 var(--lilac); }
.btn-sm { padding: .5em 1.1em; font-size: .95rem; box-shadow: 0 3px 0 var(--shadow); }
.btn-sm:hover { box-shadow: 0 5px 0 var(--shadow); }
.btn-lg { padding: .9em 1.8em; font-size: 1.15rem; }
.btn-block { width: 100%; }
.btn .arrow { width: 22px; height: 22px; transition: transform .25s var(--ease-bounce); }
.btn:hover .arrow { transform: translateX(5px); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; pointer-events: none; }
.header-inner {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; height: 104px;
  border: 2px solid transparent; border-radius: 999px; padding: 0 4px;
  transition: height .35s ease, margin .35s ease, padding .35s ease, background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.site-header.scrolled .header-inner { height: 72px; margin-top: 10px; }
.brand { display: block; text-decoration: none; position: relative; }
.brand-full { height: 86px; width: auto; transition: transform .4s var(--ease-bounce), opacity .25s; }
.brand-compact {
  position: absolute; left: 0; top: 50%; width: max-content; display: flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 7px 18px 7px 8px; border-radius: 999px; font: 1.12rem/1 var(--font-type); color: var(--ink);
  background: rgba(255, 251, 241, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 2px solid rgba(185, 166, 245, .5); box-shadow: 0 10px 26px rgba(91, 79, 207, .14);
  opacity: 0; transform: translateY(-50%) scale(.7); pointer-events: none;
  transition: opacity .25s ease, transform .4s var(--ease-bounce);
}
.brand-compact img { width: 42px; height: auto; }
.site-header.scrolled .brand-full { opacity: 0; transform: scale(.5) rotate(-25deg); }
.site-header.scrolled .brand-compact { opacity: 1; transform: translateY(-50%) scale(1); pointer-events: auto; }
.site-header.scrolled .brand-compact img { animation: spinIn .6s var(--ease-bounce); }
@keyframes spinIn { from { transform: rotate(-200deg) scale(.4); } to { transform: none; } }
.brand:hover .brand-compact img { animation: wiggle-ill .6s var(--ease-bounce); }
@media (min-width: 1081px) {
  .nav { transition: background .35s, box-shadow .35s, border-color .35s, padding .35s; border: 2px solid transparent; border-radius: 999px; padding: 6px 6px 6px 22px; }
  .site-header.scrolled .nav {
    background: rgba(255, 251, 241, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-color: rgba(185, 166, 245, .5); box-shadow: 0 10px 26px rgba(91, 79, 207, .14);
  }
}
.brand:hover .brand-full { transform: rotate(-8deg) scale(1.05); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 800; font-size: .98rem; color: var(--ink); position: relative; padding: 4px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; border-radius: 4px;
  background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: var(--white); border: 2px solid var(--line); border-radius: 14px; padding: 8px 9px; cursor: pointer; box-shadow: 0 3px 0 var(--shadow); }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--ink); border-radius: 3px; margin: 4px 0; transition: transform .25s, opacity .2s; }

/* ============ HERO ============ */
.hero {
  position: relative; background: var(--butter);
  padding: 150px 0 120px; overflow: hidden;
}
.hero-zigzag {
  position: absolute; inset: 0; background-image: var(--zigzag); background-size: 56px 28px;
  opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 20%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 85% 20%, #000 10%, transparent 70%);
  animation: zig 30s linear infinite;
}
@keyframes zig { to { background-position: 560px 0; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; }

.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em;
  color: var(--indigo); background: rgba(255, 255, 255, .6); border-radius: 999px; padding: 6px 18px;
  margin-bottom: 22px;
}

.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; margin-bottom: 18px; font-weight: 700; letter-spacing: -.01em; }
.hero-title .line { display: block; }
.hl-pill {
  display: inline-block; background: var(--white); border: 2px solid var(--line); border-radius: 22px;
  padding: 0 .22em .06em; transform: rotate(-3deg); box-shadow: 5px 5px 0 var(--shadow);
  animation: wiggle 4s ease-in-out infinite 1.6s;
}
@keyframes wiggle { 0%, 88%, 100% { transform: rotate(-3deg); } 92% { transform: rotate(2deg) scale(1.04); } 96% { transform: rotate(-5deg); } }

.rotator { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; margin-bottom: 14px; }
.rotator-word {
  display: inline-block; color: var(--indigo); background: var(--lilac-soft); border: 2px solid var(--line); padding: 0 .4em; border-radius: 12px;
  min-width: 2ch; transition: opacity .25s, transform .25s;
}
.rotator-word.swap { opacity: 0; transform: translateY(10px) rotate(-2deg); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 32em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 24px; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 800; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.check { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: var(--white); border: 2px solid var(--line); display: grid; place-items: center; font-size: .8rem; }

/* Entry animation */
.pop { opacity: 0; transform: translateY(26px); animation: popIn .8s var(--ease-bounce) forwards; animation-delay: calc(var(--d, 0) * .12s + .1s); }
@keyframes popIn { to { opacity: 1; transform: none; } }

/* Stage */
.hero-stage { position: relative; width: min(500px, 100%); aspect-ratio: 1; justify-self: center; }
.stage-blob {
  position: absolute; inset: 4%; background: var(--peach); border: 2px solid var(--line);
  border-radius: 62% 38% 54% 46% / 45% 56% 44% 55%;
  animation: morph 12s ease-in-out infinite;
  transform: translate(16px, 16px);
}
@keyframes morph {
  0%, 100% { border-radius: 62% 38% 54% 46% / 45% 56% 44% 55%; }
  33% { border-radius: 42% 58% 38% 62% / 58% 40% 60% 42%; }
  66% { border-radius: 55% 45% 64% 36% / 40% 62% 38% 60%; }
}
.stage-ring {
  position: absolute; inset: -4%; border: 3px dashed var(--white); border-radius: 50%; opacity: .9;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.photo-frame {
  position: absolute; inset: 4%; background: var(--white); border: 2px solid var(--line);
  border-radius: 46% 54% 43% 57% / 52% 44% 56% 48%; overflow: hidden;
  animation: morph 12s ease-in-out infinite reverse;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform: scale(1.05) translate(-7%, 6%); }

.bubble {
  position: absolute; z-index: 3; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  background: var(--white); border: 2px solid var(--line); border-radius: 22px; padding: 8px 16px;
  box-shadow: 4px 4px 0 var(--shadow); white-space: nowrap;
  animation: bob 5s ease-in-out infinite;
}
.bubble::after {
  content: ""; position: absolute; width: 16px; height: 16px; background: inherit;
  border: 2px solid var(--line); border-top: 0; border-left: 0; bottom: -10px; left: 22px; transform: rotate(45deg);
}
.b1 { top: 6%; left: -6%; background: var(--sky-soft); animation-delay: -1s; }
.b2 { top: 2%; right: 2%; background: var(--green-soft); animation-delay: -2.5s; }
.b2::after { left: auto; right: 22px; }
.b3 { bottom: 26%; right: -8%; background: var(--yellow-soft); animation-delay: -.5s; }
.b3::after { left: auto; right: 22px; }
.b4 { bottom: 34%; left: -12%; background: var(--white); animation-delay: -3.5s; }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -12px; rotate: 3deg; } }

.doodle { position: absolute; z-index: 2; width: 46px; height: 46px; pointer-events: none; }
.dd1 { top: -4%; left: 34%; color: var(--white); width: 52px; height: 52px; animation: twinkle 3s ease-in-out infinite; }
.dd2 { bottom: 4%; right: 4%; color: var(--coral); animation: beat 1.6s ease-in-out infinite; }
.dd3 { bottom: 2%; left: 6%; color: var(--sky); width: 54px; height: 54px; animation: spin 14s linear infinite; }
.dd4 { top: 40%; right: -10%; color: var(--ink); width: 40px; height: 40px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { scale: 1; rotate: 0deg; } 50% { scale: 1.25; rotate: 20deg; } }
@keyframes beat { 0%, 100% { scale: 1; } 15% { scale: 1.25; } 30% { scale: 1; } 45% { scale: 1.15; } }
@keyframes pulse { 0%, 100% { opacity: .35; scale: .9; } 50% { opacity: 1; scale: 1.1; } }
.letter {
  position: absolute; z-index: 2; font-family: var(--font-type); font-size: 2.6rem; line-height: 1;
  color: var(--ink); animation: bob 6s ease-in-out infinite;
}
.l1 { top: 22%; left: -14%; color: var(--white); -webkit-text-stroke: 2px var(--line); font-size: 3.2rem; }
.l2 { top: -8%; right: 26%; animation-delay: -2s; }
.l3 { bottom: -6%; left: 40%; color: var(--white); -webkit-text-stroke: 2px var(--line); animation-delay: -4s; }
[data-depth] { transition: transform .4s ease-out; }

.name-tag {
  position: absolute; z-index: 4; left: 50%; bottom: -2%; transform: translateX(-50%) rotate(-3deg);
  background: var(--white); border: 2px solid var(--line); border-radius: 18px;
  padding: 10px 18px; box-shadow: 5px 5px 0 var(--shadow); white-space: nowrap;
  display: flex; flex-direction: column; line-height: 1.25; font-size: .9rem;
}
.name-tag strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.name-tag span { color: var(--muted); }

.wave { position: absolute; left: 0; width: 100%; height: 70px; display: block; }
.wave-bottom { bottom: -1px; }
.wave-bottom path { fill: var(--cream); }

/* ============ DOODLE TRAIL (se dibuja al bajar) ============ */
.doodle-trail { position: relative; height: 90px; margin-top: -10px; pointer-events: none; overflow: hidden; }
.trail-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trail-line { fill: none; stroke: var(--lilac); stroke-width: 6; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.trail-item { position: absolute; opacity: 0; transform: scale(.4) rotate(-20deg); transition: opacity .35s ease, transform .55s var(--ease-bounce); }
.trail-item.on { opacity: 1; transform: none; }
svg.trail-item { width: 66px; height: 66px; overflow: visible; }
svg.trail-item path, svg.trail-item circle { fill: none; stroke: var(--line); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease .1s, fill .4s ease .8s; }
svg.trail-item.on path, svg.trail-item.on circle { stroke-dashoffset: 0; }
.ti-star { left: 10%; top: 8px; } .ti-star.on path { fill: var(--butter); }
.ti-heart { left: 29%; top: 86px; } .ti-heart.on path { fill: var(--peach); }
.ti-bubble { left: 46%; top: 0; width: 86px; height: 70px; } .ti-bubble.on path { fill: var(--sky-soft); }
.ti-spiral { left: 70%; top: 92px; } .ti-spiral path { stroke: var(--indigo); }
.ti-sun { left: 84%; top: 4px; } .ti-sun.on circle { fill: var(--butter); }
.ti-letter { font: 3.2rem/1 var(--font-type); color: var(--white); -webkit-text-stroke: 2px var(--line); }
.ti-a { left: 19%; top: 20px; } .ti-b { left: 60%; top: 14px; color: var(--ink); -webkit-text-stroke: 0; } .ti-c { left: 93%; top: 100px; color: var(--peach); }
.ti-star.on { animation: twinkle 3s ease-in-out infinite .6s; }
.ti-heart.on { animation: beat 1.6s ease-in-out infinite .6s; }

/* Garabatos que se dibujan solos al entrar en pantalla */
.draw { display: inline-block; vertical-align: middle; overflow: visible; pointer-events: none; }
.draw path { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s ease .2s; }
.draw.in path { stroke-dashoffset: 0; }
.draw path + path { transition-delay: 1.1s; transition-duration: .4s; }
.draw-loop { width: 70px; height: 40px; margin-left: 6px; } .draw-loop path { stroke: var(--coral); }
.draw-spiral { width: 44px; height: 44px; margin-left: 4px; } .draw-spiral path { stroke: var(--indigo); stroke-width: 3; }
.draw-burst { width: 40px; height: 40px; margin-left: 6px; } .draw-burst path { stroke: var(--yellow); stroke-width: 5; }
.arrow-wrap { position: relative; display: inline-block; }
.draw-arrow { position: absolute; width: 110px; height: 74px; right: 100%; top: -46px; margin-right: 4px; } .draw-arrow path { stroke: var(--coral); }
.circled { position: relative; display: inline-block; }
.draw-circle { position: absolute; left: -6%; top: -14%; width: 112%; height: 128%; } .draw-circle path { stroke: var(--coral); stroke-width: 3.5; }
@media (max-width: 900px) {
  .doodle-trail { height: 64px; }
  svg.trail-item { width: 40px; height: 40px; } .ti-bubble { width: 52px; height: 44px; }
  .ti-letter { font-size: 1.9rem; } .ti-star { left: 3%; } .ti-a { left: 22%; top: 36px; } .ti-heart { top: 64px; } .ti-spiral { top: 66px; } .ti-c { top: 70px; left: 90%; }
  .draw-arrow { display: none; }
  .float-doodle { display: none; }
}

/* ============ PLANS ============ */
.plans { padding: 50px 0 30px; }
.plans-inner { display: grid; grid-template-columns: .7fr 1.3fr; gap: 36px; align-items: center; }
.plans-head { position: relative; }
.plans-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .25em; }
.plans-head p { color: var(--muted); margin: 0; }
.plans-star { position: absolute; width: 44px; height: 44px; top: -30px; left: -18px; color: var(--yellow); }
.spin-slow { animation: spin 10s linear infinite; }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-list li {
  background: var(--white); border: 2px solid var(--line); border-radius: 20px; padding: 18px 16px 12px;
  box-shadow: 5px 5px 0 var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 118px; transition: transform .25s var(--ease-bounce), box-shadow .25s;
}
.plan-list li.plan-wide { grid-column: span 2; }
.plan-list li img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.plan-list li img.logo-tall { max-height: 58px; }
.plan-list li:nth-child(odd) { rotate: -1deg; }
.plan-list li:nth-child(even) { rotate: 1deg; }
.plan-list li:hover { transform: translateY(-6px) rotate(1.5deg); box-shadow: 8px 10px 0 var(--butter); }
.plan-list small { font-weight: 800; color: var(--muted); font-size: .8rem; letter-spacing: .02em; }

/* ============ SECTIONS ============ */
.section { padding: 100px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-lead { max-width: 40em; margin: 0 auto; color: var(--ink-2); font-size: 1.12rem; }
.kicker {
  display: inline-block; font-family: var(--font-type); font-size: 1rem;
  background: var(--yellow); border: 2px solid var(--line); border-radius: 999px; padding: 4px 16px;
  margin-bottom: 16px; rotate: -2deg;
}
.kicker-light { background: var(--white); color: var(--ink); }
.kicker-dark { background: var(--white); color: var(--ink); }
.scribble { position: relative; display: inline-block; }
.scribble svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 18px; overflow: visible; }
.scribble path { fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1s ease .3s; }
.in .scribble path, .scribble.in path { stroke-dashoffset: 0; }

/* Floating doodles */
.float-doodle { position: absolute; pointer-events: none; }
.fd-a { width: 110px; height: 34px; color: var(--sky); top: 80px; left: 4%; animation: bob 6s ease-in-out infinite; }
.fd-b { width: 64px; height: 64px; color: var(--yellow); top: 120px; right: 6%; animation: spin 18s linear infinite; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; perspective: 900px; }
.card {
  position: relative; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px 40px; box-shadow: 8px 8px 0 var(--shadow); overflow: hidden;
  transform-style: preserve-3d; transition: transform .2s ease-out, box-shadow .2s;
}
.card-yellow { background: var(--yellow-soft); }
.card-coral { background: var(--coral-soft); }
.card-green { background: var(--green-soft); }
.card p { color: var(--ink-2); margin: 0; position: relative; }
.card h3 { position: relative; }
.card-num { position: absolute; right: 18px; bottom: -18px; font: 700 6rem/1 var(--font-display); color: rgba(20,20,16,.07); }
.card-icon { position: relative; width: 132px; height: 108px; margin: -6px 0 14px -8px; }
.card-icon::before {
  content: ""; position: absolute; inset: 8px 14px 4px 10px; background: rgba(255,255,255,.75);
  border-radius: 58% 42% 55% 45% / 46% 52% 48% 54%; animation: morph 9s ease-in-out infinite;
}
.ill { position: relative; width: 100%; height: 100%; overflow: visible; }
.ill g, .ill path { transform-box: fill-box; }
.ill-b1 { animation: bob 3.6s ease-in-out infinite; transform-origin: center; }
.ill-b2 { animation: bob 3.6s ease-in-out infinite -1.8s; transform-origin: center; }
.ill-waves { animation: pulse 1.6s ease-in-out infinite; }
.ill-steam path { animation: steam 2.2s ease-in-out infinite; }
.ill-steam path:nth-child(2) { animation-delay: .35s; }
.ill-steam path:nth-child(3) { animation-delay: .7s; }
@keyframes steam { 0%, 100% { opacity: .2; translate: 0 4px; } 50% { opacity: 1; translate: 0 -3px; } }
.ill-spoon { transform-origin: 100% 0%; animation: dip 2.8s ease-in-out infinite; }
@keyframes dip { 0%, 100% { rotate: 0deg; } 45% { rotate: -14deg; } 60% { rotate: -10deg; } }
.ill-tongue { transform-origin: 50% 0%; animation: tongue 2.6s ease-in-out infinite; }
@keyframes tongue { 0%, 100% { scale: 1 .55; rotate: 0deg; } 30% { scale: 1 1; rotate: -6deg; } 50% { scale: 1 1; rotate: 6deg; } 70% { scale: 1 1; rotate: -3deg; } }
.ill-spark { transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
.ill-spark.s2 { animation-delay: -1.2s; }
.card:hover .ill { animation: wiggle-ill .6s var(--ease-bounce); }
@keyframes wiggle-ill { 0% { rotate: 0deg; } 30% { rotate: -6deg; scale: 1.06; } 60% { rotate: 5deg; } 100% { rotate: 0deg; } }

/* Process */
.process { margin-top: 90px; }
.process-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 40px; }
.steps-wrap { position: relative; }
.steps-path { position: absolute; top: 0; left: 0; width: 100%; height: 120px; overflow: visible; }
.steps-path path { fill: none; stroke: var(--lilac); stroke-width: 4; stroke-dasharray: 10 12; stroke-linecap: round; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps li { text-align: center; padding: 0 6px; }
.step-n {
  display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: var(--yellow); border: 2px solid var(--line); box-shadow: 5px 5px 0 var(--shadow);
  font: 700 2.4rem var(--font-display); margin: 14px 0 18px; transition: transform .3s var(--ease-bounce);
}
.steps li:nth-child(2) .step-n { background: var(--sky-soft); }
.steps li:nth-child(3) .step-n { background: var(--coral-soft); }
.steps li:nth-child(4) .step-n { background: var(--green-soft); }
.steps li:hover .step-n { transform: scale(1.1) rotate(-8deg); }
.steps h4 { font-size: 1.3rem; margin-bottom: .3em; }
.steps p { font-size: 1rem; color: var(--ink-2); margin: 0; }

/* ============ ABOUT ============ */
.about { background: var(--sky-soft); padding-top: 140px; }
.wave-top { top: -1px; }
.wave-top path { fill: var(--cream); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.polaroid {
  background: var(--white); border: 2px solid var(--line); padding: 16px 16px 60px; border-radius: 10px;
  box-shadow: 10px 10px 0 var(--shadow); rotate: -4deg; transition: rotate .4s var(--ease-bounce);
}
.polaroid:hover { rotate: 0deg; }
.polaroid img { aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--line); border-radius: 4px; }
.polaroid-cap { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font: 700 2rem var(--font-hand); }
.about-badge { position: absolute; width: 170px; right: -40px; top: -50px; background: var(--white); border: 2px solid var(--line); border-radius: 50%; padding: 18px; box-shadow: 5px 5px 0 var(--shadow); animation: swing 5s ease-in-out infinite; }
@keyframes swing { 0%, 100% { rotate: -10deg; } 50% { rotate: 10deg; } }
.about-heart { width: 60px; height: 60px; left: -26px; bottom: 30px; color: var(--coral); animation: beat 1.6s ease-in-out infinite; }
.hand { font-family: var(--font-hand); font-size: 1.35em; color: var(--coral); font-weight: 700; display: inline-block; rotate: -4deg; }
blockquote {
  position: relative; margin: 26px 0; padding: 22px 24px 22px 70px; background: var(--white);
  border: 2px solid var(--line); border-radius: 20px; box-shadow: 5px 5px 0 var(--shadow);
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 500;
}
.quote-mark { position: absolute; left: 20px; top: 22px; width: 34px; fill: var(--yellow); stroke: var(--ink); stroke-width: 2; }
.creds { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.creds li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; color: var(--ink-2); }
.creds li span { font-size: 1.3rem; line-height: 1.3; }

/* ============ VIDEO BAND (video integrado al diseño) ============ */
.video-band { position: relative; padding: 20px 0 90px; }
.video-band-inner { position: relative; display: grid; place-items: center; }
.video-blob {
  width: min(980px, 100%); aspect-ratio: 16 / 8; overflow: hidden; background: var(--butter);
  border: 2px solid var(--line); box-shadow: 12px 12px 0 var(--lilac);
  border-radius: 58% 42% 55% 45% / 46% 52% 48% 54%; animation: morph 14s ease-in-out infinite;
}
.video-blob video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vb1 { top: 6%; left: 4%; background: var(--sky-soft); }
.vb2 { bottom: 14%; right: 2%; background: var(--green-soft); animation-delay: -2s; }
.vb2::after { left: auto; right: 22px; }
.vb-star { top: -4%; right: 18%; color: var(--yellow); width: 56px; height: 56px; animation: twinkle 3s infinite; }
.vb-heart { bottom: 4%; left: 12%; color: var(--coral); animation: beat 1.6s infinite; }
@media (max-width: 900px) { .video-blob { aspect-ratio: 4 / 3; } .vb1 { left: 0; } .vb2 { right: 0; } }

/* ============ SIGNS ============ */
.tabs { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 30px; max-width: 900px; }
.tabs button {
  position: relative; z-index: 1; font: 600 1.05rem var(--font-display); padding: .6em 1.25em; border-radius: 999px;
  border: 2px solid var(--line); background: var(--white); cursor: pointer; color: var(--ink);
  box-shadow: 0 4px 0 var(--shadow); transition: transform .2s var(--ease-bounce), background .2s, color .2s;
}
.tabs button:hover { transform: translateY(-3px); }
.tabs button[aria-selected="true"] { background: var(--indigo); color: var(--white); transform: translateY(2px); box-shadow: 0 2px 0 var(--shadow); }
.tab-indicator { display: none; }
.tab-panels { max-width: 820px; margin: 0 auto; }
.flags {
  list-style: none; padding: 30px 34px; margin: 0; background: var(--white);
  border: 2px solid var(--line); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--yellow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px;
}
.flags li {
  position: relative; padding-left: 46px; font-weight: 700; min-height: 32px;
  opacity: 0; transform: translateX(-12px); animation: slideIn .45s var(--ease-bounce) forwards;
}
.flags li:nth-child(2) { animation-delay: .08s; }
.flags li:nth-child(3) { animation-delay: .16s; }
.flags li:nth-child(4) { animation-delay: .24s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }
.flags li::before {
  content: "!"; position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--coral); color: var(--white); display: grid; place-items: center;
  font: 700 1.05rem var(--font-display); border: 2px solid var(--line);
}
.note { text-align: center; color: var(--muted); font-size: .92rem; margin: 22px 0 30px; }

/* ============ RESOURCES ============ */
.resources { position: relative; background: var(--sky-soft); padding: 100px 0; border-block: 2px solid var(--line); overflow: hidden; }
.resources-zigzag { position: absolute; inset: 0; background-image: var(--zigzag); background-size: 56px 28px; opacity: .8; animation: zig 40s linear infinite reverse; }
.resources-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.resources p { max-width: 34em; font-size: 1.1rem; }
.stats { display: grid; gap: 18px; margin: 0; perspective: 800px; }
.stats div {
  background: var(--white); border: 2px solid var(--line); border-radius: 22px; padding: 18px 26px;
  display: flex; align-items: baseline; gap: 14px; box-shadow: 6px 6px 0 var(--shadow); transition: transform .2s ease-out;
}
.stats div:nth-child(2) { margin-left: 36px; background: var(--coral-soft); }
.stats div:nth-child(3) { background: var(--green-soft); }
.stats dt { font: 700 2.6rem/1 var(--font-display); }
.stats dd { margin: 0; font-weight: 800; color: var(--ink-2); }

/* ============ FAQ ============ */
details {
  background: var(--white); border: 2px solid var(--line); border-radius: 20px;
  margin-bottom: 16px; box-shadow: 5px 5px 0 var(--shadow); transition: box-shadow .2s, transform .2s;
}
details:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--shadow); }
details[open] { background: var(--yellow-soft); }
summary {
  cursor: pointer; list-style: none; font: 600 1.18rem var(--font-display);
  padding: 22px 70px 22px 26px; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%;
  width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--line);
  display: grid; place-items: center; font-size: 1.4rem; line-height: 1; transition: rotate .3s var(--ease-bounce);
}
details[open] summary::after { rotate: 135deg; background: var(--coral); color: var(--white); }
.answer { padding: 0 26px 22px; }
.answer p { color: var(--ink-2); margin: 0; }
details[open] .answer { animation: slideIn .35s ease; }

/* ============ JUEGOS ============ */
.nav-games { color: var(--indigo) !important; }
/* Adelanto en la portada */
.play-teaser { background: var(--green-soft); overflow: hidden; }
.play-teaser::before { content: ""; position: absolute; inset: 0; background-image: var(--zigzag); background-size: 56px 28px; opacity: .7; }
.teaser-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.teaser-copy p { font-size: 1.12rem; color: var(--ink-2); max-width: 32em; }
.teaser-card {
  display: grid; justify-items: center; gap: 10px; text-decoration: none; text-align: center; padding: 30px 26px 26px;
  background: var(--white); border: 2px solid var(--line); border-radius: 30px; box-shadow: 10px 10px 0 var(--lilac);
  max-width: 380px; justify-self: center; rotate: 2deg; transition: transform .2s ease-out;
}
.teaser-emoji { font-size: 4.4rem; line-height: 1; animation: bob 3s ease-in-out infinite; }
.teaser-q { font: 600 1.3rem var(--font-display); }
.teaser-paddles { display: flex; gap: 14px; margin: 6px 0; }
.mini-paddle { font: 700 1.2rem var(--font-display); padding: 10px 22px; border-radius: 50%; border: 2px solid var(--line); }
.mini-paddle.yes { background: #6FD49B; } .mini-paddle.no { background: #FF8A7A; }
.teaser-name { font-family: var(--font-type); background: var(--butter); border: 2px solid var(--line); border-radius: 999px; padding: 3px 14px; }

/* Página de juegos */
.games-hero { position: relative; background: var(--butter); padding: 150px 0 110px; overflow: hidden; text-align: center; }
.games-hero-inner { position: relative; display: grid; justify-items: center; }
.games-hero .lead { margin-inline: auto; }
.game-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 34px; align-items: start; }
.game {
  position: relative; background: var(--white); border: 2px solid var(--line); border-radius: 34px;
  box-shadow: 10px 10px 0 var(--lilac); padding: 26px 26px 34px; text-align: center; min-height: 560px;
  display: flex; flex-direction: column;
}
.game:focus { outline: none; }
.game [hidden] { display: none !important; }
.game-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.game-top h2 { margin: 0; font-size: 2rem; }
.g-sound { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--line); background: var(--cream); font-size: 1.4rem; cursor: pointer; box-shadow: 0 3px 0 var(--shadow); }
.g-start, .g-play, .g-end { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.g-start p { font-size: 1.2rem; color: var(--ink-2); max-width: 22em; }
.g-start-paddles { display: flex; gap: 30px; margin-bottom: 10px; }
.g-start-paddles .paddle-yes { rotate: -10deg; animation: bob 3s ease-in-out infinite; }
.g-start-paddles .paddle-no { rotate: 10deg; animation: bob 3s ease-in-out infinite -1.5s; }
.g-stars { display: flex; gap: 6px; justify-content: center; }
.g-star { font-size: 1.6rem; color: var(--cream-2); -webkit-text-stroke: 1.5px var(--line); transition: color .3s, transform .3s var(--ease-bounce); }
.g-star.done { color: var(--yellow); transform: scale(1.15); }
.g-star.now { animation: pulse 1.4s ease-in-out infinite; }
.g-card {
  width: min(460px, 100%); background: var(--sky-soft); border: 2px solid var(--line); border-radius: 28px;
  padding: 22px 20px 16px; display: grid; justify-items: center; gap: 8px;
}
.g-card.pop-in { animation: popIn .5s var(--ease-bounce); }
.g-card.shake { animation: shake .45s ease; }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-10px) rotate(-2deg); } 40% { transform: translateX(10px) rotate(2deg); } 60% { transform: translateX(-6px); } 80% { transform: translateX(6px); } }
.g-emoji { font-size: clamp(4.5rem, 12vw, 6.5rem); line-height: 1.1; filter: drop-shadow(0 6px 0 rgba(74,67,98,.12)); }
.g-question { font: 600 clamp(1.35rem, 3vw, 1.75rem)/1.25 var(--font-display); margin: 0; }
.g-repeat { border: 0; background: none; font: 700 .95rem var(--font-body); color: var(--indigo); cursor: pointer; padding: 6px 10px; border-radius: 999px; }
.g-repeat:hover { background: var(--white); }
.g-feedback { min-height: 1.6em; margin: 0; font: 700 1.4rem var(--font-display); }
.g-feedback.ok { color: #1F9A5A; animation: popIn .4s var(--ease-bounce); }
.g-feedback.retry { color: #D0563F; }
.g-paddles { display: flex; gap: clamp(20px, 6vw, 56px); justify-content: center; }
.paddle { display: inline-flex; flex-direction: column; align-items: center; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; }
.paddle-face {
  display: grid; place-items: center; width: clamp(120px, 26vw, 160px); aspect-ratio: 1.3; border-radius: 50%;
  border: 6px solid var(--line); font: 700 clamp(2.4rem, 6vw, 3.4rem)/1 var(--font-display); color: var(--line);
  box-shadow: inset -10px -10px 0 rgba(0,0,0,.08), inset 10px 10px 0 rgba(255,255,255,.35); position: relative; z-index: 1;
}
.paddle-stick { width: 26px; height: 64px; margin-top: -6px; background: #C9935E; border: 4px solid var(--line); border-radius: 0 0 12px 12px; }
.paddle-yes .paddle-face { background: #6FD49B; }
.paddle-no .paddle-face { background: #FF8A7A; }
button.paddle { transition: transform .2s var(--ease-bounce); }
button.paddle:hover { transform: translateY(-8px) rotate(-4deg); }
button.paddle-no:hover { transform: translateY(-8px) rotate(4deg); }
button.paddle.tap { animation: wave .5s var(--ease-bounce); }
@keyframes wave { 0% { transform: none; } 40% { transform: translateY(-14px) rotate(-12deg) scale(1.08); } 70% { transform: translateY(-6px) rotate(8deg); } 100% { transform: none; } }
.paddle.static .paddle-face { width: 110px; } .paddle.static .paddle-stick { height: 44px; width: 20px; }
.g-keys { font-size: .85rem; color: var(--muted); margin: 0; }
kbd { font-family: var(--font-type); background: var(--cream); border: 1.5px solid var(--line); border-radius: 6px; padding: 0 6px; }
.g-end h3 { font-size: 2.4rem; margin: 0; }
.g-end-smile { width: 140px; animation: bounce 2.2s var(--ease-bounce) infinite; }
.g-score { font-weight: 800; color: var(--ink-2); margin: 0; }
.g-confetti { position: fixed; z-index: 95; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 3px; pointer-events: none; animation: bitFly 1s cubic-bezier(.2,.8,.3,1) forwards; }
.tips { background: var(--yellow-soft); border: 2px solid var(--line); border-radius: 28px; padding: 26px; box-shadow: 8px 8px 0 var(--peach); }
.tips h3 { font-size: 1.5rem; }
.tips p, .tips li { color: var(--ink-2); }
.tips ul { padding-left: 1.1em; margin: 0 0 1em; display: grid; gap: 8px; }
.tips-note { font-size: .88rem; color: var(--muted) !important; margin: 0; }
.soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.soon-card { background: var(--white); border: 2px dashed var(--lilac); border-radius: 24px; padding: 26px; text-align: center; }
.soon-card span { font-size: 3rem; display: block; margin-bottom: 8px; filter: grayscale(.2); }
.soon-card h3 { font-size: 1.3rem; margin-bottom: .3em; }
.soon-card p { color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .teaser-grid, .game-layout, .soon-grid { grid-template-columns: 1fr; }
  .games-hero { padding: 120px 0 90px; }
  .game { min-height: 520px; padding: 20px 14px 28px; }
}

/* ============ CTA BAND ============ */
.cta-band { background: var(--peach); border-block: 2px solid var(--line); padding: 70px 0; color: var(--ink); overflow: hidden; position: relative; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: var(--zigzag); background-size: 56px 28px; opacity: .5; }
.cta-inner { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; text-align: center; }
.cta-inner h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); text-shadow: 3px 3px 0 var(--white); }
.cta-smile { width: 110px; animation: bounce 2.4s var(--ease-bounce) infinite; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: stretch; }
.contact-card { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: 8px 8px 0 var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 700; }
.ci { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; background: var(--yellow); border: 2px solid var(--line); display: grid; place-items: center; }
.ci svg { width: 22px; height: 22px; fill: var(--ink); color: var(--ink); }
.contact-list li > a, .contact-list li > span:last-child { padding-top: 8px; }
.contact-list a { text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.socials { display: flex; gap: 12px; margin-top: 22px; justify-content: center; }
.socials a { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; background: var(--cream); box-shadow: 0 3px 0 var(--shadow); transition: transform .2s var(--ease-bounce), background .2s; }
.socials a:hover { background: var(--yellow); transform: translateY(-4px) rotate(-8deg); }
.socials svg { width: 22px; height: 22px; fill: var(--ink); }
.map { border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 420px; box-shadow: 8px 8px 0 var(--coral); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ============ FOOTER ============ */
.site-footer { position: relative; background: var(--green-soft); color: var(--ink); padding: 70px 0 100px; margin-top: 60px; text-align: center; }
.wave-footer { top: -69px; }
.wave-footer path { fill: var(--green-soft); }
.footer-inner { display: grid; justify-items: center; gap: 10px; }
.footer-logo { width: 150px; background: var(--cream); border-radius: 50%; padding: 18px; border: 2px solid var(--line); box-shadow: 5px 5px 0 var(--white); margin-bottom: 8px; animation: swing 6s ease-in-out infinite; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 6px 0 10px; }
.footer-nav a { color: var(--indigo); text-decoration: none; font-weight: 700; }
.footer-nav a:hover { text-decoration: underline; }
.footer-social a { color: var(--indigo); font-weight: 700; text-decoration: none; }
.footer-social a:hover { text-decoration: underline; }
.small { font-size: .85rem; color: var(--muted); }

/* WhatsApp */
.btn-wa-inline svg { width: 22px; height: 22px; fill: #1FA855; }
.ci-wa { background: #DDF7E7; }
.ci-wa svg { fill: #1FA855; }
.fab-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  background: #25D366; border: 2px solid var(--line); box-shadow: 0 4px 0 var(--shadow), 0 8px 24px rgba(37,211,102,.35);
  display: grid; place-items: center; text-decoration: none; animation: ring 5s ease-in-out infinite 3s;
}
.fab-wa svg { width: 32px; height: 32px; fill: var(--white); }
.fab-wa::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid #25D366; animation: ripple 2.2s ease-out infinite; }
.fab-tip {
  position: absolute; right: 74px; top: 50%; translate: 0 -50%; white-space: nowrap;
  background: var(--white); color: var(--ink); border: 2px solid var(--line); border-radius: 16px; padding: 7px 14px;
  font: 600 .95rem var(--font-display); box-shadow: 3px 3px 0 var(--shadow);
  opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.fab-wa:hover .fab-tip, .fab-wa.hint .fab-tip { opacity: 1; transform: none; }

/* Booking dialog */
.book {
  width: min(480px, calc(100% - 32px)); border: 2px solid var(--line); border-radius: 28px; padding: 34px 28px 28px;
  background: var(--cream); color: var(--ink); text-align: center; box-shadow: 10px 10px 0 var(--lilac);
}
.book::backdrop { background: rgba(91, 79, 207, .25); backdrop-filter: blur(4px); }
.book[open] { animation: popIn .45s var(--ease-bounce); }
.book h2 { font-size: 1.9rem; margin-bottom: .3em; }
.book p { color: var(--ink-2); }
.book-smile { width: 80px; margin: 0 auto 10px; animation: bounce 2.2s var(--ease-bounce) infinite; }
.book-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--white); font: 600 1.5rem/1 var(--font-display); color: var(--ink); cursor: pointer;
}
.book-options { display: grid; gap: 12px; margin-top: 20px; text-align: left; }
.book-opt {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; text-decoration: none;
  border: 2px solid var(--line); background: var(--white); box-shadow: 4px 4px 0 var(--shadow);
  transition: transform .2s var(--ease-bounce), box-shadow .2s;
}
.book-opt:hover { transform: translate(-2px, -3px); box-shadow: 6px 7px 0 var(--shadow); }
.book-opt strong { display: block; font: 600 1.15rem var(--font-display); }
.book-opt small { color: var(--muted); font-weight: 700; }
.opt-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; border: 2px solid var(--line); }
.opt-icon svg { width: 26px; height: 26px; }
.opt-wa .opt-icon { background: #DDF7E7; } .opt-wa svg { fill: #1FA855; }
.opt-form .opt-icon { background: var(--lilac-soft); color: var(--indigo); }
.opt-call .opt-icon { background: var(--butter); } .opt-call svg { fill: var(--ink); }

/* ============ CURSOR JUGUETÓN (solo con mouse) ============ */
.cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 90; width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 2.5px solid var(--lilac); border-radius: 50%; pointer-events: none; display: grid; place-items: center;
  transition: width .25s var(--ease-bounce), height .25s var(--ease-bounce), margin .25s var(--ease-bounce), background .25s, border-color .25s, opacity .25s;
  opacity: 0;
}
.cursor-ring.show { opacity: 1; }
.cursor-ring svg { width: 60%; height: 60%; opacity: 0; transform: scale(.4) rotate(-20deg); transition: opacity .2s, transform .3s var(--ease-bounce); }
.cursor-ring.hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(255, 228, 143, .55); border-color: var(--yellow); }
.cursor-ring.hover svg { opacity: 1; transform: none; }
.cursor-ring.down { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.cursor-bit { position: fixed; z-index: 89; pointer-events: none; border-radius: 50%; }
.cursor-bit.trail { width: 8px; height: 8px; margin: -4px 0 0 -4px; animation: bitFade .7s ease-out forwards; }
.cursor-bit.burst { width: 12px; height: 12px; margin: -6px 0 0 -6px; animation: bitFly .7s cubic-bezier(.2,.8,.3,1) forwards; }
.cursor-bit.star { border-radius: 0; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); width: 16px; height: 16px; margin: -8px 0 0 -8px; }
@keyframes bitFade { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(.2) translateY(8px); } }
@keyframes bitFly { from { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4) rotate(140deg); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px) scale(.98); transition: opacity .7s ease, transform .7s var(--ease-bounce); transition-delay: calc(var(--d, 0) * .1s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pop, .reveal, .flags li { opacity: 1 !important; transform: none !important; }
  .scribble path, .draw path, .trail-line, svg.trail-item path, svg.trail-item circle { stroke-dashoffset: 0 !important; }
  .trail-item { opacity: 1 !important; transform: none !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 84px 12px auto 12px; background: rgba(255,251,241,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 20px;
    border: 2px solid var(--line); border-radius: 22px; box-shadow: 6px 6px 0 var(--shadow);
    transform: translateY(-20px) scale(.96); opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease-bounce), opacity .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 13px 4px; border-bottom: 2px dashed var(--cream-2); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-inner { height: 84px; }
  .site-header.scrolled .header-inner { height: 60px; margin-top: 8px; }
  .brand-compact { font-size: 1rem; }
  .brand-compact img { width: 36px; }
  .brand-full { height: 68px; }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .hero { padding: 110px 0 100px; }
  .hero-grid, .about-grid, .resources-grid, .contact-grid, .plans-inner { grid-template-columns: 1fr; }
  .hero-grid { gap: 56px; }
  .hero-stage { width: min(340px, 78%); order: -1; }
  .bubble { font-size: .95rem; padding: 6px 12px; }
  .b1 { left: -10%; } .b4 { left: -16%; } .b3 { right: -14%; }
  .l1 { left: -20%; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .steps-path { display: none; }
  .section { padding: 76px 0; }
  .about { padding-top: 110px; }
  .about-visual { max-width: 320px; }
  .about-badge { width: 120px; right: -20px; top: -40px; padding: 12px; }
  .flags { grid-template-columns: 1fr; padding: 24px 22px; }
  .stats div:nth-child(2) { margin-left: 0; }
  .fab-tip { display: none; }
}
@media (max-width: 480px) {
  .plan-list { grid-template-columns: 1fr 1fr; }
  .plan-list li { min-height: 100px; padding: 14px 10px 10px; }
  .hero-ctas .btn { width: 100%; }
  .name-tag { font-size: .78rem; padding: 8px 12px; }
  .name-tag strong { font-size: .92rem; }
  .contact-card { padding: 28px 20px; }
  .steps { grid-template-columns: 1fr; }
  .tabs button { font-size: .95rem; padding: .5em 1em; }
  .eyebrow { font-size: .95rem; }
}
@keyframes ring { 0%, 90%, 100% { rotate: 0deg; } 92% { rotate: -14deg; } 94% { rotate: 14deg; } 96% { rotate: -10deg; } 98% { rotate: 8deg; } }
@media (pointer: coarse) { .g-keys { display: none; } }
