@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --cream: #fbf6ec;
  --cream-2: #fffaf1;
  --brown: #51270f;
  --brown-soft: #754126;
  --green: #237b38;
  --green-dark: #123f2b;
  --gold: #e9a900;
  --gold-soft: #f7d77d;
  --ink: #182239;
  --muted: #52617b;
  --border: rgba(81, 39, 15, 0.14);
  --shadow: 0 18px 50px rgba(52, 31, 16, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

.faq-section {
  position: relative;
  overflow: hidden;
  padding: 115px 6vw 90px;
  background:
    radial-gradient(
      circle at 90% 12%,
      rgba(233, 169, 0, 0.11),
      transparent 25%
    ),
    radial-gradient(circle at 3% 78%, rgba(35, 123, 56, 0.08), transparent 26%),
    var(--cream);
}

.faq-container {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.faq-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.faq-orb--one {
  width: 280px;
  height: 280px;
  right: -120px;
  top: 180px;
  background: rgba(35, 123, 56, 0.06);
}

.faq-orb--two {
  width: 180px;
  height: 180px;
  left: -80px;
  bottom: 130px;
  background: rgba(233, 169, 0, 0.08);
}

.faq-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.eyebrow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.eyebrow-line {
  width: 42px;
  height: 3px;
  background: var(--gold);
  display: inline-block;
}

.faq-heading h2 {
  margin: 0;
  max-width: 650px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 65px;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--brown);
}

.faq-heading h2 span {
  color: var(--green);
  font-style: italic;
}

.faq-heading > p {
  max-width: 520px;
  margin: 0 0 5px auto;
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 30px;
  align-items: start;
}

.faq-intro-card {
  position: sticky;
  top: 30px;
  min-height: 485px;
  padding: 42px;
  border-radius: 32px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 92% 4%,
      rgba(255, 255, 255, 0.14),
      transparent 27%
    ),
    linear-gradient(145deg, #174c32, #0e3324);
  box-shadow: 0 24px 60px rgba(18, 63, 43, 0.16);
}

.faq-intro-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(239, 190, 38, 0.4);
  border-radius: 50%;
  right: -130px;
  bottom: -120px;
}

.faq-number {
  position: absolute;
  top: 25px;
  right: 30px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 82px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
}

.faq-leaf {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--gold);
  color: var(--brown);
  font-size: 24px;
  margin-bottom: 72px;
}

.faq-intro-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 39px;
  line-height: 1.05;
}

.faq-intro-card h3 span {
  color: #9bd64c;
}

.faq-intro-card p {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

.faq-cta {
  position: relative;
  z-index: 2;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 24px;
  padding: 14px 15px 14px 24px;
  border-radius: 999px;
  color: var(--brown);
  background: var(--gold);
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.faq-cta b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-size: 21px;
}

.faq-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(233, 169, 0, 0.24);
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.faq-item:hover,
.faq-item.active {
  border-color: rgba(233, 169, 0, 0.48);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 27px 28px;
  border: 0;
  background: transparent;
  color: var(--brown);
  text-align: left;
  font:
    700 17px "DM Sans",
    sans-serif;
  cursor: pointer;
}

.faq-icon {
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(35, 123, 56, 0.25);
  border-radius: 50%;
  color: var(--green);
  font-size: 20px;
  font-weight: 400;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.faq-item.active .faq-icon {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-answer > p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  transition: padding 0.35s ease;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer > p {
  padding: 0 28px 28px;
}

.faq-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 46px;
  color: var(--muted);
  font-size: 15px;
}

.faq-bottom a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.faq-bottom a b {
  color: var(--gold);
}

@media (max-width: 900px) {
  .faq-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-heading > p {
    margin: 0;
  }

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

  .faq-intro-card {
    position: relative;
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .faq-section {
    padding: 75px 20px 60px;
  }

  .faq-heading h2 {
    font-size: 48px;
  }

  .faq-heading > p {
    font-size: 16px;
  }

  .faq-intro-card {
    padding: 30px;
    border-radius: 24px;
  }

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

  .faq-intro-card h3 {
    font-size: 34px;
  }

  .faq-question {
    padding: 21px;
    font-size: 15px;
  }

  .faq-item.active .faq-answer > p {
    padding: 0 21px 23px;
  }

  .faq-bottom {
    flex-direction: column;
  }
}
