/* ============================================
   HOW IT WORKS — Page-specific styles
   ============================================ */

/* --- Hero --- */
.hiw-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hiw-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hiw-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hiw-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(45, 49, 66, 0.75) 0%,
    rgba(45, 49, 66, 0.50) 60%,
    rgba(74, 124, 89, 0.25) 100%
  );
}
.hiw-hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 640px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hiw-hero__content h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.hiw-hero__content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 0;
}

/* --- Steps Grid --- */
.hiw-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: start;
}
.hiw-steps h2 { margin-bottom: 4px; }

/* --- Steps List --- */
.steps-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--cream-dark);
  position: relative;
}
.step:last-child { border-bottom: none; }

.step__number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(74,124,89,0.25);
}
.step__body h3 {
  margin-bottom: 8px;
  color: var(--charcoal);
}
.step__body p {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  margin-bottom: 0;
  line-height: 1.75;
}

/* --- Sticky Image --- */
.hiw-image {
  position: sticky;
  top: 96px;
}
.hiw-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: 0 16px 48px rgba(45,49,66,0.15);
}
.hiw-image__card {
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--amber);
  padding: 20px 24px;
  margin-top: 20px;
  box-shadow: var(--shadow);
}
.hiw-image__stat {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--sage);
  margin-bottom: 6px;
}
.hiw-image__note {
  font-size: 0.88rem;
  color: var(--charcoal-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Facilities Callout --- */
.hiw-facilities__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hiw-facilities__text h2 { margin-bottom: 4px; }
.hiw-facilities__text p  { color: var(--charcoal-light); font-size: 0.97rem; }

.hiw-facilities__pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hiw-pill {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--sage);
  transition: transform var(--transition), box-shadow var(--transition);
}
.hiw-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(45,49,66,0.13);
}
.hiw-pill__icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  line-height: 1;
}
.hiw-pill h4 {
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.3;
}
.hiw-pill p {
  font-size: 0.88rem;
  color: var(--charcoal-light);
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hiw-image {
    position: static;
    max-width: 480px;
    margin: 0 auto;
  }
  .hiw-image img { aspect-ratio: 4/3; }
  .hiw-facilities__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 640px) {
  .hiw-hero { min-height: 42vh; }
  .step { gap: 16px; }
  .step__number { width: 36px; height: 36px; font-size: 0.88rem; }
  .hiw-facilities__pillars { gap: 16px; }
}
