/* ============ Estación 1:15 Cafetería ============ */
:root {
  --cream: #f7f0e6;
  --cream-2: #efe4d3;
  --paper: #fffaf3;
  --espresso: #2b170c;
  --brown: #5a2e14;
  --brown-2: #6b3316;
  --orange: #c8511b;
  --orange-hot: #f26b1d;
  --ink: #2b1d14;
  --muted: #7a6656;
  --line: rgba(90, 46, 20, .15);
  --radius: 22px;
  --max: 1200px;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Outfit', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; color: var(--brown); }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 14px;
}
.eyebrow--light { color: var(--orange-hot); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .98rem; border: 2px solid var(--orange);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--brown); border-color: var(--brown); }
.btn--ghost { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn--ghost:hover { color: #fff; }
.btn--small { padding: 8px 18px; font-size: .88rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px max(16px, calc((100% - var(--max)) / 2));
  background: rgba(247, 240, 230, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { display: block; }
.logo { height: 56px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.nav__links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--orange); transition: width .25s ease;
}
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 7vw, 90px) 16px clamp(70px, 9vw, 120px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero__title { font-size: clamp(3.4rem, 9vw, 7rem); font-weight: 800; color: var(--brown); line-height: .95; letter-spacing: -.035em; }
.hero__title .hl { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .hl > span { display: inline-block; }
.hero__title .hl:first-child > span { color: var(--orange); }
.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 30ch; margin: 22px 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; min-height: 560px; }
.hero__img { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 40px 70px -35px rgba(43, 23, 12, .55); will-change: transform; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { position: absolute; right: 0; top: 0; width: 76%; height: 100%; border-radius: 220px 220px var(--radius) var(--radius); }
.hero__img--small { position: absolute; left: 0; bottom: 36px; width: 42%; aspect-ratio: 4/5; border: 6px solid var(--cream); overflow: visible; }
.hero__img--small img { border-radius: calc(var(--radius) - 6px); }
.steam { position: absolute; left: 50%; bottom: 58%; width: 60%; transform: translateX(-50%); overflow: visible; pointer-events: none; }
.steam path { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 40 160; opacity: 0; animation: steam 3.6s ease-in-out infinite; filter: blur(1.5px); }
.steam path:nth-child(2) { animation-delay: 1.2s; }
.steam path:nth-child(3) { animation-delay: 2.4s; }
@keyframes steam {
  0% { stroke-dashoffset: 0; opacity: 0; }
  25% { opacity: .9; }
  100% { stroke-dashoffset: -160; opacity: 0; }
}
.hero__badge {
  position: absolute; left: 6%; top: 8%; width: 124px; height: 124px; z-index: 2;
  border-radius: 50%; background: var(--brown); color: var(--cream);
  display: grid; place-items: center; box-shadow: 0 16px 30px -12px rgba(43, 23, 12, .6);
}
.hero__badge svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.hero__badge text { fill: var(--cream); font-size: 10.5px; letter-spacing: 2.4px; font-weight: 500; font-family: var(--body); }
.hero__badge strong { font-family: var(--display); font-size: 1.7rem; color: var(--orange-hot); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(90, 46, 20, .35); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Entrada de la portada */
.js .hero__title .hl > span { transform: translateY(105%); }
.js .hero__in { opacity: 0; transform: translateY(18px); }
.js .hero__img--main { clip-path: inset(100% 0 0 0 round 220px 220px var(--radius) var(--radius)); }
.js .hero__img--small { opacity: 0; }
.js .hero__badge { transform: scale(0); }
.is-loaded .hero__title .hl > span { transform: none; transition: transform 1s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * .1s + .1s); }
.is-loaded .hero__in { opacity: 1; transform: none; transition: opacity .8s ease calc(var(--i) * .1s + .15s), transform .8s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * .1s + .15s); }
.is-loaded .hero__img--main { clip-path: inset(0 0 0 0 round 220px 220px var(--radius) var(--radius)); transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1) .2s; }
.is-loaded .hero__img--small { opacity: 1; transition: opacity .9s ease .8s; }
.is-loaded .hero__badge { transform: none; transition: transform .7s cubic-bezier(.3, 1.5, .5, 1) 1.1s; }

/* ---------- Marquee ---------- */
.marquee { background: var(--orange); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -10px; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 32px; width: max-content; animation: slide 30s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem); text-transform: uppercase; white-space: nowrap; }
.marquee i { font-style: normal; align-self: center; opacity: .7; display: inline-block; animation: spin 6s linear infinite; }
@keyframes slide { to { transform: translateX(-33.333%); } }

/* ---------- ¿Por qué 1:15? ---------- */
.story {
  max-width: var(--max); margin: 0 auto; padding: clamp(90px, 11vw, 150px) 16px;
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 90px); align-items: center;
}
.story__img { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 40px 70px -40px rgba(43, 23, 12, .6); }
.story__img img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.ratio-big { display: flex; align-items: flex-end; gap: clamp(12px, 3vw, 28px); margin: 6px 0 26px; }
.ratio-big__part { display: grid; justify-items: start; }
.ratio-big__part b { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 13vw, 9.5rem); line-height: .85; color: var(--brown); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ratio-big__part small { font-size: .95rem; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }
.ratio-big__icon { width: 34px; height: 34px; margin-bottom: 8px; fill: var(--orange); stroke: var(--paper); stroke-width: 2; }
.ratio-big__icon--drop { fill: #7cc6e8; }
.ratio-big.is-in .ratio-big__icon { animation: bob 2.6s ease-in-out infinite; }
.ratio-big.is-in .ratio-big__icon--drop { animation-delay: .4s; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-6deg); } }
.ratio-big__colon { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 10vw, 7.5rem); line-height: .85; color: var(--orange); padding-bottom: 34px; animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.story__lead { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink); max-width: 30ch; margin: 0 0 26px; line-height: 1.45; }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 9px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 500; font-size: .92rem; color: var(--brown); }

