/* homepage.css — Hero and homepage-specific styles */

/* ===================== */
/* Hero Section          */
/* ===================== */

.hero {
  background-color: var(--color-bg-black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-block: var(--space-xl);
}

.hero-inner {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  display: block;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  color: var(--color-text-white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: var(--space-md);
}

.hero-subtext {
  font-size: var(--text-body-large);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: var(--space-md);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Hero bottom edge accent */
.hero-edge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-edge-line {
  width: 100%;
  height: 1px;
  background-color: var(--color-border-subtle);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-edge-arrow {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-black);
  padding-inline: 8px;
}

.hero-edge-arrow svg {
  width: 20px;
  height: 20px;
  fill: var(--color-primary);
}

/* ===================== */
/* Services Overview     */
/* ===================== */

.services-overview {
  background-color: var(--color-bg-dark);
}

.services-overview-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.services-overview-header h2 {
  color: var(--color-text-white);
  margin-top: var(--space-xs);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-card);
  margin-bottom: var(--space-lg);
}

.services-link-wrap {
  text-align: center;
}

/* ===================== */
/* Why DTM               */
/* ===================== */

.why-dtm {
  background-color: var(--color-bg-light);
}

.why-dtm-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  justify-content: center;
}

.why-dtm-stats .stat-label {
  color: var(--color-text-dark-body);
}

.why-dtm-text h2 {
  color: var(--color-text-dark-heading);
  margin-bottom: var(--space-md);
}

.why-dtm-text p {
  font-size: var(--text-body-large);
  color: var(--color-text-dark-body);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.why-dtm-text a.teal-link {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-body);
}

.why-dtm-text a.teal-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===================== */
/* Responsive            */
/* ===================== */

@media (max-width: 767px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
