/* Camaleo Kids · portal. Mundo: álbum de figuritas en tintas sólidas.
   Layout: cada sección es una página del álbum (lomo, casilleros numerados,
   figuritas troqueladas con borde blanco). Un solo tema, elegido a propósito. */
:root {
  color-scheme: light;
  --marigold: #FFC93C;     /* página del álbum */
  --orange: #FF6B1A;       /* sobres y acciones */
  --orange-deep: #D9500A;
  --orange-ink: #A83A00;   /* naranja para texto pequeño sobre papel */
  --lime: #7ED957;         /* casilleros */
  --lime-soft: #C8F2A9;
  --green: #0E5E3A;        /* tinta impresa y marcos */
  --green-ink: #0A3F27;
  --paper: #FFFDF6;        /* cartulina de la figurita */
  --ink: #1F1A0E;          /* texto sobre colores claros */
  --ink-soft: #4A3B12;     /* secundario, teñido de marigold */

  --display: 'Baloo 2', 'Nunito', 'Trebuchet MS', sans-serif;
  --body: 'Nunito', 'Segoe UI', system-ui, sans-serif;

  --step--1: clamp(0.88rem, 0.84rem + 0.2vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.25vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
  --step-3: clamp(2rem, 1.5rem + 2.2vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.7rem + 4vw, 5.2rem);

  --radius-sticker: 22px;
  --lift: 0 2px 0 rgba(31, 26, 14, .08), 0 10px 22px -8px rgba(31, 26, 14, .35);
  --lift-hover: 0 4px 0 rgba(31, 26, 14, .08), 0 22px 34px -12px rgba(31, 26, 14, .42);
  --press: 0 1px 0 rgba(31, 26, 14, .1), 0 4px 8px -4px rgba(31, 26, 14, .4);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--green) var(--marigold); }
body {
  margin: 0; background: var(--marigold); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.55;
  caret-color: var(--orange);
}
::selection { background: var(--green); color: var(--marigold); }
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: .2em; text-decoration-thickness: 2px; }
:focus-visible { outline: 4px solid var(--green); outline-offset: 4px; border-radius: 12px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Botones-figurita: se levantan y se hunden ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .8em 1.4em; border-radius: 18px; border: 4px solid var(--paper);
  font-family: var(--display); font-weight: 800; font-size: var(--step-1); text-decoration: none; cursor: pointer;
  box-shadow: var(--lift); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: var(--lift-hover); }
.btn:active { transform: translateY(2px) scale(.98); box-shadow: var(--press); }
.btn-main { background: var(--orange); color: var(--ink); }
.btn-alt { background: var(--paper); color: var(--green); border-color: var(--green); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ── Barra superior ────────────────────────────────────────────────────── */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--green); color: var(--paper); }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 3px 0 rgba(0,0,0,.25)); }
.brand b { color: var(--marigold); font-weight: 800; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 800; }
.nav a { color: var(--paper); text-decoration: none; padding: 6px 2px; border-bottom: 3px solid transparent; }
.nav a:hover { border-color: var(--marigold); }
.topbar .btn { min-height: 44px; font-size: 1rem; padding: .5em 1em; border-width: 3px; gap: .3em; }