/* ---------- Menu ---------- */
.menu { background: var(--espresso); color: var(--cream); padding: clamp(80px, 10vw, 130px) 16px; }
.menu__head, .tabs, .menu__panel { max-width: var(--max); margin-left: auto; margin-right: auto; }
.menu h2 { color: var(--cream); max-width: 16ch; }
.menu__note { color: rgba(247, 240, 230, .7); margin: 20px 0 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.menu__note strong { color: var(--orange-hot); }

.tag {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  font-size: .68rem; font-weight: 700; vertical-align: middle; margin-left: 6px; flex: none;
}
.tag--v { background: #5c8a3a; color: #fff; }
.tag--r { border: 1.5px solid var(--orange-hot); color: var(--orange-hot); }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 11px 20px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--cream); border: 1.5px solid rgba(247, 240, 230, .25);
  font: 500 .95rem var(--body); transition: all .2s ease;
}
.tab:hover { border-color: var(--orange-hot); }
.tab[aria-selected="true"] { background: var(--orange-hot); border-color: var(--orange-hot); color: #fff; }

.menu__panel { margin-top: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 48px; }
.menu__panel.is-changing { opacity: 0; transform: translateY(8px); }
.menu__panel { transition: opacity .25s ease, transform .25s ease; }
.m-group { break-inside: avoid; }
.m-group h3 { font-size: 1.5rem; color: var(--orange-hot); margin: 10px 0 6px; font-weight: 800; }
.m-sizes, .m-row { display: grid; grid-template-columns: 1fr repeat(var(--cols), 56px); align-items: baseline; gap: 4px; }
.m-sizes { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--orange-hot); padding-bottom: 6px; }
.m-sizes span { text-align: right; }
.m-row { padding: 12px 0; border-bottom: 1px dashed rgba(247, 240, 230, .16); }
.m-name { font-weight: 500; font-size: 1.02rem; display: flex; align-items: center; flex-wrap: wrap; }
.m-desc { display: block; width: 100%; font-size: .82rem; color: rgba(247, 240, 230, .55); font-weight: 400; margin-top: 2px; }
.m-price { text-align: right; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--cream); }
.m-price:empty::before { content: '—'; opacity: .25; font-weight: 400; }

/* ---------- Gallery ---------- */
.gallery { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 130px) 16px; }
.section-head { margin-bottom: 40px; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gallery__grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 16px; }
.gallery__grid .g-tall { grid-row: span 2; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__grid figure:hover img { transform: scale(1.06); }
.gallery__grid figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 250, 243, .92); color: var(--brown); font-size: .82rem; font-weight: 600;
}
.gallery__more { margin-top: 30px; text-align: center; }
.gallery__more a { color: var(--brown); text-decoration: none; font-size: 1.05rem; }
.gallery__more b { color: var(--orange); }

/* ---------- Visit ---------- */
.visit {
  max-width: var(--max); margin: 0 auto 100px; padding: 0 16px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 0;
}
.visit__info { background: var(--paper); padding: clamp(32px, 5vw, 60px); border-radius: var(--radius) 0 0 var(--radius); border: 1px solid var(--line); border-right: 0; }
.visit dl { margin: 32px 0; display: grid; gap: 22px; }
.visit dl div { display: grid; gap: 2px; }
.visit dt { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--orange); }
.visit dd { margin: 0; font-size: 1.1rem; }
.visit dd a { color: var(--brown); font-weight: 600; }
.visit__map { border-radius: 0 var(--radius) var(--radius) 0; overflow: hidden; min-height: 420px; background: var(--cream-2); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.9); }

/* ---------- Reloj 1:15 ---------- */
.clock {
  display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 0;
  padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--paper);
  border: 1px solid var(--line); font-size: .92rem; color: var(--muted);
}
.clock b { color: var(--brown); font-family: var(--display); font-variant-numeric: tabular-nums; }
.clock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange-hot); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }

