.cg-faq-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      760px 380px at -8% 12%,
      rgba(217, 184, 167, 0.2),
      transparent 65%
    ),
    linear-gradient(180deg, #fcf7f3 0%, #fffdfb 48%, #f8f1eb 100%);
}

.cg-faq-page > section {
  position: relative;
  isolation: isolate;
}

.cg-faq-page > section > .container {
  position: relative;
  z-index: 2;
}

.cg-faq-page > section::before,
.cg-faq-page > section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.cg-faq-page > section::before {
  top: 8%;
  right: -130px;
  width: clamp(220px, 24vw, 360px);
  height: clamp(220px, 24vw, 360px);
  border: 1px solid rgba(183, 141, 121, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(
      circle at center,
      transparent 58%,
      rgba(183, 141, 121, 0.14) 59% 60%,
      transparent 61% 100%
    ),
    repeating-linear-gradient(
      35deg,
      rgba(183, 141, 121, 0.08) 0 1px,
      transparent 1px 14px
    );
}

.cg-faq-page > section::after {
  left: -110px;
  bottom: 9%;
  width: clamp(190px, 20vw, 290px);
  height: clamp(190px, 20vw, 290px);
  border: 1px solid rgba(183, 141, 121, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.24),
      rgba(243, 231, 223, 0.08)
    ),
    repeating-linear-gradient(
      -30deg,
      rgba(29, 29, 29, 0.05) 0 1px,
      transparent 1px 12px
    );
}

.cg-faq-page__hero {
  padding-bottom: 44px;
}

.cg-faq-page__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: 40px;
}

.cg-faq-page__hero-content {
  max-width: 760px;
}

.cg-faq-page .cg-section-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(217, 184, 167, 0.16);
  color: var(--cg-color-text);
  font-size: 14px;
  line-height: 1;
  margin-bottom: 18px;
}

.cg-faq-page__title {
  margin: 0 0 20px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--cg-color-text);
}

.cg-faq-page__text {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--cg-color-muted);
}

.cg-faq-page__text p:last-child {
  margin-bottom: 0;
}

.cg-faq-page__summary-card {
  padding: 28px;
  border: 1px solid rgba(29, 29, 29, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 56px rgba(45, 28, 19, 0.08);
  backdrop-filter: blur(14px);
}

.cg-faq-page__summary-kicker {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f7769;
}

.cg-faq-page__summary-card p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--cg-color-muted);
}

.cg-faq-page__body {
  padding-top: 36px;
}

.cg-faq-page__list {
  display: grid;
  gap: 16px;
  max-width: 940px;
  margin: 0 auto;
}

.cg-faq-page__item {
  overflow: hidden;
  border: 1px solid rgba(29, 29, 29, 0.07);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(45, 28, 19, 0.06);
}

.cg-faq-page__question {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 26px 30px;
  background: transparent;
  border: 0;
  color: var(--cg-color-text);
  text-align: left;
  cursor: pointer;
}

.cg-faq-page__question:hover {
  background: rgba(243, 231, 223, 0.32);
}

.cg-faq-page__answer {
  padding: 0 30px;
}

.cg-faq-page .cg-faq__question-text {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.cg-faq-page .cg-faq__icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.cg-faq-page .cg-faq__icon::before,
.cg-faq-page .cg-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--cg-color-text);
  transform: translate(-50%, -50%);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.cg-faq-page .cg-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.cg-faq-page .cg-faq__question[aria-expanded="true"] .cg-faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.cg-faq-page__answer-inner {
  padding: 12px 0 12px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--cg-color-muted);
}

.cg-faq-page__answer-inner p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .cg-faq-page__hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cg-faq-page__summary {
    max-width: 520px;
  }
}

@media (max-width: 767px) {
  .cg-faq-page > section::before {
    right: -130px;
    opacity: 0.55;
  }

  .cg-faq-page > section::after {
    left: -120px;
    opacity: 0.5;
  }

  .cg-faq-page__hero {
    padding-bottom: 28px;
  }

  .cg-faq-page__title {
    font-size: clamp(36px, 12vw, 52px);
  }

  .cg-faq-page__text {
    font-size: 16px;
  }

  .cg-faq-page__summary-card {
    padding: 22px;
    border-radius: 24px;
  }

  .cg-faq-page__body {
    padding-top: 24px;
  }

  .cg-faq-page__item {
    border-radius: 22px;
  }

  .cg-faq-page__question {
    padding: 20px 18px;
  }

  .cg-faq-page__answer {
    padding: 0 18px;
  }

  .cg-faq-page__answer-inner {
    padding-bottom: 20px;
    font-size: 15px;
  }
}
