/* ================= FAQ HERO ================= */
.faqHero {
  position: relative;
  height: 440px;
  margin-top: 64px;
  overflow: hidden;
  background: var(--bg-light); /* optional beige background behind image */
}

.faqHero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faqHero h1 {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Cormorant", serif;
  font-size: 76px;
  font-style: italic;
  font-weight: 500;
  color: #fff;
}

/* ================= FAQ MAIN ================= */
.faqMainSection {
  padding: 84px 8% 110px;

  background:
    radial-gradient(circle at 8% 40%, rgba(255,153,102,0.42), transparent 28%),
    radial-gradient(circle at 92% 78%, rgba(255,189,135,0.34), transparent 30%),
    var(--bg-light);

  overflow: hidden;
}

.faqIntro {
  text-align: center;
  margin-bottom: 58px;
}

.faqIntro h2 {
  font-family: "Cormorant", serif;
    font-size: var(--title-md);
  font-weight: 500;
  line-height: 1.12;
  color: var(--text-brown);
}

.faqIntro h2 span {
  font-style: italic;
}


/* ================= FAQ LIST ================= */
.faqList {
  max-width: 1060px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  align-items: start;
}

.faqCard {
  border-radius: 30px;
  overflow: hidden;
  background: rgba(224,215,198,0.75);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.faqCard.active {
  background: #fff;
  box-shadow: 0 8px 20px rgba(110,55,27,0.16);
}

.faqQuestion {
  width: 100%;
  min-height: 70px;

  border: none;
  background: transparent;
  color: var(--btn-green);

  padding: 20px 26px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  text-align: left;
  cursor: pointer;
}

.faqQuestion > span {
  font-size: var(--text-md);
  font-weight: 500;
  line-height: 1.3;
}

.faqArrowCircle {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  position: relative;
  transition: transform 0.35s ease;
}

.faqArrowCircle span {
  display: none;
}

.faqArrowCircle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;

  width: 11px;
  height: 11px;

  border-right: 4px solid var(--btn-green);
  border-bottom: 4px solid var(--btn-green);
  border-radius: 2px;

  transform: translate(-50%, -65%) rotate(45deg);
}

.faqCard.active .faqArrowCircle {
  transform: rotate(180deg);
}

.faqAnswer {
  background: #fff;
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  transition: max-height 0.42s ease, padding 0.42s ease;
}

.faqCard.active .faqAnswer {
  max-height: 260px;
  padding: 0 26px 26px;
}

.faqAnswer p {
  color: var(--btn-green);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin-bottom: 14px;
}

.faqAnswer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 120px;
  padding: 9px 22px;

  border-radius: var(--btn-radius);
  border: 2px solid var(--btn-green);

  background: transparent;
  color: var(--btn-green);

  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;

  transition: all 0.3s ease;
}

.faqAnswer a:hover {
  background: var(--btn-green);
  color: var(--btn-green-text);
}


/* ================= VIEW MORE ================= */
.faqViewMoreWrap {
  display: none;
  text-align: center;
  margin-top: 34px;
}

.faqViewMoreBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 38px;

  border-radius: var(--btn-radius);
  border: 2px solid var(--btn-green);

  background: var(--btn-green);
  color: var(--btn-green-text);

  font-size: var(--text-sm);
  font-weight: 700;

  transition: all 0.3s ease;
}

.faqViewMoreBtn:hover {
  background: transparent;
  color: var(--btn-green);
}


/* ================= FOOTER ================= */
.faqFooter {
  background: var(--brown-main);
  padding-top: 90px;
}


/* ================= TABLET ================= */
@media screen and (max-width: 1100px) {
  .faqHero {
    height: 300px;
  }

  .faqList {
    gap: 24px;
  }
}


/* ================= MOBILE ================= */
@media screen and (max-width: 600px) {
  .faqHero {
    height: 290px;
    margin-top: 0;
  }

  .faqHero h1 {
    font-size: 70px;
  }

  .faqHero::after {
    height: 70px;
  }

  .faqMainSection {
    padding: 58px 22px 76px;
  }

  .faqIntro {
    margin-bottom: 42px;
  }

  .faqIntro h2 {
    font-size: 36px;
  }

  .faqList {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .faqCard {
    border-radius: 28px;
  }

  .faqQuestion {
    min-height: 80px;
    padding: 20px 26px;
  }

  .faqQuestion > span {
    font-size: 18px;
  }

  .faqAnswer {
    padding: 0 26px 26px;
  }

  .faqAnswer p {
    font-size: 15px;
  }

  .faqAnswer a {
    font-size: 13px;
    padding: 9px 22px;
  }

  .faqExtra {
    display: none;
  }

  .faqMainSection.show-all .faqExtra {
    display: block;
  }

  .faqViewMoreWrap {
    display: block;
  }

  .faqFooter {
    padding-top: 60px;
  }
}
/* ================= FAQ MOBILE RESPONSIVE ================= */
@media screen and (max-width: 600px) {

  /* Stack FAQ cards vertically */
  .faqList {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    padding: 0;
  }

  /* All FAQ cards same width with padding */
  .faqCard {
    width: 100%;
    max-width: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(224,215,198,0.75);
    transition: background 0.35s ease, box-shadow 0.35s ease;
    box-sizing: border-box;
  }

  /* Question styling */
  .faqQuestion {
    width: 100%;
    min-height: 70px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--btn-green);
    cursor: pointer;
    background: transparent;
    border: none;
    box-sizing: border-box;
  }

  .faqQuestion > span {
    line-height: 1.3;
  }

  /* Arrow */
  .faqArrowCircle {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    position: relative;
    transition: transform 0.35s ease;
  }

  .faqArrowCircle::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 48%;
    width: 11px;
    height: 11px;
    border-right: 4px solid var(--btn-green);
    border-bottom: 4px solid var(--btn-green);
    border-radius: 2px;
    transform: translate(-50%, -65%) rotate(45deg);
  }

  .faqCard.active .faqArrowCircle {
    transform: rotate(180deg);
  }

  /* Answer styling with fixed transition to prevent half-open bug */
  .faqAnswer {
    background: #fff;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.42s ease, padding 0.42s ease;
    box-sizing: border-box;
  }

  .faqCard.active .faqAnswer {
    max-height: 999px; /* allow full expansion */
    padding: 16px 24px 24px;
  }

  .faqAnswer p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--btn-green);
    margin-bottom: 14px;
  }

  .faqAnswer a {
    font-size: 13px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--btn-radius);
    border: 2px solid var(--btn-green);
    background: transparent;
    color: var(--btn-green);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .faqAnswer a:hover {
    background: var(--btn-green);
    color: var(--btn-green-text);
  }

  /* Hide original "VIEW MORE" button */
  .faqViewMoreWrap {
    display: none !important;
  }

  /* Hero adjustments */
  .faqHero {
    height: 290px;
    margin-top: 0;
  }

  .faqHero h1 {
    font-size: 70px;
  }

  .faqHero::after {
    height: 70px;
  }

  .faqMainSection {
    padding: 58px 22px 76px;
  }

  .faqIntro {
    margin-bottom: 42px;
  }

  .faqIntro h2 {
    font-size: 36px;
  }
}
@media screen and (max-width: 600px) {
  /* Show all FAQ cards, including those marked as extra */
  .faqExtra {
    display: block !important;
  }
}