/* INCERTIA S.A.S. · página inicial
   Misma familia visual de LABRISKY (labrisky.com): tipografías Space Grotesk e Inter, superficies, bordes y radios.
   INCERTIA usa el turquesa como color institucional; el naranja de LABRISKY marca la acción principal y la cola de pérdida. */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/space-grotesk-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #F4F6FA; --bg-2: #E9EDF4; --surface: #FFFFFF; --surface-2: #EEF1F6; --border: #D3DAE5;
  --text: #161B24; --text-dim: #566174; --text-faint: #7B8798;
  --accent: #E5532A; --accent-hover: #CC4520; --on-accent: #FFFFFF;
  --accent-2: #0E8A76; --accent-2-soft: #DDF1EC;
  --tail: #E5532A; --tail-text: #B83C17;
  --band: #0E1218; --band-surface: #171D26; --band-border: #293240; --band-text: #E9EDF3; --band-dim: #8A96A8;
  --font-display: "Space Grotesk", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px -18px rgba(16, 24, 40, .25);
  --max-w: 1240px; --pad: clamp(20px, 4.5vw, 48px);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0E1218; --bg-2: #0A0D12; --surface: #171D26; --surface-2: #1E2631; --border: #293240;
    --text: #E9EDF3; --text-dim: #8A96A8; --text-faint: #5C6779;
    --accent: #FF7A50; --accent-hover: #FF916C; --on-accent: #1A0E08;
    --accent-2: #43C6B0; --accent-2-soft: #1F4B44;
    --tail: #FF7A50; --tail-text: #FF9B7A;
    --band: #0A0D12; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 36px -20px rgba(0,0,0,.7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E1218; --bg-2: #0A0D12; --surface: #171D26; --surface-2: #1E2631; --border: #293240;
  --text: #E9EDF3; --text-dim: #8A96A8; --text-faint: #5C6779;
  --accent: #FF7A50; --accent-hover: #FF916C; --on-accent: #1A0E08;
  --accent-2: #43C6B0; --accent-2-soft: #1F4B44;
  --tail: #FF7A50; --tail-text: #FF9B7A;
  --band: #0A0D12; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 36px -20px rgba(0,0,0,.7);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F4F6FA; --bg-2: #E9EDF4; --surface: #FFFFFF; --surface-2: #EEF1F6; --border: #D3DAE5;
  --text: #161B24; --text-dim: #566174; --text-faint: #7B8798;
  --accent: #E5532A; --accent-hover: #CC4520; --on-accent: #FFFFFF;
  --accent-2: #0E8A76; --accent-2-soft: #DDF1EC;
  --tail: #E5532A; --tail-text: #B83C17;
  --band: #0E1218; --band-surface: #171D26; --band-border: #293240; --band-text: #E9EDF3; --band-dim: #8A96A8;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { background: var(--bg); }
