*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta oficial Bogota Institute */
  --navy:       #0B1F3A;   /* azul institucional */
  --navy-2:     #1F3B5C;   /* azul secundario   */
  --gold:       #C9A84C;   /* acento institucional */
  --accent:     #C9A84C;   /* alias de --gold */
  --gold-ink:   #9A7722;   /* dorado para texto sobre fondo claro */
  --graphite:   #3A3A3A;   /* gris grafito      */
  --gray-light: #F3F4F6;   /* gris claro        */
  --white:      #FFFFFF;

  /* Tokens funcionales derivados de la paleta */
  --navy-3:     #1F3B5C;
  --navy-4:     #3A3A3A;
  --gray-50:    #F3F4F6;
  --gray-100:   #F3F4F6;
  --gray-200:   rgba(58,58,58,.18);
  --gray-400:   rgba(58,58,58,.55);
  --gray-600:   rgba(58,58,58,.75);
  --text-main:  #3A3A3A;
  --text-muted: rgba(58,58,58,.70);
  --on-navy:         rgba(255,255,255,.92);
  --on-navy-muted:   rgba(255,255,255,.62);

  /* Tipografía institucional */
  --font-title: 'Source Serif 4', Georgia, serif;   /* titulares editoriales */
  --font-brand: 'Montserrat', system-ui, sans-serif; /* logotipo y etiquetas */
  --font-body:  'Inter', system-ui, sans-serif;      /* cuerpo e interfaz   */

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--gray-50);
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── LAYOUT ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 4rem 0; }
.section-label { font-family: var(--font-brand); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gray-600); margin-bottom: 6px; }
.section-title { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 2rem; font-family: var(--font-title); }

/* ── PAGE VISIBILITY ── */

.ksl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ksl-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }

/* Los botones de llamada a la acción son enlaces reales (<a>), no <button>:
   necesitan comportarse como bloque y centrar su texto. */
.btn-primary, .btn-secondary, .btn-outline, .btn-gold {
  display: inline-block; text-align: center; text-decoration: none;
}

/* ── CONTACTO DIRECTO ──
   Sustituye al formulario de boletín mientras no haya destino real. */
.nl-mail {
  display: inline-block; margin: 0.5rem 0 1rem;
  font-family: var(--font-brand);
  font-size: 17px; font-weight: 600; letter-spacing: 0.2px;
  color: var(--gold);
  border-bottom: 1.5px solid rgba(201,168,76,.45);
  padding-bottom: 2px;
}
.nl-mail:hover { color: var(--white); border-bottom-color: var(--white); }
.nl-nota { font-size: 12px; color: var(--on-navy-muted); line-height: 1.6; margin: 0; }

/* ── ESTADO DE LOS PROGRAMAS ──
   Los programas aún no tienen fecha de apertura; esto lo hace explícito. */
.prog-status {
  display: inline-block; margin-left: 8px;
  font-family: var(--font-brand);
  font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold-ink);
  border: 1px solid var(--gold-ink); border-radius: 3px;
  padding: 2px 7px; vertical-align: middle;
}
/* sobre fondo azul el dorado oscuro no contrasta: se usa el claro */
.prog-full-header .prog-status { color: var(--gold); border-color: var(--gold); }

.prog-aviso, .page-header .prog-aviso {
  background: var(--gray-light);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 0;
  font-size: 14px; line-height: 1.7; color: var(--graphite) !important;
  max-width: 760px;
}

