:root {
  --ink: #192323;
  --muted: #515c5c;
  --blue: #254fdc;
  --pale: #f0f3f5;
  --paper: #fcfcfa;
  --line: #d4dadd;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; }
h1, h2, p, dl, dd { margin: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #ffab36; outline-offset: 5px; }
img { max-width: 100%; display: block; }
.shell { width: min(86%, 1280px); margin-inline: auto; }
.skip { position: fixed; z-index: 20; left: 12px; top: -100px; padding: 10px 18px; background: white; border-radius: 4px; }
.skip:focus { top: 12px; }
.topbar { position: fixed; z-index: 5; top: clamp(12px, 2.3vw, 28px); inset-inline: 0; pointer-events: none; }
.nav-surface { display: flex; justify-content: space-between; align-items: center; min-height: 66px; padding: 7px 12px 7px 30px; border: 1px solid rgb(255 255 255 / .24); background: rgb(26 31 29 / .48); color: white; border-radius: 60px; pointer-events: auto; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background-color .25s,box-shadow .25s; }
.topbar.is-scrolled .nav-surface { background: rgb(20 29 28 / .94); box-shadow: 0 7px 28px rgb(12 21 21 / .1); }
.brand { display: grid; place-items: center; min-height: 44px; }
.brand img { width: 79px; height: 45px; object-fit: contain; filter: brightness(0) invert(1); }
.nav-surface nav { display: flex; gap: clamp(16px, 2.4vw, 39px); align-items: center; font-size: 14px; font-weight: 500; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid transparent; }
.nav-link:hover { border-bottom-color: #fff; }
.nav-contact { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding: 8px 21px; border-radius: 36px; border: 1px solid #d1d5d0; transition: color .2s,background .2s; }
.nav-contact:hover { color: var(--ink); background: white; }
.hero { min-height: 635px; height: min(94svh, 960px); position: relative; isolation: isolate; background: #2c3029; color: white; overflow: hidden; }
.hero-photo,.hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-photo { inset: -3% 0 0; transform: translateY(var(--drift,0px)) scale(1.035); transform-origin: 60% 55%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.hero-shade { background: linear-gradient(90deg, rgb(14 21 17 / .77) 0%,rgb(15 21 18 / .57) 30%,rgb(16 19 15 / .09) 63%,transparent 78%),linear-gradient(0deg, rgb(14 19 17 / .83), transparent 27%),linear-gradient(180deg,rgb(13 21 17 / .21),transparent 23%); }
.hero-inner { height: 100%; position: relative; display: flex; flex-direction: column; justify-content: center; padding-block: 100px 108px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.eyebrow > span { width: 8px; height: 8px; background: var(--blue); border-radius: 2px; flex: none; }
.hero-kicker > span,.contact .eyebrow > span { background: #b9ccff; }
.hero-copy { max-width: 720px; }
h1,h2,.book-title,.steps dt { font-weight: 500; letter-spacing: -.063em; line-height: 1.04; }
h1 { font-size: clamp(70px,6.65vw,107px); margin: 19px 0 18px; }
.hero-desc { font-size: clamp(16px,1.25vw,20px); color: #f1f2ec; max-width: 475px; line-height: 1.55; }
.hero-actions,.contact-links { margin-top: 27px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 22px; min-height: 46px; border: 1px solid transparent; border-radius: 40px; font-size: 14px; font-weight: 550; transition: transform .22s,background-color .22s; }
.btn:hover { transform: translateY(-2px); }
.btn span { font-size: 1.07em; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: #1c40be; }
.ghost { border-color: rgb(255 255 255 / .75); background: rgb(14 20 17 / .18); color: white; }
.ghost:hover { background: rgb(255 255 255 / .15); }
.levels-nav { position: absolute; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid rgb(255 255 255 / .33); }
.levels-nav a { padding-block: 20px; color: #fafbf7; font-size: clamp(15px,1.4vw,23px); letter-spacing: -.035em; display: flex; gap: 12px; align-items: baseline; }
.levels-nav span { color: #c1c8bb; font-size: .78em; transition: transform .2s,color .2s; }
.levels-nav a:hover span { transform: translate(3px,3px); color: white; }
.section,.about { padding-block: clamp(64px,7.8vw,120px); }
.section-intro { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 5%; margin-bottom: 33px; }
h2 { font-size: clamp(49px,4.9vw,80px); }
.section-intro h2,.about h2,.arp-copy h2,.contact h2 { margin-top: 16px; }
.section-intro > p,.about-lead,.arp-copy > p:not(.eyebrow) { max-width: 410px; font-size: 17px; line-height: 1.58; color: var(--muted); }
.section-intro > p { justify-self: end; margin-bottom: 4px; }
.book-grid { display:grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 16px; }
.book { position: relative; isolation: isolate; overflow: hidden; min-width: 0; min-height: clamp(248px,22vw,390px); border-radius: 17px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: clamp(18px,2.2vw,34px); color: white; background: #344443; grid-column: span 5; }
.book.forest,.book.math { grid-column: span 7; }
.book-back,.card-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.book-back { object-fit: cover; transition: transform .6s cubic-bezier(.2,.65,.25,1); }
.card-shade { z-index: -1; background: linear-gradient(0deg,rgba(8,15,13,.76),transparent 65%),linear-gradient(120deg,rgba(10,21,18,.19),transparent 52%); }
.forest .book-back { object-position: 45% 52%; }
.fox-art { position: absolute; z-index: -2; top: -14%; right: 7%; width: 38%; height: 114%; object-fit: contain; transform-origin: 50% 0%; transition: transform .6s; }
.gulliver .book-back { object-position: 50% 70%; }
.geography .book-back { object-position: 50% 46%; }
.math .book-back { object-position: 50% 54%; }
.grade { font-size: 12px; font-weight: 550; border: 1px solid rgb(255 255 255 / .52); border-radius: 35px; padding: 4px 12px; color: white; background: rgb(12 21 19 / .55); }
.book-bottom { display: flex; align-items: end; justify-content: space-between; gap: 8px; width: 100%; }
.book-title { font-size: clamp(34px,3.15vw,55px); text-shadow: 0 1px 14px #19201a50; }
.round-arrow { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / .72); border-radius: 50%; font-size: 22px; background: rgb(24 31 26 / .35); transition: background-color .25s,color .25s; }
.book:hover .book-back,.book:focus-visible .book-back { transform: scale(1.045); }
.book:hover .fox-art { transform: rotate(-4deg); }
.book:hover .round-arrow,.book:focus-visible .round-arrow { background: white; color: var(--ink); }
.about { background: var(--pale); }
.about-grid { display: grid; grid-template-columns: 1fr .95fr; gap: 11%; }
.about-lead { margin-top: 22px; }
.steps { align-self: center; border-bottom: 1px solid #bec8cc; }
.steps > div { border-top: 1px solid #bec8cc; padding: 19px 0; }
.steps dt { font-size: 27px; letter-spacing: -.04em; }
.steps dd { font-size: 15px; color: var(--muted); margin-top: 7px; max-width: 450px; }
.arp-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 24px clamp(24px, 5vw, 80px); align-items: center; }
.arp-art { width: 100%; min-width: 0; aspect-ratio: 1.4; border-radius: 20px; position: relative; isolation: isolate; overflow: hidden; background: #e2dfd4; }
.arp-copy { min-width: 0; overflow-wrap: break-word; }
.arp-art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s; }
.arp-art:hover img { transform: scale(1.025); }
.arp-copy > p:not(.eyebrow) { margin: 20px 0 23px; }
.dark { background: var(--ink); color: white; }
.contact { background: #203e9f; color: white; }
.contact-inner { padding-block: clamp(52px,6.4vw,99px); }
.contact h2 { font-size: clamp(55px,6vw,98px); }
.light { color: #152f75; background: white; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 14px; text-underline-offset: 4px; }
.social:hover,.foot a:hover,.reader-link:hover { text-decoration: underline; }
.foot { display: flex; align-items: center; justify-content: space-between; padding-block: 17px; font-size: 13px; }
.foot a { padding-block: 8px; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
dialog { padding: clamp(18px,3vw,36px); width: min(850px,94vw); max-height: 90svh; color: var(--ink); border: 1px solid #c4cdd1; background: var(--paper); border-radius: 18px; box-shadow: 0 24px 90px #0005; overscroll-behavior:contain; }
dialog::backdrop { background: rgb(12 20 21 / .74); }
.reader-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.reader-head h2 { font-size: clamp(28px,3vw,42px); margin: 8px 0; }
.close { cursor:pointer; background: transparent; border: 1px solid #a6b2b6; border-radius: 50%; font-size: 25px; width: 44px; height: 44px; flex: none; }
#libro-resumen { max-width: 650px; color: var(--muted); font-size: 15px; }
.page-holder { margin: 18px 0 10px; border-radius:6px; display:grid; place-items:center; padding: 14px; background: #e8ecec; }
.page-holder img { max-height: 49svh; object-fit: contain; width: 100%; }
.reader-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; color: #244798; font-size: 14px; }
body.reading { overflow: hidden; }
@media (min-width:701px) and (prefers-reduced-motion:no-preference) {
  .hero-copy { animation: enter .72s cubic-bezier(.2,.65,.25,1) both; }
  .levels-nav { animation: enter .68s .15s ease-out both; }
  .enter-view { animation: enter .52s ease-out both; }
  @keyframes enter { from { opacity:.2; transform: translateY(15px); } to { opacity:1; transform:translateY(0); } }
}
@media (max-width: 900px) {
  .shell { width: 90%; }
  .nav-surface { min-height: 60px; }
  .hero { min-height: 610px; max-height: 850px; }
  .hero-copy { max-width: 580px; }
  .hero-photo img { object-position: 65% center; }
  .book { min-height: 240px; }
  .about-grid { gap: 6%; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 81px; }
  .shell { width: 90%; }
  .topbar { top: 10px; }
  .nav-surface { min-height: 52px; padding: 4px 6px 4px 17px; }
  .brand img { width: 60px; height: 35px; }
  .nav-surface nav { gap: 13px; font-size: 12px; }
  .nav-contact { min-height: 41px; gap: 6px; padding: 7px 12px; }
  .hero { min-height: 680px; height: min(96svh,850px); max-height: none; }
  .hero-inner { padding-block: 90px 119px; justify-content: end; }
  .hero-kicker { font-size: 9px; }
  h1 { font-size: clamp(43px,10.7vw,65px); margin: 12px 0 12px; letter-spacing: -.06em; }
  .hero-desc { font-size: 15px; line-height: 1.45; max-width: 365px; }
  .hero-actions,.contact-links { margin-top: 19px; }
  .btn { min-height: 44px; padding: 10px 16px; font-size: 13px; }
  .levels-nav { grid-template-columns: 1fr 1fr; padding-block: 6px; }
  .levels-nav a { align-items:center; min-height: 44px; padding-block: 4px; font-size: 15px; gap: 7px; }
  .section,.about { padding-block: 49px; }
  .section-intro,.about-grid,.arp-section { grid-template-columns: 1fr; gap: 22px; }
  .section-intro { margin-bottom: 23px; gap: 14px; }
  .section-intro > p { justify-self: start; }
  h2 { font-size: clamp(42px,10.8vw,61px); }
  .section-intro h2,.about h2,.arp-copy h2 { margin-top: 11px; }
  .section-intro h2 br { display: none; }
  .section-intro > p,.about-lead,.arp-copy > p:not(.eyebrow) { font-size: 16px; }
  .book-grid { grid-template-columns: 1fr; gap: 12px; }
  .book,.book.forest,.book.math { grid-column: 1; min-height: 0; aspect-ratio: 1.64; border-radius: 13px; padding: 18px; }
  .book-title { font-size: 34px; }
  .round-arrow { width: 39px; height: 39px; }
  .about-lead { margin-top: 14px; }
  .steps > div { padding: 16px 0; }
  .arp-art { aspect-ratio: 1.5; }
  .arp-copy { padding-top: 1px; }
  .contact h2 { font-size: clamp(46px,10.7vw,64px); }
  .page-holder { padding: 6px; }
}
@media (max-width:640px), (max-width:900px) and (orientation:portrait) {
  .hero { background: #201f18; }
  .hero-photo { inset: 0 0 315px; transform: none; }
  .hero-photo img { object-position: 55% 52%; }
  .hero-shade { background: linear-gradient(to top, #201f18 305px, rgb(32 31 24 / .64) 333px, transparent 390px), linear-gradient(to bottom, rgb(23 25 19 / .18), transparent 18%); }
}
@media (min-width:641px) and (max-width:900px) and (orientation:portrait) {
  .hero-inner { justify-content: end; padding-bottom: 90px; }
  .hero h1 { font-size: 65px; }
  .hero-photo { inset: 0 0 352px; }
  .hero-shade { background: linear-gradient(to top, #201f18 340px, transparent 425px); }
}
@media (max-width:370px) {
  .nav-surface nav { gap: 9px; }
  .brand img { width: 47px; }
  .hero { min-height: 680px; }
  .book-title { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .hero-photo { transform:none; }
  .book:hover .book-back,.book:hover .fox-art,.arp-art:hover img,.btn:hover { transform:none; }
}
.reader-link { background: transparent; border: 0; text-decoration: underline; text-underline-offset: 4px; padding: 0; cursor: zoom-in; }
.reader-link[aria-pressed="true"] { cursor: zoom-out; }
.page-holder { margin: 2px 0 0; }
.page-holder:focus-visible { outline: 2px solid var(--blue); }
.page-holder.zoomed { display: block; overflow: auto; max-height: 55svh; }
.page-holder.zoomed img { width: auto; max-width: none; height: auto; max-height: none; }
