/* ===== CONTENEDOR GENERAL ===== */
.timeline {
  position: relative;
  width: 100%;
  margin: 40px 0 40px;
}

/* ===== LÍNEA CENTRAL (100% WIDTH) ===== */
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  height: 3px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 4px;
}

/* ===== WRAP ===== */
.timeline__wrap {
  width: 100%;
}

/* ===== ITEMS ===== */
.timeline__items {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* ===== ITEM ===== */
.timeline__item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== TEXTO ===== */
.timeline__content {
  text-align: center;
  max-width: 320px;
  margin-bottom: 50px;
}

.timeline__content h2 {
  font-size: 18px;
  font-weight: 800;
  color: #1f2d36;
  margin-bottom: 0px;
}

.timeline__content p {
  font-size: 14px;
  line-height: 1.1;
  color: #2b3a42;
  margin-top: 0px;
}

/* ===== FLECHA ROJA ===== */
.timeline__item::before {
  content: "";
  position: absolute;
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #1f2d36;
}

/* ===== PUNTO ===== */
.timeline__item::after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: #6fc7ab;
  border: 4px solid #000;
  border-radius: 50%;
  z-index: 2;
}


/* ===== OCULTAR TIMELINE EN MÓVIL ===== */
@media (max-width: 900px) {
  .timeline {
    display: none;
  }
}
