/* Page-specific tweaks — prefer Bootstrap + common.css classes */

.cost-list-hero-title {
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.cost-list-banner__desc {
  letter-spacing: 0 !important;
  max-width: 36rem;
  opacity: 0.95;
}

/* Content-height banner; clear fixed site header on all screens */
.cost-list-banner.hero-gradient {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  /* ~fixed header/logo bar */
  padding-top: 96px;
  padding-bottom: 28px;
  margin-top: 0;
}

.cost-list-banner .hero-gradient__bg {
  height: 100%;
  max-height: none;
}

.cost-list-banner .hero-gradient__inner {
  position: relative;
  z-index: 2;
}

.cost-list-banner .row {
  align-items: flex-start;
}

/* Side form sits in content flow — doesn't stretch unused banner height */
.cost-list-banner .consult-card {
  margin-bottom: 0;
}

.cost-list__head .cost-section-title {
  font-size: 24px;
}

@media (min-width: 992px) {
  .cost-list-banner.hero-gradient {
    padding-top: 40px;
    padding-bottom: 36px;
  }

  .cost-list-hero-title {
    font-size: 2.5rem;
  }

  .cost-list-banner .row {
    align-items: center;
  }

  .hero-gradient .display-5 {
    font-size: 2.5rem;
  }
}

@media (max-width: 991.98px) {
  .cost-list-banner.hero-gradient {
    /* clear fixed mobile logo/phone bar */
    padding-top: 110px !important;
    padding-bottom: 24px;
    min-height: 0 !important;
  }

  .cost-list-banner .hero-gradient__inner {
    padding-top: 4px;
  }

  .cost-list-hero-title,
  .cost-list-banner .display-5 {
    font-size: 1.75rem !important;
    line-height: 1.25;
  }

  .cost-list-banner__desc {
    font-size: 0.95rem !important;
    margin-bottom: 0.75rem !important;
  }

  .cost-list-banner .hero-kicker {
    margin-bottom: 0.5rem !important;
  }

  .consult-card {
    margin-top: 4px;
  }
}

@media (max-width: 767.98px) {
  .cost-list-banner.hero-gradient {
    padding-top: 104px !important;
    padding-bottom: 20px;
  }

  .cost-list-hero-title,
  .cost-list-banner .display-5 {
    font-size: 1.55rem !important;
  }

  .cost-list .cta-banner--compact {
    flex-direction: row;
    align-items: center;
  }

  .cost-list .cta-banner--compact .btn-call-inverse--sm {
    width: auto;
    flex-shrink: 0;
  }

  .faq-section .section-heading {
    font-size: 24px;
  }
}

@media (max-width: 575.98px) {
  .cost-list-banner.hero-gradient {
    padding-top: 100px !important;
    padding-bottom: 18px;
  }

  .cost-list-hero-title,
  .cost-list-banner .display-5 {
    font-size: 1.4rem !important;
  }

  .hero-trust-item {
    width: 100%;
    justify-content: flex-start;
  }

  .consult-card {
    padding: 18px 16px;
  }

  .cost-list__head .cost-section-title {
    font-size: 20px;
  }

  .cost-section-subtitle {
    font-size: 15px;
  }

  .cost-list__head .d-flex {
    align-items: flex-start;
  }

  .form-select-pill {
    margin-top: 2px;
  }
}
