/* =========================================
   FAQ HERO
========================================= */

.faq-hero {
  padding: 90px 0;
  background: var(--cream);
  text-align: center;
}

.faq-hero .container {
  max-width: 760px;
}

.faq-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 5vw, 60px);
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 14px;
}

.faq-hero p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}


/* =========================================
   FAQ LAYOUT
========================================= */

.faq-section {
  padding: 90px 0 110px;
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}


/* =========================================
   SIDEBAR
========================================= */

.faq-sidebar {
  position: sticky;
  top: 110px;
}

.faq-sidebar h3 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 18px;
}

.faq-sidebar a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  transition: 0.2s ease;
}

.faq-sidebar a:hover {
  color: var(--brown);
  padding-left: 5px;
}


/* =========================================
   CATEGORY
========================================= */

.faq-category {
  margin-bottom: 70px;
}

.faq-category h2 {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  color: var(--dark);
  margin-bottom: 22px;
}


/* =========================================
   FAQ ITEM
========================================= */

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  text-align: left;
  color: var(--dark);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.faq-question b {
  font-size: 22px;
  font-weight: 400;
  color: var(--brown);
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  max-width: 760px;
  padding: 0 45px 22px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 250px;
}

.faq-item.active .faq-question b {
  transform: rotate(45deg);
}


/* =========================================
   CONTACT CTA
========================================= */

.faq-contact {
  padding: 40px;
  background: var(--dark);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

.faq-contact span {
  display: block;
  color: #c7ad93;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.faq-contact h2 {
  font-family: "Playfair Display", serif;
  font-size: 29px;
  margin-bottom: 7px;
}

.faq-contact p {
  color: #bdb8b1;
  font-size: 12px;
  line-height: 1.6;
}

.faq-contact a {
  min-width: 135px;
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #fff;
  color: var(--dark);

  font-size: 12px;
  font-weight: 600;

  padding: 0 20px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 850px) {

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-sidebar {
    position: static;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .faq-sidebar h3 {
    width: 100%;
  }

  .faq-sidebar a {
    padding: 9px 13px;

    border: 1px solid var(--border);
  }

}

@media (max-width: 650px) {

  .faq-hero,
  .faq-section {
    padding: 70px 0;
  }

  .faq-category {
    margin-bottom: 55px;
  }

  .faq-category h2 {
    font-size: 29px;
  }

  .faq-contact {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 25px;
  }

}