/* ── EQUIPO ── */
.about-single { max-width: 760px; }
.team-section { background: var(--gray-light); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.person-photo {
  display: block; width: 96px; height: 96px;
  border-radius: 50%; object-fit: cover;
  margin-bottom: 1rem; background: var(--gray-light);
}

/* ── NAVEGACIÓN MÓVIL ── */
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle-bar {
  display: block; width: 22px; height: 2px; background: var(--white);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; border-top: 0.5px solid rgba(255,255,255,0.12); background: var(--navy); }
.mobile-menu a {
  display: block; padding: 16px 2rem; color: var(--on-navy);
  font-size: 15px; cursor: pointer;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.mobile-menu a:active { background: var(--navy-2); }
.mobile-menu a.active { color: var(--gold); font-weight: 600; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-mark { width: 28px; height: 28px; flex-shrink: 0; display: block; }
.logo-rule { width: 2.5px; height: 30px; background: rgba(255,255,255,.6); border-radius: 1px; flex-shrink: 0; }
.logo-text { color: var(--white); font-family: var(--font-brand); font-size: 15px; font-weight: 600; letter-spacing: 0.3px; }
.logo-sub { color: var(--on-navy-muted); font-family: var(--font-brand); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; display: block; margin-top: 2px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.6); font-size: 13px; transition: color 0.15s; cursor: pointer; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.lang-toggle { display: flex; gap: 4px; }
.lang-btn {
  background: none; border: 0.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.5); font-size: 11px; padding: 4px 10px;
  border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s;
}
.lang-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.lang-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; }

/* ── PAGE HEADER (páginas internas) ── */
.page-header { background: var(--navy); padding: 3rem 0 3.5rem; }
.page-header-eyebrow { font-family: var(--font-brand); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--on-navy-muted); margin-bottom: 10px; }
.page-header h1 { font-size: 34px; font-weight: 700; letter-spacing: -0.015em; color: var(--white); font-family: var(--font-title); line-height: 1.3; max-width: 640px; margin-bottom: 1rem; }
.page-header p { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 580px; line-height: 1.75; }

/* ── HERO ── */
.hero { background: var(--navy); padding: 3.5rem 0 4rem; }
.hero-eyebrow { font-family: var(--font-brand); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.hero-tagline { color: var(--white); font-family: var(--font-title); font-size: 30px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; margin-bottom: 2rem; max-width: 680px; }
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
  padding: 2rem 2.5rem;
  display: flex; gap: 3rem; align-items: flex-start;
}
.hero-main { flex: 1; }
.hero-main h1 { font-size: 22px; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 1rem; font-family: var(--font-title); }
.hero-main p { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.5rem; max-width: 560px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-primary {
  background: var(--navy); color: var(--white);
  font-size: 13px; font-weight: 500; padding: 10px 22px;
  border-radius: var(--radius-md); border: none; cursor: pointer; transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.85; }
.btn-secondary {
  background: none; color: var(--navy);
  font-size: 13px; padding: 10px 22px;
  border-radius: var(--radius-md); border: 0.5px solid var(--gray-200); cursor: pointer; transition: background 0.15s;
}
.btn-secondary:hover { background: var(--gray-50); }
.hero-stats { display: flex; flex-direction: column; gap: 1.5rem; padding-left: 2.5rem; border-left: 0.5px solid var(--gray-100); flex-shrink: 0; justify-content: center; }
.stat-number { font-size: 26px; font-weight: 600; color: var(--gold-ink); line-height: 1; }
.stat-label { font-size: 11px; color: var(--gray-600); margin-top: 3px; }

/* ── AREAS ── */
.areas { background: var(--gray-50); }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.area-card {
  background: var(--white); border: 0.5px solid var(--gray-100);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius-md); padding: 1.1rem 1.25rem;
  transition: box-shadow 0.15s;
}
.area-card:hover { box-shadow: 0 2px 12px rgba(13,27,62,0.08); }
.area-icon { font-size: 20px; color: var(--navy); opacity: 0.55; margin-bottom: 8px; }
.area-title { font-size: 13px; font-weight: 500; color: var(--navy); line-height: 1.4; }

