/* ==========================================================================
   Mundo Emprendedor · sitio público
   Referencia visual: standalone de Inicio (docs/diseno/). Fondo crema, azul
   marino, ámbar y tipografías Bricolage Grotesque (títulos) y Nunito Sans.
   Accesibilidad AA: el ámbar #F59E0B solo va de fondo o sobre azul; el texto
   ámbar pequeño sobre claro usa --amber-text (#B45309, 4,6:1 sobre crema).
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-var-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-var-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-var-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-var-latin-ext.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #0B2447;            /* títulos, fondos oscuros */
  --navy-2: #12356B;          /* enlaces, botón azul */
  --amber: #F59E0B;           /* botón principal (texto azul) y acentos sobre azul */
  --amber-hover: #E08E05;
  --amber-text: #B45309;      /* antetítulos y texto ámbar pequeño sobre claro */
  --amber-tint: #FEF3C7;
  --blue-tint: #E8EEF8;
  --cream: #F7F5F0;           /* fondo general */
  --paper: #FFFFFF;
  --ink: #141A26;
  --text: #3F4856;
  --muted: #5B6472;
  --line: #E3E0D8;
  --line-2: #C9D3E6;
  --field-line: #D9D5CC;
  --on-navy: #DCE3F0;
  --on-navy-muted: #C9D3E6;
  --danger: #B42318;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 24px);
  --header: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header); }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0; text-wrap: balance; color: var(--navy); }
p { margin: 0; text-wrap: pretty; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
ul { margin: 0; }
input, select, textarea, button { font: inherit; }
main:focus { outline: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: .7em 1.1em; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--navy-2); outline-offset: 3px; }
.eyebrow { display: block; margin: 0; font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-text); }
.h3 { font-size: 1.25rem; font-weight: 700; }
.h2-lg { font-size: clamp(2rem, 3.6vw, 2.875rem); letter-spacing: -.02em; line-height: 1.08; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--body); font-weight: 700; font-size: 15px; line-height: 1.2; border: 1.5px solid transparent; border-radius: 999px; padding: 11px 18px; cursor: pointer; text-align: center; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn-lg { font-size: 16px; padding: 15px 26px; }
.btn-amber, .btn-primary { background: var(--amber); color: var(--navy); }
.btn-amber:hover, .btn-primary:hover { background: var(--amber-hover); color: var(--navy); }
.btn-navy { background: var(--navy-2); color: #fff; }
.btn-navy:hover { background: var(--navy); color: #fff; }
.btn-outline, .btn-ghost { background: var(--paper); color: var(--navy-2); border-color: var(--line-2); }
.btn-outline:hover, .btn-ghost:hover { background: var(--blue-tint); color: var(--navy-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-tint); color: var(--navy); }
.btn-block { width: 100%; margin-top: 18px; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* Cabecera */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 240, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header); padding-block: 14px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
.nav-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex: 1; }
.nav-panel > nav { flex: 1; display: flex; justify-content: center; }
.menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu a.link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; font-weight: 600; font-size: 15px; color: var(--ink); }
.menu a.link:hover, .menu a.link.active, .menu > li.has-drop:hover > a.link { color: var(--navy-2); }
.menu a.link.active { box-shadow: inset 0 -2px 0 var(--amber); }
.caret { width: 16px; height: 16px; color: var(--navy-2); transform: rotate(180deg); transition: transform .2s; }
.menu > li.has-drop:hover .caret, .menu > li.has-drop:focus-within .caret { transform: rotate(0deg); }
.dropdown { display: none; position: absolute; top: 100%; left: -16px; min-width: 280px; padding: 8px; margin: 6px 0 0; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px rgba(11, 36, 71, .14); }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.menu > li.has-drop:hover > .dropdown, .menu > li.has-drop:focus-within > .dropdown { display: grid; gap: 2px; }
.dropdown a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; font-weight: 600; color: var(--ink); }
.dropdown a small { font-size: 13px; font-weight: 400; color: var(--muted); }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--cream); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
/* «Ingresar» con las plataformas (details/summary: funciona sin JavaScript) */
.login-drop { position: relative; }
.login-drop > summary { list-style: none; cursor: pointer; }
.login-drop > summary::-webkit-details-marker { display: none; }
.login-drop > summary .caret { color: #fff; width: 14px; height: 14px; }
.login-drop[open] > summary .caret { transform: rotate(0deg); }
.login-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 280px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px rgba(11, 36, 71, .14); }
.login-menu-title { padding: 8px 14px 4px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.login-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.login-menu a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; font-weight: 700; color: var(--ink); }
.login-menu a small { font-size: 13px; font-weight: 400; color: var(--muted); }
.login-menu a:hover { background: var(--cream); color: var(--navy-2); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--paper); color: var(--navy-2); place-items: center; cursor: pointer; padding: 0; }
.burger svg { width: 24px; height: 24px; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 1080px) { .menu { gap: 20px; } .nav-panel { gap: 16px; } }
@media (max-width: 899px) {
  .burger { display: grid; }
  .nav { flex-wrap: wrap; gap: 0; }
  .nav-panel { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 14px; padding: 16px 0 10px; border-top: 1px solid var(--line); max-height: calc(100vh - var(--header)); overflow-y: auto; }
  .nav-panel.open { display: flex; }
  .nav-panel > nav { display: block; }
  .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu a.link { width: 100%; padding: 12px 4px; font-size: 17px; }
  .menu a.link.active { box-shadow: none; color: var(--navy-2); }
  .caret { display: none; }
  .dropdown, .menu > li.has-drop:hover > .dropdown { display: grid; position: static; box-shadow: none; border: 0; margin: 0; padding: 0 0 6px 12px; min-width: 0; background: none; }
  .dropdown a { padding: 10px 4px; }
  .dropdown a small { display: none; }
  .nav-actions { display: grid; gap: 10px; }
  .nav-actions .btn { width: 100%; padding: 14px; font-size: 16px; }
  .nav-actions .btn-navy { order: -1; }
  .login-menu { position: static; margin-top: 8px; min-width: 0; box-shadow: none; }
}

