/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--negro);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 60px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--negro) 25%, rgba(15,15,15,0.6) 45%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.hero-bg-letter { z-index: 2; }
.hero-contenido { z-index: 2; }
.hero-bg-letter {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--fuente-condensed);
  font-size: clamp(320px, 40vw, 580px);
  font-weight: 900;
  color: rgba(232,114,154,0.04);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
}
.hero-contenido {
  position: relative;
  z-index: 1;
  max-width: var(--ancho-max);
  margin: 0 auto;
  width: 100%;
  padding-top: 160px;
}
.hero-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rosa);
  margin-bottom: 28px;
}
.hero-titulo {
  font-family: var(--fuente-serif);
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--blanco);
  margin-bottom: 28px;
  max-width: 820px;
}
.hero-titulo em {
  font-style: italic;
  color: var(--rosa);
}
.hero-subtitulo {
  font-size: 18px;
  font-weight: 300;
  color: rgba(250,250,248,0.55);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.hero-descripcion {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(250,250,248,0.4);
  max-width: 480px;
  margin-bottom: 44px;
}
.hero-descripcion strong {
  color: rgba(250,250,248,0.7);
  font-weight: 500;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-secundario-hero {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.btn-secundario-hero:hover {
  color: var(--rosa);
}

/* ─── FRANJA DATOS ─── */
.franja-datos {
  background: var(--rosa);
  padding: 28px 60px;
}
.franja-datos-inner {
  max-width: var(--ancho-max);
  margin: 0 auto;
  display: flex;
  gap: 0;
}
.dato {
  flex: 1;
  padding: 0 40px;
  border-right: 1px solid rgba(15,15,15,0.18);
}
.dato:first-child { padding-left: 0; }
.dato:last-child { border-right: none; }
.dato-numero {
  font-family: var(--fuente-condensed);
  font-size: 40px;
  font-weight: 900;
  color: var(--negro);
  line-height: 1;
  margin-bottom: 4px;
}
.dato-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15,15,15,0.55);
}

/* ─── QUIÉNES SOMOS ─── */
.quienes {
  background: var(--blanco);
  padding: var(--padding-seccion);
}
.quienes-inner {
  max-width: var(--ancho-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.quienes-visual {
  position: relative;
  height: 480px;
}
.quienes-caja-grande {
  position: absolute;
  right: 0;
  top: 0;
  width: 400px;
  height: 100%;
  background: var(--gris-claro);
  border: 1px solid var(--gris-medio);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.quienes-caja-grande img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quienes-caja-chica {
  display: none;
}
.quienes-badge {
  position: absolute;
  top: calc(390px - 16px);
  right: 0;
  transform: translateX(0);
  background: var(--rosa);
  color: var(--negro);
  padding: 8px 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.placeholder-txt {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gris-texto);
  opacity: 0.5;
  text-align: center;
}

/* ─── PILARES HERO ─── */
.pilares-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.pilares-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
.pilares-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,15,15,0.65);
  z-index: 1;
}
.pilares-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 80px 40px;
}
.pilares-hero-etiqueta {
  color: var(--rosa) !important;
  justify-content: center;
  margin-bottom: 20px;
}
.pilares-hero-titulo {
  font-family: var(--fuente-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--blanco);
  margin-bottom: 20px;
}
.pilares-hero-titulo em {
  font-style: italic;
  color: var(--rosa);
}
.pilares-hero-sub {
  font-size: 17px;
  color: rgba(250,250,248,0.85);
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
  background: rgba(15,15,15,0.5);
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
}

/* ─── PILARES ─── */
.pilares {
  background: var(--gris-claro);
  padding: var(--padding-seccion);
}
.pilares-inner {
  max-width: var(--ancho-max);
  margin: 0 auto;
}
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.pilar {
  background: var(--blanco);
  border: 1px solid var(--gris-medio);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  cursor: default;
}
.pilar:hover {
  border-color: var(--rosa);
  transform: translateY(-4px);
}
.pilar-num {
  font-family: var(--fuente-condensed);
  font-size: 72px;
  font-weight: 900;
  color: rgba(232,114,154,0.08);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
  letter-spacing: -0.04em;
}
.pilar-icono {
  width: 44px;
  height: 44px;
  background: var(--gris-claro);
  border: 1px solid var(--gris-medio);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
}
.pilar-titulo {
  font-family: var(--fuente-condensed);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: var(--negro);
}
.pilar-texto {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gris-texto);
  font-weight: 300;
}

/* ─── INFRAESTRUCTURA ─── */
.infraestructura {
  position: relative;
  color: var(--blanco);
}

/* Imagen cubre: header + leyenda (el riel negro lo tapa desde abajo con z-index) */
.infra-foto-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

