/* Bengal Origin Co. — Services Page Styles */

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Timeline */
.timeline {
  display: flex;
  gap: var(--space-4);
  position: relative;
}

.timeline__step {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: var(--space-4);
}

.timeline__step::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--color-amber);
  opacity: 0.3;
}

.timeline__step:last-child::before {
  display: none;
}

.timeline__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-amber);
  color: var(--color-charcoal);
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 400;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-2);
}

.timeline__title {
  font-size: var(--text-h4);
  font-weight: 400;
  color: var(--color-green);
  margin-bottom: var(--space-1);
}

.timeline__body {
  font-size: var(--text-body-sm);
  color: var(--color-charcoal);
  line-height: var(--line-height-body);
}

/* Responsive: vertical timeline on mobile */
@media (max-width: 767px) {
  .timeline {
    flex-direction: column;
    gap: var(--space-3);
  }

  .timeline__step {
    text-align: left;
    padding-top: 0;
    padding-left: var(--space-6);
    position: relative;
  }

  .timeline__step::before {
    top: 40px;
    left: 20px;
    right: auto;
    width: 2px;
    height: calc(100% + var(--space-3));
  }

  .timeline__step:last-child::before {
    display: none;
  }

  .timeline__number {
    position: absolute;
    left: 0;
    top: 0;
  }
}