/* Secciones */
section { padding-block: clamp(56px, 8vw, 104px); }
section.s-flush-top { padding-top: 0; }
section.s-tight { padding-bottom: 56px; }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 40px; }
.section-head h2, .faq-side h2, .contact-info h2, .bio-copy h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); line-height: 1.08; letter-spacing: -.02em; }
.section-head p:not(.eyebrow) { color: var(--text); font-size: 17px; max-width: 56ch; }
.section-head.center { justify-items: center; text-align: center; margin-inline: auto; }
.split-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: end; margin-bottom: 40px; }
.split-head .section-head { margin-bottom: 0; }
.split-head .intro { font-size: 17px; color: var(--text); max-width: 52ch; }

/* Portada */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); line-height: 1.02; letter-spacing: -.02em; }
.hero-lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--text); max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 15px; color: var(--text); }
.hero-stats li { display: flex; align-items: center; gap: 8px; }
.hero-stats svg { width: 22px; height: 22px; color: var(--amber-text); }
.hero-stats strong { font-family: var(--display); font-size: 22px; color: var(--navy); }
.mosaic { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: 210px 210px; gap: 12px; min-width: 0; }
.mosaic img { width: 100%; height: 100%; min-width: 0; object-fit: cover; object-position: 50% 20%; border-radius: 20px; }
.mosaic img:first-child { grid-row: 1 / span 2; }
.mosaic-1 { grid-template-columns: 1fr; grid-template-rows: 432px; }
@media (max-width: 520px) { .mosaic { grid-template-rows: 160px 160px; } .mosaic-1 { grid-template-rows: 332px; } }

/* Prensa */
.press { padding-block: 22px; background: var(--paper); border-block: 1px solid var(--line); }
.press-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; }
.press-title { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.press-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; flex: 1; }
.press-list li { display: grid; padding: 8px 18px; border: 1.5px solid var(--line-2); border-radius: 8px; }
.press-list b { font-family: var(--display); font-weight: 700; color: var(--navy); }
.press-list span { font-size: 12px; color: var(--muted); }