/* Gradiente izquierda al 50% ancho, cubre todo el alto de la zona con imagen */
.infraestructura::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(15,15,15,0.85) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.infra-inner {
  position: relative;
  z-index: 2;
  max-width: var(--ancho-max);
  margin: 0 auto;
  padding: var(--padding-seccion);
  padding-bottom: 40px;
}
.infra-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}
.infra-header-texto { max-width: 480px; }
.infra-header .titulo-seccion,
.infraestructura .etiqueta { color: var(--blanco); }
.infraestructura .etiqueta { color: var(--rosa); }
.infraestructura .titulo-seccion { color: var(--blanco); }

/* Subtítulo con caja oscura */
.infra-subtitulo {
  max-width: 300px;
  color: rgba(250,250,248,0.8);
  background: rgba(15,15,15,0.6);
  backdrop-filter: blur(4px);
  padding: 18px 22px;
  border-radius: 8px;
}

/* Zona de leyenda + labels superiores: sobre la imagen */
.infra-leyenda-wrap {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}
.infra-leyenda-wrap .infra-inner {
  padding-top: 0;
  padding-bottom: 0;
}

/* Riel negro con nodos y labels inferiores */
.infra-riel-wrap {
  background: var(--negro);
  position: relative;
  z-index: 2;
  padding: 48px 0;
}
.infra-riel-wrap .infra-inner {
  padding-top: 0;
  padding-bottom: 0;
}

/* Fila compartida de columnas (labels arriba y abajo, nodos) */
.tl-labels-row {
  display: flex;
}
.tl-label-col {
  flex: 1;
  min-width: 110px;
  text-align: left;
  padding: 8px 4px;
}

/* Riel solo: línea + nodos */
.tl-riel-solo {
  display: flex;
  align-items: center;
  position: relative;
  padding: 12px 0;
}
.tl-riel-solo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(250,250,248,0.08);
  transform: translateY(-50%);
}
.tl-riel-solo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 30%;
  height: 2px;
  background: var(--rosa);
  transform: translateY(-50%);
}
.tl-nodo {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Leyenda */
.timeline-leyenda {
  display: flex;
  gap: 28px;
  margin-bottom: 20px;
}
.leyenda-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.45);
}
.leyenda-item::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.leyenda-completado::before { background: var(--rosa); }
.leyenda-en-proceso::before {
  background: conic-gradient(var(--rosa) 50%, rgba(232,114,154,0.2) 50%);
  border: 1px solid rgba(232,114,154,0.4);
}
.leyenda-proyectado::before {
  background: transparent;
  border: 2px solid rgba(232,114,154,0.3);
}

/* Timeline horizontal */
.timeline-linea {
  overflow-x: auto;
  padding: 8px 0 24px;
}

/* El riel: centrado verticalmente, con la línea horizontal en el medio */
.tl-riel {
  display: flex;
  align-items: stretch;
  position: relative;
  min-width: max-content;
}

/* Línea horizontal de fondo */
.tl-riel::before {
  content: '';
  position: absolute;
  /* La línea pasa por el centro del riel */
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(250,250,248,0.08);
  transform: translateY(-50%);
}

/* Línea de progreso: 1 completado + mitad del 2do en-proceso = 30% de 5 grupos */
.tl-riel::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 30%;
  height: 2px;
  background: var(--rosa);
  transform: translateY(-50%);
}

/* Cada milestone ocupa espacio flexible */
.tl-milestone {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Zona superior (texto arriba) */
.tl-info-top {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 6px;
  text-align: center;
  min-height: 80px;
}

/* Zona inferior (texto abajo) */
.tl-info-bottom {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 6px;
  text-align: center;
  min-height: 80px;
}

/* Conector vertical — línea desde el nodo al texto */
.tl-conector {
  width: 1px;
  height: 16px;
  background: rgba(250,250,248,0.2);
  flex-shrink: 0;
}

/* Para proyectados: conector punteado que se desvanece */
.tl-proyectado .tl-conector {
  background: none;
  border-left: 1px dashed rgba(232,114,154,0.25);
  /* degradado visual hacia el texto */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.05));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.05));
}
.tl-proyectado .tl-info-top .tl-conector,
.tl-arriba.tl-proyectado .tl-conector:first-of-type {
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.05));
  mask-image: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.05));
}

/* El nodo circular */
.tl-punto {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(232,114,154,0.25);
  background: var(--negro);
  position: relative;
  z-index: 2;
  overflow: hidden;
  flex-shrink: 0;
}
.tl-fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

/* Completado: fill 100% */
.tl-completado .tl-punto { border-color: var(--rosa); }
.tl-completado .tl-fill  { background: var(--rosa); }

/* En proceso: fill 50% */
.tl-en-proceso .tl-punto { border-color: var(--rosa); }
.tl-en-proceso .tl-fill  { background: conic-gradient(var(--rosa) 50%, transparent 50%); }

/* Proyectado: vacío */
.tl-proyectado .tl-punto { border-color: rgba(232,114,154,0.18); }
.tl-proyectado .tl-fill  { background: transparent; }