/* ---------- Encabezados de sección ---------- */
.section-head__lead { color: var(--muted); font-size: 1.08rem; max-width: 52ch; margin: 18px 0 0; }
.section-head__lead a { color: var(--orange); font-weight: 600; }
.section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.section-head--split .section-head__lead { margin: 0; }

/* ---------- Guía del café ---------- */
.guide { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 130px) 16px 40px; --glass: #fffdf9; }
.guide__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.drink {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 20px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.drink:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(43, 23, 12, .45); }
.drink .cup { width: 120px; color: var(--brown); margin: 0 auto 12px; }
.drink h3 { font-size: 1.35rem; color: var(--brown); }
.drink > p { color: var(--muted); font-size: .92rem; margin: 6px 0 14px; line-height: 1.5; }
.drink__layers { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 5px; font-size: .85rem; }
.drink__layers li { display: flex; align-items: center; gap: 8px; }
.drink__layers i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(43, 23, 12, .25); flex: none; }
.drink__layers span { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.drink__price { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--muted); }
.drink__price b { color: var(--orange); font-family: var(--display); font-size: 1.05rem; }
.drink__price span { font-size: .75rem; font-weight: 600; letter-spacing: .1em; }
.guide__legend { margin-top: 22px; color: var(--muted); font-size: .92rem; text-align: center; }
.guide__legend b { color: var(--orange); }

/* ---------- Juegos ---------- */
.games { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 120px) 16px; }
.games .section-head { text-align: center; }
.games .section-head__lead { margin-left: auto; margin-right: auto; }
.games__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.gtab {
  padding: 12px 22px; border-radius: 999px; cursor: pointer; font: 600 .95rem var(--body);
  background: var(--paper); color: var(--brown); border: 1.5px solid var(--line); transition: all .2s ease;
}
.gtab:hover { border-color: var(--orange); }
.gtab[aria-selected="true"] { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.game {
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(22px, 4vw, 48px); min-height: 460px;
}

/* Quiz */
.quiz { max-width: 760px; margin: 0 auto; }
.quiz h3 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--brown); margin-bottom: 12px; }
.quiz__intro { text-align: center; padding: 50px 0; }
.quiz__intro > p:not(.eyebrow) { color: var(--muted); margin: 0 0 26px; }
.quiz__progress { height: 6px; background: var(--cream-2); border-radius: 99px; overflow: hidden; margin-bottom: 26px; }
.quiz__progress span { display: block; height: 100%; background: var(--orange); transition: width .4s ease; }
.quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.quiz__opt {
  display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  padding: 18px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff;
  font: 500 1rem var(--body); color: var(--ink); transition: all .18s ease;
}
.quiz__opt span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--cream-2); color: var(--brown); font-weight: 700; font-family: var(--display);
}
.quiz__opt:hover, .quiz__opt:focus-visible { border-color: var(--orange); transform: translateY(-2px); outline: none; }
.quiz__opt:hover span { background: var(--orange); color: #fff; }
.quiz__result { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: center; animation: pop .5s ease; }
.quiz__result img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 20px; }
.quiz__result h3 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--orange); }
.quiz__result p { color: var(--muted); font-size: 1.05rem; }
.quiz__cta { font-weight: 600; color: var(--brown) !important; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* Memorama */
.memo__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-bottom: 22px; color: var(--muted); }
.memo__bar b { color: var(--brown); font-family: var(--display); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.memo { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; max-width: 900px; margin: 0 auto; }
.card { aspect-ratio: 3/4; perspective: 900px; background: none; border: 0; padding: 0; cursor: pointer; }
.card__inner { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .5s ease; }
.card.is-open .card__inner, .card.is-done .card__inner { transform: rotateY(180deg); }
.card__back, .card__front {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.card__back {
  display: grid; place-items: center; border: 1.5px solid var(--line);
  background: var(--cream) repeating-linear-gradient(45deg, transparent 0 10px, rgba(200, 81, 27, .06) 10px 20px);
}
.card__back img { width: 72%; }
.card:hover .card__back { border-color: var(--orange); }
.card__front { transform: rotateY(180deg); background: var(--brown); }
.card__front img { width: 100%; height: 100%; object-fit: cover; }
.card__front em {
  position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 3px 6px; border-radius: 8px; font-style: normal;
  background: rgba(255, 250, 243, .92); color: var(--brown); font-size: .72rem; font-weight: 600; text-align: center;
}
.card.is-done .card__front { box-shadow: 0 0 0 3px var(--orange-hot); }
.memo__win { text-align: center; margin: 24px 0 0; font-size: 1.1rem; color: var(--brown); animation: pop .4s ease; }
.memo__win b { color: var(--orange); }

/* Ruleta */
.wheel-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 920px; margin: 0 auto; }
.wheel-box { position: relative; width: min(100%, 400px); aspect-ratio: 1; margin: 0 auto; }
.wheel { width: 100%; height: 100%; transition: transform 4.2s cubic-bezier(.17, .67, .12, 1); filter: drop-shadow(0 18px 30px rgba(43, 23, 12, .25)); }
.wheel__pointer {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 30px solid var(--espresso);
}
.wheel__spin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 26%; aspect-ratio: 1; border-radius: 50%; cursor: pointer;
  background: var(--espresso); color: #fff; border: 4px solid var(--cream);
  font: 800 1.05rem var(--display); box-shadow: 0 6px 16px rgba(0, 0, 0, .25); transition: transform .2s ease;
}
.wheel__spin:hover { transform: translate(-50%, -50%) scale(1.06); }
.wheel__result h3 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); color: var(--brown); margin-bottom: 8px; }
.wheel__result p { color: var(--muted); }
.wheel__result { transition: opacity .3s ease; }
.wheel__result.is-waiting { opacity: .35; }
.wheel__price { font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--orange) !important; margin: 8px 0; }
.wheel__price span { font-size: .9rem; letter-spacing: .1em; color: var(--muted); }

