/* ==========================================================================
   Homepage-only rules. If any of these end up reused on a second page,
   promote them into components.css/layout.css and delete them here.
   ========================================================================== */

/* ── Hero ── */
.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-4xl) 0 var(--space-3xl);
  }
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  max-width: var(--max-width-hero-card);
}

@media (min-width: 768px) {
  .hero-card {
    flex-direction: row;
  }
}

.hero-text {
  flex: 0 0 100%;
  max-width: 100%;
}

.hero-video-col {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero-text {
    flex: 0 0 60%;
    max-width: 60%;
  }

  .hero-video-col {
    flex: 0 0 40%;
    max-width: 40%;
  }
}

.hero-text h1 {
  font-size: var(--font-size-display-lg);
  letter-spacing: -0.02em;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.hero-text h1:has(+ h2) {
  margin-bottom: 0;
}

.hero-text h2 {
  margin-bottom: var(--space-md);
}

.hero-highlight {
  text-decoration: underline;
  color: var(--color-cta-bg);
}

.hero-video-wrap {
  width: 100%;
}

.hero-note {
  font-size: var(--font-size-2xs);
  color: var(--color-text-secondary);
  font-weight: 400;
  opacity: 0.6;
  display: block;
  margin-top: var(--space-2xs);
}

/* ── Client logos ── */
.clients {
  padding: var(--space-xl) 0 var(--space-2xl);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.clients-label {
  text-align: center;
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ── Team ── */
.team {
  background: var(--color-surface);
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.team-card > img,
.team-card .ph-image {
  width: 100%;
  height: var(--team-photo-height);
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Alternatives (DIY / hire / agency comparison) ── */
.alternatives-intro {
  margin: 0 0 var(--space-xl) calc(-1 * var(--space-sm));
  text-align: left;
  min-height: 0;
  padding: calc(2 * var(--space-sm)) var(--space-sm);
}

.alternatives-intro .three-col-grid {
  max-width: calc(var(--max-width-alternatives-intro) - 2 * var(--space-sm));
  margin: var(--space-xl) auto 0;
}

/* ── Guarantee ("why work with us") and Lead magnet — promoted to
   components.css since they're now reused by a third page
   (booking-confirmation.html). ── */

/* ── Info-card icon spacing — this page uses real photo icons (not the
   wireframe .ph-image placeholders other pages share .info-card-heading
   with), so the icon-to-heading gap is overridden here only. ── */
.info-card-heading {
  gap: 0;
  padding: var(--space-lg) var(--space-md) 0;
}

.info-card-icon {
  padding: 0 calc(var(--space-xs) / 2) 0 0;
}

/* The six info-cards' own .card--sm padding is removed and reissued
   explicitly on the heading and body paragraph, so the body text's inset
   is independent of the icon/heading box above it — resizing the icon can
   never affect it. Values reproduce the original shared card padding
   exactly. */
.three-col-grid > .card--sm {
  padding: 0;
}

.info-card-heading + p {
  padding: 0 var(--space-md) var(--space-lg);
}