body { margin: 0; color: var(--text); font-family: var(--font-body); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
a { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
code { font-size: .9em; background: rgba(255,255,255,.08); border: 1px solid var(--band-border); padding: 1px 6px; border-radius: 6px; }
.contenedor { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.saltar:focus { left: 12px; }

/* ---------- cabecera (como la de LABRISKY) ---------- */
.cabecera { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); }
.cabecera-interior { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: var(--max-w); margin: 0 auto; padding: 14px var(--pad); min-height: 72px; }
.cabecera-acciones { display: flex; align-items: center; gap: 10px; }
.btn-icon {
  padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 15px; cursor: pointer; line-height: 1; transition: border-color .15s, color .15s, background .15s;
}
.btn-icon:hover { border-color: var(--accent); color: var(--text); background: var(--surface-2); }
.btn-lang-toggle {
  padding: 7px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: 13px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; line-height: 1; transition: border-color .15s, color .15s, background .15s;
}
.btn-lang-toggle:hover { border-color: var(--accent-2); color: var(--accent-2); background: var(--surface-2); }
.btn-lang-toggle .lang-badge {
  background: color-mix(in srgb, var(--accent-2) 16%, transparent); color: var(--accent-2);
  padding: 2px 6px; border-radius: 5px; font-size: 11px;
}
.marca { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.marca-signo { width: 38px; height: 38px; flex: 0 0 auto; }
.marca-fondo { fill: var(--accent-2); }
.marca-curva { stroke: #FFFFFF; }
.marca-cola { fill: var(--accent); }
.marca-nombre { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .08em; line-height: 1; }
.marca-nombre small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: .02em; color: var(--text-dim); margin-top: 4px; }
.menu { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.menu a:not(.boton) { color: var(--text-dim); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.menu a:not(.boton):hover { color: var(--text); }

/* ---------- botones (como .btn de LABRISKY) ---------- */
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 12px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--on-accent); font-family: var(--font-body); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.boton:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.boton-claro { min-height: 40px; padding: 8px 16px; }
.boton-linea { background: var(--surface); color: var(--text); border-color: var(--border); }
.boton-linea:hover { background: var(--surface-2); border-color: var(--text-faint); color: var(--text); }
.boton-ambar { background: #FF7A50; border-color: #FF7A50; color: #1A0E08; }
.boton-ambar:hover { background: #FF916C; border-color: #FF916C; }
.boton-linea-clara { background: transparent; border-color: var(--band-border); color: var(--band-text); }
.boton-linea-clara:hover { background: var(--band-surface); border-color: var(--band-dim); color: #fff; }
.boton-grande { min-height: 52px; padding: 12px 26px; font-size: 17px; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- portada ---------- */
.portada { position: relative; border-bottom: 1px solid var(--border);
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px; }
.portada::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent), var(--bg) 92%); pointer-events: none; }
.portada-interior { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  max-width: var(--max-w); margin: 0 auto; padding: clamp(48px, 7vw, 92px) var(--pad); }
.portada-marca { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-dim); font-size: 13.5px; font-weight: 500; margin-bottom: 22px; }
.portada-marca::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.portada h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; max-width: 15ch; }
.portada-sub { margin: 22px 0 30px; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--text-dim); max-width: 54ch; }
.portada-figura { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 16px; }
.panel-cabeza { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px 10px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.panel-titulo { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.panel-leyenda { display: flex; gap: 14px; font-size: 12.5px; color: var(--text-dim); }
.panel-leyenda span { display: inline-flex; align-items: center; gap: 6px; }
.panel-leyenda span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent-2); }
.panel-leyenda .leyenda-cola::before { background: var(--tail); }
#simulacion { display: block; width: 100%; height: auto; }
.sim-barra { fill: var(--accent-2); }
.sim-barra.cola { fill: var(--tail); }
.sim-eje { stroke: var(--text-faint); stroke-width: 1.2; }
.sim-marca { stroke: var(--text); stroke-width: 1.1; stroke-dasharray: 3 4; }
.sim-cero { stroke: var(--tail-text); stroke-width: 1.4; }
.sim-texto { font-family: var(--font-body); font-size: 13px; fill: var(--text-dim); }
.sim-texto.fuerte { fill: var(--text); font-weight: 600; }
.sim-texto.ambar { fill: var(--tail-text); font-weight: 600; }
.portada-figura figcaption { margin: 4px 4px 0; font-size: 13.5px; color: var(--text-dim); }
#simContador { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; }

/* ---------- secciones ---------- */
.bloque { max-width: var(--max-w); margin: 0 auto; padding: clamp(56px, 7.5vw, 96px) var(--pad); }
.bloque + .bloque { border-top: 1px solid var(--border); }
.bloque-cabeza { max-width: 760px; margin-bottom: 40px; }
.bloque-cabeza h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; font-weight: 700; margin-bottom: 14px; padding-left: 18px; border-left: 4px solid var(--accent-2); }
.bloque-cabeza p { color: var(--text-dim); font-size: 1.04rem; max-width: 62ch; }
.tarjeta { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }

/* ---------- contraste ---------- */
.contraste { background: var(--bg-2); border-bottom: 1px solid var(--border); }
.contraste-interior { max-width: var(--max-w); margin: 0 auto; padding: clamp(48px, 6.5vw, 80px) var(--pad); }
.contraste h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; max-width: 26ch; margin-bottom: 28px; }
.contraste-par { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contraste-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px 28px; }
.contraste-col-incertia { border-color: color-mix(in srgb, var(--accent-2) 55%, var(--border)); box-shadow: var(--shadow); }
.contraste-etiqueta { color: var(--text-dim); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.contraste-cifra { font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 1.95rem); font-weight: 700; line-height: 1.1; margin-bottom: 12px; }
.contraste-col-incertia .contraste-cifra { color: var(--tail-text); }
.contraste-col p:last-child { color: var(--text-dim); }
.contraste-nota { margin-top: 12px; font-size: 13.5px; color: var(--text-faint); }