/* ---------- Colorear ---------- */
.coloring { background: var(--cream-2); padding: clamp(80px, 10vw, 130px) max(16px, calc((100% - var(--max)) / 2)); }
.sheets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 40px 0 30px; }
.sheet {
  display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 12px; cursor: pointer;
  background: var(--paper); border: 2px solid transparent; border-radius: 16px;
  font: 600 .88rem var(--body); color: var(--brown); transition: all .2s ease;
}
.sheet img { width: 100%; aspect-ratio: 850/1100; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.sheet:hover { transform: translateY(-3px); }
.sheet[aria-pressed="true"] { border-color: var(--orange); }
.studio {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start;
  background: var(--paper); border-radius: 28px; padding: clamp(16px, 3vw, 32px); scroll-margin-top: 90px;
}
.studio__canvas { background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); max-width: 640px; width: 100%; margin: 0 auto; }
.studio__canvas svg { display: block; width: 100%; height: auto; }
.studio__canvas .c { cursor: pointer; transition: fill .15s ease; }
.studio__canvas .c:hover { filter: brightness(.94); }
.studio__tools { position: sticky; top: 96px; }
.studio__tools h3 { font-size: 1.6rem; color: var(--brown); }
.studio__hint { color: var(--muted); font-size: .92rem; margin: 6px 0 18px; }
.palette { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.swatch {
  aspect-ratio: 1; border-radius: 50%; cursor: pointer; background: var(--sw);
  border: 2px solid rgba(43, 23, 12, .15); transition: transform .15s ease;
}
.swatch:hover { transform: scale(1.1); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--brown); transform: scale(1.08); }
.swatch[data-c="#ffffff"] { background: #fff linear-gradient(135deg, transparent 45%, #e85d75 45% 55%, transparent 55%); }
.studio__actions { display: flex; gap: 8px; margin: 18px 0; }
.studio__actions .btn { flex: 1; }
.studio__downloads { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- Menú: agregar al pedido ---------- */
.m-add {
  justify-self: end; background: transparent; border: 1.5px solid rgba(247, 240, 230, .18); border-radius: 999px;
  color: var(--cream); cursor: pointer; padding: 3px 9px; font-family: var(--display); font-weight: 700; font-size: 1rem;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.m-add:hover, .m-add:focus-visible { background: var(--orange-hot); border-color: var(--orange-hot); color: #fff; outline: none; }
.m-add.is-added { background: #5c8a3a; border-color: #5c8a3a; transform: scale(1.1); }

/* ---------- Botones de pedido ---------- */
.cart-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; margin-left: 4px;
  border-radius: 99px; background: #fff; color: var(--orange); font-size: .75rem; font-weight: 700;
}
.cart-count[hidden] { display: none; }
.nav__links button.btn { cursor: pointer; }
.btn--wa { background: #1f9e55; border-color: #1f9e55; cursor: pointer; }
.btn--wa:hover { background: #17824a; border-color: #17824a; }
.btn--wa svg { width: 20px; height: 20px; }

.cart-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 16px;
  border-radius: 999px; border: 0; cursor: pointer; font: 600 .95rem var(--body);
  background: var(--espresso); color: var(--cream); box-shadow: 0 14px 30px -10px rgba(43, 23, 12, .6);
}
.cart-fab[hidden] { display: none; }
.cart-fab svg { width: 22px; height: 22px; }
.cart-fab__count { background: var(--orange-hot); color: #fff; border-radius: 99px; min-width: 24px; height: 24px; display: grid; place-items: center; font-size: .8rem; padding: 0 6px; }
.cart-fab__total { font-family: var(--display); font-weight: 700; }
.cart-fab.is-bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.1); } }

/* ---------- Carrito ---------- */
body.no-scroll { overflow: hidden; }
.cart-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(43, 23, 12, .45); opacity: 0; transition: opacity .25s ease; }
.cart-overlay.is-open { opacity: 1; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--cream);
  transform: translateX(100%); transition: transform .25s ease; box-shadow: -20px 0 50px -20px rgba(43, 23, 12, .5);
}
.cart.is-open { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: 1.6rem; }
.cart__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--brown); }
.cart__body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.cart__empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart__empty b { color: var(--brown); font-size: 1.1rem; }
.cart__empty[hidden], .cart__form[hidden], .cart__foot[hidden] { display: none; }
.cart__list { list-style: none; margin: 0 0 18px; padding: 0; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.line__info { display: grid; gap: 2px; }
.line__info b { color: var(--brown); }
.line__info > span { font-size: .82rem; color: var(--muted); }
.line__opt { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--ink); margin-top: 4px; cursor: pointer; }
.line__opt input { accent-color: var(--orange); width: 16px; height: 16px; }
.line__qty { display: flex; align-items: center; gap: 4px; align-self: start; }
.line__qty button { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); color: var(--brown); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.line__qty button:hover { border-color: var(--orange); }
.line__qty output { min-width: 22px; text-align: center; font-weight: 700; }
.line__sub { grid-column: 2; justify-self: end; font-family: var(--display); color: var(--brown); }
.cart__form { display: grid; gap: 14px; padding: 16px; background: var(--paper); border-radius: 16px; }
.cart__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: 10px; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; }
.cart__total span { color: var(--muted); }
.cart__total b { font-family: var(--display); font-size: 1.8rem; color: var(--brown); }
.cart__clear { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .88rem; }
.seg { display: flex; gap: 6px; }
.seg label { flex: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; font-size: .92rem; }
.seg input:checked + span { background: var(--brown); color: #fff; border-color: var(--brown); }
.seg input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- Campos de formulario ---------- */
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field__label { font-weight: 600; font-size: .9rem; color: var(--brown); }
.field label em, .field__label em { color: var(--orange); font-style: normal; }
.field label span, .field__label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--body); color: var(--ink); background: #fff;
  border: 1.5px solid rgba(90, 46, 20, .22); border-radius: 12px; padding: 12px 14px; transition: border-color .15s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(200, 81, 27, .15); }
