/* Astronauts Estudios — landing page. Same typefaces as the books (Baloo 2 for titles, Andika for text). */
@font-face { font-family: "Baloo 2"; font-weight: 600; font-display: swap; src: url(/fonts/Baloo2-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url(/fonts/Baloo2-800-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Andika"; font-weight: 400; font-display: swap; src: url(/fonts/Andika-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Andika"; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/Andika-400i-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Andika"; font-weight: 700; font-display: swap; src: url(/fonts/Andika-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cream: #fff8ef; --paper: #ffffff; --ink: #2a2440; --muted: #615a75; --line: #ece3d6;
  --coral: #c9441f; --coral-d: #9e3317; --coral-bright: #f2603f; --teal: #1a7d71; --pink: #b8326b; --pink-bright: #e64b8a; --gold: #f2a93b; --lav: #f1ebff; --mint: #e3f5f1; --peach: #ffeadf;
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Andika", "Verdana", system-ui, sans-serif;
  --r: 22px; --shadow: 0 12px 30px -12px rgba(42, 36, 64, .25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 18px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--teal); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.sub { color: var(--muted); max-width: 640px; margin-inline: auto; }
.small { font-size: 15px; }
.kicker { font-family: var(--display); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; color: var(--coral); margin: 0 0 8px; }
section { padding: 84px 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--coral); color: #fff; font: 800 18px/1 var(--display);
  padding: 16px 26px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 6px 0 var(--coral-d); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--coral-d); }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--coral-d); }
