@import url("base.css");

/* Home page specific overrides */

#services.section--light,
#insights.section--light {
  background: #04152d;
  color: var(--color-text);
}

#services.section--light::before,
#insights.section--light::before {
  display: none;
}


#services .eyebrow,
#insights .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.page-home .section {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.hero__actions .btn--ghost {
  min-width: 220px;
  width: auto;
}

#services .grid--feature {
  grid-auto-rows: 1fr;
}

#services .card--service {
  --card-bg: var(--color-accent);
  background: var(--card-bg);
  border: none;
  color: #04152d;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
  min-height: 260px;
  box-shadow: none;
  transition: var(--transition);
}

#services .card--service:hover {
  background: var(--card-bg);
  color: #04152d;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

#services .card--service h3 {
  margin: 0;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

#services .card--service p {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: inherit;
  text-transform: none;
}

#services .card--service .card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  border: 2px solid currentColor;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  transition: var(--transition);
}

#services .card--service .card__link:hover {
  background: var(--color-accent);
  color: #04152d;
  border-color: #04152d;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

#services .card--service.card--offset {
  margin-top: 0;
}

#insights .insight-card {
  --card-bg: var(--color-brand-sage);
  background: var(--card-bg);
  border-color: transparent;
  color: #04152d;
  box-shadow: 0 24px 40px rgba(4, 21, 45, 0.35);
}

#insights .insight-card:hover {
  background: var(--card-bg);
  color: #04152d;
}

#insights .insight-card__category {
  color: rgba(4, 21, 45, 0.65);
}

#insights .insight-card p {
  color: rgba(4, 21, 45, 0.74);
}

#insights .insight-card__link,
#insights .insight-card:hover .insight-card__link {
  color: #04152d;
}

.page-home .eyebrow + h1,
.page-home .eyebrow + h2,
.page-home .eyebrow + h3,
.page-home .eyebrow + h4,
.page-home .eyebrow + h5,
.page-home .eyebrow + h6 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

 .hero--rev .hero__copy h1 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions .btn--ghost {
    min-width: 0;
  }
}