.field__hint { font-size: .78rem; color: var(--muted); }
.field__error { display: none; font-size: .8rem; color: #b3261e; }
.field.is-invalid input, .field.is-invalid select { border-color: #b3261e; }
.field.is-invalid .field__error { display: block; }
.field__money { position: relative; }
.field__money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.field__money input { padding-left: 28px; }

/* ---------- Facturación ---------- */
.billing {
  max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 130px) 16px;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start;
}
.billing__intro { position: sticky; top: 100px; }
.steps { list-style: none; counter-reset: paso; padding: 0; margin: 30px 0; display: grid; gap: 18px; }
.steps li { counter-increment: paso; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; }
.steps li::before {
  content: counter(paso); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: #fff; font-family: var(--display); font-weight: 800;
}
.steps b { color: var(--brown); font-family: var(--display); font-size: 1.1rem; }
.steps span { color: var(--muted); font-size: .92rem; }
.billing__privacy { font-size: .85rem; color: var(--muted); padding: 12px 14px; border-left: 3px solid var(--orange); background: var(--paper); border-radius: 0 10px 10px 0; }
.billing__form { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 4vw, 40px); display: grid; gap: 26px; }
.billing__form fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.billing__form legend { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--brown); margin-bottom: 14px; padding: 0; }
.field--full { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--orange); width: 18px; height: 18px; }
.billing__form .btn--wa { justify-self: start; }

/* ---------- Página de facturación ---------- */
.billing--page { padding-top: clamp(40px, 6vw, 70px); }
.billing--page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; color: var(--brown); }
.back { display: block; width: fit-content; margin-bottom: 22px; color: var(--brown); text-decoration: none; font-weight: 600; font-size: .95rem; }
.back:hover { color: var(--orange); }
.nav__links a[aria-current="page"] { color: var(--orange); }
.nav__links a[aria-current="page"]::after { width: 100%; }