/* Textos */
.tl-año {
  font-family: var(--fuente-condensed);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rosa);
  margin-bottom: 4px;
}
.tl-label {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 400;
  padding: 0;
}
.tl-completado .tl-label { color: rgba(250,250,248,0.85); }
.tl-en-proceso .tl-label { color: rgba(250,250,248,0.65); }
.tl-proyectado .tl-label { color: rgba(250,250,248,0.25); }
.tl-proyectado .tl-año   { color: rgba(232,114,154,0.35); }

/* ─── SPONSOR ─── */
.sponsor {
  background: var(--rosa);
  padding: var(--padding-seccion);
  position: relative;
  overflow: hidden;
}
.sponsor-bandera {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
}
.sponsor-inner {
  max-width: var(--ancho-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.sponsor-inner > div {
  background: rgba(255,255,255,0.55);
  border-radius: 12px;
  padding: 32px 36px;
  backdrop-filter: blur(4px);
}
.sponsor-titulo {
  font-family: var(--fuente-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--negro);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.sponsor-titulo em { font-style: italic; }
.sponsor-texto {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(15,15,15,0.6);
  font-weight: 300;
  margin-bottom: 32px;
}
.sponsor-texto strong {
  color: var(--negro);
  font-weight: 600;
}
.sponsor-beneficios {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(15,15,15,0.15);
}
.beneficio {
  padding: 20px 0;
  border-bottom: 1px solid rgba(15,15,15,0.15);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.beneficio-num {
  font-family: var(--fuente-condensed);
  font-size: 28px;
  font-weight: 900;
  color: rgba(15,15,15,0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
}
.beneficio-titulo {
  font-size: 14px;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: 3px;
}
.beneficio-texto {
  font-size: 13px;
  color: rgba(15,15,15,0.55);
  line-height: 1.5;
  font-weight: 300;
}

/* ─── OBJETIVOS ─── */
.objetivos {
  background: var(--blanco);
  padding: var(--padding-seccion);
}
.objetivos-inner {
  max-width: var(--ancho-max);
  margin: 0 auto;
}
.objetivos-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
}
.objetivos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.objetivo-card {
  background: var(--gris-claro);
  border: 1px solid var(--gris-medio);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.objetivo-card:hover {
  border-color: var(--rosa);
}
.objetivo-card-bg {
  position: absolute;
  top: -20px;
  right: -20px;
  font-family: var(--fuente-condensed);
  font-size: 110px;
  font-weight: 900;
  color: rgba(232,114,154,0.06);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
}
.objetivo-etiqueta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rosa);
  margin-bottom: 14px;
}
.objetivo-titulo {
  font-family: var(--fuente-serif);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--negro);
}
.objetivo-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.objetivo-lista li {
  font-size: 14px;
  color: var(--gris-texto);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 300;
  line-height: 1.5;
}
.objetivo-lista li::before {
  content: '→';
  color: var(--rosa);
  flex-shrink: 0;
}

/* ─── CTA FINAL ─── */
.cta-final {
  background: var(--negro);
  padding: 120px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(232,114,154,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: var(--ancho-max);
  margin: 0 auto;
}
.cta-final-titulo {
  font-family: var(--fuente-serif);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--blanco);
  margin-bottom: 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final-titulo em {
  font-style: italic;
  color: var(--rosa);
}
.cta-final-sub {
  font-size: 17px;
  color: rgba(250,250,248,0.45);
  max-width: 440px;
  margin: 0 auto 44px;
  line-height: 1.7;
  font-weight: 300;
}
.cta-final-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── RESPONSIVE HOME ─── */
@media (max-width: 900px) {
  .hero {
    padding: 0 24px 64px;
  }
  .hero-bg-letter { display: none; }
  .hero-bg-img { width: 100%; opacity: 0.3; }
  .franja-datos { padding: 24px; }
  .franja-datos-inner { flex-wrap: wrap; gap: 20px; }
  .dato { padding: 0; border: none; min-width: 120px; }
  .quienes { padding: var(--padding-movil); }
  .quienes-inner { grid-template-columns: 1fr; gap: 48px; }
  .quienes-visual { height: 300px; }
  .pilares { padding: var(--padding-movil); }
  .pilares-grid { grid-template-columns: 1fr; }
  .infra-inner { padding: var(--padding-movil); padding-bottom: 20px; }
  .infra-riel-wrap .infra-inner { padding: 0 24px; }
  .infra-leyenda-wrap .infra-inner { padding: 0 24px; }
  .infra-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .infra-subtitulo { max-width: 100%; }
  .tl-label-col { min-width: 80px; }
  .tl-milestone { min-width: 90px; }
  .sponsor { padding: var(--padding-movil); }
  .sponsor-inner { grid-template-columns: 1fr; gap: 48px; }
  .objetivos { padding: var(--padding-movil); }
  .objetivos-grid { grid-template-columns: 1fr; }
  .cta-final { padding: var(--padding-movil); }
  .cta-final-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 600px) {
  .pilares-grid { grid-template-columns: 1fr; }
}
