/* ==========================================================================
   FAQ page.
   ========================================================================== */

.faq-section {
  padding: 70px 0 90px;
  background: #fcfcfc;
}
.faq {
  max-width: 900px;
  margin: 0 auto;
}

.faq-search {
  position: relative;
  margin-bottom: 26px;
}
.faq-search i {
  position: absolute;
  top: 50%;
  inset-inline-start: 18px;
  transform: translateY(-50%);
  color: #c99631;
}
.faq-search__input {
  width: 100%;
  padding: 14px 18px;
  padding-inline-start: 48px;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 16px;
  background: #fff;
}
.faq-search__input:focus {
  outline: none;
  border-color: #c99631;
  box-shadow: 0 0 0 3px rgba(201, 150, 49, .15);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.faq-item[open] {
  border-color: #e3d3a7;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .07);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  color: #222;
}
.faq-item__question::-webkit-details-marker {
  display: none;
}
.faq-item__question::marker {
  content: "";
}
.faq-item__question i {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f6efdc;
  color: #c99631;
  font-size: 13px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item[open] .faq-item__question {
  color: #c99631;
}
.faq-item[open] .faq-item__question i {
  transform: rotate(180deg);
  background: #c99631;
  color: #fff;
}
.faq-item__question:focus-visible {
  outline: 3px solid #c99631;
  outline-offset: -3px;
}

.faq-item__answer {
  padding: 0 24px 20px;
  color: #555;
  font-size: 16px;
  line-height: 1.95;
}
.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-no-results {
  text-align: center;
  color: #777;
  margin-top: 20px;
}

.faq-cta {
  margin-top: 50px;
  text-align: center;
  padding: 36px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fbf6e8, #fff);
  border: 1px solid #efe3c2;
}
.faq-cta h3 {
  font-size: 22px;
  font-weight: 800;
  color: #222;
  margin-bottom: 6px;
}
.faq-cta p {
  color: #666;
  margin-bottom: 18px;
}
