/* =========================
   HERO
   ========================= */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: var(--space-xl) 0;
  background-image: url('../images/index-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.hero h1 {
  color: var(--color-white);
}

.hero-text {
  color: rgba(255, 255, 255, 0.8);
  margin: var(--space-sm) 0 var(--space-xs);
}

.hero-actions {
  display: flex;
  gap: var(--space-xs);
}

.hero .button-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  box-shadow: none;
}

.hero-trust {
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .hero {
    min-height: 75vh;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   SERVICES
   ========================= */

.service-row {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr;
  gap: var(--space-md);
  align-items: start;
  padding: 2.75rem 0;
  border-top: 1px solid var(--color-border);
}

.service-main {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: var(--space-xs);
  align-items: start;
}

.service-number {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-text-muted);
  padding-top: 0.45rem;
}

.service-main h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 0;
  max-width: 9ch;
}

.service-copy p {
  line-height: 1.45;
  max-width: 20ch;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    padding: 2.25rem 0;
  }

  .service-main {
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 1.25rem;
  }

  .service-main h2 {
    max-width: none;
  }

  .service-copy {
    padding-left: 55px;
  }

  .service-copy p {
    max-width: 32ch;
  }
}

@media (max-width: 600px) {
  .service-main {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .service-number {
    padding-top: 0;
  }

  .service-copy {
    padding-left: 0;
  }
}

.services-section-footer {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr;
  gap: var(--space-md);
  padding-top: 2.75rem;
  border-top: 1px solid var(--color-border);
}

.services-section-footer .about-link {
  grid-column: 2;
}

@media (max-width: 900px) {
  .services-section-footer {
    grid-template-columns: 1fr;
    padding-top: 2.25rem;
  }

  .services-section-footer .about-link {
    grid-column: 1;
  }
}

/* =========================
   CONTACT SHELL (homepage)
   ========================= */

.contact-shell {
  max-width: 820px;
  margin: var(--space-lg) auto 0;
}
