/* Mapa Cero extends the shared brand styles; do not change the other pages. */
.mapa-page .eyebrow { font-size: .86rem; letter-spacing: .13em; }
.mapa-page h2 { font-size: clamp(2.25rem, 3.6vw, 3.5rem); line-height: 1.04; }
.mapa-page h3 { font-size: clamp(1.25rem, 1.65vw, 1.5rem); line-height: 1.25; }
.mapa-page :is(section[id], div[id]) { scroll-margin-top: 100px; }
.mapa-page :is(a, summary):focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; border-radius: 4px; }
.mapa-page .button { text-align: center; }
.mapa-hero { padding: clamp(52px, 5.5vw, 80px) 0; background: linear-gradient(135deg, var(--cream) 0 64%, var(--pink) 64% 100%); }
.mapa-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(40px, 5.5vw, 80px); }
.mapa-hero-copy { min-width: 0; }
.mapa-hero h1 { max-width: 660px; text-wrap: balance; overflow-wrap: break-word; }
.mapa-hero .hero-lead { font-size: 1.125rem; }
.mapa-hero-support { max-width: 580px; color: var(--muted); margin: 16px 0 0; }
.mapa-hero .hero-actions { margin-top: 28px; gap: 20px; }
.mapa-hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 38px 0 0; padding: 24px 0 0; border-top: 1px solid var(--border); list-style: none; }
.mapa-hero-facts li { display: grid; align-content: start; gap: 3px; }
.mapa-hero-facts strong { font-size: 1rem; }
.mapa-hero-facts span { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.mapa-cover { width: min(100%, 370px); margin: 0 auto; }
.mapa-book-stage { position: relative; margin: 4px 17px 18px 10px; perspective: 1400px; }
.mapa-book-stage::after { content: ''; position: absolute; z-index: 0; right: -5%; bottom: -4%; left: 10%; height: 17%; border-radius: 50%; background: rgba(34,37,42,.2); filter: blur(18px); transform: rotate(-1deg); }
.mapa-book { position: relative; z-index: 1; aspect-ratio: 1113 / 1620; transform: rotateY(-5deg) rotateZ(.35deg); transform-origin: center; transform-style: preserve-3d; }
.mapa-book::before { content: ''; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 12px; border-radius: 5px 0 0 5px; background: linear-gradient(90deg, rgba(34,37,42,.28), rgba(138,31,45,.14) 44%, rgba(255,255,255,.2) 78%, transparent); mix-blend-mode: multiply; pointer-events: none; }
.mapa-book::after { content: ''; position: absolute; z-index: -1; top: 6px; right: -9px; bottom: -10px; left: 9px; border: 1px solid rgba(138,31,45,.16); border-radius: 4px 18px 19px 6px; background: linear-gradient(90deg, rgba(198,180,164,.55), transparent 14%), repeating-linear-gradient(0deg, #fffaf3 0 2px, #dfd2c4 2px 3px); box-shadow: 0 3px 0 rgba(138,31,45,.42), 0 23px 42px rgba(34,37,42,.2); transform: translateZ(-1px); }
.mapa-book-cover { display: block; position: relative; z-index: 1; width: 100%; height: auto; border: 1px solid rgba(138,31,45,.18); border-radius: 5px 17px 16px 5px; box-shadow: 0 8px 18px rgba(34,37,42,.12); }
.mapa-cover figcaption { margin-top: 20px; color: var(--muted); font-size: .85rem; text-align: center; line-height: 1.5; }
.mapa-section-heading { max-width: 820px; margin-bottom: 42px; }
.mapa-section-heading > p:last-child:not(.section-kicker) { max-width: 740px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.mapa-outcomes { background: var(--white); }
.mapa-outcome-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 28px; overflow: hidden; }
.mapa-outcome { padding: 32px; background: var(--cream); }
.mapa-outcome + .mapa-outcome { border-left: 1px solid var(--border); }
.mapa-number { display: block; margin-bottom: 22px; color: var(--coral); font-size: clamp(3rem, 4.5vw, 4.25rem); font-weight: 900; line-height: 1; letter-spacing: -.065em; }
.mapa-outcome h3 { margin-bottom: 12px; }
.mapa-outcome p { margin: 0; color: var(--muted); font-size: 1rem; }
.mapa-scope-note { max-width: 900px; margin: 30px 0 0; color: var(--muted); font-size: .95rem; }
.mapa-scope-note strong { color: var(--charcoal); }
.mapa-curriculum { color: var(--white); background: #17191d; }
.mapa-curriculum-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 80px; align-items: start; }
.mapa-curriculum-intro { position: sticky; top: 118px; }
.mapa-curriculum-intro > p:not(.section-kicker) { color: rgba(255,255,255,.78); }
.mapa-light-link { color: var(--white); text-underline-offset: 5px; font-weight: 750; }
.mapa-lessons { margin: 0; padding: 0; list-style: none; }
.mapa-lessons li { display: grid; grid-template-columns: 66px minmax(0,1fr); gap: 24px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.17); }
.mapa-lessons li:first-child { padding-top: 0; border-top: 0; }
.mapa-lesson-number { color: var(--coral); font-size: 3rem; font-weight: 900; line-height: 1; letter-spacing: -.06em; }
.mapa-lessons h3 { margin: 0 0 10px; }
.mapa-lessons p { margin: 0; color: rgba(255,255,255,.78); font-size: 1rem; }
.mapa-includes { background: var(--cream); }
.mapa-includes-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.mapa-includes-card { padding: 30px; border: 1px solid var(--border); border-radius: 26px; background: var(--white); }
.mapa-card-label { margin: 0 0 18px; color: var(--burgundy); font-size: .85rem; font-weight: 850; }
.mapa-includes-card > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1rem; }
.mapa-workbook { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 80px; align-items: center; padding-top: 90px; }
.mapa-workbook figure { width: min(100%,370px); margin: 0 auto; }
.mapa-workbook img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 44px rgba(34,37,42,.1); }
.mapa-workbook figcaption { margin-top: 14px; color: var(--muted); font-size: .85rem; text-align: center; }
.mapa-workbook-copy > p:not(.section-kicker) { color: var(--muted); }
.mapa-work-steps { counter-reset: work; display: grid; gap: 20px; margin: 28px 0; padding: 0; list-style: none; }
.mapa-work-steps li { position: relative; display: grid; gap: 4px; padding-left: 46px; counter-increment: work; }
.mapa-work-steps li::before { content: counter(work); position: absolute; top: 1px; left: 0; display: grid; place-items: center; width: 30px; height: 30px; color: var(--burgundy); background: var(--pink); border-radius: 50%; font-weight: 900; }
.mapa-work-steps span { color: var(--muted); font-size: 1rem; }
.mapa-workbook-note { font-size: .9rem; }
.mapa-fit { background: var(--white); }
.mapa-fit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.mapa-fit-card { padding: 34px; background: var(--cream); border: 1px solid var(--border); border-radius: 28px; }
.mapa-fit-other { background: var(--white); }
.mapa-fit-card ul { display: grid; gap: 18px; padding-left: 20px; margin: 24px 0 0; color: var(--muted); }
.mapa-fit-card li { padding-left: 6px; }
.mapa-fit-card li::marker { color: var(--burgundy); }
.mapa-fit-card .text-link { display: inline-block; margin-top: 28px; font-size: .95rem; }
.mapa-teacher { background: var(--pink); }
.mapa-teacher-grid { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 72px; align-items: center; }
.mapa-teacher-grid > img { width: 100%; height: auto; max-width: 340px; border-radius: 32px; margin: 0 auto; }
.mapa-teacher p:not(.section-kicker):not(.teacher-lead) { color: var(--muted); }
.mapa-teacher .credential-row span { font-size: .85rem; }
.mapa-faq-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 72px; }
.mapa-faq-list details { border-top: 1px solid var(--border); }
.mapa-faq-list details:last-child { border-bottom: 1px solid var(--border); }
.mapa-faq-list summary { position: relative; padding: 23px 36px 23px 0; color: var(--charcoal); font-size: 1.05rem; font-weight: 800; line-height: 1.45; cursor: pointer; list-style: none; }
.mapa-faq-list summary::-webkit-details-marker { display: none; }
.mapa-faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 21px; font-size: 1.4rem; color: var(--burgundy); }
.mapa-faq-list details[open] summary::after { content: '−'; }
.mapa-faq-list details p { margin: 0; padding: 0 14px 24px 0; color: var(--muted); }
.mapa-access { padding: 76px 0; color: var(--white); background: var(--burgundy); }
.mapa-access-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 72px; align-items: center; }
.mapa-access .section-kicker { color: var(--pink); }
.mapa-access h2 { margin-bottom: 20px; }
.mapa-access p:not(.section-kicker) { color: rgba(255,255,255,.85); }
.mapa-access-actions { display: grid; justify-items: start; gap: 18px; }
.mapa-access-actions p { max-width: 330px; margin: 0; font-size: .95rem; }
.mapa-access-actions .mapa-light-link { font-size: .9rem; }
.mapa-page .footer-cookie-button { font-size: .84rem; }
@media (max-width: 980px) {
  .mapa-hero-grid { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 32px; }
  .mapa-hero h1 { font-size: clamp(2.75rem,5.8vw,3.6rem); }
  .mapa-hero-facts { gap: 12px; }
  .mapa-curriculum-grid, .mapa-faq-grid { grid-template-columns: 1fr; gap: 38px; }
  .mapa-curriculum-intro { position: static; max-width: 650px; }
  .mapa-outcome, .mapa-includes-card { padding: 24px; }
  .mapa-workbook, .mapa-teacher-grid { gap: 36px; }
  .mapa-access-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .mapa-page :is(section[id], div[id]) { scroll-margin-top: 86px; }
  .mapa-page h2 { font-size: clamp(2rem,8.5vw,2.75rem); }
  .mapa-page h3 { font-size: 1.35rem; }
  .mapa-hero { padding: 44px 0 54px; }
  .mapa-hero-grid, .mapa-workbook, .mapa-teacher-grid { grid-template-columns: 1fr; gap: 38px; }
  .mapa-hero h1 { font-size: clamp(2.75rem,11.5vw,3.6rem); }
  .mapa-hero .hero-lead { font-size: 1.05rem; }
  .mapa-hero .hero-actions { flex-direction: row; align-items: center; }
  .mapa-hero-facts { gap: 12px; margin-top: 30px; }
  .mapa-hero-facts strong { font-size: .95rem; }
  .mapa-hero-facts span { font-size: .85rem; }
  .mapa-cover { width: min(84%,320px); }
  .mapa-book-stage { margin-right: 15px; margin-left: 8px; }
  .mapa-section-heading { margin-bottom: 32px; }
  .mapa-outcome-grid, .mapa-includes-grid, .mapa-fit-grid { grid-template-columns: 1fr; }
  .mapa-outcome { padding: 28px; }
  .mapa-outcome + .mapa-outcome { border-left: 0; border-top: 1px solid var(--border); }
  .mapa-number { font-size: 3.25rem; margin-bottom: 18px; }
  .mapa-lessons li { grid-template-columns: 48px minmax(0,1fr); gap: 18px; }
  .mapa-lesson-number { font-size: 2.5rem; }
  .mapa-workbook { padding-top: 58px; }
  .mapa-workbook figure { width: min(92%,340px); }
  .mapa-fit-card { padding: 28px 24px; }
  .mapa-teacher-grid > img { max-width: 280px; }
  .mapa-faq-list summary { font-size: 1rem; }
  .mapa-access { padding: 58px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mapa-page .button { transition: none; }
}
