/* ============================================================
   Section 1 — About Hero
   ============================================================ */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-hero__image {
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 16/9;
  background-color: var(--background-primary);

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (width < 1024px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-hero__image {
    aspect-ratio: 16/9;
  }
}

/* ============================================================
   Section 2 — Benefits
   ============================================================ */

.benefits-section {
  position: relative;
  padding: 6rem 0;

  overflow: hidden;
  &::before,
  &::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 12.5rem;
    left: 0;
    z-index: 1;
  }
  &::before {
    top: 0;
    background: linear-gradient(180deg, var(--background-secondary) 0%, rgba(0, 0, 0, 0) 100%);
  }
  &::after {
    bottom: 0;
    background: linear-gradient(0deg, var(--background-secondary) 0%, rgba(0, 0, 0, 0) 100%);
  }
}

.benefits-section__bg {
  position: absolute;
  inset: 0;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.benefits-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 30, 0.85);
}

.benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.benefit-card {
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 0.7;
  background: white;
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 35%, rgba(255, 255, 255, 0.45) 62%, rgba(255, 255, 255, 0) 78%);
  z-index: 1;
  pointer-events: none;
}

.benefit-card__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.benefit-card__body {
  position: relative;
  z-index: 2;
  padding: 1.75rem 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  text-align: center;
}

.benefit-card__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(4, 48, 59, 0.5);
}

.benefit-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--dark-teal);
}

.benefit-card__desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(4, 48, 59, 0.65);
}

.benefit-card__stats {
  position: relative;
  z-index: 2;
  padding: 0 0.875rem 0.875rem;
  display: flex;
  justify-content: center;

  gap: 0.5rem;
}

.benefit-card__stat {
  background: white;
  border-radius: 0.75rem;
  padding: 0.875rem 2rem;
  text-align: center;
  flex: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.benefit-card__stat-num {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--dark-teal);
}

.benefit-card__stat-desc {
  color: rgba(4, 48, 59, 0.75);
  margin-top: 0.125rem;
}

@media (width < 1024px) {
  .benefit-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width < 640px) {
  .benefit-cards {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

/* ============================================================
   Section 3 — Process Timeline
   ============================================================ */

.process-section {
  padding: 6rem 0 8rem;
  background: var(--background-secondary);
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.process-header {
  position: sticky;
  top: 8rem;
}

/* --- Timeline --- */

.timeline-scroll {
  position: relative;
}

.timeline-rail {
  position: absolute;

  left: 1.7rem;
  top: 0.5rem;
  bottom: 1rem;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(199, 145, 27, 0.2);
}

.timeline-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--yellow);
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: timeline-counter;
}

.timeline-item {
  counter-increment: timeline-counter;
  display: grid;
  grid-template-columns: 1.375rem 1fr;
  gap: 0 1.5rem;
  padding-bottom: 4rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot-col {
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 9999px;
  border: 2px solid rgba(199, 145, 27, 0.35);
  background: var(--background-secondary);
  flex-shrink: 0;
  transition:
    border-color 0.4s,
    background-color 0.4s,
    box-shadow 0.4s;
}

.timeline-dot.is-active {
  border-color: var(--yellow);
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(199, 145, 27, 0.15);
}

.timeline-content {
  min-width: 0;
}

.timeline-item-header {
  display: flex;
  justify-content: space-between;

  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin-bottom: 0.625rem;
}

.timeline-item-name {
  font-weight: 500;
  font-size: 1.25rem;
}

.timeline-item-num::before {
  content: counter(timeline-counter, decimal-leading-zero);
  color: var(--yellow);
  font-weight: 600;
}

.timeline-item-date {
  font-size: 0.875rem;
  color: var(--yellow);
  white-space: nowrap;
  font-style: normal;
}

.timeline-item-title {
  font-weight: 600;

  margin-bottom: 0.375rem;
}

.timeline-item-desc {
  font-size: 0.875rem;
  color: rgba(4, 48, 59, 0.6);
  line-height: 1.75;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (width < 1024px) {
  .process-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-header {
    position: static;
  }

  .timeline-item-header {
    flex-direction: column;
    gap: 0.2rem;
  }
  .timeline-item {
    margin-left: 0rem;
  }
  .timeline-rail {
    left: 0.675rem;
  }
}

@media (width < 640px) {
  .process-section {
    padding: 4rem 0 6rem;
  }
}

/* ============================================================
   Section 4 — Download / Gallery CTA
   ============================================================ */

.gallery-img {
  position: absolute;
  object-fit: cover;

  pointer-events: none;
  user-select: none;
  background-color: var(--background-primary);
}
