/* ==========================================================================
   Homepage — Page-specific styles
   Depends on: tokens.css, base.css, layout.css, components.css

   Only layout and presentation rules unique to the homepage.
   Shared components (hero, cards, buttons, etc.) live in components.css.
   ========================================================================== */

/* -----------------------------------------------------------------------
   Hero strapline (homepage only)
   ----------------------------------------------------------------------- */

.hero__strapline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-brand-cyan-400);
  margin-bottom: var(--space-4);
}

/* -----------------------------------------------------------------------
   Homepage hero — taller on desktop, centered vertically
   ----------------------------------------------------------------------- */

.hero--home {
  padding-block: var(--space-20) var(--space-16);
}

@media (min-width: 48rem) {
  .hero--home {
    padding-block: var(--space-24) var(--space-20);
  }
}

@media (min-width: 64rem) {
  .hero--home {
    min-height: 80vh;
    padding-block: 0;
  }
}

/* -----------------------------------------------------------------------
   Step cards (How it works — homepage only)
   ----------------------------------------------------------------------- */

.step-card {
  text-align: center;
  padding: var(--space-8);
}

.step-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-inline: auto;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  color: var(--color-surface-white);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
  line-height: 1;
}

.step-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.step-card__desc {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
}

/* -----------------------------------------------------------------------
   Testimonial section — centred layout
   ----------------------------------------------------------------------- */

.testimonial-section .testimonial {
  max-width: 40rem;
  margin-inline: auto;
}

/* -----------------------------------------------------------------------
   Section rhythm — consistent vertical spacing between homepage sections
   ----------------------------------------------------------------------- */

.services-overview {
  padding-block: var(--space-16);
}

.why-choose {
  padding-block: var(--space-16);
}

.how-it-works {
  padding-block: var(--space-16);
}

.testimonial-section {
  padding-block: var(--space-16);
}

/* -----------------------------------------------------------------------
   Responsive adjustments — homepage only
   ----------------------------------------------------------------------- */

@media (min-width: 48rem) {
  .services-overview,
  .why-choose,
  .how-it-works,
  .testimonial-section {
    padding-block: var(--space-20);
  }
}

@media (min-width: 64rem) {
  .services-overview,
  .why-choose,
  .how-it-works,
  .testimonial-section {
    padding-block: var(--space-24);
  }
}
