@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800&family=Syne:wght@500;600;700;800&display=swap');

:root {
  --blue: #2f7cff;
  --orange: #f17c20;
  --green: #4eba9a;
  --slate: #69768b;
  --navy: #2b2d42;
  --ink: #202638;
  --muted: #677084;
  --paper: #f9f9f9;
  --white: #ffffff;
  --line: rgba(43, 45, 66, .13);
  --shadow: 0 22px 55px rgba(43, 45, 66, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Mulish', Helvetica, Arial, sans-serif;
  line-height: 1.62;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: 'Syne', sans-serif; font-size: 1.08rem; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; color: var(--white); border-radius: 13px 13px 13px 4px; background: linear-gradient(135deg, var(--blue), var(--green)); font-size: .8rem; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { text-decoration: none; font-weight: 700; color: var(--slate); font-size: .94rem; }
.site-nav a:hover, .site-nav a.active { color: var(--blue); }
.nav-cta { color: var(--white) !important; background: var(--orange); padding: 11px 17px; border-radius: 999px; box-shadow: 0 8px 20px rgba(241,124,32,.2); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--navy); font-size: 1.6rem; cursor: pointer; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(850px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { color: var(--orange); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-family: 'Syne', Helvetica, Arial, sans-serif; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin: 0; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 680px; }
.section { padding: 105px 0; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-header > div:last-child { max-width: 570px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 47px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(43,45,66,.14); }
.button-primary { color: var(--white); background: var(--blue); }
.button-secondary { color: var(--navy); background: var(--white); border-color: var(--line); }
.button-orange { color: var(--white); background: var(--orange); }
.button-green { color: var(--navy); background: var(--green); }

.hero { overflow: hidden; padding: 74px 0 88px; background: linear-gradient(90deg, rgba(43,45,66,.94), rgba(43,45,66,.7)), url('assets/media-library/hero3.jpg') center / cover no-repeat; color: var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 70px; }
.hero h1 { color: var(--white); max-width: 650px; }
.hero .lede { color: rgba(255,255,255,.78); margin: 24px 0 32px; max-width: 620px; }
.hero .eyebrow { color: #8de1c5; }
.hero .button-secondary { color: var(--navy); }
.hero-media { position: relative; }
.hero-media::before { content: ''; position: absolute; width: 160px; height: 160px; top: -30px; right: -30px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.hero-media img { position: relative; width: 100%; aspect-ratio: 1.18; object-fit: cover; border: 9px solid rgba(255,255,255,.15); border-radius: 32px 32px 32px 7px; box-shadow: 0 30px 70px rgba(0,0,0,.28); }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.about-image { border-radius: 28px 28px 7px 28px; box-shadow: var(--shadow); aspect-ratio: 1 / 1; object-fit: cover; }
.about-copy { display: grid; gap: 22px; }
.about-copy h2 { max-width: 520px; }
.about-copy .lede { max-width: 680px; }
.paper-section { background: var(--white); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card { display: grid; grid-template-columns: .82fr 1fr; min-height: 300px; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: 0 15px 40px rgba(43,45,66,.08); }
.feature-card:nth-child(2) { background: var(--navy); color: var(--white); }
.feature-card img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.feature-card-content { display: flex; flex-direction: column; gap: 15px; justify-content: center; padding: 28px; }
.feature-card h3 { font-size: 1.75rem; }
.feature-card:nth-child(2) h3 { color: var(--white); }
.feature-card p { color: var(--muted); }
.feature-card:nth-child(2) p { color: rgba(255,255,255,.72); }
.feature-card .button { align-self: flex-start; min-height: 40px; padding: 0 16px; font-size: .88rem; }

.dark-section { background: var(--orange); }
.dark-section h2, .dark-section h3 { color: var(--white); }
.dark-section .lede { color: rgba(255,255,255,.82); }
.tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tool-card { min-height: 255px; display: flex; flex-direction: column; gap: 12px; padding: 24px 19px; border: 1px solid rgba(255,255,255,.3); border-radius: 18px; background: rgba(255,255,255,.12); color: var(--white); }
.tool-card .tool-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--navy); background: var(--green); font-family: 'Syne'; font-weight: 800; font-size: 1.1rem; }
.tool-card h3 { color: var(--white); font-size: 1.15rem; }
.tool-card p { color: rgba(255,255,255,.8); font-size: .92rem; }
.tool-card a { margin-top: auto; color: var(--white); font-weight: 800; text-decoration: none; font-size: .88rem; }
.tool-card a:hover { text-decoration: underline; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(43,45,66,.05); }
.info-card-image { width: 100%; height: 220px; object-fit: cover; }
.info-card-body { display: grid; gap: 13px; padding: 24px; }
.info-card-body p { color: var(--muted); font-size: .96rem; }
.info-card-body a { color: var(--blue); font-weight: 800; text-decoration: none; }

.future { background: #eaf7f3; }
.future .info-card { background: rgba(255,255,255,.75); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { text-align: center; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.team-card img { width: 130px; height: 130px; margin: 0 auto 18px; object-fit: cover; border-radius: 50%; border: 6px solid #eaf7f3; }
.team-card p { color: var(--muted); font-size: .9rem; }
.team-card:only-child { width: min(100%, 360px); margin-inline: auto; }

.blog-section { background: var(--white); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 14px; min-height: 255px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.post-card-image { width: calc(100% + 48px); height: 150px; margin: -24px -24px 2px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.post-card .post-meta { color: var(--orange); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.post-card p { color: var(--muted); }
.post-card a { margin-top: auto; color: var(--blue); font-weight: 800; text-decoration: none; }

.contact { padding: 90px 0; background: linear-gradient(rgba(43,45,66,.86), rgba(43,45,66,.92)), url('assets/media-library/contact.jpg') center / cover fixed no-repeat; color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; }
.contact h2 { color: var(--white); }
.contact p { color: rgba(255,255,255,.72); }
.contact-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.contact-list a { color: var(--white); text-decoration: none; font-weight: 700; }
.contact-list a:hover { color: #8de1c5; }
.site-footer { padding: 22px 0; color: var(--muted); background: var(--white); font-size: .87rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.footer-inner a { color: var(--blue); font-weight: 700; text-decoration: none; }

.page-hero { padding: 84px 0 62px; background: linear-gradient(135deg, #eaf7f3 0%, #f9f9f9 60%); }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); max-width: 860px; }
.page-hero .lede { margin-top: 20px; }
.article-shell { padding: 68px 0 100px; }
.article-content { display: grid; gap: 19px; padding: clamp(25px, 5vw, 55px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 15px 40px rgba(43,45,66,.06); }
.article-content h2 { margin-top: 22px; font-size: clamp(1.45rem, 3vw, 2.15rem); }
.article-content h3 { margin-top: 14px; font-size: 1.2rem; }
.article-content p, .article-content li { color: var(--muted); }
.article-content ul, .article-content ol { margin: 0; padding-left: 1.5rem; color: var(--muted); }
.article-content strong { color: var(--navy); }

.tool-shell { padding: 68px 0 105px; }
.tool-panel { width: min(980px, 100%); margin: 0 auto; padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.tool-panel h1 { font-size: clamp(2rem, 5vw, 3.7rem); }
.tool-intro { margin: 14px 0 30px; color: var(--muted); }
.field-label { display: block; margin-bottom: 8px; color: var(--navy); font-size: .9rem; font-weight: 800; }
input[type='text'], input[type='email'], input[type='range'], textarea, select { width: 100%; }
input[type='text'], input[type='email'], textarea, select { min-height: 48px; padding: 11px 13px; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; background: #fff; outline: none; }
input[type='text']:focus, input[type='email']:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,124,255,.12); }
.notice { padding: 13px 16px; border-radius: 13px; background: #eaf7f3; color: var(--navy); }
.notice.error { background: #fff0ed; color: #9e3022; }
.notice.success { background: #e5f8e8; color: #207b3d; }
.muted { color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-media { max-width: 720px; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .header-inner { min-height: 68px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 18px 20px 24px; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(43,45,66,.08); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 8px 0; }
  .nav-cta { text-align: center; }
  .section { padding: 72px 0; }
  .section-header { display: grid; gap: 18px; }
  .feature-grid, .card-grid, .post-grid, .team-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card img { min-height: 220px; max-height: 280px; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .container, .header-inner, .narrow { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 50px; }
  .tool-grid { grid-template-columns: 1fr; }
  .button-row .button { width: 100%; }
}

/* Herramientas interactivas */
.theme-box { display: grid; gap: 12px; margin: 20px 0 28px; padding: 18px; border: 1px dashed rgba(78,186,154,.6); border-radius: 18px; background: #eaf7f3; }
.theme-box .button { justify-self: start; }
.theme-display { color: var(--navy); }
.recorder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.recorder-settings { display: grid; gap: 20px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-btn { min-width: 58px; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--navy); background: var(--paper); font-weight: 800; cursor: pointer; }
.choice-btn:hover, .choice-btn.active { color: var(--white); border-color: var(--blue); background: var(--blue); }
.choice-btn:disabled { cursor: not-allowed; opacity: .55; }
.recorder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 32px 0 16px; }
.status-line { color: var(--muted); font-weight: 700; }
.status-line.error { color: #aa3426; }
.status-line.success { color: #23783d; }
.status-line.recording { color: #c84535; }
.button.is-recording { background: #c84535; }
.word-display { display: grid; place-items: center; gap: 8px; min-height: 190px; margin-top: 24px; border-radius: 20px; background: linear-gradient(135deg, #f0f7ff, #eefbf5); border: 1px solid var(--line); text-align: center; }
.word-display strong { min-height: 1.3em; color: var(--blue); font-family: 'Syne'; font-size: clamp(2.2rem, 8vw, 4rem); line-height: 1; }
.generated-words, .audio-result { display: grid; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.generated-words h2, .audio-result h2 { font-size: 1.35rem; }
.generated-words p { color: var(--muted); font-style: italic; }
.audio-result audio { width: 100%; }
.audio-result .button { justify-self: start; }

/* Gusanito */
.worm-page { background: #070a14; color: #e8ecff; }
.worm-page .site-header { position: relative; background: #0b1020; border-bottom-color: rgba(255,255,255,.1); }
.worm-page .brand, .worm-page .site-nav a { color: #e8ecff; }
.worm-shell { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 50px; }
.worm-wrap { display: grid; gap: 12px; }
.worm-card { padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(18,26,51,.92); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.worm-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; }
.worm-page h1, .worm-page h2, .worm-page h3 { color: #e8ecff; }
.worm-page h1 { margin: 0 0 20px; font-size: clamp(2rem, 5vw, 3.3rem); }
.worm-label { display: block; margin-bottom: 6px; color: #a9b3d6; font-size: 12px; }
.worm-input { width: 100%; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #e8ecff; background: rgba(0,0,0,.22); outline: none; }
.worm-input:focus { border-color: #3ddc97; box-shadow: 0 0 0 3px rgba(61,220,151,.13); }
.worm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.worm-range { width: 100%; accent-color: #3ddc97; }
.worm-hint { color: #a9b3d6; font-size: 13px; line-height: 1.35; }
.worm-switch { display: flex; gap: 10px; align-items: center; margin-top: 14px; color: #e8ecff; }
.worm-switch input { transform: scale(1.2); accent-color: #3ddc97; }
.worm-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.worm-button { padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #e8ecff; background: rgba(255,255,255,.08); cursor: pointer; }
.worm-button:hover { background: rgba(255,255,255,.14); }
.worm-button.primary { border-color: rgba(61,220,151,.35); background: rgba(61,220,151,.16); }
.worm-button.danger { border-color: rgba(255,90,122,.35); background: rgba(255,90,122,.14); }
.worm-status { display: flex; flex-direction: column; gap: 10px; }
.worm-target { padding: 14px; border: 1px dashed rgba(255,255,255,.18); border-radius: 16px; background: rgba(0,0,0,.18); text-align: center; font-size: 46px; font-weight: 900; letter-spacing: .1em; }
.worm-progress { padding: 10px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(0,0,0,.16); }
.worm-progress-title { margin-bottom: 6px; color: #a9b3d6; font-size: 12px; }
.worm-progress-line { min-height: 1.35em; color: #e8ecff; font-family: ui-monospace, Consolas, monospace; font-size: 14px; word-break: break-word; }
.worm-progress-line .done { color: #3ddc97; font-weight: 700; }
.worm-progress-line .now { color: #fff; font-weight: 900; text-decoration: underline; }
.worm-pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.worm-pill { padding: 6px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #a9b3d6; background: rgba(255,255,255,.06); font-size: 12px; }
.worm-banner { padding: 10px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; color: #e8ecff; background: rgba(0,0,0,.18); font-size: 13px; }
.worm-banner.ok { border-color: rgba(61,220,151,.35); }
.worm-banner.bad { border-color: rgba(255,90,122,.35); }
.worm-hud { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10px; align-items: start; }
#game { display: block; width: 100%; height: auto; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(0,0,0,.25); }
.worm-footer-keys { margin-top: 6px; color: #a9b3d6; text-align: center; font-size: 12px; }
.worm-pad { display: grid; grid-template-columns: 60px 60px 60px; justify-content: center; gap: 8px; padding-top: 6px; }
.worm-pad button { padding: 12px 0; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; color: #e8ecff; background: rgba(255,255,255,.08); cursor: pointer; font-size: 16px; }
.worm-pad .sp { visibility: hidden; }
.worm-page .site-footer { color: #a9b3d6; background: #0b1020; }
@media (max-width: 880px) { .worm-top, .worm-hud { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .worm-row { grid-template-columns: 1fr; } }

/* Encuesta y newsletter */
.survey-head { display: grid; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.survey-progress { position: sticky; top: 78px; z-index: 5; display: flex; justify-content: space-between; gap: 14px; margin: 20px 0; padding: 12px 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.94); color: var(--muted); font-size: .88rem; }
.survey-section { display: grid; gap: 18px; margin-top: 34px; }
.survey-section h2 { padding-top: 8px; font-size: clamp(1.45rem, 3vw, 2.2rem); }
.question-group { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fcfcfd; }
.question-group p { color: var(--navy); font-weight: 800; }
.question-option { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); cursor: pointer; }
.question-option input { margin-top: 5px; accent-color: var(--blue); }
.question-group textarea { min-height: 110px; resize: vertical; }
.survey-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.survey-note { margin-top: 18px; color: var(--muted); text-align: center; }
.newsletter-box { display: grid; gap: 22px; padding: clamp(22px, 5vw, 42px); border: 1px solid #d6ddd8; border-radius: 24px; background: linear-gradient(135deg, rgba(20,116,111,.12), transparent 42%), linear-gradient(315deg, rgba(219,107,92,.1), transparent 45%), #fbfaf6; }
.newsletter-box h1 { color: #182024; font-size: clamp(2.1rem, 5vw, 4rem); }
.newsletter-box p { color: #5d686c; }
.newsletter-form { display: grid; gap: 18px; }
.newsletter-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.newsletter-form label { display: grid; gap: 7px; color: #182024; font-weight: 800; }
.newsletter-form input, .newsletter-form select { border-color: #d6ddd8; border-radius: 8px; }
.interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-line { display: flex !important; grid-template-columns: none !important; flex-direction: row; align-items: flex-start; gap: 10px !important; font-weight: 650 !important; line-height: 1.35; }
.check-line input { width: 18px; min-height: 18px; margin-top: 3px; accent-color: #14746f; }
@media (max-width: 720px) { .newsletter-field-row, .interest-grid { grid-template-columns: 1fr; } .survey-progress { top: 68px; } }

/* Lector OMR integrado */
.lector-teaser { padding-top: 18px; }
.lector-teaser-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 34px; align-items: stretch; padding: clamp(28px, 5vw, 54px); overflow: hidden; border-radius: 30px; background: linear-gradient(130deg, #12233d 0%, #164d56 58%, #1f8a76 100%); box-shadow: 0 24px 55px rgba(20, 76, 82, .22); }
.lector-teaser-card h2, .lector-teaser-card .lede { color: var(--white); }
.lector-teaser-card h2 { max-width: 600px; font-size: clamp(2rem, 4.6vw, 3.8rem); }
.lector-teaser-card .lede { max-width: 670px; margin: 18px 0 28px; color: rgba(255,255,255,.8); }
.lector-teaser-card .eyebrow { color: #a9f0d4; }
.lector-teaser-card .button-secondary { color: var(--navy); background: rgba(255,255,255,.96); border-color: transparent; }
.lector-teaser-copy { align-self: center; }
.lector-teaser-points { display: grid; gap: 12px; align-content: center; padding: 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: rgba(5, 27, 42, .26); }
.lector-teaser-points > div { display: grid; grid-template-columns: 42px 1fr; gap: 1px 12px; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.14); }
.lector-teaser-points > div:last-child { border-bottom: 0; }
.lector-teaser-points span { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #123248; background: #a9f0d4; font-family: 'Syne', sans-serif; font-size: .75rem; font-weight: 800; }
.lector-teaser-points strong { align-self: end; color: var(--white); font-family: 'Syne', sans-serif; font-size: 1rem; }
.lector-teaser-points small { color: rgba(255,255,255,.7); font-size: .85rem; }

.lector-page { background: #f7faf9; }
.lector-hero { position: relative; overflow: hidden; padding: 82px 0 72px; background: linear-gradient(135deg, #e7f7f1 0%, #f7faf9 58%, #eef5ff 100%); }
.lector-hero::after { content: ''; position: absolute; width: 360px; height: 360px; right: -110px; bottom: -160px; border: 1px solid rgba(20,116,111,.17); border-radius: 50%; box-shadow: 0 0 0 32px rgba(20,116,111,.04), 0 0 0 64px rgba(20,116,111,.03); }
.lector-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr); gap: 54px; align-items: center; }
.lector-hero h1 { max-width: 760px; font-size: clamp(2.8rem, 7vw, 5.7rem); }
.lector-hero .lede { max-width: 700px; margin: 22px 0 28px; color: #53666d; font-size: 1.1rem; }
.lector-privacy { display: flex; gap: 8px; align-items: center; margin: 20px 0 0; color: #3e6963; font-size: .9rem; font-weight: 700; }
.lector-privacy span { color: #1b9b72; font-size: 1.3rem; line-height: 0; }
.lector-hero-visual { position: relative; min-height: 350px; padding: 30px; display: grid; place-items: center; border: 1px solid rgba(20,116,111,.16); border-radius: 32px; background: rgba(255,255,255,.73); box-shadow: 0 28px 60px rgba(43,45,66,.1); }
.lector-hero-visual::before, .lector-hero-visual::after { content: ''; position: absolute; border-radius: 50%; background: #a9f0d4; opacity: .55; }
.lector-hero-visual::before { width: 18px; height: 18px; top: 36px; right: 46px; }
.lector-hero-visual::after { width: 10px; height: 10px; bottom: 38px; left: 42px; background: #f2b783; }
.lector-visual-card { position: relative; width: min(320px, 100%); padding: 26px; border-radius: 25px; color: #eafff7; background: linear-gradient(145deg, #103946, #14746f); box-shadow: 0 24px 36px rgba(15,75,81,.25); }
.lector-visual-icon { width: 68px; height: 68px; margin-bottom: 22px; padding: 14px; border-radius: 20px; background: #a9f0d4; }
.lector-visual-icon img { width: 100%; height: 100%; }
.lector-visual-card h2 { color: #fff; font-size: 1.7rem; }
.lector-visual-card p { margin: 8px 0 0; color: rgba(255,255,255,.75); font-size: .9rem; }
.lector-visual-status { display: flex; gap: 8px; align-items: center; margin-top: 26px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.2); color: #a9f0d4; font-size: .8rem; font-weight: 800; }
.lector-visual-status span { width: 8px; height: 8px; border-radius: 50%; background: #a9f0d4; box-shadow: 0 0 0 5px rgba(169,240,212,.13); }
.lector-page .section-header { align-items: end; }
.lector-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lector-feature { min-height: 205px; padding: 22px; border: 1px solid #d9e6e1; border-radius: 20px; background: #fff; box-shadow: 0 13px 30px rgba(43,45,66,.05); }
.lector-feature-number { display: inline-grid; place-items: center; width: 35px; height: 35px; margin-bottom: 18px; border-radius: 11px; color: #126e67; background: #dcf5ec; font-family: 'Syne', sans-serif; font-size: .78rem; font-weight: 800; }
.lector-feature h3 { font-size: 1.15rem; }
.lector-feature p { margin: 10px 0 0; color: #68777b; font-size: .9rem; }
.lector-how { background: #eef6f3; }
.lector-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lector-step { position: relative; padding: 25px; border-top: 3px solid #14746f; border-radius: 0 0 18px 18px; background: #fff; }
.lector-step::after { content: '→'; position: absolute; top: 22px; right: 24px; color: #a6c8bd; font-size: 1.4rem; }
.lector-step:last-child::after { content: '✓'; color: #14746f; }
.lector-step-number { color: #14746f; font-family: 'Syne', sans-serif; font-size: .8rem; font-weight: 800; }
.lector-step h3 { margin: 12px 0 8px; font-size: 1.25rem; }
.lector-step p { margin: 0; color: #68777b; font-size: .92rem; }
.lector-workspace { padding-top: 76px; }
.lector-workspace .section-header { margin-bottom: 24px; }
.lector-frame-wrap { overflow: hidden; border: 1px solid #cbded8; border-radius: 24px; background: #fff; box-shadow: 0 22px 48px rgba(43,45,66,.12); }
.lector-frame-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid #dbe8e3; background: #f5faf8; }
.lector-frame-bar strong { color: #19544e; font-family: 'Syne', sans-serif; font-size: .9rem; }
.lector-frame-bar a { color: #14746f; font-size: .85rem; font-weight: 800; text-decoration: none; }
.lector-frame-bar a:hover { text-decoration: underline; }
.lector-frame { display: block; width: 100%; min-height: 940px; border: 0; background: #f7faf9; }
.lector-note { margin: 16px auto 0; max-width: 900px; color: #637477; text-align: center; font-size: .86rem; }

@media (max-width: 980px) {
  .lector-hero-grid, .lector-teaser-card { grid-template-columns: 1fr; }
  .lector-hero-visual { min-height: 300px; }
  .lector-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .lector-hero { padding: 56px 0 52px; }
  .lector-hero h1 { font-size: clamp(2.7rem, 14vw, 4.3rem); }
  .lector-hero .lede { font-size: 1rem; }
  .lector-feature-grid, .lector-steps { grid-template-columns: 1fr; }
  .lector-frame { min-height: 1050px; }
  .lector-frame-bar { align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* Portada orientada al alumno */
.hero { position: relative; }
.hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 54px; }
.hero-student-pitch { margin: 14px 0 0; color: #a9f0d4; font-family: 'Syne', sans-serif; font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-weight: 700; letter-spacing: -.02em; }
.hero .button-green { color: #10243b; }
.hero-student-console { position: relative; min-height: 390px; padding: 25px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 28px 28px 28px 7px; background: linear-gradient(150deg, rgba(19,48,73,.9), rgba(20,116,111,.78)); box-shadow: 0 28px 60px rgba(0,0,0,.24); }
.hero-student-console::before { content: ''; position: absolute; width: 230px; height: 230px; right: -80px; bottom: -80px; border: 1px solid rgba(169,240,212,.38); border-radius: 50%; box-shadow: 0 0 0 30px rgba(169,240,212,.07), 0 0 0 60px rgba(169,240,212,.04); }
.console-top { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.63); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.console-status { color: #a9f0d4; }
.console-status i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #a9f0d4; box-shadow: 0 0 0 5px rgba(169,240,212,.12); }
.console-compass { position: absolute; top: 75px; right: 38px; width: 150px; height: 150px; display: grid; place-items: center; border: 1px solid rgba(169,240,212,.3); border-radius: 50%; }
.console-orbit { position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; transform: rotate(-30deg); }
.orbit-one { width: 114px; height: 47px; }
.orbit-two { width: 128px; height: 80px; transform: rotate(45deg); }
.console-star { color: #ffd49c; font-size: 2.7rem; text-shadow: 0 0 20px rgba(255,212,156,.55); }
.console-eyebrow { position: relative; z-index: 1; margin: 142px 0 10px; color: #a9f0d4; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-student-console h2 { position: relative; z-index: 1; max-width: 330px; color: #fff; font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
.hero-student-console > p:not(.console-eyebrow) { position: relative; z-index: 1; max-width: 300px; margin: 12px 0 0; color: rgba(255,255,255,.72); font-size: .92rem; }
.console-progress { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(80px, 1fr) auto; gap: 2px 14px; align-items: center; margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); }
.console-progress > span { grid-row: span 2; display: block; height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.15); }
.console-progress > span b { display: block; width: 34%; height: 100%; border-radius: inherit; background: #a9f0d4; }
.console-progress strong { color: #fff; font-size: .78rem; }
.console-progress small { color: rgba(255,255,255,.57); font-size: .7rem; }
.student-start { padding-top: 72px; background: #fff; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.journey-card { position: relative; min-height: 260px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px; overflow: hidden; border-radius: 22px; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.journey-card::after { content: ''; position: absolute; width: 180px; height: 180px; right: -76px; bottom: -78px; border: 1px solid currentColor; border-radius: 50%; opacity: .18; }
.journey-card:hover { transform: translateY(-5px); box-shadow: 0 18px 35px rgba(43,45,66,.14); }
.journey-play { color: #fff; background: linear-gradient(145deg, #ee7824, #d94d41); }
.journey-create { color: #fff; background: linear-gradient(145deg, #2f7cff, #4450bc); }
.journey-science { color: #173d3b; background: linear-gradient(145deg, #d9f6e9, #addfcb); }
.journey-symbol { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 15px; color: #173d3b; background: #a9f0d4; font-size: 1.55rem; }
.journey-play .journey-symbol { color: #963e2f; background: #ffd49c; }
.journey-create .journey-symbol { color: #2144a3; background: #c7d8ff; }
.journey-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; opacity: .72; }
.journey-card h3 { margin: 6px 0 8px; color: inherit; font-size: 1.8rem; }
.journey-card p { max-width: 285px; margin: 0; color: inherit; opacity: .78; font-size: .91rem; }
.journey-link { margin-top: auto; padding-top: 20px; color: inherit; font-size: .85rem; font-weight: 800; }
.science-preview { padding-top: 38px; background: #fff; }
.science-preview-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); gap: 50px; align-items: center; padding: clamp(30px, 5vw, 58px); overflow: hidden; border: 1px solid #d3e5df; border-radius: 30px; background: linear-gradient(120deg, #edf9f4, #f3f7ff); }
.science-preview-copy h2 { max-width: 640px; font-size: clamp(2rem, 4.6vw, 3.5rem); }
.science-preview-copy .lede { max-width: 650px; margin: 18px 0 27px; color: #5e6f73; }
.skill-map { position: relative; min-height: 335px; padding: 25px; border-radius: 26px; background: #112d46; box-shadow: 0 22px 40px rgba(17,45,70,.18); }
.skill-map::before { content: ''; position: absolute; inset: 22% 16%; border: 1px dashed rgba(169,240,212,.42); border-radius: 50%; transform: rotate(-15deg); }
.skill-map::after { content: ''; position: absolute; inset: 32% 24%; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transform: rotate(35deg); }
.skill-map-title { position: relative; z-index: 1; color: #a9f0d4; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.skill-node { position: absolute; z-index: 2; display: grid; gap: 1px; min-width: 120px; padding: 12px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.1); backdrop-filter: blur(7px); }
.skill-node b { color: #ffd49c; font-size: .68rem; }
.skill-node strong { color: #fff; font-family: 'Syne', sans-serif; font-size: .95rem; }
.skill-node small { color: rgba(255,255,255,.64); font-size: .7rem; }
.node-observar { top: 73px; left: 25px; }
.node-modelar { top: 70px; right: 22px; }
.node-resolver { bottom: 34px; left: 36px; }
.node-explicar { right: 28px; bottom: 36px; }

/* Laboratorio de simuladores */
.simulators-page { background: #f8fbfa; }
.simulator-hero { position: relative; overflow: hidden; padding: 82px 0 75px; background: linear-gradient(135deg, #112e49, #155e64 65%, #1b8a72); color: #fff; }
.simulator-hero::after { content: ''; position: absolute; width: 390px; height: 390px; right: -125px; bottom: -225px; border: 1px solid rgba(169,240,212,.35); border-radius: 50%; box-shadow: 0 0 0 32px rgba(169,240,212,.08), 0 0 0 64px rgba(169,240,212,.04); }
.simulator-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 55px; align-items: center; }
.simulator-hero h1 { max-width: 700px; color: #fff; font-size: clamp(3rem, 7vw, 5.6rem); }
.simulator-hero .eyebrow { color: #a9f0d4; }
.simulator-hero .lede { max-width: 670px; margin: 22px 0 28px; color: rgba(255,255,255,.76); font-size: 1.07rem; }
.simulator-hero .button-secondary { color: #173d3b; }
.simulator-blueprint { position: relative; min-height: 365px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 28px; background: rgba(3,24,41,.35); box-shadow: 0 24px 50px rgba(0,0,0,.18); }
.blueprint-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(169,240,212,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(169,240,212,.28) 1px, transparent 1px); background-size: 28px 28px; }
.blueprint-core { position: absolute; top: 50%; left: 50%; z-index: 1; display: grid; place-items: center; width: 145px; height: 145px; border: 1px solid #a9f0d4; border-radius: 50%; color: #a9f0d4; background: rgba(20,116,111,.55); transform: translate(-50%, -50%); box-shadow: 0 0 0 18px rgba(169,240,212,.06), 0 0 0 45px rgba(169,240,212,.04); }
.blueprint-core span { font-size: 3rem; line-height: 1; }
.blueprint-core strong { margin-top: -18px; color: #fff; font-family: 'Syne', sans-serif; font-size: 1.05rem; }
.blueprint-core small { margin-top: -18px; font-size: .67rem; }
.blueprint-tag { position: absolute; z-index: 1; padding: 8px 11px; border: 1px solid rgba(169,240,212,.35); border-radius: 999px; color: #fff; background: rgba(17,45,70,.65); font-size: .75rem; font-weight: 800; }
.tag-one { top: 57px; left: 40px; }
.tag-two { top: 92px; right: 32px; }
.tag-three { right: 46px; bottom: 54px; }
.simulator-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.simulator-card { min-height: 280px; padding: 22px; border: 1px solid #d6e5df; border-radius: 22px; background: #fff; box-shadow: 0 13px 32px rgba(43,45,66,.05); }
.simulator-card-top { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.simulator-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; color: #173d3b; background: #d9f6e9; font-size: 1.4rem; font-weight: 800; }
.simulator-chemistry .simulator-icon { background: #ffe9cb; color: #9c572b; }
.simulator-biology .simulator-icon { background: #dce7ff; color: #3258b1; }
.simulator-earth .simulator-icon { background: #ece0ff; color: #744aa2; }
.coming-badge { padding: 6px 8px; border-radius: 999px; color: #4d706b; background: #edf6f2; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.simulator-card h3 { margin: 26px 0 8px; font-size: 1.45rem; }
.simulator-card p { min-height: 74px; margin: 0; color: #68777b; font-size: .9rem; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.skill-chips span { padding: 5px 8px; border-radius: 999px; color: #28655d; background: #eef8f4; font-size: .68rem; font-weight: 800; }
.simulator-principles { background: #edf6f3; }
.simulator-principles-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 45px; align-items: center; padding: clamp(28px, 5vw, 52px); border-radius: 27px; background: #122e47; }
.simulator-principles-card h2 { max-width: 580px; color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); }
.simulator-principles-card .eyebrow { color: #a9f0d4; }
.simulator-principles-card p:not(.eyebrow) { max-width: 600px; margin: 18px 0 0; color: rgba(255,255,255,.7); }
.principle-list { display: grid; gap: 9px; }
.principle-list div { display: flex; gap: 13px; align-items: center; padding: 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; color: #fff; background: rgba(255,255,255,.07); }
.principle-list span { color: #ffd49c; font-size: .72rem; font-weight: 800; }
.principle-list strong { font-size: .88rem; }

@media (max-width: 1040px) {
  .hero-grid, .simulator-hero-grid { grid-template-columns: 1fr; }
  .hero-student-console { min-height: 335px; }
  .simulator-blueprint { max-width: 680px; }
  .simulator-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero-grid { gap: 35px; }
  .hero-student-console { min-height: 360px; }
  .journey-grid, .science-preview-shell, .simulator-principles-card { grid-template-columns: 1fr; }
  .journey-card { min-height: 225px; }
  .science-preview-shell { gap: 30px; }
  .skill-map { min-height: 310px; }
  .simulator-hero { padding: 57px 0 55px; }
  .simulator-hero h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .simulator-grid { grid-template-columns: 1fr; }
  .simulator-card p { min-height: 0; }
}
@media (max-width: 480px) {
  .console-compass { right: 22px; }
  .console-progress { grid-template-columns: 1fr; }
  .console-progress > span { grid-row: auto; }
  .skill-node { min-width: 105px; padding: 9px; }
  .node-observar { left: 17px; }
  .node-modelar { right: 15px; }
  .node-resolver { left: 20px; }
  .node-explicar { right: 18px; }
}

/* Ruta de Geografía */
.journey-grid { grid-template-columns: repeat(4, 1fr); }
.journey-geography { color: #fff; background: linear-gradient(145deg, #92513e, #b98248); }
.journey-geography .journey-symbol { color: #784532; background: #ffe0a7; }
.simulator-grid { grid-template-columns: repeat(5, 1fr); }
.simulator-geography .simulator-icon { color: #784532; background: #ffe4bb; }

.geography-page { background: #fbfaf5; }
.geography-hero { position: relative; overflow: hidden; padding: 82px 0 75px; background: linear-gradient(135deg, #4d2b29, #31535a 64%, #6f8b61); color: #fff; }
.geography-hero::after { content: ''; position: absolute; width: 420px; height: 420px; right: -170px; bottom: -230px; border: 1px solid rgba(255,224,167,.4); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,224,167,.08), 0 0 0 70px rgba(255,224,167,.04); }
.geography-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 58px; align-items: center; }
.geography-hero h1 { max-width: 730px; color: #fff; font-size: clamp(2.9rem, 6.5vw, 5.4rem); }
.geography-hero .eyebrow { color: #ffe0a7; }
.geography-hero .lede { max-width: 680px; margin: 22px 0 28px; color: rgba(255,255,255,.77); font-size: 1.06rem; }
.geography-button { color: #4d2b29; background: #ffe0a7; }
.geography-hero .button-secondary { color: #173d3b; }
.geography-compass { position: relative; min-height: 370px; overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 30px 30px 30px 8px; background: rgba(15,40,48,.35); box-shadow: 0 24px 50px rgba(0,0,0,.2); }
.geo-grid-lines { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,224,167,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,224,167,.3) 1px, transparent 1px); background-size: 31px 31px; }
.geo-center { position: absolute; top: 50%; left: 50%; z-index: 1; display: grid; place-items: center; width: 160px; height: 160px; border: 1px solid #ffe0a7; border-radius: 50%; background: rgba(146,81,62,.68); transform: translate(-50%, -50%); box-shadow: 0 0 0 18px rgba(255,224,167,.07), 0 0 0 46px rgba(255,224,167,.04); }
.geo-center span { color: #ffe0a7; font-size: 3rem; line-height: 1; }
.geo-center strong { margin-top: -17px; color: #fff; font-family: 'Syne', sans-serif; font-size: 1rem; }
.geo-center small { margin-top: -17px; color: rgba(255,255,255,.7); font-size: .68rem; }
.geo-tag { position: absolute; z-index: 2; padding: 8px 11px; border: 1px solid rgba(255,224,167,.4); border-radius: 999px; color: #fff; background: rgba(20,57,62,.72); font-size: .74rem; font-weight: 800; }
.geo-tag-north { top: 43px; left: 50%; transform: translateX(-50%); }
.geo-tag-east { top: 50%; right: 32px; transform: translateY(-50%); }
.geo-tag-south { bottom: 43px; left: 50%; transform: translateX(-50%); }
.geo-tag-west { top: 50%; left: 32px; transform: translateY(-50%); }
.geography-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.geography-card { min-height: 290px; padding: 23px; border: 1px solid #e3ddd1; border-top: 4px solid #b98248; border-radius: 0 0 22px 22px; background: #fff; box-shadow: 0 13px 30px rgba(92,64,43,.06); }
.geography-card.geo-territory { border-top-color: #5b8490; }
.geography-card.geo-environment { border-top-color: #7b9b68; }
.geography-card.geo-mexico { border-top-color: #c97755; }
.geography-number { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 25px; border-radius: 12px; color: #734733; background: #fff0d4; font-family: 'Syne', sans-serif; font-size: .75rem; font-weight: 800; }
.geo-territory .geography-number { color: #315e69; background: #e3f0f3; }
.geo-environment .geography-number { color: #557046; background: #e6f0df; }
.geo-mexico .geography-number { color: #a64f36; background: #fce5da; }
.geography-card h3 { font-size: 1.35rem; }
.geography-card p { min-height: 91px; margin: 11px 0 18px; color: #6b706e; font-size: .9rem; }
.geography-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.geography-skills span { padding: 5px 8px; border-radius: 999px; color: #765039; background: #fff4df; font-size: .68rem; font-weight: 800; }
.geo-territory .geography-skills span { color: #315e69; background: #e9f3f5; }
.geo-environment .geography-skills span { color: #557046; background: #edf5e8; }
.geo-mexico .geography-skills span { color: #a64f36; background: #fff0eb; }
.geography-future { background: #f4eee5; }
.geography-future-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .8fr); gap: 45px; align-items: center; padding: clamp(28px, 5vw, 52px); border-radius: 28px; background: #31535a; }
.geography-future-card h2 { max-width: 620px; color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); }
.geography-future-card .eyebrow { color: #ffe0a7; }
.geography-future-card p:not(.eyebrow) { max-width: 620px; margin: 18px 0 0; color: rgba(255,255,255,.72); }
.geography-route { display: grid; gap: 9px; }
.geography-route div { display: grid; grid-template-columns: 33px 1fr; gap: 0 12px; align-items: center; padding: 13px 14px; border: 1px solid rgba(255,255,255,.17); border-radius: 14px; background: rgba(255,255,255,.07); }
.geography-route span { grid-row: span 2; color: #ffe0a7; font-size: .72rem; font-weight: 800; }
.geography-route strong { color: #fff; font-family: 'Syne', sans-serif; font-size: .9rem; }
.geography-route small { color: rgba(255,255,255,.6); font-size: .7rem; }

@media (max-width: 1040px) {
  .journey-grid, .geography-grid { grid-template-columns: repeat(2, 1fr); }
  .simulator-grid { grid-template-columns: repeat(2, 1fr); }
  .geography-hero-grid { grid-template-columns: 1fr; }
  .geography-compass { max-width: 680px; }
}
@media (max-width: 760px) {
  .journey-grid, .geography-grid, .geography-future-card { grid-template-columns: 1fr; }
  .geography-hero { padding: 57px 0 55px; }
  .geography-hero h1 { font-size: clamp(2.7rem, 13vw, 4.3rem); }
  .geography-compass { min-height: 320px; }
  .geography-card p { min-height: 0; }
}
@media (max-width: 480px) {
  .geo-tag-north { top: 28px; }
  .geo-tag-south { bottom: 28px; }
  .geo-tag-west { left: 16px; }
  .geo-tag-east { right: 16px; }
}

/* Metaverso educativo de bloques */
.voxel-page { background: #f4f8f5; }
.voxel-hero { position: relative; overflow: hidden; padding: 78px 0 72px; color: #fff; background: linear-gradient(135deg, #112d45, #155e64 58%, #237d69); }
.voxel-hero::after { content: ''; position: absolute; right: -110px; bottom: -250px; width: 520px; height: 520px; border: 1px solid rgba(169,240,212,.25); border-radius: 50%; box-shadow: 0 0 0 35px rgba(169,240,212,.06), 0 0 0 74px rgba(169,240,212,.035); }
.voxel-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .55fr); gap: 55px; align-items: center; }
.voxel-hero h1 { max-width: 760px; color: #fff; font-size: clamp(3rem, 7vw, 5.8rem); }
.voxel-hero .eyebrow { color: #a9f0d4; }
.voxel-hero .lede { max-width: 680px; margin: 22px 0 28px; color: rgba(255,255,255,.76); font-size: 1.06rem; }
.voxel-button { color: #173d3b; background: #a9f0d4; }
.voxel-hero .button-secondary { color: #173d3b; }
.voxel-hero-card { display: grid; gap: 10px; padding: 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: rgba(7,28,45,.38); box-shadow: 0 20px 45px rgba(0,0,0,.18); }
.voxel-hero-card strong { color: #fff; font-family: 'Syne', sans-serif; font-size: 1.35rem; }
.voxel-hero-card span:not(.voxel-hero-icon) { color: rgba(255,255,255,.7); line-height: 1.55; }
.voxel-hero-card small { color: #a9f0d4; font-size: .76rem; font-weight: 800; }
.voxel-hero-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #112d45; background: #ffd166; font-size: 1.4rem; }
.voxel-section { padding-top: 72px; background: #f4f8f5; }
.voxel-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 35px; align-items: end; margin-bottom: 28px; }
.voxel-heading .lede { margin: 0; color: #647477; }
.voxel-game-shell { overflow: hidden; border: 1px solid #cce0d8; border-radius: 25px; background: #102b40; box-shadow: 0 22px 55px rgba(17,45,70,.14); }
.voxel-game-topbar, .voxel-controls { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 14px 18px; color: #fff; background: #0c2235; }
.voxel-game-topbar > div, .voxel-stats { display: flex; gap: 18px; align-items: center; }
.voxel-game-topbar strong { font-size: .82rem; }
.voxel-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #a9f0d4; box-shadow: 0 0 12px #a9f0d4; }
.voxel-stats { color: rgba(255,255,255,.62); font-size: .75rem; }
.voxel-stats b { margin-left: 4px; color: #ffd166; }
.voxel-canvas-wrap { position: relative; min-height: 400px; background: #152f42; }
#voxelWorld { display: block; width: 100%; height: min(61vw, 560px); min-height: 400px; image-rendering: pixelated; }
.voxel-hint { position: absolute; top: 16px; left: 16px; padding: 8px 11px; border: 1px solid rgba(169,240,212,.25); border-radius: 999px; color: rgba(255,255,255,.82); background: rgba(9,31,46,.68); font-size: .74rem; pointer-events: none; }
.voxel-complete { position: absolute; inset: 50% auto auto 50%; display: grid; min-width: min(330px, calc(100% - 32px)); gap: 8px; padding: 25px; border: 1px solid rgba(169,240,212,.45); border-radius: 20px; color: #fff; text-align: center; background: rgba(12,34,52,.93); transform: translate(-50%, -50%); box-shadow: 0 20px 45px rgba(0,0,0,.3); }
.voxel-complete span { color: #ffd166; font-size: 2rem; }
.voxel-complete strong { font-family: 'Syne', sans-serif; font-size: 1.35rem; }
.voxel-complete p { margin: 0 0 8px; color: rgba(255,255,255,.72); }
.voxel-complete .button { justify-self: center; }
.voxel-control-copy { display: grid; gap: 3px; }
.voxel-control-copy strong { font-size: .88rem; }
.voxel-control-copy span { color: rgba(255,255,255,.57); font-size: .75rem; }
.voxel-dpad { display: grid; grid-template-columns: repeat(3, 42px); grid-template-rows: repeat(2, 34px); gap: 4px; }
.voxel-dpad button { border: 1px solid rgba(169,240,212,.3); border-radius: 8px; color: #a9f0d4; background: rgba(169,240,212,.08); cursor: pointer; font-size: .9rem; touch-action: manipulation; }
.voxel-dpad button:first-child { grid-column: 2; }
.voxel-dpad button:nth-child(2) { grid-column: 1; grid-row: 2; }
.voxel-dpad button:nth-child(3) { grid-column: 2; grid-row: 2; }
.voxel-dpad button:nth-child(4) { grid-column: 3; grid-row: 2; }
.voxel-dpad button:hover, .voxel-dpad button:focus-visible { color: #102b40; background: #a9f0d4; }
.voxel-legend { display: flex; flex-wrap: wrap; gap: 15px 22px; margin-top: 15px; color: #607174; font-size: .78rem; }
.voxel-legend span { display: inline-flex; gap: 7px; align-items: center; }
.voxel-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; }
.legend-grass { background: #66b878; }.legend-dirt { background: #a8764c; }.legend-stone { background: #aab5b8; }.legend-wood { background: #bd8750; }.legend-water { background: #4cafd0; }.legend-beacon { background: #ffd166; }.legend-portal { background: #a9f0d4; }
.voxel-first-person { cursor: crosshair; }
.voxel-first-person canvas { outline: none; }
.voxel-first-person canvas:focus { box-shadow: inset 0 0 0 2px rgba(169,240,212,.65); }
.voxel-crosshair { position: absolute; top: 50%; left: 50%; width: 24px; height: 24px; pointer-events: none; transform: translate(-50%, -50%); }
.voxel-crosshair::before, .voxel-crosshair::after, .voxel-crosshair i, .voxel-crosshair b { content: ''; position: absolute; display: block; background: rgba(255,255,255,.9); box-shadow: 0 0 3px rgba(0,0,0,.75); }
.voxel-crosshair::before { top: 11px; left: 0; width: 8px; height: 2px; }.voxel-crosshair::after { top: 11px; right: 0; width: 8px; height: 2px; }.voxel-crosshair i { top: 0; left: 11px; width: 2px; height: 8px; }.voxel-crosshair b { bottom: 0; left: 11px; width: 2px; height: 8px; }
.voxel-action-buttons { display: flex; gap: 7px; }
.voxel-action-buttons button { min-height: 35px; padding: 0 12px; border: 1px solid rgba(169,240,212,.3); border-radius: 8px; color: #a9f0d4; background: rgba(169,240,212,.08); cursor: pointer; font-size: .75rem; font-weight: 800; touch-action: manipulation; }
.voxel-action-buttons button:hover, .voxel-action-buttons button:focus-visible { color: #102b40; background: #a9f0d4; }
.voxel-first-person + .voxel-controls { flex-wrap: wrap; }
.voxel-note { background: #eaf5f0; }
.voxel-note-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 45px; align-items: center; }
.voxel-note-list { display: grid; gap: 9px; }
.voxel-note-list p { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; margin: 0; padding: 14px; border: 1px solid #cce0d8; border-radius: 13px; color: #315e60; background: rgba(255,255,255,.58); font-size: .86rem; }
.voxel-note-list b { color: #14746f; font-size: .72rem; }
@media (max-width: 820px) { .voxel-hero-grid, .voxel-heading, .voxel-note-grid { grid-template-columns: 1fr; } .voxel-hero-card { max-width: 520px; } }
@media (max-width: 560px) { .voxel-hero { padding: 56px 0 52px; } .voxel-hero h1 { font-size: clamp(2.7rem, 13vw, 4.3rem); } .voxel-game-topbar, .voxel-controls { align-items: flex-start; flex-direction: column; } .voxel-stats { gap: 12px; } #voxelWorld { height: 92vw; min-height: 350px; } .voxel-canvas-wrap { min-height: 350px; } .voxel-dpad { align-self: center; } }

/* Rediseño global MagicPath · Material adaptado a Aprendiendo con Sentido */
:root {
  --mp-background: hsl(240 20% 98%);
  --mp-card: hsl(0 0% 100%);
  --mp-foreground: hsl(222 32% 14%);
  --mp-muted: hsl(230 18% 96%);
  --mp-muted-foreground: hsl(223 13% 43%);
  --mp-border: hsl(230 18% 89%);
  --mp-primary: hsl(265 78% 48%);
  --mp-primary-foreground: hsl(0 0% 100%);
  --mp-secondary: hsl(250 74% 59%);
  --mp-accent: hsl(338 82% 53%);
  --mp-cyan: hsl(183 74% 42%);
  --mp-radius: 24px;
  --mp-radius-sm: 14px;
  --mp-shadow-sm: 0 1px 2px rgba(25, 23, 55, .04), 0 8px 22px rgba(38, 30, 92, .06);
  --mp-shadow-lg: 0 24px 70px rgba(38, 30, 92, .14);
  --blue: var(--mp-primary);
  --orange: var(--mp-accent);
  --green: hsl(170 61% 47%);
  --slate: var(--mp-muted-foreground);
  --navy: var(--mp-foreground);
  --ink: var(--mp-foreground);
  --muted: var(--mp-muted-foreground);
  --paper: var(--mp-background);
  --white: var(--mp-card);
  --line: var(--mp-border);
  --shadow: var(--mp-shadow-lg);
  --radius: var(--mp-radius);
}

html { scroll-padding-top: 82px; }
body {
  min-height: 100vh;
  color: var(--mp-foreground);
  background:
    radial-gradient(circle at 8% 2%, rgba(109, 40, 217, .07), transparent 28rem),
    radial-gradient(circle at 94% 18%, rgba(20, 184, 166, .08), transparent 26rem),
    var(--mp-background);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
::selection { color: #fff; background: var(--mp-primary); }
a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(109,40,217,.25); outline-offset: 3px; }

.site-header {
  border-bottom: 1px solid rgba(109,40,217,.09);
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 30px rgba(30,24,66,.045);
  backdrop-filter: blur(20px) saturate(1.35);
}
.header-inner { width: min(1240px, calc(100% - 36px)); min-height: 74px; gap: 22px; }
.brand { gap: 12px; color: #241a45; font-family: inherit; font-size: 1rem; letter-spacing: -.025em; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--mp-primary), var(--mp-secondary) 55%, var(--mp-cyan));
  box-shadow: 0 10px 24px rgba(109,40,217,.24);
}
.site-nav { gap: 3px; }
.site-nav a { padding: 9px 10px; border-radius: 11px; color: #667085; font-size: .79rem; transition: color .18s ease, background .18s ease, transform .18s ease; }
.site-nav a:hover { color: var(--mp-primary); background: rgba(109,40,217,.055); transform: translateY(-1px); }
.site-nav a.active { color: var(--mp-primary); background: rgba(109,40,217,.1); }
.nav-toggle { width: 42px; height: 42px; border-radius: 12px; color: var(--mp-primary); background: rgba(109,40,217,.08); }

.container { width: min(1180px, calc(100% - 40px)); }
.narrow { width: min(900px, calc(100% - 40px)); }
.eyebrow { color: var(--mp-accent); font-size: .76rem; letter-spacing: .12em; }
h1, h2, h3, h4 { color: #17132b; font-family: inherit; font-weight: 780; letter-spacing: -.047em; }
h1 { font-size: clamp(3rem, 7vw, 6.15rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.7rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.62rem); }
.lede { color: var(--mp-muted-foreground); line-height: 1.72; }
.section { padding: clamp(76px, 9vw, 118px) 0; }
.section-header { margin-bottom: 38px; }

.button {
  min-height: 48px;
  padding: 0 21px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(32,28,72,.08);
  font-size: .9rem;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(40,31,92,.16); filter: saturate(1.06); }
.button-primary { background: linear-gradient(135deg, var(--mp-primary), var(--mp-secondary)); }
.button-orange { background: linear-gradient(135deg, var(--mp-accent), #f0528b); }
.button-green { color: #062f2b; background: linear-gradient(135deg, #5eead4, #2dd4bf); }
.button-secondary { border-color: rgba(109,40,217,.13); background: rgba(255,255,255,.94); }

.hero {
  min-height: 660px;
  padding: clamp(78px, 10vw, 128px) 0;
  background:
    linear-gradient(112deg, rgba(24,18,55,.97) 0%, rgba(68,38,138,.9) 52%, rgba(19,116,112,.72) 100%),
    url('assets/media-library/hero3.jpg') center / cover no-repeat;
}
.hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(340px, .72fr); gap: clamp(42px, 7vw, 88px); }
.hero h1 { max-width: 760px; text-wrap: balance; }
.hero .lede { max-width: 700px; font-size: 1.06rem; }
.hero-student-pitch { margin: 18px 0 0; color: #c4b5fd; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 750; }
.hero-student-console {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(255,255,255,.14), rgba(17,13,40,.5));
  box-shadow: 0 30px 80px rgba(9,6,24,.34);
  backdrop-filter: blur(14px);
}

.paper-section, .blog-section { background: rgba(255,255,255,.68); }
.about-image { border-radius: 32px; box-shadow: var(--mp-shadow-lg); }
.about-copy { gap: 20px; }
.about-copy .lede + .lede { padding-top: 18px; border-top: 1px solid var(--mp-border); }

.feature-card, .info-card, .post-card, .team-card, .tool-panel, .article-content,
.simulator-card, .geography-card, .lector-feature, .lector-step, .newsletter-box {
  border: 1px solid rgba(109,40,217,.085);
  border-radius: var(--mp-radius);
  background: rgba(255,255,255,.93);
  box-shadow: var(--mp-shadow-sm);
}
.feature-card, .info-card, .post-card, .simulator-card, .geography-card, .lector-feature {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover, .info-card:hover, .post-card:hover, .simulator-card:hover, .geography-card:hover, .lector-feature:hover {
  border-color: rgba(109,40,217,.2);
  box-shadow: 0 20px 44px rgba(40,31,92,.12);
  transform: translateY(-5px);
}
.feature-card { overflow: hidden; }
.feature-card:nth-child(2) { color: #fff; background: linear-gradient(145deg, #20164d, #5335a2); }
.feature-card img, .info-card-image, .post-card-image { filter: saturate(.92) contrast(1.03); }
.info-card-body a, .post-card a { color: var(--mp-primary); }
.post-card { background: rgba(255,255,255,.86); }
.post-card .post-meta { color: var(--mp-accent); }

.student-start { background: transparent; }
.journey-card { min-height: 280px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--mp-radius); box-shadow: var(--mp-shadow-sm); }
.journey-card:hover { box-shadow: 0 22px 45px rgba(40,31,92,.17); }
.journey-play { background: linear-gradient(145deg, #f97316, #e11d48); }
.journey-create { background: linear-gradient(145deg, #6d28d9, #4338ca); }
.journey-science { background: linear-gradient(145deg, #ccfbf1, #99f6e4); }
.journey-geography { background: linear-gradient(145deg, #7c3aed, #0f766e); }
.journey-symbol { border-radius: 14px; box-shadow: 0 8px 18px rgba(18,16,48,.1); }

.science-preview { background: transparent; }
.science-preview-shell {
  border-color: rgba(109,40,217,.1);
  border-radius: 32px;
  background: linear-gradient(125deg, rgba(255,255,255,.98), rgba(238,232,255,.86));
  box-shadow: var(--mp-shadow-lg);
}
.skill-map, .simulator-blueprint, .geography-compass, .voxel-game-shell { border-radius: 26px; background-color: #17132b; box-shadow: 0 26px 60px rgba(25,20,61,.24); }

.dark-section { background: linear-gradient(130deg, #251452, #5426a6 56%, #0f766e); }
.tool-card { border-color: rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.1); box-shadow: inset 0 1px rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.tool-card:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }
.tool-card .tool-icon { color: #24154f; background: #c4b5fd; }
.future { background: linear-gradient(180deg, rgba(236,254,255,.72), rgba(245,243,255,.82)); }
.team-card { padding: 34px; }
.team-card img { width: 144px; height: 144px; border: 7px solid #ede9fe; box-shadow: 0 12px 28px rgba(40,31,92,.13); }

.contact {
  background:
    linear-gradient(115deg, rgba(28,18,67,.95), rgba(89,35,149,.86)),
    url('assets/media-library/contact.jpg') center / cover no-repeat;
}
.contact-grid { align-items: center; }
.contact-list { padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.09); backdrop-filter: blur(10px); }
.site-footer { border-top: 1px solid var(--mp-border); background: rgba(255,255,255,.9); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 116px) 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(20,184,166,.15), transparent 28%),
    radial-gradient(circle at 8% 80%, rgba(219,39,119,.09), transparent 25%),
    linear-gradient(135deg, #f5f3ff, #ffffff 54%, #ecfeff);
}
.page-hero::after { content: ''; position: absolute; right: -80px; bottom: -130px; width: 300px; height: 300px; border: 45px solid rgba(109,40,217,.06); border-radius: 50%; }
.page-hero h1 { position: relative; z-index: 1; max-width: 930px; text-wrap: balance; }
.page-hero .lede { position: relative; z-index: 1; max-width: 760px; }
.article-shell { padding: 62px 0 110px; }
.article-content { gap: 20px; padding: clamp(30px, 6vw, 64px); border-radius: 28px; box-shadow: 0 20px 60px rgba(40,31,92,.08); }
.article-content h2 { padding-top: 22px; border-top: 1px solid var(--mp-border); color: #2d1d62; }
.article-content li { padding-left: 5px; margin-block: 8px; }
.article-content li::marker { color: var(--mp-primary); font-weight: 800; }

.tool-shell { padding: clamp(54px, 7vw, 90px) 0 110px; }
.tool-panel { padding: clamp(26px, 5vw, 52px); border-radius: 28px; box-shadow: var(--mp-shadow-lg); }
.tool-panel h1 { color: #21174b; }
.theme-box, .notice { border: 1px solid rgba(20,184,166,.2); border-radius: 16px; background: linear-gradient(135deg, #f0fdfa, #ecfeff); }
input[type='text'], input[type='email'], textarea, select, .worm-input {
  border-color: var(--mp-border);
  border-radius: 13px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(34,27,77,.04);
}
input[type='text']:focus, input[type='email']:focus, textarea:focus, select:focus { border-color: var(--mp-primary); box-shadow: 0 0 0 4px rgba(109,40,217,.12); }
.choice-btn { border-color: var(--mp-border); border-radius: 12px; background: #faf9ff; }
.choice-btn:hover, .choice-btn.active { border-color: var(--mp-primary); background: var(--mp-primary); }
.word-display { border-color: rgba(109,40,217,.1); border-radius: 22px; background: linear-gradient(135deg, #f5f3ff, #ecfeff); }
.word-display strong { color: var(--mp-primary); }

.simulator-hero, .geography-hero, .lector-hero, .voxel-hero {
  background: linear-gradient(125deg, #1c1243, #5b2bb2 56%, #0f766e);
}
.simulator-hero::after, .geography-hero::after, .lector-hero::after, .voxel-hero::after { border-color: rgba(196,181,253,.28); box-shadow: 0 0 0 34px rgba(196,181,253,.06), 0 0 0 70px rgba(45,212,191,.035); }
.simulator-card { border-top: 4px solid var(--mp-primary); }
.simulator-icon { color: #4c1d95; background: #ede9fe; }
.coming-badge { color: #5b21b6; background: #f3e8ff; }
.skill-chips span { color: #5b21b6; background: #f5f3ff; }
.simulator-principles, .geography-future, .lector-how, .voxel-note { background: linear-gradient(180deg, #f5f3ff, #ecfeff); }
.simulator-principles-card, .geography-future-card { border-radius: 28px; background: linear-gradient(135deg, #21164b, #49308e); box-shadow: var(--mp-shadow-lg); }

.geography-card { border-top-color: var(--mp-primary); border-radius: 18px 18px 24px 24px; }
.geography-card.geo-territory { border-top-color: #0891b2; }
.geography-card.geo-environment { border-top-color: #0d9488; }
.geography-card.geo-mexico { border-top-color: var(--mp-accent); }
.geography-number { color: #5b21b6; background: #ede9fe; }
.geography-skills span { color: #5b21b6; background: #f5f3ff; }

.lector-feature, .lector-step { background: rgba(255,255,255,.92); }
.lector-feature-number, .lector-step-number { color: var(--mp-primary); background: #ede9fe; }
.lector-frame-wrap { border-color: rgba(109,40,217,.12); border-radius: 24px; box-shadow: var(--mp-shadow-lg); }
.lector-frame-bar { background: #21164b; }
.lector-teaser-card { border: 1px solid rgba(109,40,217,.1); border-radius: 30px; background: linear-gradient(135deg, #f5f3ff, #ecfeff); box-shadow: var(--mp-shadow-lg); }

.voxel-page, .voxel-section { background: transparent; }
.voxel-game-topbar, .voxel-controls { background: #17132b; }
.voxel-button { color: #271551; background: #c4b5fd; }
.voxel-note-list p { border-color: rgba(109,40,217,.12); color: #44336e; background: rgba(255,255,255,.8); }

.worm-page { background: #0d0a1c; }
.worm-page .site-header { background: rgba(17,12,38,.92); border-bottom-color: rgba(196,181,253,.14); }
.worm-page .brand-mark { background: linear-gradient(145deg, #7c3aed, #14b8a6); }
.worm-card { border-color: rgba(196,181,253,.12); border-radius: 20px; background: linear-gradient(145deg, rgba(36,27,71,.96), rgba(20,17,46,.96)); box-shadow: 0 18px 50px rgba(0,0,0,.32); }
.worm-button.primary { border-color: rgba(196,181,253,.35); background: rgba(124,58,237,.27); }
.worm-button:hover { background: rgba(196,181,253,.16); }
.worm-input:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167,139,250,.14); }

iframe, video, canvas { border-radius: 16px; }

@media (max-width: 1120px) {
  .site-nav { gap: 1px; }
  .site-nav a { padding-inline: 7px; font-size: .73rem; }
  .hero-grid { grid-template-columns: 1fr .78fr; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-student-console { max-width: 720px; }
}
@media (max-width: 760px) {
  .site-nav { top: 68px; gap: 4px; padding: 16px; border: 1px solid rgba(109,40,217,.1); background: rgba(255,255,255,.98); box-shadow: 0 22px 50px rgba(40,31,92,.15); }
  .site-nav a { padding: 11px 12px; font-size: .9rem; }
  .hero { min-height: auto; }
  .hero-grid { gap: 34px; }
  .section-header { align-items: start; }
  .feature-card:hover, .info-card:hover, .post-card:hover, .simulator-card:hover, .geography-card:hover, .lector-feature:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Acceso único al proyecto de juego desde la parte superior de Inicio. */
.project-topbar{min-height:48px;display:flex;align-items:center;justify-content:flex-end;padding:5px max(18px,calc((100vw - 1240px)/2));background:linear-gradient(100deg,#191c45,#174e69)}
.project-topbar-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:36px;padding:7px 17px;border:1px solid #b5f2e7;border-radius:999px;background:#c2f6e7;color:#112f48;text-decoration:none;font:800 13px/1.2 'Nunito Sans',system-ui,sans-serif;box-shadow:0 3px 12px #05182745;transition:transform .18s ease,background .18s ease}
.project-topbar-button:hover{transform:translateY(-1px);background:#e1fff5}
.project-topbar-button span{font-size:17px;line-height:1}
@media(max-width:760px){.project-topbar{justify-content:center;padding-inline:12px}.project-topbar-button{width:100%;max-width:390px;font-size:12px;white-space:nowrap}.has-project-topbar .site-nav{top:116px}}