/* ---------- Concurso de disfraces ---------- */
.fest {
  --night: #1b1122; --night-2: #2a1a33; --glow: #ff8a2b;
  position: relative; overflow: hidden; color: #f6ecff;
  background: radial-gradient(120% 90% at 85% 10%, #3a2248 0%, var(--night) 55%, #120b17 100%);
  padding: clamp(70px, 9vw, 120px) 16px;
}
.fest__deco { position: absolute; inset: 0; width: 100%; height: 100%; color: #ffffff; opacity: .09; pointer-events: none; }
.fest__inner { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.fest__date {
  display: inline-block; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px;
  background: rgba(242, 107, 29, .16); color: var(--glow, #ff8a2b); border: 1px solid rgba(242, 107, 29, .4);
  font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
}
.fest h2, .fest-page h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 800; color: #fff; line-height: .98; }
.fest h2 span, .fest-page h1 span { color: var(--orange-hot); text-shadow: 0 0 28px rgba(242, 107, 29, .55); }
.fest__lead { font-size: 1.12rem; color: rgba(246, 236, 255, .78); max-width: 44ch; margin: 20px 0 28px; }
.fest__lead b { color: #fff; }
.fest__cd { display: flex; gap: 10px; margin-bottom: 26px; }
.fest__cd[hidden] { display: none; }
.fest__cd div {
  min-width: 74px; padding: 12px 8px; border-radius: 16px; text-align: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.fest__cd b { display: block; font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.fest__cd span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 236, 255, .6); }
.fest__spots { margin: 0 0 26px; max-width: 380px; }
.fest__spots[hidden] { display: none; }
.fest__spots p { margin: 0 0 8px; font-size: .95rem; }
.fest__spots b { font-family: var(--display); font-size: 1.3rem; color: var(--orange-hot); }
.fest__bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.fest__bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--orange), var(--orange-hot)); transition: width .8s ease; }
.btn--fest { background: var(--orange-hot); border-color: var(--orange-hot); box-shadow: 0 10px 30px -8px rgba(242, 107, 29, .7); cursor: pointer; }
.btn--fest:hover { background: #fff; border-color: #fff; color: var(--night, #1b1122); }
.btn--fest:disabled { opacity: .6; cursor: wait; transform: none; }
.fest__full, .fest__done { margin: 0; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); max-width: 46ch; }
.fest__full b { color: var(--orange-hot); }

.prizes { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.prize {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 20px 22px; border-radius: 20px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #f6ecff;
}
.prize__place { width: 100%; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 236, 255, .65); font-weight: 600; }
.prize b { font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 1; color: #fff; }
.prize small { font-size: .95rem; color: rgba(246, 236, 255, .75); }
.prize i { font-style: normal; font-size: 1.4rem; color: var(--orange-hot); font-weight: 700; margin: 0 2px; }
.prize--1 { background: linear-gradient(135deg, rgba(242, 107, 29, .95), rgba(200, 81, 27, .95)); border-color: transparent; box-shadow: 0 20px 40px -18px rgba(242, 107, 29, .8); }
.prize--1 .prize__place, .prize--1 small { color: rgba(255, 255, 255, .85); }
.prize--1 b { font-size: 2.6rem; }
.prize--1 i { color: #fff; }

/* Página del concurso */
.fest-page { max-width: var(--max); margin: 0 auto; padding: clamp(30px, 5vw, 60px) 16px clamp(80px, 10vw, 120px); display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: start; }
.fest-page__intro {
  position: sticky; top: 96px; padding: clamp(24px, 4vw, 40px); border-radius: 28px; color: #f6ecff;
  background: radial-gradient(120% 90% at 90% 0%, #3a2248 0%, #1b1122 60%, #120b17 100%);
}
.fest-page__intro .back { color: rgba(246, 236, 255, .8); }
.fest-page__intro .back:hover { color: var(--orange-hot); }
.fest-page__intro .section-head__lead { color: rgba(246, 236, 255, .78); margin-bottom: 24px; }
.fest-page__intro .section-head__lead b { color: #fff; }
.prizes--stack { margin: 6px 0 24px; }
.fest-facts { margin: 0; display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.fest-facts div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; }
.fest-facts dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-hot); font-weight: 600; padding-top: 3px; }
.fest-facts dd { margin: 0; }
.fest-form .seg span { font-size: .9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check.is-invalid { color: #b3261e; }
.check.is-invalid input { outline: 2px solid #b3261e; }
.fest-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fdecea; color: #8c1d18; font-size: .92rem; }
.fest-error a { color: inherit; font-weight: 600; }
.fest-ok, .fest-closed { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); text-align: center; animation: pop .45s ease; }
.fest-ok[hidden], .fest-closed[hidden] { display: none; }
.fest-ok h2, .fest-closed h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--brown); margin-bottom: 12px; }
.fest-ok p, .fest-closed p { color: var(--muted); }
.fest-ok b { color: var(--brown); }
.fest-ok__folio { display: inline-grid; margin: 4px auto 18px; padding: 14px 28px; border-radius: 20px; background: var(--espresso); color: #fff; }
.fest-ok__folio span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-hot); }
.fest-ok__folio b { font-family: var(--display); font-size: 3rem; line-height: 1; color: #fff; }
.fest-ok__small { font-size: .88rem; }
.fest-ok__again { margin-top: 10px; background: none; border: 0; color: var(--orange); text-decoration: underline; cursor: pointer; font-size: .92rem; }

/* ---------- Aviso ---------- */
.toast {
  position: fixed; left: 50%; bottom: 84px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--paper); color: var(--brown); padding: 10px 18px; border-radius: 999px; font-size: .92rem; font-weight: 600;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); border: 1px solid var(--line);
  transition: opacity .2s ease, transform .2s ease; white-space: nowrap;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.footer { background: var(--brown); color: var(--cream); text-align: center; padding: 60px 16px 40px; }
.footer__logo { display: inline-block; background: var(--cream); border-radius: 22px; padding: 10px 22px; margin-bottom: 18px; }
.footer__logo img { height: 92px; width: auto; }
.footer p { margin: 6px 0; }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin: 22px 0 0; }
.footer__links a { text-decoration: none; opacity: .85; }
.footer__links a:hover { opacity: 1; color: var(--orange-hot); }
.footer__small { font-size: .82rem; opacity: .6; margin-top: 24px !important; }

/* =========================================================
   Pulido y animaciones
   ========================================================= */

/* Navegación compacta al bajar + barra de progreso */
.nav { transition: padding .3s ease, box-shadow .3s ease, background .3s ease; }
.nav .logo { transition: height .3s ease; }
.nav.is-scrolled { padding-top: 6px; padding-bottom: 6px; box-shadow: 0 10px 30px -18px rgba(43, 23, 12, .35); background: rgba(247, 240, 230, .94); }
.nav.is-scrolled .logo { height: 44px; }
.nav__links a[aria-current="page"] { color: var(--orange); }
.nav__links a[aria-current="page"]::after { width: 100%; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-hot)); transform: scaleX(0); transform-origin: 0 50%; }