.btn-sm { font-size: 16px; padding: 11px 18px; box-shadow: 0 4px 0 var(--coral-d); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover, .btn-ghost:active { box-shadow: inset 0 0 0 2px var(--ink); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.link { background: none; border: 0; color: var(--teal); font: 700 16px var(--body); cursor: pointer; padding: 8px 4px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 239, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 22px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 22px/1 var(--display); white-space: nowrap; }
.logo svg { width: 34px; height: 34px; }
.logo .logo-casco { width: 34px; height: 34px; margin-left: -4px; }
.logo.small { font-size: 20px; justify-content: center; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; }
.nav a:hover { color: var(--coral); }
.lang { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; padding: 6px 12px; border: 2px solid var(--line); border-radius: 999px; }
.lang:hover { border-color: var(--ink); }

/* hero */
.hero { padding: 56px 0 72px; background: radial-gradient(1200px 520px at 85% 30%, var(--peach), transparent 60%), radial-gradient(700px 400px at 0% 100%, var(--mint), transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 22px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--paper); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: 15px; font-weight: 700; }
.hero-art { position: relative; aspect-ratio: 1 / .9; }
.fan { position: absolute; width: 64%; border-radius: 18px; background: #fff; box-shadow: var(--shadow); border: 6px solid #fff; }
.f1 { left: 0; top: 14%; transform: rotate(-7deg); animation: float 7s ease-in-out infinite; }
.f2 { right: 0; top: 4%; transform: rotate(6deg); animation: float 8s ease-in-out -2s infinite; }
.f3 { left: 18%; bottom: 0; transform: rotate(-1deg); animation: float 9s ease-in-out -4s infinite; z-index: 2; }
@keyframes float { 50% { translate: 0 -10px; } }
.spark { position: absolute; width: 18px; height: 18px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 3s ease-in-out infinite; }
.s1 { top: 0; left: 30%; } .s2 { top: 44%; right: -2%; animation-delay: -1s; background: var(--pink-bright); } .s3 { bottom: 6%; left: 2%; animation-delay: -2s; background: var(--teal); }
@keyframes twinkle { 50% { transform: scale(.55) rotate(30deg); opacity: .6; } }

/* characters from the books, peeking around the page */
.cam { position: absolute; height: auto; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(42, 36, 64, .18)); }
.cam-red { width: 27%; left: -8%; bottom: -4%; z-index: 3; animation: bob 5s ease-in-out infinite; }
.cam-polo { width: 23%; right: -4%; bottom: 8%; z-index: 3; transform: scaleX(-1); animation: bob 6s ease-in-out -1.5s infinite; }
.cam-xolo { width: 28%; right: 10%; top: -10%; z-index: 0; animation: swim 9s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -8px; } }
@keyframes swim { 50% { translate: -14px 6px; } }
.cam-lila { width: 120px; right: -26px; bottom: -40px; }
.shop .wrap { position: relative; }
.cam-quetzi { width: 150px; top: -54px; left: 6%; animation: fly 7s ease-in-out infinite; }
@keyframes fly { 50% { translate: 18px -10px; rotate: -4deg; } }
.book { position: relative; }
.cam-card { width: 96px; top: -42px; right: 22px; z-index: 2; }
#book-cuento .cam-card { width: 92px; } #book-slime .cam-card { left: 22px; right: auto; transform: scaleX(-1); }
.final-in { position: relative; overflow: hidden; padding-bottom: 0 !important; }
.btn-light { box-shadow: 0 6px 0 #6e2716; }
.gang { display: flex; justify-content: center; align-items: flex-end; gap: 2%; margin-top: 34px; }
.gang img { width: 13%; max-width: 120px; margin-bottom: -6px; }
.gang img:nth-child(odd) { animation: bob 5s ease-in-out infinite; } .gang img:nth-child(even) { animation: bob 6s ease-in-out -2s infinite; }

/* origin story */
.story { background: var(--paper); }
.story-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.story-text p { font-size: 19px; }
.quote { margin: 0; background: var(--lav); border-radius: var(--r); padding: 34px 32px; position: relative; }
.quote blockquote, .quote figcaption { position: relative; max-width: calc(100% - 70px); }
.quote::before { content: "“"; position: absolute; top: -18px; left: 22px; font: 800 96px/1 var(--display); color: var(--pink-bright); }
.quote blockquote { margin: 0 0 14px; font: 600 24px/1.35 var(--display); }
.quote figcaption { color: var(--muted); font-size: 15px; font-style: italic; }

/* books */
.book-list { display: grid; gap: 30px; margin-top: 36px; }
.book { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: center; background: var(--paper); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); }
.book:nth-child(2) { grid-template-columns: 1.15fr 1fr; } .book:nth-child(2) .book-cover { order: 2; }
.book-cover { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 18px; overflow: hidden; }
.book-cover img { transition: transform .4s; }
.book-cover:hover img { transform: scale(1.03); }
.tag { font-weight: 700; color: var(--teal); font-size: 15px; margin-bottom: 4px; }
.book h3 { font-size: clamp(26px, 3vw, 34px); }
.themes { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.themes li { background: var(--mint); color: #145e56; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
#book-slime .themes li { background: var(--lav); color: #5b3b9a; } #book-ajolotes .themes li { background: #ffe4ee; color: #a3305f; }
.meta { color: var(--muted); font-size: 15px; }
.book-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* inside */
.inside { background: var(--paper); }
.tabs { display: flex; justify-content: center; gap: 8px; margin: 26px 0; flex-wrap: wrap; }
.tabs button { font: 800 16px var(--display); padding: 10px 20px; border-radius: 999px; border: 2px solid var(--line); background: var(--cream); color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gal[hidden] { display: none; }
.pg { padding: 0; border: 0; background: none; cursor: zoom-in; text-align: center; font: 700 14px var(--body); color: var(--muted); }
.pg img { border-radius: 10px; box-shadow: 0 8px 20px -10px rgba(42, 36, 64, .35); border: 1px solid var(--line); margin-bottom: 8px; transition: transform .3s; }
.pg:hover img { transform: translateY(-4px) rotate(-1deg); }
.contents { list-style: none; padding: 0; margin: 34px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; max-width: 900px; }
.contents li { font-weight: 700; font-size: 16px; padding-left: 26px; position: relative; }
.contents li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 4px #fff3d6; }

/* benefits */
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.ben { background: var(--paper); border-radius: var(--r); padding: 26px; border: 1px solid var(--line); }
.ben svg { width: 44px; height: 44px; padding: 9px; border-radius: 14px; background: var(--peach); fill: none; stroke: var(--coral-bright); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 12px; }
.ben:nth-child(3n+2) svg { background: var(--mint); stroke: var(--teal); } .ben:nth-child(3n) svg { background: var(--lav); stroke: #6b48c8; }
.ben p { color: var(--muted); margin: 0; font-size: 17px; }

/* shop / builder */
.shop { background: linear-gradient(var(--cream), var(--peach)); }
.builder { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; margin-top: 34px; align-items: start; }
.steps { display: grid; gap: 18px; min-width: 0; }
.step { border: 0; margin: 0; padding: 22px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; }
.step legend { float: left; width: 100%; font: 800 20px var(--display); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 16px var(--display); flex: none; }
.choices { display: grid; gap: 10px; clear: both; }
.choices.row { grid-template-columns: repeat(3, 1fr); }
.books-choice { grid-template-columns: repeat(2, 1fr); }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.bk, .opt, .pill { position: relative; display: flex; gap: 12px; align-items: center; border: 2px solid var(--line); border-radius: 16px; padding: 10px; cursor: pointer; background: var(--cream); transition: border-color .15s, background .15s; }
.bk:has(input:checked), .opt:has(input:checked), .pill:has(input:checked) { border-color: var(--coral); background: #fff4ef; }
.bk:has(input:focus-visible), .opt:has(input:focus-visible), .pill:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.bk img { width: 76px; border-radius: 8px; flex: none; }
.bk span { display: grid; font-size: 15px; line-height: 1.3; }
.bk small { color: var(--coral-d); font-weight: 700; margin-top: 3px; }
.bk .stack { display: flex; flex: none; width: 112px; }
.bk .stack img { width: 50px; margin-left: -18px; border: 2px solid #fff; } .bk .stack img:first-child { margin-left: 0; }
.badge { position: absolute; top: -10px; right: 10px; background: var(--teal); color: #fff; font: 800 12px/1 var(--display); font-style: normal; padding: 5px 9px; border-radius: 999px; }
.pill { justify-content: center; font-weight: 700; padding: 12px 8px; text-align: center; }
.plus, .opt em { font-style: normal; color: var(--coral-d); font-size: 14px; white-space: nowrap; }
.opt span { display: grid; gap: 2px; } .opt small { color: var(--muted); font-size: 15px; line-height: 1.4; }
.opt::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; align-self: start; margin-top: 3px; background: #fff; }
.opt:has(input:checked)::before { border: 6px solid var(--coral); }
.pers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 16px; }
.pers[hidden] { display: none; }
.field { display: grid; gap: 4px; font-weight: 700; font-size: 15px; }
.field input { font: 18px var(--body); padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.field input:focus { border-color: var(--teal); outline: none; }
.field input[aria-invalid="true"] { border-color: var(--coral-d); }
.err { color: var(--coral-d); font-weight: 400; visibility: hidden; min-height: 1.2em; }
.field input[aria-invalid="true"] + .err { visibility: visible; }
.check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--coral); }

.summary { position: sticky; top: 90px; background: var(--paper); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.preview { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.pv-cover, .pv-ded { aspect-ratio: 8.5 / 11; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; justify-content: center; text-align: center; overflow: hidden; }
.pv-cover img { border-radius: 6px; }
.pv-cover p { font: 800 13px/1.2 var(--display); color: var(--ink); margin: 8px 0 0; min-height: 1.2em; }
.pv-ded { aspect-ratio: auto; min-height: 100%; font-size: 9.5px; line-height: 1.45; font-style: italic; color: var(--ink); }
.pv-ded p { margin: 0 0 .35em; } .pv-ded strong { font-style: normal; color: var(--pink); font-family: var(--display); font-size: 11px; }
.pv-ded .note { font-style: normal; color: var(--muted); font-size: 12px; }
.pv-note { font-size: 13px; color: var(--muted); margin: 10px 0 14px; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 16px; padding-top: 14px; border-top: 2px dashed var(--line); }
.total dt { font-size: 15px; color: var(--muted); } .total dd { margin: 0; font: 800 30px var(--display); }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.secure svg { width: 16px; height: 16px; flex: none; color: var(--teal); }

/* how */
.how { background: var(--paper); }
.how-list { list-style: none; padding: 0; margin: 36px 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.how-list li { background: var(--cream); border-radius: var(--r); padding: 24px; }
.how-list .num { background: var(--coral); margin-bottom: 12px; }
.how-list p { color: var(--muted); font-size: 16px; margin: 0; }

/* faq */
.faq details { background: var(--paper); border-radius: 16px; margin-bottom: 12px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 54px 18px 22px; font: 800 19px var(--display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-size: 26px; color: var(--coral); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* final + footer */
.final { padding: 30px 0 90px; }
.final-in { background: var(--ink); color: #fff; border-radius: 32px; padding: 54px 30px; text-align: center; background-image: radial-gradient(circle at 15% 20%, rgba(242, 169, 59, .35) 0 2px, transparent 3px), radial-gradient(circle at 80% 30%, rgba(255, 255, 255, .5) 0 1.5px, transparent 2.5px), radial-gradient(circle at 60% 80%, rgba(242, 169, 59, .3) 0 2px, transparent 3px); background-size: 120px 120px, 90px 90px, 150px 150px; }
.final-in p { color: #d9d3ea; font-size: 19px; }
.foot { border-top: 1px solid var(--line); padding: 34px 0; text-align: center; color: var(--muted); font-size: 15px; }
.foot p { margin: 0 0 8px; }

/* dialogs */
.viewer { border: 0; border-radius: 18px; padding: 16px; max-width: min(720px, 94vw); max-height: 94vh; background: var(--paper); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.viewer::backdrop { background: rgba(32, 26, 48, .7); }
.viewer img { max-height: calc(94vh - 110px); width: auto; margin: 0 auto; border-radius: 8px; border: 1px solid var(--line); }
.viewer .close { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream); font-size: 26px; cursor: pointer; z-index: 2; }
.viewer-nav { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 10px; font-weight: 700; }
.viewer-nav button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font-size: 26px; cursor: pointer; }
.small-dialog { max-width: min(520px, 94vw); padding: 30px; }
.small-dialog pre { background: var(--cream); padding: 14px; border-radius: 12px; font-size: 13px; white-space: pre-wrap; }

/* privacy and terms */
.legal { padding: 40px 20px 70px; }
.legal h2 { font-size: 24px; margin-top: 30px; }
.legal li { margin-bottom: .5em; }

/* cookie banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 640px; margin: 0 auto; background: var(--paper); border-radius: 18px;
  box-shadow: 0 20px 50px -10px rgba(42, 36, 64, .45); padding: 18px 20px; display: flex; gap: 16px; align-items: center; font-size: 15px; }
.consent p { margin: 0; } .consent div { display: flex; gap: 8px; flex: none; }
@media (max-width: 600px) { .consent { flex-direction: column; align-items: stretch; } .consent div .btn { flex: 1; } }

/* scroll reveal */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fan, .spark, .cam, .gang img { animation: none; }
  .js .reveal { opacity: 1; translate: 0 0; transition: none; }
  .btn, .pg img, .book-cover img { transition: none; }
}

/* book pages */
.crumbs { padding-top: 18px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.book-hero { padding-top: 26px; }
.book-hero-art { position: relative; }
.book-hero-art .book-cover { width: 100%; box-shadow: var(--shadow); background: #fff; border: 6px solid #fff; }
.cam-hero-book { width: 30%; right: -6%; bottom: -10%; animation: bob 5s ease-in-out infinite; }
.book h3 a { color: inherit; text-decoration: none; } .book h3 a:hover { color: var(--coral); }
.cast { background: var(--paper); }
.cast-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cast-list li { background: var(--cream); border-radius: var(--r); padding: 22px; text-align: center; }
.cast-list img { width: auto; height: 120px; object-fit: contain; margin: 0 auto 12px; }
.cast-list p { color: var(--muted); font-size: 16px; margin: 0; }
.fact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.fact { background: var(--paper); border-radius: var(--r); padding: 26px; margin: 0; border-top: 6px solid var(--gold); font-size: 17px; }
.more { padding-top: 0; }
.more-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.more-card { display: grid; gap: 4px; background: var(--paper); border-radius: var(--r); padding: 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.more-card img { border-radius: 12px; margin-bottom: 8px; }
.more-card span { font: 800 22px var(--display); } .more-card small { color: var(--teal); font-weight: 700; }

/* tablet */
@media (max-width: 960px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero-in, .story-in, .builder { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; width: 100%; margin: 10px auto 0; }
  .book, .book:nth-child(2) { grid-template-columns: 1fr; } .book:nth-child(2) .book-cover { order: 0; }
  .ben-grid { grid-template-columns: 1fr 1fr; }
  .how-list { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .summary { position: static; }
  .cast-list { grid-template-columns: 1fr 1fr; }
  .fact-list { grid-template-columns: 1fr; }
  .book-hero-art { max-width: 520px; margin: 0 auto; }
}
/* phone */
@media (max-width: 600px) {
  body { font-size: 17px; }
  section { padding: 60px 0; }
  .wrap { padding: 0 16px; }
  .top-in { gap: 10px; }
  .logo { font-size: 18px; } .logo svg, .logo .logo-casco { width: 28px; height: 28px; }
  .top .btn-sm { display: none; }
  .hero { padding-top: 34px; }
  .lead { font-size: 18px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .book { padding: 16px; }
  .ben-grid, .how-list { grid-template-columns: 1fr; }
  .books-choice { grid-template-columns: 1fr; }
  .choices.row { grid-template-columns: 1fr 1fr 1fr; }
  .pill { font-size: 15px; padding: 10px 4px; }
  .pers { grid-template-columns: 1fr; }
  .quote blockquote { font-size: 21px; }
  .cam-card { width: 72px; top: -34px; }
  .cam-quetzi { width: 104px; top: -30px; left: 0; }
  .cam-lila { width: 90px; right: -10px; bottom: -30px; }
  .gang img { width: 15%; }
  .final-in { margin-inline: 12px; width: auto; }
  .cast-list li { padding: 16px 12px; } .cast-list img { height: 90px; }
  .more-list { grid-template-columns: 1fr; }
  .total dd { font-size: 26px; }
}