/* ── Portada: doble página del álbum ───────────────────────────────────── */
.spread { padding-block: clamp(28px, 5vw, 56px) clamp(64px, 8vw, 96px); position: relative; }
.album {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: 34px;
  background: var(--green); padding: 14px; box-shadow: 0 30px 60px -20px rgba(10, 63, 39, .55);
}
.page { background: var(--paper); border-radius: 24px; padding: clamp(24px, 4vw, 52px); position: relative; overflow: hidden; }
.page-left { border-radius: 24px 6px 6px 24px; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.page-right { border-radius: 6px 24px 24px 6px; background: var(--lime-soft); }
.album::after { /* lomo */
  content: ""; position: absolute; top: 14px; bottom: 14px; left: 50%; width: 22px; margin-left: -11px;
  background: linear-gradient(90deg, rgba(10,63,39,.0), rgba(10,63,39,.35) 45%, rgba(255,255,255,.15) 55%, rgba(10,63,39,0));
  pointer-events: none;
}
.stamp {
  position: absolute; top: 16px; right: 18px; transform: rotate(8deg);
  border: 3px solid var(--orange-ink); color: var(--orange-ink); border-radius: 50%;
  width: 92px; height: 92px; display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: .72rem; line-height: 1.05; letter-spacing: .06em; text-transform: uppercase;
}
.hero-title { font-size: var(--step-4); font-weight: 800; color: var(--green-ink); max-width: 11ch; }
.hero-title mark { background: none; color: var(--orange-ink); }
.hero-sub { font-size: var(--step-1); color: var(--ink-soft); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 800; color: var(--green); font-size: var(--step--1); }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.facts svg { width: 18px; height: 18px; }

.slots-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.slots-head h2 { font-size: var(--step-2); color: var(--green-ink); }
.slots-head p { font-weight: 800; color: var(--green); font-size: var(--step--1); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

/* Casillero + figurita que se voltea */
.slot { position: relative; aspect-ratio: 3 / 4.4; border-radius: var(--radius-sticker); background: rgba(14, 94, 58, .12); border: 3px dashed rgba(14, 94, 58, .35); }
.slot-num { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-family: var(--display); font-weight: 800; color: var(--green); font-size: .9rem; }
.sticker {
  position: absolute; inset: 6px 6px 28px; perspective: 900px; border: 0; padding: 0; background: none; cursor: pointer;
  transition: transform .3s var(--ease-out); font: inherit; color: inherit;
}
.sticker:hover { transform: translateY(-4px) rotate(-2deg); }
.sticker:active { transform: scale(.97); }
.flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s var(--ease-out); }
.sticker[aria-pressed="true"] .flip { transform: rotateY(180deg); }
.face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 18px; border: 5px solid #fff; box-shadow: var(--lift);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; text-align: center;
}
.face-front { color: #fff; }
.face-front svg { width: 46%; height: auto; }
.face-front b { font-family: var(--display); font-weight: 800; font-size: clamp(.82rem, .7rem + .5vw, 1.05rem); line-height: 1.05; }
.face-back { transform: rotateY(180deg); background: var(--paper); color: var(--ink); font-size: clamp(.74rem, .66rem + .35vw, .9rem); line-height: 1.3; font-weight: 700; justify-content: center; }
.face-back b { font-family: var(--display); font-size: 1.05em; color: var(--green-ink); }
/* Colores de área: los mismos de las pestañas de la app (frontend/src/kids/curriculum/areas.js) */
.c-com { background: #0369A1; } /* un tono más oscuro que la pestaña: texto blanco ≥4.5:1 */ .c-mat { background: #F59E0B; } .c-ing { background: #10B981; }
.c-ps { background: #E11D48; } .c-ct { background: #7C3AED; } .c-ar { background: var(--orange); }
.c-mat, .c-ing, .c-ar { color: var(--ink); }
.mini-pack {
  position: absolute; right: clamp(18px, 3vw, 44px); bottom: 26px; z-index: 6; width: 132px; padding: 26px 12px 16px; border-radius: 12px 12px 4px 4px;
  background: var(--orange); color: var(--ink); text-decoration: none; transform: rotate(-7deg); box-shadow: var(--lift);
  display: flex; flex-direction: column; gap: 2px; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.mini-pack:hover { transform: rotate(-3deg) translateY(-8px); box-shadow: var(--lift-hover); }
.mini-pack b { font-family: var(--display); font-size: 1.2rem; line-height: 1; }
.mini-pack small { font-weight: 800; font-size: .78rem; line-height: 1.15; }
.mini-crimp, .pack::before, .pack::after { /* sello crimpado del sobre */
  position: absolute; left: 0; right: 0; height: 12px; content: "";
  background: repeating-linear-gradient(90deg, rgba(31,26,14,.22) 0 3px, transparent 3px 7px), var(--orange-deep);
}
.mini-crimp { top: 0; border-radius: 12px 12px 0 0; }
.tap-hint { margin-top: 14px; font-weight: 800; color: var(--green); font-size: var(--step--1); display: flex; align-items: center; gap: 8px; }

/* Luca: figurita holográfica que cruza el lomo y cambia de color */
.luca-sticker {
  position: absolute; left: 50%; bottom: -54px; width: clamp(150px, 17vw, 230px); transform: translateX(-50%) rotate(-6deg);
  z-index: 5; border-radius: 34px; background: #fff; padding: 10px; box-shadow: var(--lift-hover);
  background-image: linear-gradient(var(--marigold), var(--marigold)); background-origin: content-box; background-clip: content-box;
  transition: transform .5s var(--ease-out);
}
.luca-sticker:hover { transform: translateX(-50%) rotate(2deg) scale(1.04); }
.luca-sticker img { border-radius: 26px; transition: filter .6s var(--ease-out); }
.luca-sticker::after { /* brillo holográfico */
  content: ""; position: absolute; inset: 10px; border-radius: 26px; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.85) 45%, rgba(126,217,87,.6) 52%, rgba(47,155,255,.5) 58%, transparent 70%);
  background-size: 260% 100%; background-position: 120% 0; transition: background-position 1.1s var(--ease-out);
}
.luca-sticker:hover::after { background-position: -40% 0; }
 }

/* ── Contador de colección (dígitos que voltean) ───────────────────────── */
.ledger { background: var(--orange); color: var(--ink); }
.ledger .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px; padding-block: 26px; }
.ledger p { font-family: var(--display); font-weight: 800; font-size: clamp(1rem, .9rem + .45vw, 1.25rem); white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.digits { display: inline-flex; gap: 4px; }
.digit {
  width: 1.15em; height: 1.45em; border-radius: 8px; background: var(--paper); color: var(--green-ink);
  display: inline-grid; place-items: center; font-size: 1.5em; font-variant-numeric: tabular-nums; box-shadow: var(--press);
  perspective: 300px;
}
.digit.turn { animation: turn .5s var(--ease-out); }
@keyframes turn { 0% { transform: rotateX(0); } 50% { transform: rotateX(-90deg); } 100% { transform: rotateX(0); } }

/* ── Secciones genéricas ───────────────────────────────────────────────── */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: var(--step-3); font-weight: 800; color: var(--green-ink); }
.section-head p { font-size: var(--step-1); color: var(--ink-soft); }

