/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { background: var(--off-white); }

.how-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 16px;
  margin-top: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  margin-top: 3.5rem;
  position: relative;
}

.how-steps::before {
  content:'';
  position:absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  opacity: 0.3;
  z-index: 0;
}

.how-line-fill {
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 0;
  border-radius: 2px;
}
@media (max-width: 900px) {
  .how-line-fill { display: none; }
}

.how-step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.how-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--off-white);
  box-shadow: 0 0 0 2px var(--teal);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}
.how-step:hover .how-num {
  transform: scale(1.12);
  box-shadow: 0 0 0 2px var(--teal), 0 8px 24px rgba(4,106,129,0.35);
}

.how-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.how-desc {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: repeat(2,1fr);
    gap: 2.5rem 1rem;
    margin-top: 2.5rem;
  }
  .how-steps::before { display: none; }
  .how-img { height: 260px; }
}
@media (max-width: 600px) {
  .how-steps { grid-template-columns: 1fr; gap: 2rem; }
}

