/* Page-specific overrides */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.why-item__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 111, 181, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-blue);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-2xl);
}

.why-item__title {
  margin-bottom: var(--space-3);
}

.why-item__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.error-page {
  text-align: center;
  padding: var(--space-24) var(--space-6);
}

.error-page__code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-gray-200);
  line-height: 1;
  margin-bottom: var(--space-4);
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Homepage (premium editorial) --- */
.hero--home {
  background: var(--color-white);
  color: var(--color-text);
  padding: var(--space-16) 0 var(--space-12);
}

.hero--home::before {
  display: none;
}

.hero--home .hero__content h1 {
  color: var(--color-navy);
}

.hero--home .hero__subtitle {
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
}

.hero__inner--home {
  align-items: center;
}

.hero__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
}

.hero--home .hero__btn-outline {
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.hero--home .hero__btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.hero--home .trust-strip {
  background: transparent;
  padding: 0;
  justify-content: flex-start;
}

.section--compact {
  padding-block: var(--space-10);
}

.stats-grid--home {
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid--home .stat-item__number {
  color: var(--color-navy);
}

.trust-strip--inline {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--space-4);
}

.trust-strip--vertical {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-8);
}

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.why-item__icon svg {
  stroke: currentColor;
}

@media (max-width: 768px) {
  .stats-grid--home {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__media {
    order: -1;
  }
}

@media (max-width: 480px) {
  .stats-grid--home {
    grid-template-columns: 1fr;
  }
}