/* ── Sobre + carrusel (momento firma) ──────────────────────────────────── */
.packs { background: var(--green); color: var(--paper); }
.packs .section-head h2 { color: var(--marigold); }
.packs .section-head p { color: #D9F5C6; }
.pack-stage { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.pack {
  position: relative; aspect-ratio: 3 / 4; border-radius: 18px; background: var(--orange); color: var(--ink);
  box-shadow: 0 24px 40px -16px rgba(0,0,0,.55); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 22px;
  transition: transform .5s var(--ease-out);
}
.pack-top {
  position: absolute; inset: 0 0 auto 0; height: 22%; background: var(--marigold); z-index: 5; display: grid; place-items: center; padding-top: 8px;
  font-family: var(--display); font-weight: 800; font-size: .95rem; color: var(--ink); letter-spacing: .04em;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 95% 100%, 90% 78%, 85% 100%, 80% 78%, 75% 100%, 70% 78%, 65% 100%, 60% 78%, 55% 100%, 50% 78%, 45% 100%, 40% 78%, 35% 100%, 30% 78%, 25% 100%, 20% 78%, 15% 100%, 10% 78%, 5% 100%, 0 78%);
  transition: transform .8s var(--ease-out), opacity .8s var(--ease-out); transform-origin: 0% 100%;
}
.pack img { position: absolute; width: 78%; top: 18%; left: 11%; }
.pack::before { top: 0; z-index: 4; }
.pack::after { bottom: 0; z-index: 4; }
.pack-shine { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.28) 46%, transparent 54%); }
.pack { cursor: pointer; }
.pack.tearing .pack-top { animation: tear .52s var(--ease-out) forwards; }
@keyframes tear { /* la tira se despega desde la esquina izquierda y sale volando */
  0% { transform: none; }
  35% { transform: rotate(-9deg) translateY(-4px); }
  100% { transform: translate(28%, -190%) rotate(-30deg); opacity: 0; }
}
.pack-label { position: relative; z-index: 3; font-family: var(--display); font-weight: 800; font-size: var(--step-2); line-height: 1; text-align: center; }
.pack-label small { display: block; font-family: var(--body); font-size: .95rem; font-weight: 800; margin-top: 6px; }
.pack.open .pack-top { transform: translateY(-120%) rotate(-8deg); opacity: 0; }
.pack.open { transform: rotate(-4deg) translateY(10px); }
.pack-cta { margin-top: 18px; width: 100%; }

