/* =============================================================================
   TRIPLANKA — WHY-SRI-LANKA.CSS
   ============================================================================= */

.why-hero { min-height: 480px; }
@media (min-width: 768px) { .why-hero { min-height: 580px; } }

/* Intro */
.why-intro__text {
  font-size: var(--text-md);
  color: var(--text-mid);
  line-height: var(--leading-relaxed);
  max-width: 720px;
  margin-inline: auto;
}

/* Stats bar */
.why-stats { padding-block: var(--space-12); }

.why-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  text-align: center;
}

@media (min-width: 768px) { .why-stats__grid { grid-template-columns: repeat(4, 1fr); } }

.why-stat {}

.why-stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--blue-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

@media (min-width: 768px) { .why-stat__number { font-size: var(--text-4xl); } }

.why-stat__label {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: var(--leading-snug);
}

/* Six reasons */
.why-reasons__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px)  { .why-reasons__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-reasons__grid { grid-template-columns: repeat(3, 1fr); } }

.why-reason-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-deeper);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-reason-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-pale));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--blue-primary);
  margin-bottom: var(--space-5);
}

.why-reason-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  color: var(--text-dark);
  margin-bottom: var(--space-3);
}

.why-reason-card__text {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* Comparison table */
.why-compare-table-wrap { overflow-x: auto; }

.why-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 600px;
}

.why-compare-table th {
  padding: var(--space-4);
  text-align: center;
  background: var(--blue-dark);
  color: var(--white);
  font-weight: var(--weight-semi);
  font-size: var(--text-sm);
}

.why-compare-table th:first-child { text-align: left; min-width: 200px; }

.why-compare-table th.highlight-col {
  background: var(--blue-primary);
  color: var(--white);
}

.why-compare-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--cream-deeper);
  text-align: center;
  color: var(--text-mid);
  line-height: var(--leading-snug);
}

.why-compare-table td:first-child {
  text-align: left;
  font-weight: var(--weight-medium);
  color: var(--text-dark);
}

.why-compare-table td.highlight-col {
  background: var(--blue-pale);
  color: var(--blue-dark);
  font-weight: var(--weight-semi);
}

.why-compare-table tr:hover td { background: var(--cream-dark); }
.why-compare-table tr:hover td.highlight-col { background: var(--blue-pale); }

.why-compare-table .fa-check-circle { color: var(--blue-primary); }
.why-compare-table .fa-xmark-circle { color: var(--color-error); opacity: 0.6; }
.why-compare-table .fa-minus        { color: var(--text-light); }

/* Quote */
.why-quote { padding-block: var(--space-20); }

.why-quote__icon {
  font-size: 3rem;
  color: rgba(0, 0, 128, 0.15);
  display: block;
  margin-bottom: var(--space-6);
}

.why-quote__text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: var(--weight-light);
  color: var(--text-dark);
  line-height: var(--leading-relaxed);
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.why-quote__cite {
  font-size: var(--text-sm);
  color: var(--gold-dark);
  font-style: normal;
  letter-spacing: 0.05em;
}

/* CTA */
.why-cta__heading {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--text-dark);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) { .why-cta__heading { font-size: var(--text-3xl); } }

.why-cta__text {
  font-size: var(--text-md);
  color: var(--text-mid);
  margin-bottom: var(--space-8);
}

.why-cta__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}