/* Botones con brillo al pasar el cursor */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.97); }

/* Encabezados: línea que se dibuja junto al eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transform-origin: 0 50%; transition: transform .8s cubic-bezier(.2, .8, .2, 1) .2s; }
.reveal:not(.is-in) .eyebrow::before, .eyebrow.reveal:not(.is-in)::before { transform: scaleX(0); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }

/* Aparición al hacer scroll (escalonada con --i) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Menú: filas que entran escalonadas */
.menu__note { color: rgba(247, 240, 230, .75); margin: 18px 0 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .95rem; }
.menu__plus { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--orange-hot); color: #fff; font-weight: 700; font-size: .8rem; animation: pulse-ring 2.4s ease-out infinite; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(242, 107, 29, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(242, 107, 29, 0); } }
.menu__panel .m-row { animation: row-in .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes row-in { from { opacity: 0; transform: translateX(-12px); } }
.m-row { transition: background .2s ease; border-radius: 8px; }
.m-row:hover { background: rgba(247, 240, 230, .04); }
.tab { transition: background .25s ease, border-color .25s ease, color .25s ease, transform .2s ease; }
.tab:active { transform: scale(.96); }

/* Guía: tazas que se llenan al aparecer */
.drink { cursor: default; }
.drink .liquid { transform: translateY(100%); transform-box: fill-box; transition: transform 1.4s cubic-bezier(.3, .7, .2, 1); transition-delay: calc(var(--i, 0) * 110ms + .2s); }
.drink.is-in .liquid, .drink:not(.reveal) .liquid { transform: none; }
.drink:hover .cup { animation: wiggle .6s ease; }
@keyframes wiggle { 30% { transform: rotate(-4deg); } 60% { transform: rotate(3deg); } }
.drink h3 { margin-bottom: 12px; }

/* Actividades (tarjetas del inicio) */
.fun { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 80px) 16px clamp(80px, 10vw, 120px); }
.fun__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fun__card {
  position: relative; display: grid; gap: 4px; padding: 26px 22px 24px; border-radius: 24px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.fun__card::before { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--cream-2); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.fun__card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(43, 23, 12, .45); border-color: rgba(200, 81, 27, .4); }
.fun__card:hover::before { transform: scale(1.6); }
.fun__card svg { position: relative; width: 46px; height: 46px; margin-bottom: 14px; fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s ease; }
.fun__card:hover svg { transform: rotate(-8deg) scale(1.1); }
.fun__card b { position: relative; font-family: var(--display); font-size: 1.2rem; color: var(--brown); }
.fun__card span { position: relative; color: var(--muted); font-size: .9rem; }

/* Galería: pie de foto solo al pasar el cursor */
.gallery__grid figcaption { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.gallery__grid figure:hover figcaption { opacity: 1; transform: none; }
.gallery__more a span { display: inline-block; transition: transform .25s ease; }
.gallery__more a:hover span { transform: translateX(4px); }

/* Anuncio de facturación (barra compacta) */
.bill-cta-wrap { max-width: var(--max); margin: 0 auto clamp(70px, 9vw, 110px); padding: 0 16px; }
.bill-cta {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 22px; text-decoration: none;
  background: var(--brown); color: var(--cream); transition: transform .3s ease, box-shadow .3s ease;
}
.bill-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -20px rgba(43, 23, 12, .7); }
.bill-cta__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(247, 240, 230, .1); color: var(--orange-hot); }
.bill-cta__icon svg { width: 30px; height: 30px; }
.bill-cta__text { display: grid; flex: 1; }
.bill-cta__text b { font-family: var(--display); font-size: 1.3rem; }
.bill-cta__text span { font-size: .9rem; color: rgba(247, 240, 230, .7); }
.bill-cta__go { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-hot); color: #fff; font-size: 1.2rem; transition: transform .3s ease; }
.bill-cta:hover .bill-cta__go { transform: translateX(4px) rotate(-10deg); }