.carousel { position: relative; min-width: 0; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 24vw, 250px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 6px 30px; scrollbar-width: thin; scrollbar-color: var(--marigold) var(--green-ink);
}
.card { scroll-snap-align: start; perspective: 1200px; }
.card .sticker { position: relative; inset: auto; display: block; width: 100%; aspect-ratio: 390 / 900; }
.card .face { border-width: 7px; padding: 0; overflow: hidden; }
.card .face-front { background: #EAF6FF; justify-content: flex-start; }
.card .face-front img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; flex: none; }
.card .face-front .tag {
  position: absolute; left: 0; bottom: 0; right: 0; background: var(--paper); color: var(--green-ink); border-radius: 0;
  border-radius: 12px; padding: 8px 10px; font-family: var(--display); font-weight: 800; font-size: 1rem; text-align: left;
  display: flex; justify-content: space-between; align-items: center; box-shadow: var(--press);
}
.card .face-back { padding: 22px; align-items: flex-start; text-align: left; gap: 10px; font-size: .98rem; background: var(--marigold); }
.card .face-back b { font-size: 1.35rem; }
.pack-closed .card { transform: translateX(calc(var(--i) * -86%)) rotate(calc(var(--i) * 3deg - 4deg)) scale(.92); }
.card { transition: transform .6s var(--ease-out), filter .6s var(--ease-out); }
.car-nav { display: flex; gap: 10px; align-items: center; }
.car-btn { width: 52px; height: 52px; border-radius: 16px; border: 3px solid var(--paper); background: var(--marigold); color: var(--green-ink); cursor: pointer; box-shadow: var(--press); display: grid; place-items: center; }
.car-btn:hover { background: #FFD766; }
.car-btn:disabled { opacity: .4; cursor: default; }
.car-btn svg { width: 22px; height: 22px; }
.car-count { font-weight: 800; color: #D9F5C6; margin-left: 6px; font-variant-numeric: tabular-nums; }

.seam { position: relative; }
.seam-luca { position: absolute; right: 7%; top: clamp(-96px, -7vw, -64px); width: clamp(110px, 12vw, 170px); z-index: 3; transform: rotate(8deg); filter: drop-shadow(0 12px 14px rgba(0,0,0,.3)); pointer-events: none; }
/* ── Cómo se llena el álbum ────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: end; }
.step { background: var(--paper); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--lift); position: relative; }
.step:nth-child(2) { transform: translateY(-24px) rotate(1deg); background: #FFF3D1; }
.step:nth-child(3) { transform: rotate(-1deg); }
.step img { width: 128px; margin: -64px auto 0; filter: drop-shadow(0 8px 10px rgba(31,26,14,.25)); }
.step h3 { font-size: var(--step-2); color: var(--green-ink); }
.step p { color: var(--ink-soft); }

/* ── Figuritas especiales (pedagogía) ──────────────────────────────────── */
.special { background: var(--lime); }
.special .section-head h2 { color: var(--green-ink); }
.special .section-head p { color: #1E4B12; }
.holo-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.holo { grid-column: span 4; perspective: 1100px; }
.holo:nth-child(1) { grid-column: span 5; } .holo:nth-child(2) { grid-column: span 4; margin-top: 40px; }
.holo:nth-child(3) { grid-column: span 3; }
.holo:nth-child(3) .holo-luca { width: 34%; top: 4px; }
.holo:nth-child(3) .face-front h3, .holo:nth-child(3) .face-front p { max-width: 100%; }
.holo:nth-child(3) .sticker { min-height: 300px; } .holo:nth-child(4) { grid-column: 3 / span 6; }
.holo .sticker { position: relative; inset: auto; display: block; width: 100%; min-height: 270px; }
.holo .face-front h3, .holo .face-front p { max-width: 62%; }
.holo .face { align-items: flex-start; justify-content: flex-end; text-align: left; padding: 24px; gap: 10px; }
.holo .face-front { background: var(--green); color: var(--paper); overflow: hidden; }
.holo-luca { position: absolute; right: 8px; top: 6px; width: 46%; max-width: 170px; filter: drop-shadow(0 10px 12px rgba(0,0,0,.3)); }
.peel { /* esquina despegable: invita a voltear */
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 12px 0 0 0;
  background: linear-gradient(135deg, var(--marigold) 0 50%, transparent 50%); filter: drop-shadow(2px 2px 2px rgba(0,0,0,.25));
  transition: width .3s var(--ease-out), height .3s var(--ease-out);
}
.holo .sticker:hover .peel { width: 62px; height: 62px; }
.holo .face-front h3 { font-size: var(--step-2); position: relative; color: var(--marigold); }
.holo .face-front p { position: relative; font-weight: 700; color: #E3F7D6; }
.holo .face-back { align-items: flex-start; text-align: left; padding: 24px; font-size: 1rem; }
.holo .face-back b { font-size: 1.25rem; }

/* ── Familia y colegio ─────────────────────────────────────────────────── */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { border-radius: 32px; padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.panel h3 { font-size: var(--step-3); }
.panel ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-weight: 700; }
.panel li { display: flex; gap: 10px; align-items: flex-start; }
.panel li svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.panel-fam { background: var(--orange); color: var(--ink); }
.panel-fam h3 { color: var(--ink); }
.panel-sch { background: var(--green); color: var(--paper); }
.panel-sch h3 { color: var(--marigold); }
.panel img { position: absolute; right: -10px; bottom: -14px; width: 150px; opacity: .95; }
@media (max-width: 700px) { .panel img { position: static; align-self: flex-end; width: 110px; margin: -8px -6px -24px 0; } }
.panel .btn { align-self: flex-start; margin-top: 8px; }
.panel-sch .btn-alt { background: var(--marigold); color: var(--green-ink); border-color: var(--paper); }

/* ── Precios ───────────────────────────────────────────────────────────── */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.price { background: var(--paper); border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--lift); border: 5px solid #fff; }
.price.featured { background: var(--orange); transform: translateY(-14px); }
.price.featured h3 { color: var(--ink); }
.price h3 { font-size: var(--step-2); color: var(--green-ink); }
.price .amount { font-family: var(--display); font-weight: 800; font-size: var(--step-3); color: var(--ink); line-height: 1; }
.price .amount small { font-family: var(--body); font-size: 1rem; font-weight: 800; color: var(--ink-soft); }
.price p { color: var(--ink-soft); }
.price.featured p, .price.featured .amount small { color: var(--ink); }
.price .btn { margin-top: auto; width: 100%; font-size: 1.05rem; }

/* ── Preguntas ─────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details { background: var(--paper); border-radius: 20px; box-shadow: var(--press); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 22px; font-family: var(--display); font-weight: 800; font-size: var(--step-1); color: var(--green-ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 26px; height: 26px; transition: transform .35s var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-soft); max-width: 65ch; }

/* ── Cierre ────────────────────────────────────────────────────────────── */
.closer { background: var(--orange); }
.closer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(48px, 7vw, 80px); }
.closer h2 { font-size: var(--step-3); color: var(--ink); max-width: 14ch; }
.closer img { width: clamp(140px, 16vw, 200px); }
.closer .btn-main { background: var(--green); color: var(--paper); }

/* ── Pie de página reservado (se definirá luego) ───────────────────────── */
.footer-slot { background: var(--green-ink); color: #CFEBD9; min-height: 240px; }
.footer-slot .wrap { padding-block: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-start; }
.footer-slot .brand { font-size: 1.4rem; }
.footer-note { border: 2px dashed rgba(207, 235, 217, .4); border-radius: 18px; padding: 18px 22px; font-weight: 700; }

/* ── Adaptación ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .album { grid-template-columns: 1fr; }
  .album::after { display: none; }
  .page-left { border-radius: 24px 24px 6px 6px; }
  .page-right { border-radius: 6px 6px 24px 24px; padding-bottom: 120px; }
  .luca-sticker { bottom: -40px; }
  .pack-stage { grid-template-columns: 1fr; }
  .pack { max-width: 300px; margin-inline: auto; }
  .steps, .prices, .duo { grid-template-columns: 1fr; }
  .step:nth-child(n) { transform: none; margin-top: 56px; }
  .price.featured { transform: none; }
  .holo-grid { grid-template-columns: 1fr; }
  .holo:nth-child(n) { grid-column: auto; margin-top: 0; }
}
@media (max-width: 480px) {
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stamp { width: 74px; height: 74px; font-size: .6rem; }
  .nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; font-size: .92rem; scrollbar-width: none; white-space: nowrap; }
  .topbar .wrap { padding-block: 8px; gap: 6px 12px; }
  .brand { font-size: 1.3rem; } .brand img { width: 38px; height: 38px; }
  .stamp { display: none; }
  .mini-pack { width: 104px; padding: 20px 10px 12px; right: auto; left: 14px; bottom: 14px; }
  .mini-pack small { font-size: .72rem; }
  .luca-sticker { width: 128px; }
  .cta-long { display: none; }
  .topbar .wrap { flex-wrap: wrap; }
  .nav { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 28px; }
  .ledger p { white-space: normal; }
  .topbar { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
