:root {
  --bg: #16345c;
  --bg-deep: #0c1c33;
  --ink: #f4f7fb;
  --muted: #c5d2e4;
  --line: rgba(255, 255, 255, 0.16);
  --paper: #0c1522;
  --copper: #7eb6ea;
  --moss: #1e4a7a;
  --moss-soft: #15283f;
  --warn: #fb7185;
  --warn-soft: #2a1220;
  --favor-soft: #10241c;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(20, 19, 17, 0.08);
  --header: 72px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #16345c;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }

::selection { background: #335c94; color: #fff; }

#cielo {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.site-header, main, footer { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header);
  padding: 0 28px;
  color: #f4efe6;
  background: rgba(12, 28, 51, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: rgba(244, 239, 230, 0.14); }
.marca {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
}
.marca strong {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.marca span {
  color: #cfc6b8;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #cfc6b8;
}
.nav a[aria-current="true"] {
  color: #f4efe6;
  background: rgba(244, 239, 230, 0.12);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 64px 28px 48px;
  color: #f4f7fb;
  background:
    radial-gradient(820px 480px at 72% 38%, rgba(91, 158, 214, 0.4), transparent 62%),
    linear-gradient(120deg, #0e2240 0%, #24558f 46%, #16345c 100%);
}
.hero::before { content: none; }
.hero-marco {
  position: relative;
  width: min(1180px, 100%);
  min-height: 640px;
  margin: 0 auto;
}
.hero-centro {
  position: relative;
  z-index: 2;
  width: min(640px, 56%);
  margin-left: max(4vw, 28px);
  text-align: center;
}
.hero-retrato {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 92%;
  width: auto;
  max-width: 30%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}
.hero-saludo {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 62px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.hero-rotulo {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d6e6f7;
  background: none;
  -webkit-text-fill-color: #d6e6f7;
}
.hero .kicker {
  justify-content: center;
  color: #b7d0ee;
  margin-bottom: 6px;
}
.hero .kicker::before { display: none; }
.hero-empresa {
  margin: 14px 0 0;
  color: #d6e4f5;
  font-size: 14px;
}
.hero-acciones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
.hero-btn {
  display: inline-block;
  background: #335c94;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 6px;
}
.hero-btn:hover { background: #3e74b0; }
.hero-enlace {
  color: #d6e6f7;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.hero-enlace:hover { color: #fff; }
.hero-lado {
  position: relative;
  height: 420px;
  min-width: 0;
}
.hero-globo {
  position: absolute;
  width: 430px;
  height: 430px;
  left: 58%;
  top: 0;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 36px rgba(80, 120, 255, 0.45));
}
.hero-globo svg { width: 100%; height: 100%; display: block; }
.hero-foto {
  position: absolute;
  left: 8%;
  right: 2%;
  top: 6%;
  bottom: 0;
  margin: 0;
  z-index: 1;
  width: auto;
  overflow: visible;
}
.hero-foto img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.35));
}
.hero-chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.chip {
  position: absolute;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #e7eeff;
  background: rgba(16, 24, 58, 0.42);
  border: 1px solid rgba(190, 210, 255, 0.38);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
}
.chip svg { width: 26px; height: 26px; }
.chip-graf { top: 2%; left: 8%; }
.chip-ia {
  top: 6%;
  right: 6%;
  width: 74px;
  height: 74px;
  border-radius: 18px;
  font-family: "Anton", Impact, sans-serif;
  font-size: 32px;
  letter-spacing: 0.02em;
}
.chip-nube { top: 0; right: -2%; width: 46px; height: 46px; }
.chip-gear { top: 36%; right: -1%; }
.hero-ola {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  z-index: 0;
  pointer-events: none;
}
.hero-ola svg { width: 100%; height: 100%; display: block; }
.hero-inner, .wrap { width: min(1120px, 100%); margin: 0 auto; }
.seccion .wrap {
  background: transparent;
  border-radius: 0;
  padding: 8px 0 4px;
}
.kicker {
  margin: 0 0 18px;
  color: #c9a08a;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero h1 {
  margin: 16px auto 0;
  max-width: 46ch;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  color: #f4f7fb;
}
.hero-lead {
  max-width: 52ch;
  margin: 14px auto 0;
  color: #d7e3f2;
  font-size: 16px;
  line-height: 1.45;
}
.hero-empresa:empty { display: none; }
.cifras {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.cifra {
  background: #0e0e12;
  border-radius: 12px;
  padding: 16px 12px 14px;
  text-align: center;
}
.cifra-cabeza { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cifra-icono {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #7eb6ea;
  background: none;
  box-shadow: none;
}
.cifra-icono svg { width: 22px; height: 22px; }
.cifra strong {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.cifra p { margin: 8px 0 0; color: #d5e0f0; font-size: 12.5px; line-height: 1.35; }
.cifra small { display: block; margin-top: 8px; color: #8eb4e0; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }

.seccion {
  padding: 88px 28px;
  background: #102844;
}
.seccion:nth-of-type(even) { background: #1a4578; }
.seccion-head {
  margin: 0 auto 40px;
  max-width: 68ch;
  text-align: center;
}
.indice {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7eb6ea;
}
.seccion h2 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}
.entradilla {
  margin: 12px auto 0;
  max-width: 62ch;
  color: var(--muted);
}

.buscador {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 22px 0 0;
}
.buscador input {
  width: min(420px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  outline: none;
}
.buscador input:focus { border-color: var(--copper); }
.buscador input::placeholder { color: #8eabc8; }
.buscador .cuenta { color: var(--muted); font-size: 13px; }

.voces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.voz {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 22px 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #0c1522;
  text-align: left;
  cursor: pointer;
  width: 100%;
  min-height: 180px;
}
.voz .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--copper);
  font-size: 22px;
  padding-top: 4px;
}
.voz h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.voz .rol { margin: 4px 0 8px; color: var(--muted); font-size: 14px; }
.voz .tesis { margin: 0; max-width: 68ch; }
.voz .mas {
  margin-top: auto;
  padding-top: 16px;
  border: 0;
  background: none;
  border-radius: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7eb6ea;
}
.voz[aria-expanded="true"] { background: linear-gradient(90deg, transparent, rgba(51, 92, 148, 0.35)); }
.desarrollo {
  display: none;
  max-width: 68ch;
  color: var(--muted);
  padding: 12px 0 4px;
}
.voz[aria-expanded="true"] .desarrollo { display: block; }
.desarrollo .fuente {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.corte {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.columna {
  background: var(--paper);
  border-radius: 18px;
  padding: 22px 22px 8px;
  box-shadow: var(--shadow);
}
.columna.buenos { background: var(--favor-soft); }
.columna.malos { background: var(--warn-soft); }
.columna h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.03em;
}
.columna .pista { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.caso {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.caso h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 520;
}
.caso p { margin: 0; color: var(--ink); }
.caso .detalle { margin-top: 8px; color: var(--muted); font-size: 15px; }
.ejemplos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding: 0;
  list-style: none;
}
.ejemplos li, .nota {
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--muted);
}
.nota { display: inline-block; margin-top: 10px; border-color: transparent; background: rgba(255, 255, 255, 0.06); }

.tabla-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
td:first-child { font-weight: 520; }
.campos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.campo {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px 14px;
  min-height: 128px;
}
.campo .n {
  font-family: var(--serif);
  font-style: italic;
  color: var(--copper);
}
.campo h3 { margin: 8px 0; font-size: 18px; font-weight: 520; letter-spacing: -0.02em; }
.campo p { margin: 0; color: var(--muted); font-size: 14px; }

.caso-propio {
  background: var(--moss);
  color: #f3efe6;
  border-radius: 20px;
  padding: 36px 36px 32px;
}
.caso-propio .kicker { color: #c9d7cb; }
.caso-propio h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 18ch;
}
.caso-propio p { max-width: 68ch; color: #e4ebe3; margin: 0 0 12px; }

.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; justify-content: center; }
.filtros button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.filtros button[aria-pressed="true"] {
  background: #335c94;
  color: #fff;
  border-color: #335c94;
}
#lista-directorio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.experto {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #0c1522;
}
.experto-top { display: block; }
.experto .num { font-family: var(--serif); font-style: italic; color: var(--copper); font-size: 22px; }
.experto h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.experto p { margin: 4px 0 0; color: var(--muted); max-width: 70ch; }
.bloques-enlace { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; }
.bloque-enlace { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bloque-enlace span {
  min-width: 96px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
a.chip-enlace {
  text-decoration: none;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 4px 10px;
}
a.chip-enlace.academico { background: var(--moss-soft); }
a.chip-enlace.entrevista { background: #16304e; }
a.chip-enlace.busqueda { border-style: dashed; background: transparent; }
a.chip-enlace:hover { border-color: var(--copper); color: var(--copper); }
.ias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ia {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px 14px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
}
.ia .n { font-family: var(--serif); font-style: italic; color: var(--copper); }
.ia h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.ia .casa { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.ia .esp {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}
.ia p:last-of-type { margin: 8px 0 0; font-size: 15px; }
.ia a {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  color: var(--ink);
}
.ia a:hover { color: var(--copper); }
.fuentes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
a.fuente-card {
  display: block;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px 16px;
  min-height: 140px;
}
a.fuente-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 26px;
  letter-spacing: -0.03em;
}
a.fuente-card p { margin: 0; color: var(--muted); }

.cine-subtitulo {
  margin: 48px 0 16px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
}
.cine-preguntas {
  margin: 8px auto 0;
  max-width: 68ch;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.cine-preguntas li {
  background: #0c1522;
  border-radius: 12px;
  padding: 14px 16px;
}
.cine-nota { margin-bottom: 16px; }
.marca-eval {
  color: #7eb6ea;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cine-cierre {
  margin: 36px auto 0;
  max-width: 68ch;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.cine-cierre p { margin: 16px 0 0; color: #e7eef8; }
.cine-grupo { margin-top: 22px; }
.cine-grupo h3 { margin: 0 0 10px; font-size: 18px; font-weight: 500; }
.cine-grupo ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.cine-grupo li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}
.cine-grupo strong { color: #fff; font-weight: 500; }
.cine-grupo span { color: #7eb6ea; margin-right: 8px; }

.vacio {
  padding: 28px 0;
  color: var(--muted);
}

footer {
  padding: 28px;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  color: #cfc6b8;
  font-size: 14px;
}
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  color: #f4efe6;
}

.menu-btn { display: none; background: none; border: 1px solid rgba(244, 239, 230, 0.3); color: #f4efe6; border-radius: 999px; padding: 8px 12px; }

@media (max-width: 860px) {
  .cifras, .corte, .campos, .fuentes, .ias { grid-template-columns: 1fr; }
  .bloques-enlace { margin-left: 0; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.abierto { display: flex; background: var(--bg); }
  .nav.abierto a { color: var(--muted); }
  .nav.abierto a[aria-current="true"] { color: var(--ink); background: rgba(27, 25, 22, 0.06); }
  .voces, #lista-directorio { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; min-height: 0; }
  .hero-marco { min-height: 0; }
  .hero-centro { width: auto; margin: 0; }
  .hero-retrato {
    position: relative;
    display: block;
    height: 320px;
    max-width: 80%;
    margin: 12px auto 0;
    right: auto;
    bottom: auto;
  }
  .seccion { padding: 56px 20px; }
  .site-header, .hero, footer { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