/* Concurso: murciélagos que vuelan y cuenta regresiva */
.fest__deco .bat { animation: fly 7s ease-in-out infinite; }
.fest__deco .bat:nth-child(2) { animation-duration: 9s; animation-delay: -2s; }
.fest__deco .bat:nth-child(3) { animation-duration: 6s; animation-delay: -4s; }
.fest__deco .bat:nth-child(4) { animation-duration: 8s; animation-delay: -1s; }
.fest__deco .bat:nth-child(5) { animation-duration: 10s; animation-delay: -5s; }
@keyframes fly { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(14px, -10px); } 50% { transform: translate(-6px, -18px); } 75% { transform: translate(-14px, -6px); } }
.fest__deco { opacity: .12; }
.fest__cd b.tick { animation: tick .35s ease; }
@keyframes tick { 0% { transform: translateY(-6px); opacity: .3; } }
.prize { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.prize:hover { transform: translateX(6px); }
.prize--1 { animation: glow 3s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 20px 50px -14px rgba(242, 107, 29, 1); } }

/* Páginas internas */
.page-intro { margin-bottom: clamp(30px, 5vw, 50px); }
.page-intro h1, .billing--page h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; color: var(--brown); letter-spacing: -.03em; }
.activities { display: block; }
.activities .games { padding-top: clamp(30px, 5vw, 60px); }
.activities .coloring .section-head { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .guide__grid { grid-template-columns: repeat(2, 1fr); }
  .sheets { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero, .story { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { min-height: 460px; }
  .menu__panel { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .visit { grid-template-columns: 1fr; }
  .visit__info { border-radius: var(--radius) var(--radius) 0 0; border-right: 1px solid var(--line); border-bottom: 0; }
  .visit__map { border-radius: 0 0 var(--radius) var(--radius); min-height: 340px; }
  .section-head--split { grid-template-columns: 1fr; gap: 0; }
  .section-head--split .section-head__lead { margin-top: 18px; }
  .memo { grid-template-columns: repeat(4, 1fr); }
  .wheel-wrap { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .studio { grid-template-columns: 1fr; }
  .studio__tools { position: static; }
}
@media (max-width: 1100px) {
  .nav__toggle {
    display: grid; gap: 6px; background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav__toggle span { width: 24px; height: 2px; background: var(--brown); transition: transform .25s ease; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__links .btn { margin-top: 16px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .logo { height: 46px; }
  .hero__media { min-height: 400px; }
  .hero__badge { width: 96px; height: 96px; top: 4%; left: 0; }
  .hero__badge strong { font-size: 1.3rem; }
  .m-sizes, .m-row { grid-template-columns: 1fr repeat(var(--cols), 46px); }
  .gallery__grid { grid-auto-rows: 160px; gap: 10px; }
  .guide__grid { gap: 12px; }
  .drink { padding: 16px 14px; }
  .drink .cup { width: 96px; }
  .quiz__options { grid-template-columns: 1fr; }
  .quiz__result { grid-template-columns: 1fr; gap: 20px; }
  .quiz__result img { max-width: 240px; margin: 0 auto; }
  .memo { gap: 8px; }
  .sheets { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sheet { padding: 6px 6px 8px; font-size: .75rem; }
  .game { padding: 20px 14px; }
}
@media (max-width: 460px) {
  .guide__grid { grid-template-columns: 1fr 1fr; }
  .drink h3 { font-size: 1.1rem; }
  .drink > p { font-size: .82rem; }
  .drink__layers { font-size: .76rem; }
}

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

@media (max-width: 960px) {
  .billing { grid-template-columns: 1fr; gap: 30px; }
  .billing__intro { position: static; }
}
@media (max-width: 600px) {
  .billing__form fieldset { grid-template-columns: 1fr; }
  .billing__form .btn--wa { justify-self: stretch; }
  .m-add { padding: 3px 6px; font-size: .95rem; }
  .cart-fab__total { display: none; }
}
@media (max-width: 760px) {
}
@media (max-width: 960px) {
  .fest__inner, .fest-page { grid-template-columns: 1fr; gap: 32px; }
  .fest-page__intro { position: static; }
}
@media (max-width: 520px) {
  .fest__cd div { min-width: 0; flex: 1; }
  .fest__cd b { font-size: 1.6rem; }
  .fest .btn--fest { width: 100%; }
}
@media (max-width: 960px) {
  .fun__grid { grid-template-columns: repeat(2, 1fr); }
  .story__img { aspect-ratio: 16/11; }
  .hero__scroll { display: none; }
}
@media (max-width: 520px) {
  .fun__grid { gap: 10px; }
  .fun__card { padding: 20px 16px; }
  .fun__card b { font-size: 1.02rem; }
  .bill-cta { padding: 14px 16px; gap: 12px; }
  .bill-cta__icon { width: 44px; height: 44px; }
  .ratio-big__colon { padding-bottom: 28px; }
}