/* ── PROGRAMS ── */
.programs { background: var(--white); }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prog-card {
  border: 0.5px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 1.25rem; background: var(--white); transition: box-shadow 0.15s;
}
.prog-card:hover { box-shadow: 0 2px 16px rgba(13,27,62,0.07); }
.prog-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.3px;
  padding: 3px 10px; border-radius: var(--radius-sm); margin-bottom: 12px;
}
.badge-dip { background: var(--navy-2); color: var(--on-navy); }
.badge-web { background: var(--navy-3); color: var(--on-navy); }
.badge-eje { background: var(--navy-4); color: var(--gray-light); }
.badge-lab { background: var(--navy-2); color: var(--on-navy); letter-spacing: 0.5px; }
.prog-title { font-size: 13px; font-weight: 500; color: var(--text-main); line-height: 1.5; margin-bottom: 10px; }
.prog-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.prog-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 14px; font-size: 12px; color: var(--navy); font-weight: 500;
  opacity: 0.75; transition: opacity 0.15s; cursor: pointer;
}
.prog-link:hover { opacity: 1; }

/* ── PUBLICATIONS ── */
.publications { background: var(--gray-50); }
.pub-list { display: flex; flex-direction: column; gap: 10px; }
.pub-row {
  background: var(--white); border: 0.5px solid var(--gray-100);
  border-radius: var(--radius-md); padding: 1.1rem 1.4rem;
  display: flex; gap: 1rem; align-items: flex-start;
  transition: box-shadow 0.15s; cursor: pointer;
}
.pub-row:hover { box-shadow: 0 2px 12px rgba(13,27,62,0.07); }
.pub-type {
  font-size: 10px; font-weight: 500; letter-spacing: 0.3px;
  padding: 3px 10px; border-radius: var(--radius-sm);
  white-space: nowrap; flex-shrink: 0; margin-top: 2px;
}
.type-ca { background: var(--navy-2); color: var(--on-navy); }
.type-pb { background: var(--navy-3); color: var(--on-navy); }
.type-an { background: var(--navy-4); color: var(--gray-light); }
.pub-title { font-size: 13px; font-weight: 500; color: var(--text-main); line-height: 1.5; }
.pub-date { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.pub-arrow { margin-left: auto; color: var(--gray-400); flex-shrink: 0; align-self: center; font-size: 16px; }

/* ── CONTACT ── */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.newsletter { background: var(--navy); border-radius: var(--radius-lg); padding: 2rem; }
.newsletter h3 { color: var(--white); font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.newsletter p { color: var(--on-navy-muted); font-size: 13px; line-height: 1.65; margin-bottom: 1.25rem; }
.nl-input {
  width: 100%; padding: 10px 14px; margin-bottom: 10px;
  border-radius: var(--radius-md); border: 0.5px solid var(--graphite);
  background: var(--navy-2); color: var(--white); font-size: 13px;
  outline: none; transition: border-color 0.15s;
}
.nl-input::placeholder { color: var(--on-navy-muted); }
.nl-input:focus { border-color: var(--gold); }
.nl-select {
  width: 100%; padding: 10px 14px; margin-bottom: 14px;
  border-radius: var(--radius-md); border: 0.5px solid var(--graphite);
  background: var(--navy-2); color: var(--white); font-size: 13px;
  outline: none; cursor: pointer;
}
.nl-btn {
  width: 100%; background: var(--gold); color: var(--navy);
  font-size: 13px; font-weight: 500; padding: 11px;
  border-radius: var(--radius-md); border: none; cursor: pointer; transition: opacity 0.15s;
}
.nl-btn:hover { opacity: 0.85; }
.nl-success { display: none; text-align: center; padding: 1rem; color: var(--gold); font-size: 13px; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; justify-content: center; }
.info-row { display: flex; align-items: flex-start; gap: 12px; }
.info-icon { color: var(--navy); opacity: 0.45; flex-shrink: 0; margin-top: 1px; }
.info-main { font-size: 13px; color: var(--text-main); font-weight: 500; }
.info-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.info-link { color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid rgba(154,119,34,.35); transition: border-color .15s ease; }
.info-link:hover { border-bottom-color: var(--gold-ink); }
.info-link:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 2px; }

/* ── FOOTER ── */
.footer { background: var(--navy); padding: 1.75rem 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { color: rgba(255,255,255,0.55); font-size: 11px; }
.footer-links { display: flex; gap: 1.75rem; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 11px; transition: color 0.15s; }
.footer-links a:hover { color: var(--gold); }

/* ── NOSOTROS ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about-text p { font-size: 14px; color: var(--text-muted); line-height: 1.85; margin-bottom: 1.25rem; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 2rem; }
.value-card {
  background: var(--gray-50); border: 0.5px solid var(--gray-100);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md); padding: 1.1rem 1.25rem;
}
.value-name { font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.value-desc { font-size: 12px; color: var(--text-muted); line-height: 1.65; }
.founder-card {
  background: var(--white); border: 0.5px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 2rem;
}
.founder-initials {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 500; margin-bottom: 1rem;
}
.founder-name { font-size: 16px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.founder-role { font-size: 12px; color: var(--text-muted); margin-bottom: 1rem; }
.founder-bio { font-size: 13px; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.25rem; }
.founder-pubs { border-top: 0.5px solid var(--gray-100); padding-top: 1rem; }
.founder-pubs-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-400); margin-bottom: 10px; }
.founder-pub { display: flex; gap: 8px; margin-bottom: 10px; }
.founder-pub-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 7px; }
.founder-pub-text { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.founder-pub-text a { color: var(--navy); font-weight: 500; }
.differentiators { background: var(--navy); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.diff-card { border: 0.5px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 1.5rem; }
.diff-num { font-size: 28px; font-weight: 500; color: var(--accent); margin-bottom: 8px; }
.diff-title { font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: 8px; }
.diff-desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ── PROGRAMAS PAGE ── */
.prog-full-grid { display: flex; flex-direction: column; gap: 2rem; }
.prog-full-card {
  background: var(--white); border: 0.5px solid var(--gray-100);
  border-radius: var(--radius-lg); overflow: hidden;
}
.prog-full-header {
  background: var(--navy-2); padding: 1.5rem 2rem;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
}
.prog-full-header-left { flex: 1; }
.prog-full-title { font-size: 17px; font-weight: 600; color: var(--white); line-height: 1.4; margin-bottom: 8px; font-family: var(--font-title); }
.prog-full-meta-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.prog-full-meta { font-size: 12px; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 5px; }
.prog-full-body { padding: 1.75rem 2rem; }
.prog-full-desc { font-size: 14px; color: var(--text-muted); line-height: 1.85; margin-bottom: 1.5rem; }
.prog-modules-title { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-400); margin-bottom: 12px; }
.prog-modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 1.5rem; }
.prog-module { display: flex; gap: 8px; }
.prog-module-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 7px; }
.prog-module-text { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.prog-cta-row { display: flex; gap: 10px; padding-top: 1rem; border-top: 0.5px solid var(--gray-100); }
.btn-outline {
  background: none; color: var(--navy);
  font-size: 13px; font-weight: 500; padding: 9px 20px;
  border-radius: var(--radius-md); border: 1px solid var(--navy); cursor: pointer; transition: all 0.15s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-gold {
  background: var(--gold); color: var(--navy);
  font-size: 13px; font-weight: 500; padding: 9px 20px;
  border-radius: var(--radius-md); border: none; cursor: pointer; transition: opacity 0.15s;
}
.btn-gold:hover { opacity: 0.88; }
.target-section { background: var(--gray-50); }
.target-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.target-card {
  background: var(--white); border: 0.5px solid var(--gray-100);
  border-radius: var(--radius-md); padding: 1.25rem; text-align: center;
}
.target-icon { font-size: 22px; margin-bottom: 8px; color: var(--navy); opacity: 0.5; }
.target-label { font-size: 13px; font-weight: 500; color: var(--navy); }

/* ── INVESTIGACIÓN PAGE ── */
.research-lines { background: var(--white); }
.research-line-grid { display: flex; flex-direction: column; gap: 1px; border: 0.5px solid var(--gray-100); border-radius: var(--radius-lg); overflow: hidden; }
.research-line {
  padding: 1.5rem 1.75rem; background: var(--white);
  display: grid; grid-template-columns: 40px 1fr; gap: 1.5rem; align-items: start;
  border-bottom: 0.5px solid var(--gray-100);
}
.research-line:last-child { border-bottom: none; }
.research-line:hover { background: var(--gray-50); }
.research-line-num { font-size: 20px; font-weight: 600; color: var(--gold-ink); }
.research-line-title { font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.research-line-desc { font-size: 13px; color: var(--text-muted); line-height: 1.75; }
.collab-section { background: var(--navy); }
.collab-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.collab-text h2 { font-size: 22px; font-weight: 600; color: var(--white); font-family: var(--font-title); margin-bottom: 1rem; line-height: 1.4; }
.collab-text p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 1.5rem; }
.collab-steps { display: flex; flex-direction: column; gap: 1rem; }
.collab-step { display: flex; gap: 1rem; align-items: flex-start; }
.collab-step-num { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; flex-shrink: 0; }
.collab-step-text { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.65; padding-top: 4px; }

/* ── RESPONSIVE ── */
/* ══════ TABLET (≤860px) ══════ */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .mobile-menu { display: block; }
  .mobile-menu[hidden] { display: none; }
  .nav-links { display: none; }

  .container { padding: 0 1.5rem; }
  .section { padding: 3rem 0; }

  .hero-card { flex-direction: column; gap: 1.5rem; padding: 1.75rem; }
  .hero-stats { flex-direction: row; padding-left: 0; padding-top: 1.25rem; border-left: none; border-top: 0.5px solid var(--gray-100); }
  .about-grid, .collab-inner, .team-grid { grid-template-columns: 1fr; }
  .diff-grid, .target-grid, .ksl-grid { grid-template-columns: 1fr 1fr; }
  .prog-modules { grid-template-columns: 1fr; }
  .founder-card { position: static; }
}

/* ══════ MÓVIL (≤700px) ══════ */
@media (max-width: 700px) {
  .areas-grid, .target-grid { grid-template-columns: 1fr 1fr; }
  .prog-grid, .contact-grid, .values-grid, .diff-grid, .ksl-grid { grid-template-columns: 1fr; }

  .page-header { padding: 2.5rem 0 2.75rem; }
  .page-header h1 { font-size: 26px; }
  .hero { padding: 2.5rem 0 3rem; }
  .hero-tagline { font-size: 24px; }
  .section-title { font-size: 21px; }
  .hero-main h1 { font-size: 19px; }
  .collab-text h2 { font-size: 20px; }

  .prog-full-header { flex-direction: column; gap: 0.75rem; padding: 1.25rem 1.5rem; }
  .prog-full-body { padding: 1.5rem; }
  .prog-full-meta-row { gap: 1rem; }
  .research-line { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.25rem 1.5rem; }
  .newsletter { padding: 1.5rem; }
}

/* ══════ MÓVIL ESTRECHO (≤430px) ══════ */
@media (max-width: 430px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 2.5rem 0; }

  .areas-grid, .target-grid { grid-template-columns: 1fr; }

  .page-header h1 { font-size: 23px; }
  .hero-tagline { font-size: 21px; }
  .section-title { font-size: 19px; }
  .logo-mark { width: 24px; height: 24px; }
  .logo-rule { height: 26px; }
  .logo-text { font-size: 14px; }
  .logo-sub { font-size: 8px; letter-spacing: 1.2px; }

  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* objetivos táctiles cómodos */
  .lang-btn { padding: 9px 12px; font-size: 12px; }
  .cta-row, .prog-cta-row { flex-direction: column; gap: 10px; }
  .cta-row button, .prog-cta-row button, .nl-btn { width: 100%; padding: 13px 20px; }
  .prog-link { padding: 10px 0; }
  .nl-input, .nl-select { font-size: 16px; }
}