/* Programas por público */
.prog-cards, .features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.prog-cards { row-gap: 20px; }
/* Cada tarjeta ocupa 5 filas de la cuadrícula (foto, público, título, texto, detalle): así quedan alineadas entre sí */
.prog-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; overflow: hidden; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; transition: box-shadow .2s; }
.prog-card:hover { color: inherit; box-shadow: 0 12px 32px rgba(11, 36, 71, .10); }
.prog-card-img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 15%; }
.prog-card-body { display: contents; }
.prog-card-body > * { padding-inline: 22px; }
.prog-card .eyebrow { display: flex; align-items: flex-start; gap: 8px; padding-top: 22px; padding-bottom: 10px; }
.prog-card .eyebrow svg { width: 18px; height: 18px; margin-top: -1px; }
.prog-card h3 { font-size: 21px; line-height: 1.2; padding-bottom: 10px; hyphens: manual; overflow-wrap: break-word; }
.prog-card p { font-size: 15px; color: var(--text); }
.prog-card .meta { align-self: end; padding-top: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.prog-card-body > :last-child { padding-bottom: 24px; }
.prog-card .eyebrow { grid-row: 2; }
.prog-card h3 { grid-row: 3; }
.prog-card-body > p:not(.eyebrow):not(.meta) { grid-row: 4; }
.prog-card .meta { grid-row: 5; }
.features { margin-top: 48px; padding: 0; list-style: none; }
.features li { display: grid; gap: 8px; align-content: start; padding: 26px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.features svg { width: 32px; height: 32px; margin-bottom: 6px; color: var(--amber-text); }
.features h3 { font-size: 19px; }
.features p { font-size: 15px; color: var(--text); }
@media (max-width: 1000px) { .prog-cards, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .prog-cards, .features { grid-template-columns: 1fr; } }

/* Perfil del fundador */
.bio { background: var(--navy); color: #fff; }
.bio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.bio-media { display: grid; gap: 16px; min-width: 0; }
.bio-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 24px; }
.bio-quote { margin: 0; padding: 24px 26px; border-radius: 20px; background: var(--navy-2); display: grid; gap: 12px; }
.bio-quote blockquote { margin: 0; }
.bio-quote p { font-family: var(--display); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; font-weight: 600; color: #fff; }
.bio-quote figcaption { font-size: 14px; color: var(--on-navy-muted); }
.bio-copy { display: grid; gap: 20px; min-width: 0; }
.bio .eyebrow { color: var(--amber); }
.bio h2 { color: #fff; }
.bio-copy > p { font-size: 17px; color: var(--on-navy); }
.achievements { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 20px; font-size: 15px; }
.achievements li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.achievements svg { width: 20px; height: 20px; color: var(--amber); }
.video-card { position: relative; display: block; margin-top: 8px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy-2); color: #fff; }
.video-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 36, 71, .9) 0%, rgba(11, 36, 71, .2) 55%, rgba(11, 36, 71, 0) 100%); }
.video-card-text { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; align-items: center; gap: 14px; }
.video-card-text b { display: block; font-family: var(--display); font-size: 18px; font-weight: 600; color: #fff; }
.video-card-text small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-muted); }
.play-badge { width: 56px; height: 56px; border-radius: 999px; background: var(--amber); color: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.play-badge svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card:hover { color: #fff; }
.video-card:hover .play-badge { background: var(--amber-hover); }
.allies { display: grid; justify-items: center; gap: 20px; margin-top: clamp(40px, 5vw, 64px); padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .14); text-align: center; }
.allies .eyebrow { color: var(--on-navy-muted); }
.allies ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; }
.allies li { flex: 0 1 260px; }
.allies li > a, .allies li > span { min-height: 84px; display: grid; place-items: center; padding: 16px 20px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); text-align: center; font-family: var(--display); font-weight: 700; font-size: 18px; color: #fff; }
.allies li > a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.allies .has-logo > a, .allies .has-logo > span { min-height: 96px; padding: 10px 18px; background: #fff; border-color: #fff; }
.allies .has-logo > a:hover { background: #fff; box-shadow: 0 0 0 3px var(--amber); }
.allies img { max-height: 76px; max-width: 100%; width: auto; height: auto; object-fit: contain; }

/* Planes */
.pricing { scroll-margin-top: var(--header); }
.pitch { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--amber-text); max-width: 60ch; margin: -16px auto 32px; text-align: center; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
/* Pestañas de planes por plataforma */
.tablist { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.tablist [role="tab"] { padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 15px; color: var(--navy-2); cursor: pointer; }
.tablist [role="tab"]:hover { background: var(--blue-tint); }
.tablist [role="tab"][aria-selected="true"] { background: var(--navy-2); color: #fff; }
.tabpanel:focus-visible { outline-offset: 8px; border-radius: 12px; }
.tab-title { margin: 32px 0 6px; font-size: 22px; }
.plan-tabs.tabs-on .tab-title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tab-intro { margin: 0 0 28px; text-align: center; font-size: 15px; color: var(--muted); }
.plan-tabs:not(.tabs-on) .tab-intro { text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 32px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; }
.plan.featured { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 24px 60px rgba(11, 36, 71, .25); }
.plan .badge { position: absolute; top: -14px; left: 28px; padding: 6px 14px; border-radius: 999px; background: var(--amber); color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.plan-head { display: grid; gap: 6px; }
.plan-head h3 { font-size: 24px; }
.plan-head p { font-size: 15px; color: var(--muted); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price .amount { font-family: var(--display); font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.price .unit { font-size: 15px; color: var(--muted); }
.plan-note { min-height: 22px; font-size: 14px; color: var(--muted); }
.plan-note.save { font-weight: 700; color: var(--amber-text); }
.plan.featured h3, .plan.featured .amount { color: #fff; }
.plan.featured .plan-head p, .plan.featured .unit, .plan.featured .plan-note { color: var(--on-navy-muted); }
.plan.featured .plan-note.save { color: var(--amber); }
.plan .btn { margin-top: auto; padding: 15px; font-size: 16px; }
.strip { margin-top: 20px; padding: 24px 28px; border-radius: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.strip-white { background: var(--paper); border: 1px solid var(--line); }
.strip-blue { background: var(--blue-tint); }
.strip-text { flex: 1 1 320px; display: grid; gap: 4px; font-size: 15px; color: var(--text); }
.strip-blue .strip-text { display: block; font-size: 16px; color: var(--navy); }
.strip-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.strip-title h3 { font-size: 20px; }
.pill { padding: 4px 10px; border-radius: 999px; background: var(--amber-tint); color: var(--amber-text); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.strip-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.strip .btn { white-space: nowrap; }
.plans-trust { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.plans-trust svg { width: 18px; height: 18px; color: var(--navy-2); }
.plans-trust a, .note a, .incluye a { text-decoration: underline; }
.incluye { margin-top: 24px; font-size: 15px; color: var(--text); max-width: 80ch; }
.incluye strong { color: var(--navy); }
.note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.pricing-compact .section-head { margin-bottom: 32px; }
@media (max-width: 859px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan.featured { order: -1; margin-top: 10px; }
  .price .amount { font-size: 46px; }
}

/* Testimonios */
.testimonials { background: var(--paper); border-block: 1px solid var(--line); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.tcard { margin: 0; padding: 28px; border-radius: 20px; background: var(--cream); display: grid; gap: 18px; align-content: start; }
.tcard blockquote { margin: 0; }
.tcard blockquote p { font-size: 17px; color: var(--ink); }
.tcard figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.tcard figcaption b { display: block; color: var(--navy); }
.tcard .tphoto { width: 44px; height: 44px; object-fit: cover; border-radius: 999px; }

/* Preguntas frecuentes */
.faq-split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.faq-side { flex: 1 1 260px; max-width: 380px; display: grid; gap: 14px; }
.faq-index { display: grid; gap: 2px; margin-top: 8px; font-size: 15px; font-weight: 600; }
.faq-index a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.faq-index a:hover { background: var(--paper); color: var(--navy-2); }
.faq-index svg { width: 20px; height: 20px; color: var(--navy-2); }
.faq-more { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.faq-more a { text-decoration: underline; }
.faq { flex: 3 1 440px; display: grid; gap: 36px; min-width: 0; }
.faq-group { display: grid; gap: 4px; scroll-margin-top: calc(var(--header) + 24px); }
.faq-group h3 { margin: 0 0 6px; font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 18px 4px; font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq-ico { width: 28px; height: 28px; border-radius: 999px; background: var(--blue-tint); color: var(--navy-2); display: grid; place-items: center; flex: none; }
.faq-ico svg { width: 16px; height: 16px; }
.faq-ico .i-minus, .faq details[open] .faq-ico .i-plus { display: none; }
.faq details[open] .faq-ico .i-minus { display: block; }
.faq details p { padding: 0 48px 20px 4px; font-size: 16px; color: var(--text); }
.faq details a { text-decoration: underline; }
.faq-inline { margin-top: 48px; }
@media (min-width: 900px) { .faq-side { position: sticky; top: calc(var(--header) + 24px); } }
@media (max-width: 600px) { .faq details p { padding-right: 4px; } }

/* Contacto */
.contact-sec { background: var(--paper); border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 20px; min-width: 0; }
.contact-lead { font-size: 17px; color: var(--text); }
.contact-info .item { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.contact-info .item b { font-family: var(--display); font-weight: 600; color: var(--navy); }
.contact-info .item span { color: var(--text); }
.contact-links { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-mail { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 20px; font-weight: 600; }
.contact-mail svg { width: 22px; height: 22px; }
.form-card { padding: 32px; border-radius: 24px; background: var(--cream); border: 1px solid var(--line); min-width: 0; scroll-margin-top: var(--header); }
@media (max-width: 480px) { .form-card { padding: 24px 18px; } }

/* Formularios */
form.fields { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > label { font-size: 14px; font-weight: 700; color: var(--navy); }
.field .opt { font-weight: 600; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-width: 0; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--field-line); background: var(--paper); font-size: 16px; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px var(--blue-tint); }
.field.has-error input:not([type="checkbox"]), .field.has-error select, .field.has-error textarea, .field [aria-invalid="true"] { border-color: var(--danger); }
.error { font-size: 13px; font-weight: 700; color: var(--danger); }
.form-alert { font-size: 14px; font-weight: 700; color: var(--danger); background: #FDECEA; border-radius: 10px; padding: 10px 12px; }
.phone { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.phone-sel { display: grid; grid-template-columns: 190px 1fr; gap: 8px; }
.fine { font-size: 13px; color: var(--muted); }
form.fields .btn { width: 100%; padding: 15px; font-size: 16px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy-2); flex: none; }
.check-row a { text-decoration: underline; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.chosen-plan { margin-bottom: 18px; padding: 10px 12px; border-radius: 10px; background: var(--amber-tint); color: var(--navy); font-size: 14px; }
.success { display: grid; gap: 10px; align-content: center; min-height: 320px; padding: 8px 0; }
.success:focus { outline: none; }
.success .ok-title { font-size: 26px; }
.success .sub { font-size: 16px; color: var(--text); }
.success .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 440px) { .phone-sel { grid-template-columns: 1fr; } }

/* Encabezado de páginas internas */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.page-head.has-media .wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.page-head-copy { display: grid; gap: 16px; min-width: 0; }
.page-head-img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 20%; border-radius: 24px; }
@media (max-width: 760px) { .page-head.has-media .wrap { grid-template-columns: 1fr; } .page-head-img { aspect-ratio: 4 / 3; } }
.page-head h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.05; letter-spacing: -.02em; max-width: 22ch; }
.page-head p { font-size: clamp(17px, 1.4vw, 19px); color: var(--text); max-width: 60ch; }
.crumbs { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--amber-text); text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--navy); }

/* Bloques heredados de la maqueta (otras páginas) */
.cifras { padding-block: 0 8px; }
.cifras ul { list-style: none; margin: 0 auto; padding: 22px 12px; max-width: 980px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--navy); border-radius: 22px; }
.cifras li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 14px; line-height: 1.2; position: relative; }
.cifras li + li::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255, 255, 255, .25); }
.cifras .pre { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-muted); min-height: 1.1em; }
.cifras .big { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 4.6vw, 3.4rem); line-height: .95; letter-spacing: -.03em; color: #fff; }
.cifras .big.word { font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--amber); }
.cifras .lbl { font-size: 14px; font-weight: 700; color: var(--on-navy); max-width: 17ch; margin-top: 4px; }
@media (max-width: 760px) { .cifras ul { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); row-gap: 14px; } .cifras li:nth-child(odd)::before { display: none; } }

.story { background: var(--paper); }
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.story h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); letter-spacing: -.02em; }
.story h2 span { color: var(--amber-text); }
.story-body { display: grid; gap: 14px; font-size: 17px; color: var(--text); min-width: 0; }
.story-body strong { color: var(--navy); }
@media (max-width: 820px) { .story-grid { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pillar { display: grid; align-content: start; gap: 10px; padding: 26px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.pillar .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-tint); color: var(--navy-2); display: grid; place-items: center; }
.pillar h3 { font-size: 19px; }
.pillar p { font-size: 15px; color: var(--text); }
@media (max-width: 940px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

.audiences, .prog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.audiences { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aud, .prog { display: grid; align-content: start; gap: 12px; padding: 28px; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; transition: box-shadow .2s; }
.aud:hover, .prog:hover { color: inherit; box-shadow: 0 12px 32px rgba(11, 36, 71, .10); }
.aud .tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-text); }
.aud h3, .prog h3 { font-size: 22px; line-height: 1.2; }
.aud p, .prog p { font-size: 15px; color: var(--text); }
.aud .more, .prog .go { font-weight: 700; font-size: 15px; color: var(--navy-2); margin-top: 4px; }
.prog { overflow: hidden; }
.prog-img { width: calc(100% + 56px); max-width: none; margin: -28px -28px 6px; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 20%; }
.prog.open-prog { background: var(--navy); border-color: var(--navy); color: #fff; }
.prog.open-prog h3 { color: #fff; }
.prog.open-prog p { color: var(--on-navy); }
.prog.open-prog .eyebrow, .prog.open-prog .go { color: var(--amber); }
@media (max-width: 940px) { .audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .audiences, .prog-grid { grid-template-columns: 1fr; } }

.about { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { display: grid; gap: 20px; font-size: 17px; color: var(--text); max-width: 66ch; min-width: 0; }
.prose .lead { font-family: var(--display); font-size: 1.4rem; font-weight: 600; line-height: 1.4; color: var(--navy); }
.prose .lead strong { color: var(--amber-text); }
.portrait { position: sticky; top: calc(var(--header) + 24px); margin: 0; display: grid; gap: 12px; }
.portrait img { width: 100%; border-radius: 24px; }
.portrait figcaption { font-family: var(--display); font-weight: 600; color: var(--navy); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .portrait { position: static; max-width: 440px; } }

.inst { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.inst .prose ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.inst .prose li::marker { color: var(--amber-text); }
.proposal { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 10px; min-width: 0; padding: 28px; border-radius: 20px; background: var(--blue-tint); }
.proposal .fine { margin-top: 6px; font-size: 14px; }
.corp-col { display: grid; gap: 24px; min-width: 0; align-content: start; }
.corp-intro { display: grid; gap: 12px; }
.corp-intro h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); letter-spacing: -.01em; }
.corp-intro p { color: var(--text); font-size: 17px; }
@media (max-width: 900px) { .inst { grid-template-columns: 1fr; } .proposal { position: static; } }

.portada { display: grid; gap: 20px; }
.portada .box { display: grid; gap: 8px; align-content: start; padding: 26px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.portada .box h2 { font-size: 1.25rem; }
.portada .box p { color: var(--text); }
.perfiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.perfiles li { padding: 22px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; color: var(--text); }
.perfiles li b { display: block; margin-bottom: 4px; font-family: var(--display); font-weight: 600; color: var(--navy); }
.quote { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--amber-text); line-height: 1.4; }
.intro-prog { display: grid; gap: 14px; max-width: 72ch; margin-bottom: 28px; }
.intro-prog p { color: var(--text); font-size: 17px; }
.intro-prog .closing { color: var(--navy); font-weight: 700; }

.cats { display: grid; gap: 12px; min-width: 0; }
.cat { border: 1px solid var(--line); border-radius: 20px; background: var(--paper); overflow: hidden; scroll-margin-top: calc(var(--header) + 24px); }
.cat summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 20px 22px; }
.cat summary:not(:has(.num)) { grid-template-columns: 1fr auto; }
.cat summary::-webkit-details-marker { display: none; }
.cat .num { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-tint); color: var(--navy-2); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }
.cat[open] .num { background: var(--navy-2); color: #fff; }
.cat h3 { font-size: 19px; }
.cat summary p { color: var(--text); font-size: 15px; margin-top: 2px; }
.cat .plus { width: 28px; height: 28px; padding: 6px; border-radius: 999px; background: var(--blue-tint); color: var(--navy-2); transition: transform .25s; }
.cat[open] .plus { transform: rotate(45deg); }
.cat-body { padding: 0 22px 22px; display: grid; gap: 16px; }
.courses { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.course { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px; border-radius: 16px; background: var(--cream); }
.course h4 { font-size: 18px; font-weight: 600; color: var(--navy); }
.course .hook { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--amber-text); line-height: 1.4; }
.course .desc { font-size: 15px; color: var(--text); }
.course .close { font-size: 15px; font-weight: 700; color: var(--navy); }
.course .foot-row { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.course .btn { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.course .meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.course .meta span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.course .meta svg { width: 14px; height: 14px; color: var(--amber-text); }
@media (min-width: 761px) {
  .cats[data-cats] .courses .course { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) auto; column-gap: 32px; row-gap: 8px; align-items: start; }
  .cats[data-cats] .course h4 { grid-column: 1; grid-row: 1; }
  .cats[data-cats] .course .hook { grid-column: 1; grid-row: 2 / span 2; }
  .cats[data-cats] .course .desc { grid-column: 2; grid-row: 1 / span 2; }
  .cats[data-cats] .course .close { grid-column: 2; grid-row: 3; }
  .cats[data-cats] .course .foot-row { grid-column: 3; grid-row: 1 / span 3; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border-top: 0; padding: 0 0 0 24px; margin: 0; border-left: 1px solid var(--line); align-self: stretch; text-align: center; }
}
.inst .course .meta { flex-basis: 100%; justify-content: flex-start; }
.inst .course .foot-row { flex-direction: row; justify-content: flex-end; }
@media (max-width: 760px) { .course .meta { flex-basis: 100%; justify-content: flex-start; } }
@media (max-width: 600px) { .cat-body { padding: 0 14px 18px; } .cat summary { gap: 12px; padding: 16px 18px; } .course { padding: 18px; } }

.cat-tools { display: grid; gap: 14px; margin-bottom: 18px; }
.cat-search { display: flex; align-items: center; gap: 10px; max-width: 520px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--field-line); background: var(--paper); color: var(--muted); }
.cat-search:focus-within { border-color: var(--navy-2); box-shadow: 0 0 0 3px var(--blue-tint); }
.cat-search input { width: 100%; min-width: 0; padding: 12px 0; border: 0; background: transparent; font-size: 16px; color: var(--ink); }
.cat-search input:focus { outline: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper); font-size: 14px; font-weight: 700; color: var(--navy-2); cursor: pointer; white-space: nowrap; }
.chip:hover { background: var(--blue-tint); }
.chip[aria-pressed="true"] { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.cat-count { font-size: 14px; font-weight: 700; color: var(--muted); }
.cat-empty { padding: 22px; border: 1.5px dashed var(--line-2); border-radius: 16px; color: var(--text); }
@media (min-width: 900px) { .chips { flex-wrap: wrap; overflow: visible; } }

.capsulas { display: grid; gap: 16px; padding: clamp(26px, 4vw, 44px); border-radius: 24px; background: var(--navy); color: var(--on-navy); }
.capsulas .eyebrow, .capsulas .quote { color: var(--amber); }
.capsulas h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.01em; }
.capsulas p { color: var(--on-navy); max-width: 72ch; }
.capsulas ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.capsulas li { padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.capsulas .end { color: #fff; font-weight: 700; }

.fundacion { display: grid; gap: 14px; padding: clamp(22px, 3vw, 30px); border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.fundacion .aviso { font-size: 14px; color: var(--text); background: var(--cream); border-radius: 10px; padding: 10px 14px; }
.seats { display: grid; gap: 8px; max-width: 420px; }
.seats progress { width: 100%; height: 10px; border-radius: 999px; overflow: hidden; appearance: none; background: var(--blue-tint); border: 0; }
.seats progress::-webkit-progress-bar { background: var(--blue-tint); }
.seats progress::-webkit-progress-value { background: var(--amber); }
.seats progress::-moz-progress-bar { background: var(--amber); }

.quote-band { background: var(--paper); }
.quote-block { margin: 0 auto; max-width: 820px; display: grid; gap: 16px; text-align: center; justify-items: center; }
.quote-block .tq { color: var(--amber-text); }
.quote-block blockquote { margin: 0; }
.quote-block blockquote p { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; line-height: 1.3; color: var(--navy); }
.quote-block figcaption { color: var(--muted); }
.video-block .section-head { margin-bottom: 24px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; max-width: 900px; border-radius: 20px; overflow: hidden; background: var(--navy); }
.video-frame img, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-frame .play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--amber); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.video-frame .play:hover { background: var(--amber-hover); }
.video-frame.is-empty { display: grid; place-items: center; }
.partners-title { font-size: 1.4rem; margin-bottom: 24px; text-align: center; }
.partner-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; align-items: center; }
.partner-grid li { display: grid; place-items: center; min-height: 84px; padding: 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-family: var(--display); font-weight: 700; color: var(--navy); }
.partner-grid img { max-height: 52px; width: auto; }

.band { padding-block: 48px; background: var(--navy-2); color: #fff; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 24ch; color: #fff; }

.legal-body { max-width: 760px; display: grid; gap: 16px; }
.legal-body h2 { font-size: 1.5rem; margin-top: 12px; }
.legal-body h3 { font-size: 1.2rem; }
.legal-body p, .legal-body li { color: var(--text); }
.legal-body ul, .legal-body ol { padding-left: 1.2em; display: grid; gap: 6px; }
.legal-body a { text-decoration: underline; }
.notfound { display: flex; flex-wrap: wrap; gap: 12px; }

/* Pie */
footer.site { background: var(--navy); color: var(--on-navy-muted); padding-block: 56px 32px; }
.foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand img { height: 44px; width: auto; }
.foot-brand p { font-size: 14px; max-width: 32ch; }
.foot-title { margin: 0 0 14px; font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.foot a { color: #fff; }
.foot a:hover { color: var(--amber); }
.foot-mail { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.foot-mail svg { width: 18px; height: 18px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.foot .social { margin-top: 14px; }
.social-circles a { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.social-circles a:hover { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.social-circles svg { width: 18px; height: 18px; }
.social-pills a { display: flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: 14px; font-weight: 700; color: var(--navy-2); }
.social-pills a:hover { background: var(--blue-tint); }
.social-pills svg { width: 16px; height: 16px; }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal a { color: var(--on-navy-muted); }
.legal a:hover { color: #fff; }
.credit { display: flex; align-items: center; gap: 10px; }
.credit img { height: 18px; width: auto; filter: brightness(0) invert(1); opacity: .9; }

/* Datos pendientes (se quitan antes de publicar) */
.pendiente { background: #FFF2A8; color: var(--ink); padding: 0 .25em; border-radius: 3px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
