@import url('/fonts/montserrat/montserrat.css');

/* Sonrisitas — plantilla de odontopediatría (estilo stickers). Base: Template Kit (base.css). */
:root {
  --bg: #FFF9EC; --tint: #EFE9FF; --surface: #FFFFFF; --ink: #2B2350; --ink-2: #5B5480; --line: #E4DBC6;
  --primary: #6C4DF6; --primary-d: #5238D6; --accent: #FFD23F; --accent-d: #F5BE1B;
  --red: #E5484D; --red-soft: #FFE9E7; --amber: #F2A13B; --amber-soft: #FFF3DF; --green: #1FA56B; --green-soft: #E2F6EC;
  --radius: 28px; --radius-sm: 999px; --shadow: 6px 6px 0 #2B2350; --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ─── Base ─── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { display: block; }
h1, h2, h3, p, ul, ol, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 110px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; }
.skip-link:focus { left: 12px; }
.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.container-mid { width: min(960px, 100% - 48px); }
.container-narrow { width: min(820px, 100% - 48px); }

/* ─── Botones (≥ 44 px de alto) ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius-sm); font: 700 .95rem/1.2 'Montserrat', sans-serif; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px var(--primary); }
.btn-primary:hover { background: var(--primary-d); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-danger { background: var(--red); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }          /* sobre fondo oscuro */
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }            /* sobre fondo claro */
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1rem; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .88rem; }
.btn-block { display: flex; width: 100%; }

/* ─── Secciones ─── */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 46rem; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head-left { margin-inline: 0; text-align: left; }
.eyebrow { display: inline-block; padding: 6px 14px; margin-bottom: 16px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 14%, white); color: var(--primary-d); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.on-dark .eyebrow { background: rgba(255, 255, 255, .12); color: var(--accent); }
.on-dark .section-title { color: #fff; }
.section-title { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 900; line-height: 1.1; letter-spacing: -.03em; }
.section-lead { margin-top: 16px; color: var(--ink-2); font-size: 1.08rem; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

/* ─── Rejillas: SIEMPRE auto-fit ─── */
.grid-auto { display: grid; gap: 22px; justify-content: center; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-auto-3x2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }   /* 6 tarjetas → 3×2 en 1180 px */
[data-tm-grid] > .tm-add-btn { grid-column: 1 / -1; width: 100%; }

/* ─── Campos, chips y radios como píldoras ─── */
.field-label { display: block; margin: 12px 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.field { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font: 600 .95rem 'Montserrat', sans-serif; color: var(--ink); }
.field:focus { border-color: var(--primary); outline: none; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 2px solid var(--line); border-radius: 12px; font-size: .88rem; font-weight: 700; background: #fff; color: var(--ink-2); transition: all .2s; }
.chip-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-opt input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.form-note { margin-top: 10px; font-size: .78rem; color: var(--ink-2); text-align: center; }

/* ─── Estado abierto/cerrado (lo activa patterns.js con data-state) ─── */
.status-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .85rem; }
.status-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: #8A9BBE; }
.status-chip[data-state="open"] .dot { background: #3DDC84; animation: pulse 2s infinite; }
/* Etiqueta que dice la verdad: solo se muestra la que corresponde a la hora (JS pone data-state="open|closed") */
.status-chip .st-open, .status-chip .st-closed { display: none; font-weight: 800; }
.status-chip[data-state="open"] .st-open, .status-chip[data-state="closed"] .st-closed { display: inline; }
.status-chip[data-state="open"] .st-hours::before, .status-chip[data-state="closed"] .st-hours::before { content: '· '; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } }

/* ─── Menú (base) — DEBE ir antes de la barra móvil: sus reglas @media lo ocultan en móvil ─── */
.main-menu { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.main-menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 12px; font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--ink-2); transition: background-color .2s, color .2s; }
.main-menu a:hover { background: var(--tint); color: var(--ink); }
.menu-cta { display: none; }   /* enlace de reserva que solo aparece dentro del menú móvil */
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--ink); border-radius: 14px; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: auto; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }

/* ─── FAQ (componente del editor: .faq-list > .faq-item) ─── */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-item summary { position: relative; display: block; padding: 20px 60px 20px 24px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 18px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); font-size: 1.3rem; font-weight: 700; color: var(--primary-d); line-height: 1; }
.faq-item[open] summary::after { content: '–'; background: var(--primary); color: #fff; }
.faq-item p { padding: 0 24px 22px; color: var(--ink-2); }

/* ─── Barra fija móvil (llamar / WhatsApp / reservar) ─── */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .dock-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-menu { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; margin: 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
  .main-menu.menu-open { display: flex; }
  .main-menu a { padding: 14px 16px; font-size: 1rem; }
  .menu-cta { display: inline-flex; font-weight: 900; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 6px; position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; padding: 8px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 34px -8px rgba(10, 31, 68, .4); }
  .mb-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 16px; font-size: .78rem; font-weight: 800; text-decoration: none; color: var(--ink); }
  .mb-primary { background: var(--accent); }
  .footer { padding-bottom: 110px; }   /* que la barra no tape el pie */
}
@media (max-width: 700px) {
  .container, .container-mid, .container-narrow { width: min(100% - 32px, 1180px); }
  .timeline-item { grid-template-columns: 1fr; gap: 2px; }
  .bar-row { grid-template-columns: 78px minmax(0, 1fr) 40px; gap: 10px; }
}