/* ---------- ciclo del proyecto (secuencia: va numerado) ---------- */
.ciclo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.etapa { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px 22px; }
.etapa-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-2-soft); color: var(--accent-2);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 16px; }
.etapa h3 { font-size: 1.12rem; font-weight: 650; margin-bottom: 8px; }
.etapa p { color: var(--text-dim); font-size: 14.5px; }
.etapa-entrega { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 14px !important; }
.etapa-entrega strong { color: var(--text); font-weight: 600; }

/* ---------- prácticas ---------- */
.practicas { display: grid; gap: 16px; }
.practica { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 20px 48px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 32px; }
.practica h3 { font-size: clamp(1.3rem, 2.1vw, 1.65rem); line-height: 1.15; font-weight: 700; margin-bottom: 12px; }
.practica-pregunta { color: var(--text-dim); font-size: 1rem; max-width: 42ch; }
.practica h4 { font-family: var(--font-body); font-size: 13.5px; font-weight: 600; color: var(--accent-2); margin: 2px 0 12px; }
.practica ul, .profundo ul, .cursos ul { list-style: none; padding: 0; margin: 0; }
.practica ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.practica li, .profundo li, .cursos li { position: relative; padding-left: 24px; }
.practica li::before, .profundo li::before, .cursos li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(-45deg); }
.complementos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.complementos > div, .modalidades > div { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.complementos h3, .modalidades h3, .cursos h3, .entregables h3, .sectores h3, .profundo h3 { font-size: 1.12rem; font-weight: 650; margin-bottom: 8px; }
.complementos p, .modalidades p { color: var(--text-dim); font-size: 15px; }

/* ---------- cumplimiento y sagrilaft ---------- */
.grid-cumplimiento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tarjeta-cumplimiento {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 32px; border-top: 3px solid var(--accent-2); position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tarjeta-cumplimiento:hover {
  transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent-2) 60%, var(--border));
  box-shadow: var(--shadow);
}
.tarjeta-cumplimiento h3 { font-size: 1.25rem; margin-bottom: 8px; line-height: 1.2; font-weight: 700; }
.tarjeta-cumplimiento .cumplimiento-desc { color: var(--text-dim); margin-bottom: 16px; font-size: 15px; }
.tarjeta-cumplimiento ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.tarjeta-cumplimiento li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.tarjeta-cumplimiento li strong { color: var(--text); font-weight: 600; }
.tarjeta-cumplimiento li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(-45deg);
}
.badge-norma {
  display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .02em; background: color-mix(in srgb, var(--accent-2) 15%, transparent);
  color: var(--accent-2); margin-bottom: 12px;
}
.badge-norma.ambar {
  background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent);
}

/* ---------- estructuración financiera ---------- */
.profundo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.profundo article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; border-top: 3px solid var(--accent-2); }
.profundo h3 { font-size: 1.22rem; }
.profundo p { color: var(--text-dim); margin-bottom: 14px; font-size: 15px; }
.profundo li { margin-bottom: 7px; font-size: 15px; }

