/* #region HISTORIA */

.historia-hero {
  position: relative;
  background-image: url('../assets/images/historia-hero.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  color: white;
}

.historia-hero .overlay {
  background-color: rgba(20, 0, 43, 0.7);
  padding: 4rem 2rem;
  width: 100%;
}

.historia-hero h1 {
  color: white;
  font-size: 40px;
  margin-top: 210px;
  margin-left: 110px;
}

.historia-hero p {
  color: white;
  font-size: 16px;
  margin-left: 110px;
}

/* TIMELINE */
.historia-slider-section {
  background: #f6f6f6;
  padding: 6rem 0 4rem;
  position: relative;
}

.historia-slider {
  position: relative;
  width: 100%;
}

.historia-slide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  background-color: #f6f6f6;
  padding: 3rem 2rem 6rem;
}

/* Año a la izquierda */
.historia-range {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1e1e1e;
  margin-left: 4rem;
  margin-bottom: 2rem;
  z-index: 2;
}

/* Línea horizontal */
.historia-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #3dd1c4;
  border-radius: 8px;
  z-index: 1;
  transform: translateY(-50%);
}

.historia-line::after {
  content: "";
  position: absolute;
  left: 4rem; /* o usa: 2rem o 10% si quieres más responsive */
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background-color: #4e106c;
  border-radius: 50%;
  border: 4px solid #fff;
  z-index: 3;
}


/* Contenedor de las cajas */
.historia-events {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
  padding: 0 4rem;
  position: relative;
  z-index: 2; /* ← Para que esté por encima de la línea */
}

/* Cajas de evento */
.historia-event-box {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  min-width: 200px;
  max-width: 260px;
  flex: 1;
  height: auto;
  position: relative;
  z-index: 5; /* ← Sobre la línea y el punto */
}


.historia-event-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #011e41;
  margin-bottom: 0.5rem;
}

.historia-event-box p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}
.historia-event-box:nth-child(1) {
  top: -40px;
}
.historia-event-box:nth-child(2) {
  top: 0;
}
.historia-event-box:nth-child(3) {
  top: -20px;
}
.historia-event-box:nth-child(4) {
  top: 10px;
}
/* Slick arrows */
.slick-prev,
.slick-next {
  background: #4e106c;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  z-index: 10;
}

.slick-prev:before,
.slick-next:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 28px;
  color: white;
}

.slick-prev:before {
  content: "\f104"; /* fa-arrow-left */
}

.slick-next:before {
  content: "\f105"; /* fa-arrow-right */
}

.slick-prev {
  position: absolute;
  left: 20px;
  top: 45%;
}

.slick-next {
  position: absolute;
  right: 20px;
  top: 45%;
}

/* Desactivar dots */
.slick-dots {
  display: none !important;
}
