.faq-cta,
.faq-hero,
.quick-card,
.quick-section h2 {
  text-align: center
}

.faq-cta-btn,
.faq-main,
.faq-search-bar input,
.faq-tab {
  font-family: var(--font-third)
}

.faq-page-body {
  background: #f9fafb;
  color: #333
}

.faq-main {
  padding: 0
}

.faq-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 480px;
  background: linear-gradient(rgb(10 50 48 / 72%), rgb(10 50 48 / 68%)) fixed, url(../images/joe-chapin/faq-bg.webp) center center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h, 80px);
  top: -50px
}

.faq-question,
.faq-search-wrap,
.faq-section,
.faq-tab {
  background: #fff
}

.faq-hero .container {
  position: relative;
  z-index: 10;
  color: #fff
}

.faq-hero h1 {
  font-size: 60px;
  font-weight: 700
}

.faq-hero p {
  font-size: 1.05rem;
  opacity: .85;
  margin: 0 auto
}

.faq-search-bar {
  max-width: 600px;
  margin: 0 auto;
  position: relative
}

.faq-search-bar input {
  width: 100%;
  padding: .9rem 1.2rem .9rem 3rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 16px;
  color: #333;
  outline: 0;
  transition: border-color .2s;
  height: 75px
}

.faq-search-bar input:focus {
  border-color: #0f8b80;
  background: #fff
}

.faq-search-bar svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa
}

.faq-tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding: 1.5rem 0 2rem;
  flex-wrap: wrap
}

.faq-list,
.faq-tab {
  gap: .4rem;
  display: flex
}

.faq-tab {
  padding: .55rem 1.2rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: .2s;
  align-items: center
}

.faq-tab:hover {
  border-color: #0f8b80;
  color: #0f8b80
}

.faq-tab.active {
  background: #0f8b80;
  border-color: #0f8b80;
  color: #fff
}

.faq-tab .tab-count {
  font-size: .75rem;
  opacity: .75
}

.faq-section {
  padding: 0 0 3rem
}

.faq-list {
  margin: 0 auto;
  flex-direction: column
}

.faq-item {
  border: 1.5px solid #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .2s
}

.faq-item.open {
  box-shadow: 0 4px 16px rgba(15, 139, 128, .08);
  border-color: #d1ede9
}

.faq-question {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  user-select: none;
  transition: background .15s
}

.faq-question:hover {
  background: #f7fbfa
}

.faq-question svg.faq-icon {
  color: #0f8b80;
  flex-shrink: 0
}

.faq-question span {
  flex: 1;
  font-size: .95rem;
  font-weight: 600;
  color: #111
}

.faq-chevron {
  color: #aaa;
  transition: transform .25s;
  flex-shrink: 0
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: #0f8b80
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s, padding .2s;
  padding: 0 1.4rem 0 3.5rem
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.4rem 1.2rem 3.5rem
}

.faq-answer p {
  font-size: .9rem;
  color: #666;
  line-height: 1.7
}

.faq-item[data-hidden=true] {
  display: none
}

.quick-section {
  padding: 4rem 0;
  background: #f9fafb
}

.quick-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 2.5rem
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem
}

.quick-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.4rem 1.2rem;
  border: 1.5px solid #f0f0f0;
  transition: box-shadow .2s
}

.quick-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .07)
}

.quick-card__label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .4rem
}

.quick-card__value {
  font-size: 19px;
  font-weight: 600;
  color: #0f8b80;
  margin-bottom: .2rem
}

.quick-card__sub {
  font-size: .78rem;
  color: #aaa
}

.faq-cta {
  background: var(--teal-dark, #0f8b80);
  padding: 4.5rem 0;
  color: #fff
}

.faq-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: .7rem
}

.faq-cta p {
  font-size: 1rem;
  opacity: .85;
  margin-bottom: 2rem
}

.faq-cta__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap
}

.faq-cta-btn {
  padding: .85rem 2rem;
  border-radius: 9999px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  border: none;
  transition: .2s
}

.faq-cta-btn--white {
  background: #fff;
  color: #0f8b80
}

.faq-cta-btn--white:hover {
  background: #f0f0f0;
  color: #0f8b80
}

.faq-cta-btn--outline {
  background: 0 0;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .6)
}

.faq-cta-btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1)
}

@media (max-width:900px) {
  .faq-hero {
    top: 0;
    height: auto;
    padding: 120px 0 60px
  }

  .faq-hero h1 {
    font-size: clamp(2rem, 8vw, 3.5rem)
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:600px) {
  .quick-grid {
    grid-template-columns: 1fr
  }

  .faq-answer,
  .faq-item.open .faq-answer {
    padding-left: 1.5rem
  }

  .faq-tabs {
    justify-content: center;
    padding: 1rem
  }
}