/* ---------- indicadores ---------- */
.glosario { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.glosario div { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: 18px; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.glosario div:nth-child(odd) { border-right: 1px solid var(--border); }
.glosario div:nth-last-child(-n+2) { border-bottom: 0; }
.glosario dt { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--accent-2); }
.glosario dd { margin: 0; color: var(--text-dim); font-size: 14.5px; }

/* ---------- sectores, cursos, entregables, modalidades ---------- */
.sectores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sectores li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.sectores p { color: var(--text-dim); font-size: 14.5px; }
.cursos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cursos article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 24px; }
.cursos p { color: var(--text-dim); margin-bottom: 12px; font-size: 14.5px; }
.cursos li { font-size: 14.5px; margin-bottom: 6px; }
.entregables { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: ent; }
.entregables li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 24px; }
.entregables p { color: var(--text-dim); font-size: 14.5px; }
.modalidades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* ---------- LABRISKY ---------- */
.producto { background: var(--band); color: var(--band-text); border-top: 1px solid var(--band-border); border-bottom: 1px solid var(--band-border); }
.producto-interior { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; max-width: var(--max-w); margin: 0 auto; padding: clamp(56px, 7.5vw, 96px) var(--pad); }
.producto-sello { display: inline-flex; align-items: center; gap: 10px; color: var(--band-dim); font-weight: 500; font-size: 14px; margin-bottom: 14px; }
.producto-sello::before { content: ""; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #FF7A50, #E5532A); }
.producto h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1; margin-bottom: 18px; letter-spacing: -.01em; }
.producto h2 span { color: #FF7A50; }
.producto-texto > p:not(.producto-sello) { color: var(--band-dim); max-width: 50ch; margin-bottom: 28px; }
.producto-datos { margin: 0; background: var(--band-surface); border: 1px solid var(--band-border); border-radius: var(--radius); padding: 6px 24px; }
.producto-datos div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 16px; padding: 15px 0; }
.producto-datos div + div { border-top: 1px solid var(--band-border); }
.producto-datos dt { font-family: var(--font-display); color: #43C6B0; font-weight: 600; }
.producto-datos dd { margin: 0; color: var(--band-dim); font-size: 15px; }

/* ---------- preguntas ---------- */
.preguntas { max-width: 900px; display: grid; gap: 10px; }
.preguntas details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 20px; }
.preguntas summary { cursor: pointer; list-style: none; position: relative; padding: 16px 36px 16px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; position: absolute; right: 2px; top: 11px; font-size: 1.5rem; font-weight: 400; color: var(--accent-2); transition: transform .2s; }
.preguntas details[open] summary::after { transform: rotate(45deg); }
.preguntas details p { color: var(--text-dim); padding: 0 0 18px; max-width: 74ch; }
@media (prefers-reduced-motion: reduce) { .preguntas summary::after { transition: none; } }

/* ---------- contacto y pie ---------- */
.contacto-banda { border-top: 1px solid var(--border); }
.contacto { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; max-width: var(--max-w); margin: clamp(48px, 7vw, 88px) auto;
  padding: clamp(28px, 4vw, 44px); background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); width: calc(100% - 2 * var(--pad)); }
.contacto h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.1; margin-bottom: 12px; }
.contacto p { color: var(--text-dim); max-width: 50ch; }
.contacto-datos { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pie { background: var(--bg-2); border-top: 1px solid var(--border); color: var(--text-dim); font-size: 14px; }
.pie-interior { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: var(--max-w); margin: 0 auto; padding: 36px var(--pad); }
.pie strong { color: var(--text); }

/* ---------- pantallas medianas y angostas ---------- */
@media (max-width: 1100px) {
  .menu a[href="#indicadores"], .menu a[href="#formacion"], .menu a[href="#financiacion"] { display: none; }
  .ciclo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cursos, .entregables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .portada-interior, .producto-interior, .contacto, .practica, .glosario, .profundo, .grid-cumplimiento, .contraste-par { grid-template-columns: minmax(0, 1fr); }
  .glosario div:nth-child(odd) { border-right: 0; }
  .glosario div:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  .sectores, .complementos, .modalidades { grid-template-columns: minmax(0, 1fr); }
  .pie-interior { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .menu a:not(.boton) { display: none; }
  .marca-nombre small { display: none; }
  .cabecera-interior { gap: 10px; padding: 10px var(--pad); }
  .cabecera-acciones { gap: 6px; }
  .btn-lang-toggle { padding: 6px 9px; font-size: 11px; }
  .boton-claro { padding: 6px 12px; font-size: 13.5px; min-height: 38px; }
  .ciclo, .cursos, .entregables { grid-template-columns: minmax(0, 1fr); }
  .practica { padding: 24px 20px; }
  .practica ul { grid-template-columns: minmax(0, 1fr); }
  .glosario div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 18px; }
  .producto-datos div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .panel-leyenda { display: none; }
}
