/**
 * How FaresMatch Works — Book Smarter. Save More.
 */

.fm-hiw-section {
  padding: 3.5rem 0 4rem;
  background: #fff;
  border-top: 1px solid #eef2f6;
}

.fm-hiw-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.fm-hiw-head {
  margin-bottom: 2.25rem;
}

.fm-hiw-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(21, 101, 192, 0.08);
  color: #1565c0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.fm-hiw-title {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.15;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.fm-hiw-title span {
  color: #1565c0;
}

.fm-hiw-sub {
  margin: 0.6rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  color: #64748b;
  line-height: 1.55;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.fm-hiw-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.fm-hiw-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem 1.35rem 1.4rem;
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fm-hiw-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.fm-hiw-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #1565c0;
  flex-shrink: 0;
}

.fm-hiw-icon .material-icons {
  font-size: 22px;
  line-height: 1;
}

.fm-hiw-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
}

.fm-hiw-card-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

@media (max-width: 900px) {
  .fm-hiw-cards {
    grid-template-columns: 1fr;
    max-width: 32rem;
  }
}

@media (max-width: 640px) {
  .fm-hiw-section {
    padding: 2.5rem 0 3rem;
  }

  .fm-hiw-inner {
    padding: 0 12px;
  }

  .fm-hiw-head {
    margin-bottom: 1.5rem;
  }

  .fm-hiw-card {
    padding: 1.25rem 1.15rem;
  }
}
