/* Letras servidas desde el propio sitio: nada de Google Fonts, así ningún tercero ve a quién visita (sitio para niños). */
@font-face { font-family: "Fredoka"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/fredoka-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/fredoka-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/fredoka-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/outfit-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/outfit-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/outfit-latin-600-normal.woff2) format("woff2"); }
/* constructmania.com (15 nov 2026): el estilo de los mockups del equipo de diseño. Cielo claro, tarjetas blancas redondas,
   títulos en navy con las rayitas naranjas, letra redonda (Fredoka) para títulos y Outfit para el texto. */
:root {
  --navy: #0F1B3D; --orange: #FF6A13; --ink: #1B2233; --muted: #5B6478; --line: #E4E7EE; --soft: #F3F6FC;
  --sky1: #EAF4FF; --sky2: #FFFFFF; --green: #5DB82E; --blue: #1F4FBF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Outfit", system-ui, sans-serif; color: var(--ink); line-height: 1.55; font-size: 17px;
  background: linear-gradient(180deg, var(--sky1) 0, var(--sky2) 520px) no-repeat, #fff; }
img { max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3, .logo, .btn, .badge, .strip-i span, .num, .tag { font-family: "Fredoka", "Outfit", sans-serif; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* Barra */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { font-weight: 700; font-size: 24px; letter-spacing: .5px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--orange); }
.menu { display: flex; gap: 6px; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.menu a { padding: 8px 12px; text-decoration: none; color: var(--navy); font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; }
.menu a:hover { color: var(--orange); }
.menu a[aria-current="page"] { border-bottom-color: var(--orange); }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 2px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; white-space: nowrap; }
.lang:hover { border-color: var(--navy); }
.ic { width: 20px; height: 20px; flex: none; }
.ic.big { width: 30px; height: 30px; }
.ic.huge { width: 64px; height: 64px; color: var(--navy); }
.ic.huge.wifi { color: #1E9BF0; }
@media (max-width: 980px) {
  .bar-in { flex-wrap: wrap; gap: 8px 16px; padding: 8px 16px; }
  .menu { order: 3; width: 100%; margin: 0; }
  .lang { margin-left: auto; }
}

/* Botones */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; border: 2px solid var(--navy); }
.btn.primary { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255,106,19,.3); }
.btn.primary:hover { background: #E85D0C; border-color: #E85D0C; }
.btn.ghost { background: #fff; color: var(--navy); }
.btn.ghost:hover { background: var(--soft); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; box-shadow: none; }
.center { text-align: center; } .center .btn { margin-top: 18px; }
.muted, .note { color: var(--muted); font-size: 15px; }

/* Portada */
.hero { padding: 36px 0 8px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; }
.hero-logo { width: min(330px, 70%); height: auto; display: block; margin-bottom: 6px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; color: var(--navy); margin: 0 0 12px; font-weight: 700; }
.hero-txt p { font-size: 18px; color: var(--muted); margin: 0; max-width: 560px; }
.hero-art { text-align: center; }
.duo { width: min(520px, 100%); height: auto; filter: drop-shadow(0 18px 24px rgba(15,27,61,.18)); }
.hero-shot { display: block; width: 100%; height: auto; border-radius: 24px; margin-top: 28px; box-shadow: 0 22px 60px rgba(15,27,61,.2); }
@media (max-width: 820px) { .hero-in { grid-template-columns: 1fr; } .hero-art { order: -1; } .duo { width: min(340px, 80%); } }

/* Títulos de página, con los dos personajes a los lados como en los mockups */
.title { padding: 20px 0 6px; }
.title-in { display: grid; grid-template-columns: 200px 1fr 200px; align-items: end; gap: 12px; }
.title-txt { text-align: center; padding-bottom: 22px; grid-column: 2; }
.title h1 { font-size: clamp(30px, 4.4vw, 50px); color: var(--navy); margin: 0 0 6px; line-height: 1.1; font-weight: 700; }
.title p { margin: 0 auto; max-width: 640px; color: var(--ink); font-size: 19px; }
.dash { color: var(--orange); font-weight: 600; margin: 0 .3em; }
.side { width: 100%; height: auto; max-height: 260px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(15,27,61,.16)); }
.side.l { grid-column: 1; grid-row: 1; } .side.r { grid-column: 3; grid-row: 1; }
@media (max-width: 760px) { .title-in { grid-template-columns: 1fr 1fr; } .title-txt { grid-column: 1 / -1; grid-row: 2; } .side { max-height: 150px; } .side.r { grid-column: 2; } }

/* Secciones y tarjetas */
.sec { padding: 26px 16px; }
.h2 { font-size: clamp(26px, 3.6vw, 36px); color: var(--navy); margin: 0 0 4px; text-align: center; }
.h2.small { font-size: 24px; text-align: left; margin-bottom: 10px; }
.lead { text-align: center; color: var(--muted); margin: 0 auto 22px; max-width: 620px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.note { font-size: .9rem; color: #5b6475; margin: 12px 2px 0; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 14px; box-shadow: 0 8px 26px rgba(15,27,61,.07); }
.card h3 { margin: 0; font-size: 21px; color: var(--navy); font-weight: 600; }
.card p { margin: 10px 4px 4px; color: var(--muted); font-size: 16px; }
.pic { position: relative; border-radius: 16px; overflow: hidden; background: var(--soft); }
.pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.badge { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: 18px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.25); }

/* Tira de íconos al pie de cada página */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 0; margin-top: 26px; padding: 16px 10px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 8px 26px rgba(15,27,61,.07); }
.strip-lead { display: flex; align-items: center; gap: 10px; padding: 0 22px; color: var(--navy); font-family: "Fredoka", sans-serif; font-size: 22px; }
.strip-i { display: flex; align-items: center; gap: 10px; padding: 4px 22px; color: var(--navy); border-left: 1px solid var(--line); }
.strip-i:first-child, .strip-lead + .strip-i { border-left: 0; }
.strip-i .ic { color: var(--orange); }
.strip-i span { font-weight: 500; font-size: 17px; line-height: 1.25; }
.devices .strip-i { padding: 8px 30px; } .devices .strip-i .ic { color: var(--navy); }

/* Cómo funciona */
.step-h { display: flex; align-items: center; gap: 12px; padding: 4px 4px 12px; }
.num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; font-size: 24px; flex: none; }
.beam { display: flex; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #DCEBFF, #F4F9FF); }
.arrow { color: var(--orange); font-size: 34px; font-weight: 700; }

/* Materiales, familias */
.mat-h { display: flex; align-items: center; gap: 12px; padding: 10px 10px 2px; background: var(--soft); border-radius: 14px; padding: 12px 14px; }
.mat-h .ic { color: var(--navy); }
.sw { display: block; width: 100%; height: auto; border-radius: 14px; margin-top: 10px; }

/* Personajes */
.chars { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 18px; align-items: center; }
.duo.big { width: 100%; }
.who { padding: 20px; }
.who-h { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.who-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: #fff; flex: none; }
.who.blue .who-ic, .who.blue .tag { background: var(--blue); } .who.blue .tag { background: var(--orange); }
.who.green .who-ic, .who.green .tag { background: var(--green); }
.who.green { border-color: #BFE3A8; }
.who h2 { margin: 0; font-size: 34px; color: var(--navy); line-height: 1; }
.tag { display: inline-block; margin-top: 4px; padding: 2px 12px; border-radius: 999px; color: #fff; font-weight: 600; font-size: 15px; }
.who ul { list-style: none; padding: 0; margin: 12px 0 0; }
.who li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.who li .ic { color: var(--orange); }
.who.green li .ic { color: var(--green); }
@media (max-width: 900px) { .chars { grid-template-columns: 1fr; } .duo.big { order: -1; width: min(380px, 90%); margin: 0 auto; } }

/* Descarga */
.plat { padding: 20px; text-align: left; }
.plat h2 { margin: 0; font-size: 26px; color: var(--navy); }
.plat .btn { margin-top: 12px; }
.faq { margin-top: 26px; padding: 22px; }
details { border-top: 1px solid var(--line); padding: 12px 4px; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details p { margin: 8px 0 0; color: var(--muted); }

/* Llamado final */
.cta { display: grid; grid-template-columns: 170px 1fr 170px; align-items: end; gap: 16px; background: var(--navy); color: #fff; border-radius: 26px; padding: 26px 22px 0; text-align: center; }
.cta img { width: 100%; height: auto; max-height: 240px; object-fit: contain; object-position: bottom; }
.cta div { padding-bottom: 30px; }
.cta h2 { margin: 0 0 6px; font-size: clamp(26px, 3.4vw, 34px); }
.cta p { margin: 0 0 16px; color: #C9D1E6; }
@media (max-width: 700px) { .cta { grid-template-columns: 1fr; } .cta img { display: none; } .cta div { padding-bottom: 26px; } }

/* Pie */
.foot { margin-top: 30px; border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.foot a { margin-left: 16px; color: var(--muted); }

/* Diseñar y Meta Quest 3 (16 nov 2026): foto y lista lado a lado. */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: 0 8px 26px rgba(15,27,61,.07); }
.feature.flip .feature-pics { order: 2; }
.feature-pics { display: grid; gap: 12px; }
.feature .shot { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.kicker { display: inline-block; font-family: "Fredoka", sans-serif; font-weight: 600; color: #fff; background: var(--orange); padding: 3px 14px; border-radius: 999px; font-size: 15px; }
.feature h2 { font-size: clamp(26px, 3.4vw, 36px); color: var(--navy); margin: 10px 0 6px; line-height: 1.15; }
.feature p { color: var(--muted); margin: 0 0 10px; }
.feature ul { list-style: none; padding: 0; margin: 0; }
.feature li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.feature li .ic { color: var(--orange); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip .feature-pics { order: 0; } }
.feature .shot.device { width: 70%; justify-self: center; border: 0; }
.plat-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; }
.plat-img[src*="design"] { object-position: left center; }
.ic3d { width: 56px; height: 56px; flex: none; }
.fam-wrap { max-width: 1400px; margin: 0 auto 40px; padding: 0 16px; }
.fam-board { display: grid; grid-template-columns: 280px 1fr 280px; gap: 18px 24px; align-items: start; padding: 28px; border-radius: 28px;
  background: #e9f1fb url(/img/family_wide.jpg) center / cover no-repeat; aspect-ratio: 2496 / 1640; box-shadow: 0 14px 40px rgba(15,27,61,.14); }
.fam-col { display: grid; gap: 16px; }
.fam-col .card { padding: 12px 14px; background: #fff; box-shadow: 0 10px 28px rgba(15,27,61,.18); }
.fam-h { display: flex; align-items: center; gap: 12px; }
.fam .fam-h h3 { font-size: 20px; line-height: 1.1; }
.fam p { margin-top: 6px; font-size: 14.5px; line-height: 1.45; }
.fam-strip { grid-column: 1 / -1; align-self: end; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; padding: 14px 10px; background: #fff; border-radius: 26px; box-shadow: 0 10px 28px rgba(15,27,61,.18); }
.fs-lead { display: flex; align-items: center; gap: 12px; padding: 0 16px; font-family: "Fredoka", sans-serif; font-size: 25px; font-weight: 600; color: var(--navy); line-height: 1.1; max-width: 260px; }
.fs-i { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 14px; border-left: 1px solid var(--line); text-align: center; width: 150px; }
.fs-i span { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 16px; color: var(--navy); line-height: 1.15; }
@media (max-width: 1000px) {
  .fam-board { grid-template-columns: 1fr; min-height: 0; padding: 0; background: none; box-shadow: none; }
  .fam-gap { aspect-ratio: 4 / 3; border-radius: 22px; background: url(/img/family.jpg) center / cover; order: -1; box-shadow: 0 10px 30px rgba(15,27,61,.12); }
  .fs-i { border-left: 0; }
}
.ic3d.big { width: 96px; height: 96px; }
.fam-strip .fs-i { align-self: stretch; justify-content: flex-start; }
/* Vidrio esmerilado: se ve la ilustración detrás sin perder la lectura. */
.fam-board { align-items: stretch; }
.fam-col { grid-template-rows: repeat(3, 1fr); }
.fam-col .card, .fam-strip { background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); border: 1px solid rgba(255,255,255,.7); }
.fam-col .card { display: flex; flex-direction: column; }
@media (max-width: 1000px) { .fam-col { grid-template-rows: none; } .fam-col .card, .fam-strip { background: #fff; } }
/* Separadores marcados en la franja: entre «Ideal para niños» y cada ícono. */
.fam-strip .fs-i { border-left: 2px solid rgba(15,27,61,.22); }
.fam-strip .fs-lead { padding-right: 28px; margin-right: 6px; }
@media (max-width: 1000px) { .fam-strip .fs-i { border-left: 0; } }
a.fs-i { text-decoration: none; border-radius: 14px; transition: background .15s; }
a.fs-i:hover { background: rgba(168,228,255,.45); }
.fm-k { display: inline-flex; align-items: center; gap: 8px; padding: 3px 14px 3px 6px; }
.fm-k img { width: 28px; height: 28px; background: #fff; border-radius: 50%; padding: 2px; }
.fam-more { scroll-margin-top: 90px; }
section[id] { scroll-margin-top: 90px; }
html { scroll-behavior: smooth; }
.fam-more .shot { aspect-ratio: 16 / 10; object-fit: cover; }
.bstep img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.bs-t { display: flex; align-items: center; gap: 10px; margin: 12px 4px 0; }
.bs-t .num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 600; }
/* En el celular los personajes de los lados del título ocupaban media pantalla: más pequeños, uno a cada lado. */
@media (max-width: 700px) { .title-in { position: relative; } .title .side { width: 74px !important; height: auto; position: absolute; top: 0; margin: 0; } .title .side.l { left: 0; } .title .side.r { right: 0; } .title-txt { padding: 0 70px; } .title-txt h1 { font-size: 30px; } }
/* En el celular el tablero no tiene proporción fija: si no, las tarjetas se montaban sobre lo de abajo. */
@media (max-width: 1000px) {
  .fam-board { aspect-ratio: auto; gap: 14px; }
  .fam-col { gap: 14px; }
  .fam-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
  .fam-strip .fs-lead { grid-column: 1 / -1; justify-content: center; max-width: none; padding: 0 0 6px; margin: 0; }
  .fam-strip .fs-i { width: auto; max-width: none; }
}
/* La marca con la letra redondeada y gruesa del logo (Fredoka), como en las láminas del equipo de arte. */
.logo { font-family: "Fredoka", "Outfit", sans-serif; font-weight: 700; font-size: 27px; letter-spacing: 0; }
@media (max-width: 700px) { .logo { font-size: 23px; } }
.home-title .btns { justify-content: center; margin-top: 14px; }
.home-title h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.dl-tag { display: inline-block; margin: 6px auto 4px; padding: 6px 18px; border-radius: 999px; background: var(--orange); color: #fff; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 18px; }
.dl3 .plat-img { aspect-ratio: 16 / 10; }
.btn.soon { color: #fff; border: 0; cursor: default; }
.btn.soon.blue { background: #3B82F6; }
.btn.soon.violet { background: #7C3AED; }
.dl-feats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 26px 0; padding: 14px 10px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.dlf { display: flex; align-items: center; gap: 10px; padding: 6px 18px; font-family: "Fredoka", sans-serif; font-weight: 600; color: var(--navy); }
.dlf + .dlf { border-left: 2px solid rgba(15,27,61,.15); }
@media (max-width: 700px) { .dlf + .dlf { border-left: 0; } .dl-tag { font-size: 15px; } }
.dl3 { display: flex; flex-direction: column; }
.dl3 .mat-h h2 { font-size: 21px; white-space: nowrap; }
.dl3 > p:not(.note) { flex: 1; }
.dl3 .btn { align-self: flex-start; }
.dl-feats { display: grid; grid-template-columns: repeat(3, 1fr); }
.dlf + .dlf { border-left: 0; }
@media (max-width: 700px) { .dl-feats { grid-template-columns: 1fr 1fr; } .dl3 .mat-h h2 { white-space: normal; } }

/* Privacidad y soporte: texto para leer, angosto y con aire. */
.legal { max-width: 860px; margin: 0 auto; }
.legal-h { font-size: clamp(30px, 4vw, 42px); color: var(--navy); margin: 8px 0 4px; }
.legal-lead { font-size: 18px; color: var(--navy); margin: 10px 0 18px; }
.legal-s { margin: 0 0 14px; padding: 18px 20px; }
.legal-s p, .legal-s li { color: var(--muted); font-size: 16px; line-height: 1.6; }
.legal-s ul { margin: 8px 0; padding-left: 22px; }
.legal-s a, .legal .faq a { color: var(--navy); text-decoration: underline; }
.btn.soon.orange { background: var(--orange, #FF6A13); }

/* Meta Quest en Juegos: una imagen grande y las tres formas de jugar debajo. */
.feature .shot.hero { aspect-ratio: 16 / 9; object-fit: cover; border: 0; border-radius: 20px; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; text-align: center; }
.way { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.way .ic { color: var(--navy); }
.ways-h { text-align: center; margin: 4px 0 0 !important; }
.ways-h b { display: block; color: var(--navy); font-size: 17px; }
.ways-h span { color: var(--muted); font-size: 14px; }

/* Juegos: Diseñar como el corazón, y la barra de los juegos (sin fotos sueltas). */
.heart { padding-bottom: 0; }
.heart .lead { max-width: 760px; margin: 6px auto 0; text-align: center; font-size: 18px; }
.card.dm { padding: 20px; }
.card.dm .ic { color: var(--orange); }
.card.dm h3 { margin-top: 8px; }
.gnav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 8px 26px rgba(15,27,61,.07); }
.gnav b { font-family: "Fredoka", sans-serif; font-size: 22px; color: var(--navy); margin-right: 8px; }
.gnav-i { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--soft); color: var(--navy); font-weight: 600; text-decoration: none; }
.gnav-i:hover { background: #A8E4FF; }
.gnav-i .ic { color: var(--orange); }
html { scroll-behavior: smooth; }

/* Materiales (18 nov 2026): el título sobre la casa y tarjetas con la ilustración a la derecha. */
.mat-hero { position: relative; border-radius: 26px; overflow: hidden; min-height: 420px; background-size: cover; background-position: center; display: flex; align-items: flex-start; box-shadow: 0 14px 40px rgba(15,27,61,.16); }
.mat-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,27,61,.55) 0%, rgba(15,27,61,.25) 38%, rgba(15,27,61,0) 60%); }
.mat-hero-txt { position: relative; max-width: 520px; padding: 38px 40px; color: #fff; }
.mat-hero-txt h1 { margin: 0; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.mat-hero-txt .dash { color: var(--orange); margin: 0 .12em; }
.mat-hero-txt p { margin: 14px 0 0; font-size: 19px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.mat-page .note { margin: 8px 6px 18px; }
.mat2-grid { gap: 18px; }
.card.mat2 { display: flex; align-items: center; gap: 10px; padding: 16px 12px 16px 18px; min-height: 190px; }
.card.mat2 .mat2-txt { flex: 1 1 55%; min-width: 0; }
.card.mat2 .mat-h { display: flex; align-items: center; gap: 10px; }
.card.mat2 p { margin: 10px 0 0; font-size: 15px; }
.card.mat2 img { flex: 0 0 42%; width: 42%; height: 150px; object-fit: contain; }
@media (max-width: 700px) {
  .mat-hero { min-height: 300px; }
  .mat-hero-txt { padding: 24px 20px; }
  .card.mat2 { flex-direction: column; align-items: stretch; }
  .card.mat2 img { width: 100%; flex-basis: auto; height: 180px; }
}
.card.mat2 .mat-h { background: none; padding: 0; border-radius: 0; }
.card.mat2 .mat-h h3 { font-size: 20px; white-space: nowrap; }
.card.mat2 img { height: 170px; }
.mat-hero-txt { max-width: 600px; }

/* Personajes (18 nov 2026): la imagen a todo lo ancho y, abajo, el título y las dos fichas sobre el blanco. */
.ch-hero { background-size: cover; background-position: center top; min-height: 820px; display: flex; align-items: flex-end; padding-bottom: 34px; }
.ch-in { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items: end; }
.ch-title { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 40px; }
.ch-title .ic { color: var(--orange); flex: none; width: 40px; height: 40px; margin-top: 6px; }
.ch-title h1 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; color: var(--navy); }
.ch-title p { margin: 10px 0 0; font-size: 18px; color: var(--muted); }
.ch-title .note { font-size: 13px; }
.ch-in .card.who { background: rgba(255,255,255,.95); box-shadow: 0 14px 36px rgba(15,27,61,.14); }
@media (max-width: 1000px) {
  .ch-hero { min-height: 0; padding-top: 52vw; background-size: 100% auto; background-repeat: no-repeat; background-color: #fff; }
  .ch-in { grid-template-columns: 1fr; }
  .ch-title { padding-bottom: 0; }
}
/* La ilustración de la familia a todo lo ancho, como la de Personajes (Oswaldo, 18 nov 2026: «así se ve muy pobre»); las tarjetas
   siguen alineadas con el resto de la página. */
@media (min-width: 1001px) {
  .fam-wrap { max-width: none; padding: 0; }
  .fam-board { border-radius: 0; box-shadow: none; grid-template-columns: 300px 1fr 300px; padding: 36px max(28px, calc((100% - 1340px) / 2)) 32px; }
}

/* Portada (19 nov 2026): la ilustración grande y aireada, seis tarjetas de dos renglones y la franja de los mundos. */
.home-hero { max-width: 1600px; margin: 14px auto 0; padding: 0 16px; }
.hh-in { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 18px 50px rgba(15,27,61,.18); }
.hh-in > img { display: block; width: 100%; height: auto; }
.hh-txt { position: absolute; top: 0; right: 0; bottom: 0; width: 34%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 2% 2.5% 2% 4%; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.85) 14%, rgba(255,255,255,.9) 100%); }
.hh-txt h1 { font-size: clamp(30px, 3.3vw, 58px); line-height: 1.05; color: var(--navy); margin: 0 0 12px; font-weight: 700; }
.hh-txt h1 .ul { white-space: nowrap; background: linear-gradient(var(--orange), var(--orange)) bottom / 100% .09em no-repeat; padding-bottom: .06em; }
.hh-txt p { margin: 0; font-size: clamp(15px, 1.15vw, 19px); color: var(--ink); max-width: 480px; }
.hh-txt .btns { justify-content: center; margin-top: 18px; }
@media (max-width: 1150px) { .hh-txt { position: static; width: auto; background: #fff; padding: 22px 18px 26px; } .hh-in { background: #fff; } }
.home-cards { padding-top: 34px; }
.hc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card.hc { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; background: #fff; }
.card.hc h3 { margin: 2px 0 6px; font-size: 22px; color: var(--navy); line-height: 1.15; }
.card.hc p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.card.hc .ic3d { flex: none; }
.home-strip { margin-top: 26px; background: #fff; }
@media (max-width: 980px) { .hc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .hc-grid { grid-template-columns: 1fr; } .hh-in { border-radius: 18px; } .card.hc { padding: 18px; } }
/* La franja de la portada centrada: el título en dos renglones con su aire y los cinco mundos en una sola fila pareja. */
.home-strip { justify-content: center; gap: 0; padding: 18px 20px; }
.home-strip .fs-lead { max-width: none; flex: 0 0 auto; padding: 0 26px 0 6px; font-size: 24px; }
.home-strip .fs-lead span { width: 190px; }
.home-strip .fs-i { width: 140px; padding: 6px 10px; }

/* How it works: el título sobre el cielo del hero, arriba y al centro, sin tapar el Wi-Fi ni a los personajes. */
.hw-txt { position: absolute; top: 0; left: 0; right: 0; text-align: center; padding: 1.6% 20% 4%;
  background: radial-gradient(ellipse 42% 100% at 50% 0%, rgba(255,255,255,.9) 0%, rgba(255,255,255,.78) 55%, rgba(255,255,255,0) 100%); }
.hw-txt h1 { margin: 0; white-space: nowrap; font-size: clamp(26px, 3vw, 50px); line-height: 1.1; color: var(--navy); font-weight: 700; }
.hw-txt p { margin: 4px auto 0; font-size: clamp(14px, 1.15vw, 19px); color: var(--ink); }
@media (max-width: 900px) { .hw-txt { position: static; background: #fff; padding: 18px 16px 22px; } .hw-txt h1 { white-space: normal; } }
