.faq-page {
  background: var(--page);
}

.faq-main {
  overflow: clip;
}

.faq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 38px 0 100px;
  background: #faf9f6;
}

.faq-hero__pulse {
  position: absolute;
  z-index: -1;
  top: -810px;
  right: -770px;
  width: 1880px;
  height: 1880px;
  max-width: none;
  object-fit: cover;
  opacity: .26;
  pointer-events: none;
}

.faq-back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid #e5d9ce;
  border-radius: 999px;
  background: #fffdf9;
  color: #564a42;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.faq-back:hover {
  border-color: #d77b50;
}

.faq-back span {
  color: #dd6530;
  font-size: 20px;
  line-height: 1;
}

.faq-hero__content {
  max-width: 940px;
  margin-top: 82px;
}

.faq-eyebrow {
  color: #a34b25;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.faq-hero h1 {
  max-width: 900px;
  margin-top: 18px;
  color: #24201d;
  font-family: var(--heading-font, "Rubik", Arial, sans-serif);
  font-size: clamp(52px, 6.2vw, 84px);
  font-weight: 760;
  line-height: .99;
  letter-spacing: -.065em;
}

.faq-hero__lead {
  max-width: 760px;
  margin-top: 27px;
  color: #514942;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.6;
}

.faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 31px;
}

.faq-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.faq-hero__facts span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(181, 107, 70, .25);
  border-radius: 999px;
  background: #fffdf9cc;
  color: #5f4b40;
  font-size: 13px;
  font-weight: 700;
}

.faq-content {
  padding: 86px 0 116px;
  background: #f7f4ed;
}

.faq-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 108px;
  min-width: 0;
  padding-top: 8px;
}

.faq-sidebar__title {
  margin-bottom: 15px;
  color: #8d7567;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.faq-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-sidebar a {
  display: flex;
  min-height: 45px;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  color: #514942;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.faq-sidebar a:hover,
.faq-sidebar a:focus-visible {
  background: #fff;
  color: #24201d;
}

.faq-sidebar a span {
  color: #ca6b41;
  font-size: 12px;
  font-weight: 800;
}

.faq-listing {
  min-width: 0;
}

.faq-section {
  scroll-margin-top: 102px;
}

.faq-section + .faq-section {
  margin-top: 70px;
}

.faq-section__head {
  display: flex;
  align-items: start;
  gap: 22px;
  margin-bottom: 24px;
}

.faq-section__index {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border-radius: 12px;
  background: #f8e8dd;
  color: #bc5d30;
  font-size: 13px;
  font-weight: 800;
}

.faq-section h2 {
  color: #2b231f;
  font-family: var(--heading-font, "Rubik", Arial, sans-serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.045em;
}

.faq-section__count {
  margin-top: 7px;
  color: #85766e;
  font-size: 14px;
}

.faq-items {
  overflow: hidden;
  border: 1px solid #e9dfd5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 35px #5434200b;
}

.faq-item + .faq-item {
  border-top: 1px solid #eee8e2;
}

.faq-item[open] {
  background: #fffdf9;
}

.faq-item summary {
  display: block;
  padding: 25px 28px;
  cursor: pointer;
  list-style: none;
}

.faq-item__heading {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: start;
  gap: 17px;
  margin: 0;
  font: inherit;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  border-radius: 10px;
  outline: 3px solid rgba(27, 27, 27, .38);
  outline-offset: -3px;
}

.faq-item__number {
  padding-top: 3px;
  color: #bf6339;
  font-size: 13px;
  font-weight: 800;
}

.faq-item__question {
  display: block;
  color: #302922;
  font-size: clamp(17px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -.017em;
}

.faq-item__icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #ebded3;
  border-radius: 50%;
  color: #9a5a3b;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: #f8e8dd;
}

.faq-item__answer {
  margin: -1px 79px 28px;
  padding-top: 16px;
  border-top: 1px solid #eee8e2;
  color: #584e47;
  font-size: 16px;
  line-height: 1.72;
}

.faq-item__answer p {
  margin: 0;
}

.faq-item__answer p + p,
.faq-item__answer ul {
  margin-top: 10px;
}

.faq-item__answer ul {
  display: grid;
  gap: 5px;
  margin-bottom: 0;
  padding-left: 21px;
}

.faq-end {
  padding: 86px 0 100px;
  border-top: 1px solid #ecdfd1;
  background: linear-gradient(to bottom, #f8f2e9, #fffaf4 55%, #faf9f6);
  text-align: center;
}

.faq-end__inner {
  max-width: 760px;
  margin-inline: auto;
}

.faq-end h2 {
  color: #2b231f;
  font-family: var(--heading-font, "Rubik", Arial, sans-serif);
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.08;
  letter-spacing: -.05em;
}

.faq-end p {
  max-width: 580px;
  margin: 18px auto 0;
  color: #5b514a;
  font-size: 17px;
  line-height: 1.6;
}

.faq-end__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .faq-sidebar {
    position: static;
    padding-top: 0;
  }

  .faq-sidebar nav {
    flex-direction: row;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .faq-sidebar a {
    flex: none;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #e9dfd5;
    background: #fff;
    white-space: nowrap;
  }
}

@media (max-width: 740px) {
  .faq-hero {
    padding: 20px 0 70px;
  }

  .faq-hero__pulse {
    top: -530px;
    right: -735px;
    width: 1500px;
    height: 1500px;
    opacity: .2;
  }

  .faq-hero__content {
    margin-top: 54px;
  }

  .faq-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .faq-hero__lead {
    margin-top: 21px;
    font-size: 16px;
  }

  .faq-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .faq-hero__actions .button {
    width: 100%;
  }

  .faq-content {
    padding: 54px 0 82px;
  }

  .faq-section + .faq-section {
    margin-top: 52px;
  }

  .faq-section__head {
    gap: 14px;
    margin-bottom: 18px;
  }

  .faq-section__index {
    width: 36px;
    height: 36px;
  }

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

  .faq-item summary {
    padding: 21px 16px;
  }

  .faq-item__heading {
    grid-template-columns: 26px minmax(0, 1fr) 28px;
    gap: 9px;
  }

  .faq-item__question {
    font-size: 16px;
    line-height: 1.4;
  }

  .faq-item__icon {
    width: 27px;
    height: 27px;
    font-size: 19px;
  }

  .faq-item__answer {
    margin: -1px 52px 23px;
    padding-top: 13px;
    font-size: 15px;
    line-height: 1.65;
  }

  .faq-end {
    padding: 72px 0 80px;
  }

  .faq-end__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .faq-end__actions .button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .faq-item summary {
    padding-inline: 13px;
  }

  .faq-item__heading {
    grid-template-columns: 21px minmax(0, 1fr) 26px;
    gap: 7px;
  }

  .faq-item__answer {
    margin-inline: 41px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__icon {
    transition: none;
  }
}
