@charset "UTF-8";
/* CSS LÍNEA DE TIEMPO */
.timeline-section {
  position: relative;
  padding: 120px 0;
  background: #F8FAFC;
  overflow: hidden;
}
/* Glow de fondo */
.timeline-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: #00A4E4;
  filter: blur(180px);
  opacity: .06;
  left: -200px;
  top: 80px;
}
.timeline-section::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: #6558B1;
  filter: blur(150px);
  opacity: .05;
  right: -120px;
  bottom: -80px;
}
/*==========================
HEADER
===========================*/
.section-header {
  text-align: center;
  max-width: 900px;
  margin: auto;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 50px;
  background: rgba(227, 24, 55, .08);
  border: 1px solid rgba(227, 24, 55, .18);
  color: #E31837;
  font-size: .85rem;
  letter-spacing: 3px;
  font-weight: 700;
}
.section-tag::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #E31837;
  border-radius: 50%;
}
.section-header h2 {
  margin-top: 25px;
  color: #1D2D5C;
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
}
.section-description {
  margin: 35px auto 0;
  max-width: 900px;
  color: #666;
  line-height: 1.9;
  font-size: 1.05rem;
}
/*==========================
TIMELINE
===========================*/
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 90px;
}
/* Línea */
.timeline-line {
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 4px;
  border-radius: 20px;
  background: linear-gradient(90deg, #00A4E4 0%, #6558B1 65%, #6CB33F 100%);
}
/* Flecha del futuro */
.timeline-line::after {
  content: "➜";
  position: absolute;
  right: -18px;
  top: -16px;
  color: #6CB33F;
  font-size: 2rem;
}
/*==========================
ITEM
===========================*/
.timeline-item {
  position: relative;
  text-align: center;
  z-index: 2;
}
.timeline-dot {
  width: 24px;
  height: 24px;
  margin: auto;
  border-radius: 50%;
  background: #00A4E4;
  border: 6px solid #FFFFFF;
  box-shadow:
    0 0 0 6px rgba(0, 164, 228, .12);
  transition: .35s ease;
}
.timeline-year {
  display: block;
  margin-top: 30px;
  color: #1D2D5C;
  font-size: 1.2rem;
  font-weight: 700;
}
.timeline-item h4 {
  margin: 15px 0;
  color: #1D2D5C;
  font-size: 1.2rem;
}
.timeline-item p {
  color: #666;
  line-height: 1.8;
  font-size: .95rem;
}
/*==========================
HOVER
===========================*/
.timeline-item:hover .timeline-dot {
  transform: scale(1.25);
  background: #6558B1;
  box-shadow:
    0 0 0 8px rgba(101, 88, 177, .18), 0 0 40px rgba(101, 88, 177, .45);
}
.timeline-item:hover h4 {
  color: #6558B1;
}
/*==========================
2026
===========================*/
.future .timeline-dot {
  background: #6CB33F;
  box-shadow:
    0 0 0 8px rgba(227, 24, 55, .16), 0 0 45px rgba(227, 24, 55, .50);
  animation: pulse 3s infinite;
}
.future .timeline-year {
  color: #6CB33F;
}
.future h4 {
  color: #6CB33F;
}
/*==========================
FOOTER
===========================*/
.timeline-footer {
  margin-top: 90px;
  text-align: center;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}
.timeline-footer h3 {
  color: #1D2D5C;
  font-size: 2.4rem;
  margin-bottom: 20px;
  font-weight: 800;
}
.timeline-footer h3 span {
  color: #6CB33F;
}
.timeline-footer p {
  color: #666;
  line-height: 1.9;
}
/*==========================
ANIMACIÓN
===========================*/
@keyframes pulse {
  0% {
    box-shadow:
      0 0 0 8px rgba(227, 24, 55, .15), 0 0 25px rgba(227, 24, 55, .25);
  }
  50% {
    box-shadow:
      0 0 0 12px rgba(227, 24, 55, .05), 0 0 60px rgba(227, 24, 55, .55);
  }
  100% {
    box-shadow:
      0 0 0 8px rgba(227, 24, 55, .15), 0 0 25px rgba(227, 24, 55, .25);
  }
}
/*==========================
RESPONSIVE
===========================*/
@media(max-width:991px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 70px;
  }
  .timeline-line {
    display: none;
  }
  .timeline-line::after {
    display: none;
  }
  .timeline-item {
    padding: 0 20px;
  }
  .section-header h2 {
    font-size: 2.5rem;
  }
  .timeline-footer h3 {
    font-size: 2rem;
  }
}