/* ── TIMELINE ── */
.st-timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.st-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dde8e6;
  transform: translateX(-50%);
}

.st-item {
  display: flex;
  justify-content: flex-start;
  padding: 24px 0;
  position: relative;
}

.st-item:nth-child(even) {
  justify-content: flex-end;
}

.st-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 40px;
  width: 14px;
  height: 14px;
  background: var(--rp-teal);
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(13, 184, 168, 0.15);
}

.st-card {
  width: 44%;
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f5f3;
  position: relative;
}

.st-card::before {
  content: '';
  position: absolute;
  top: 38px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 1px solid #f0f5f3;
  transform: rotate(45deg);
  z-index: -1;
}

.st-item:nth-child(odd) .st-card::before {
  right: -9px;
  border-left: none;
  border-bottom: none;
}

.st-item:nth-child(even) .st-card::before {
  left: -9px;
  border-right: none;
  border-top: none;
}

.st-card-number {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rp-teal);
  background: var(--rp-teal-light);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.st-card-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--rp-text);
}

.st-card-text h1,
.st-card-text h2,
.st-card-text h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--rp-text);
}

.st-card-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.st-card-images img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .st-timeline::before {
    left: 24px;
  }

  .st-item {
    justify-content: flex-end;
    padding: 20px 0;
  }

  .st-item::before {
    left: 24px;
    top: 36px;
    width: 12px;
    height: 12px;
  }

  .st-card {
    width: calc(100% - 56px);
    padding: 20px;
  }

  .st-card::before {
    display: none;
  }

  .st-card-number {
    font-size: 10px;
    padding: 3px 8px;
  }

  .st-card-text {
    font-size: 14px;
  }

  .st-card-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .st-card {
    padding: 16px;
  }

  .st-card-images {
    grid-template-columns: 1fr;
  }
}