/* ═════════ Sonrisitas — estilo "stickers": bordes gruesos, sombras duras, colores de juguete ═════════ */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; }
.c1 { --c: #FFE7A6; } .c2 { --c: #EFE9FF; } .c3 { --c: #C9F0EC; } .c4 { --c: #FFD9E6; }
.btn { border: 3px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--primary); box-shadow: 4px 4px 0 var(--ink); }
.btn-light { background: #fff; }
.field { border: 3px solid var(--ink); border-radius: 16px; }
.chip-opt span { border: 3px solid var(--ink); border-radius: 999px; color: var(--ink); }
.chip-opt input:checked + span { background: var(--primary); border-color: var(--ink); color: #fff; }
.eyebrow { border: 3px solid var(--ink); background: var(--accent); color: var(--ink); transform: rotate(-2deg); }
.section-lilac { background: #EFE9FF; border-block: 3px solid var(--ink); }
.section-sun { background: #FFF0B8; border-block: 3px solid var(--ink); }
.hl { background: linear-gradient(transparent 58%, var(--accent) 58% 92%, transparent 92%); }

/* Cinta y cabecera */
.ribbon { background: var(--primary); color: #fff; font-size: .88rem; font-weight: 700; border-bottom: 3px solid var(--ink); }
.ribbon-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 12px; padding: 2px 20px; text-align: center; }
.ribbon-link { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.bar-wrap { position: sticky; top: 0; z-index: 80; padding: 12px 16px 0; }
.bar { position: relative; display: flex; align-items: center; gap: 20px; width: min(1160px, 100%); margin-inline: auto; padding: 8px 10px 8px 22px; background: #fff; border: 3px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); }
.logo { font-size: 1.3rem; font-weight: 900; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo::before { content: ''; display: inline-block; width: 22px; height: 22px; margin-right: 8px; vertical-align: -4px; border: 3px solid var(--ink); border-radius: 50% 50% 46% 46%; background: var(--accent); box-shadow: inset -4px -3px 0 rgba(43, 35, 80, .15); }
.main-menu a { border-radius: 999px; color: var(--ink); font-weight: 800; }
.nav-toggle { border: 3px solid var(--ink); background: var(--accent); border-radius: 50%; gap: 4px; }
.nav-toggle span { width: 18px; height: 3px; background: var(--ink); }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.main-menu a:hover { background: var(--accent); color: var(--ink); }
.bar-cta { min-height: 46px; padding: 8px 20px; }

/* Hero */
.hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 5vw, 56px); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero .status-chip { border: 3px solid var(--ink); margin-bottom: 22px; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 900; line-height: 1.02; letter-spacing: -.035em; }
.hero-title > span { display: inline; }
.hero-lead { margin-top: 22px; max-width: 34rem; font-size: 1.12rem; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-ages-label { margin-top: 34px; font-size: .85rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.hero-ages { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.age-pill a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 3px solid var(--ink); border-radius: 999px; background: var(--c); font-weight: 800; text-decoration: none; transition: transform .2s; }
.age-pill a:hover { transform: rotate(-3deg) scale(1.05); }
.hero-media { position: relative; display: grid; place-items: center; }
.hero-figure { width: min(100%, 460px); animation: bob 5s ease-in-out infinite; }
.hero-figure img { width: 100%; height: auto; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.sticker-a, .sticker-b { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 3px solid var(--ink); border-radius: 999px; background: #fff; font-weight: 800; font-size: .9rem; box-shadow: 4px 4px 0 var(--ink); }
.sticker-a { top: 6%; left: 0; transform: rotate(-6deg); }
.sticker-a svg { color: #F5A400; fill: #FFD23F; }
.sticker-b { bottom: 8%; right: 0; transform: rotate(5deg); background: var(--accent); }

.proof { padding: 6px 0 clamp(20px, 4vw, 40px); }
.proof-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.proof-item { display: flex; flex-direction: column; padding: 16px 20px; border: 3px solid var(--ink); border-radius: 24px; background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.proof-item:nth-child(4n+1) { background: #FFE7A6; } .proof-item:nth-child(4n+2) { background: #EFE9FF; } .proof-item:nth-child(4n+3) { background: #C9F0EC; } .proof-item:nth-child(4n+4) { background: #FFD9E6; }
.proof-item strong { font-size: 1.8rem; font-weight: 900; line-height: 1.15; }
.proof-item span { font-size: .85rem; font-weight: 700; color: var(--ink-2); }

/* Rejillas (auto-fit) */
.svc-grid, .steps, .prep-list, .sp-grid, .team-grid, .plan-grid, .review-grid { display: grid; gap: 22px; justify-content: center; }
.svc-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: st; }
.prep-list { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sp-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.team-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.plan-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: stretch; }
.review-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.hero-ages > .tm-add-btn, .proof-list > .tm-add-btn { width: auto; }

/* Tarjetas tipo sticker */
.age-card, .svc, .step, .sp, .team-card, .plan, .review, .rewards, .brush, .prep, .booking-form, .agebox .age-opt span {
  border: 3px solid var(--ink);
}
.svc, .step, .sp, .team-card, .review { background: var(--c, #fff); border-radius: 28px; box-shadow: 6px 6px 0 var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.svc:hover, .step:hover, .sp:hover, .team-card:hover, .review:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 9px 9px 0 var(--ink); }
.svc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; }
.svc-icon, .step-num, .sp-icon, .age-icon { display: grid; place-items: center; width: 60px; height: 60px; border: 3px solid var(--ink); border-radius: 20px; background: #fff; transform: rotate(-5deg); }
.svc-title, .step-title, .sp-t, .age-title { font-size: 1.2rem; font-weight: 900; line-height: 1.2; }
.svc-desc, .step-desc, .sp-d, .age-text { color: var(--ink-2); font-size: .94rem; font-weight: 500; }
.svc-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 3px dashed rgba(43, 35, 80, .25); font-size: .85rem; font-weight: 700; }
.svc-meta strong { font-size: 1rem; font-weight: 900; }
.svc-cta, .age-link { display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; font-weight: 900; color: var(--ink); text-underline-offset: 4px; }
.step { position: relative; padding: 26px; counter-increment: st; }
.step::after { content: counter(st); position: absolute; top: 10px; right: 18px; font-size: 3.6rem; font-weight: 900; line-height: 1; color: rgba(43, 35, 80, .12); }
.sp, .team-card { padding: 26px; }
.sp { display: flex; flex-direction: column; gap: 8px; }

/* Por edad */
.agebox { display: grid; gap: 22px; }
.age-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.age-opt { position: relative; cursor: pointer; }
.age-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.age-opt span { display: inline-flex; align-items: center; min-height: 52px; padding: 10px 26px; border-radius: 999px; background: var(--c); font-weight: 900; box-shadow: 4px 4px 0 var(--ink); transition: transform .2s; }
.age-opt:hover span { transform: translateY(-3px); }
.age-opt input:checked + span { background: var(--ink); color: #fff; transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.age-opt input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 3px; }
.age-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.age-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border-radius: 28px; background: var(--c); opacity: .72; transition: opacity .25s, transform .3s var(--ease), box-shadow .3s; }
.agebox[data-age=""] .age-card { opacity: 1; }
.agebox[data-age="baby"] .age-card[data-for="baby"], .agebox[data-age="toddler"] .age-card[data-for="toddler"], .agebox[data-age="kid"] .age-card[data-for="kid"], .agebox[data-age="teen"] .age-card[data-for="teen"] { opacity: 1; transform: translateY(-6px) rotate(-1deg); box-shadow: 8px 8px 0 var(--ink); }

/* Cómo preparar */
.prep { margin-top: 34px; padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: #fff; box-shadow: 6px 6px 0 var(--ink); }
.prep-head { margin-bottom: 18px; }
.prep-title { font-size: 1.3rem; font-weight: 900; }
.prep-item { display: flex; gap: 12px; align-items: flex-start; }
.prep-item svg { flex: none; margin-top: 3px; color: var(--primary); }
.prep-t { font-size: 1rem; font-weight: 900; }
.prep-d { color: var(--ink-2); font-size: .9rem; }
.prep h3, .prep h4 { margin: 0; }

/* Juegos: cepillado + premios */
.play-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.brush, .rewards { padding: clamp(22px, 3vw, 34px); border-radius: 32px; background: #fff; box-shadow: 8px 8px 0 var(--ink); }
.brush { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.ring { display: grid; place-items: center; width: min(260px, 70vw); aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 50%; background: conic-gradient(var(--primary) calc(var(--p) * 360deg), #EFE9FF 0); }
.ring-in { display: grid; place-items: center; align-content: center; width: 80%; aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 50%; background: #fff; }
.ring-time { font-size: 3rem; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.ring-cap { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.zones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%; }
.zone { padding: 8px 12px; border: 3px solid var(--ink); border-radius: 14px; background: #fff; font-size: .82rem; font-weight: 800; transition: background-color .3s, transform .3s; }
.zone.is-now { background: var(--accent); transform: scale(1.04); }
.zone.is-done { background: #C9F0EC; text-decoration: line-through; text-decoration-thickness: 2px; }
.brush-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.b-run, .b-done { display: none; }
.brush[data-state="run"] .b-idle, .brush[data-state="done"] .b-idle { display: none; }
.brush[data-state="run"] .b-run { display: inline; }
.brush[data-state="done"] .b-done { display: inline; }
.brush-done { display: none; padding: 10px 16px; border: 3px solid var(--ink); border-radius: 16px; background: #C9F0EC; font-weight: 800; }
.brush[data-state="done"] .brush-done { display: block; }
.rewards-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.rew-title { font-size: 1.3rem; font-weight: 900; }
.rew-count { padding: 4px 14px; border: 3px solid var(--ink); border-radius: 999px; background: var(--accent); font-weight: 900; }
.stickers { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 10px; }
.sticker label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 3px solid var(--ink); border-radius: 20px; background: var(--c); cursor: pointer; transition: transform .2s; }
.sticker label:hover { transform: rotate(-3deg); }
.sticker input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.stk-face { display: grid; place-items: center; width: 44px; height: 44px; border: 3px solid var(--ink); border-radius: 50%; background: #fff; color: rgba(43, 35, 80, .25); transition: all .3s var(--ease); }
.sticker input:checked + .stk-face { background: var(--accent); color: var(--ink); transform: scale(1.15) rotate(12deg); }
.sticker input:checked + .stk-face svg { fill: currentColor; }
.sticker input:focus-visible + .stk-face { outline: 3px solid var(--primary); outline-offset: 3px; }
.stk-day { font-size: .78rem; font-weight: 900; }
.rew-msg { display: none; margin-top: 16px; padding: 12px 16px; border: 3px solid var(--ink); border-radius: 16px; background: #C9F0EC; font-weight: 800; }
.rewards[data-complete="true"] .rew-msg { display: block; }
.rew-tip { margin-top: 14px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }

/* Equipo */
.team-card { text-align: center; }
.team-photo { margin-bottom: 16px; border: 3px solid var(--ink); border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: #fff; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 1.2rem; font-weight: 900; }
.team-role { font-weight: 800; color: var(--primary-d); font-size: .92rem; }
.team-cred { margin-top: 2px; font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.team-power { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 14px; border: 3px solid var(--ink); border-radius: 999px; background: var(--accent); font-size: .8rem; font-weight: 800; }

/* Planes */
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 28px; background: #fff; box-shadow: 6px 6px 0 var(--ink); }
.plan-featured { background: var(--accent); transform: translateY(-8px); }
.plan-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%) rotate(-3deg); padding: 4px 16px; border: 3px solid var(--ink); border-radius: 999px; background: var(--primary); color: #fff; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.plan-name { font-size: 1.3rem; font-weight: 900; }
.plan-price strong { font-size: 2.6rem; font-weight: 900; letter-spacing: -.03em; }
.plan-price span { font-weight: 700; }
.plan-feats { display: grid; gap: 10px; flex: 1; }
.plan-feats li { display: flex; align-items: flex-start; gap: 8px; font-size: .92rem; font-weight: 600; }
.plan-feats svg { flex: none; margin-top: 2px; color: var(--primary); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.chip { padding: 8px 18px; border: 3px solid var(--ink); border-radius: 999px; background: #fff; font-size: .85rem; font-weight: 800; }

/* Reseñas */
.review { display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.stars { color: #8A4B00; letter-spacing: 2px; }
.review-quote { flex: 1; font-weight: 600; }
.review-by { display: flex; flex-direction: column; font-size: .82rem; color: var(--ink-2); font-weight: 600; }
.review-by strong { color: var(--ink); font-size: .95rem; }

/* FAQ */
.faq-item { border: 3px solid var(--ink); border-radius: 22px; box-shadow: 4px 4px 0 var(--ink); }
.faq-item[open] { background: #FFF0B8; box-shadow: 4px 4px 0 var(--ink); }
.faq-item summary::after { border: 3px solid var(--ink); background: var(--accent); color: var(--ink); }
.faq-item[open] summary::after { background: var(--primary); color: #fff; }

/* Reserva */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.checks { display: grid; gap: 12px; margin-top: 24px; }
.check-item { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.check-item svg { flex: none; color: var(--primary); }
.booking-form { padding: clamp(22px, 3vw, 34px); border-radius: 32px; background: #fff; box-shadow: 8px 8px 0 var(--ink); }
.booking-form .btn { margin-top: 18px; }

/* Ubicación y pie */
.loc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.loc-info { display: grid; gap: 26px; }
.loc-h { margin-bottom: 8px; font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-d); }
.loc-note { margin-top: 4px; font-size: .88rem; color: var(--ink-2); }
.hours { display: grid; gap: 8px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 3px dashed rgba(43, 35, 80, .2); font-weight: 700; }
.hours-time { font-weight: 900; }
.contact-list { display: grid; gap: 10px; margin-bottom: 16px; }
.contact-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.contact-list svg { color: var(--primary); flex: none; }
.loc-map { display: grid; gap: 14px; }
.loc-photo, .map-frame { margin: 0; border: 3px solid var(--ink); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 6px 6px 0 var(--ink); }
.loc-photo img, .map-frame img { width: 100%; height: auto; }
.footer { background: var(--ink); color: #DCD5F5; padding: clamp(48px, 7vw, 80px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; }
.footer-logo { font-size: 1.6rem; font-weight: 900; color: #fff; }
.footer-tag { margin-top: 8px; max-width: 22rem; font-size: .92rem; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border: 3px solid #fff; border-radius: 50%; color: #fff; transition: background-color .2s, color .2s; }
.social a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.footer-h { margin-bottom: 14px; font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.footer-links { display: grid; gap: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-legal { margin-bottom: 8px; font-size: .86rem; }
.footer-copy { width: min(1180px, 100% - 48px); margin: 36px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .82rem; text-align: center; }
.mb-btn { border-radius: 16px; }

@media (max-width: 1040px) { .hero-grid, .play-grid, .booking, .loc-grid { grid-template-columns: 1fr; } .hero-media { max-width: 420px; margin-inline: auto; } }
@media (max-width: 900px) {
  .bar { border-radius: 28px; }
  .bar-cta { display: none; }
  .mobile-bar { border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .zones { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-figure { animation: none; } }

/* Lectura: líneas de ~70 caracteres (estudio UX) */
main p { max-width: 70ch; }
.section-head p, .team-card p, .review p, .plan p, .prep p { margin-inline: auto; }
.svc-desc, .step-desc, .age-text, .sp-d, .review-quote { margin-inline: 0; }
.mb-btn span { font-size: .78rem; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
