.w-faq {
  --w-faq-deep: #4c7046;
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  padding: clamp(42px, 6vw, 78px) 24px;
  background: #fff;
  color: #171717;
  font-family: Inter, Arial, sans-serif;
  text-align: left;
}

.w-faq::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #fff;
  content: "";
  pointer-events: none;
}

.w-faq::after {
  content: none;
}

.w-faq--home {
  position: absolute;
  left: 0;
  width: 1440px;
  overflow: visible;
}

.w-faq--home::before {
  right: auto;
  left: 50%;
  width: calc(100vw / var(--page-zoom, 1));
  transform: translateX(-50%);
}

.w-faq__panel {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(30px, 4.8vw, 56px) clamp(18px, 5vw, 66px) 34px;
  border: 0;
  border-radius: clamp(28px, 3.5vw, 42px);
  background: #fff;
}

.w-faq__head {
  margin-bottom: 28px;
  text-align: center;
}

.w-faq__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 13px;
  padding: 4px 7px;
  border: 0;
  border-radius: 999px;
  background: #eeeeee;
  color: #292929;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.w-faq__eyebrow small {
  color: #8a8a8a;
  font-size: 7px;
}

.w-faq__eyebrow i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #1a1a1a;
}

.w-faq__title {
  margin: 0;
  color: #171717;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(29px, 3.4vw, 43px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.w-faq__list {
  display: grid;
  gap: 8px;
  width: min(100%, 700px);
  margin: 0 auto;
}

.w-faq__item {
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #e5ebe2;
  border-radius: 17px;
  background: #f8faf7;
  transition: background-color 280ms ease, border-color 280ms ease, box-shadow 320ms ease;
}

.w-faq__item[open]:not([data-expanded="false"]) {
  border-color: #b3c6ad;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(76, 112, 70, 0.035),
    0 7px 22px rgba(42, 67, 38, 0.065);
}

.w-faq__question {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px;
  color: #171717;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  list-style: none;
}

.w-faq__question::-webkit-details-marker {
  display: none;
}

.w-faq__question:focus-visible {
  outline: 2px solid #222;
  outline-offset: -4px;
}

.w-faq__number {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #eef3eb;
  color: #454545;
  font-size: 10px;
  font-weight: 400;
}

.w-faq__icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #1a1a1a;
  border-radius: 50%;
  background: #131313;
  color: #fff;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  transition: background-color 280ms ease, border-color 280ms ease, color 280ms ease;
}

.w-faq__icon span {
  display: block;
  transform: translateY(-1px);
  transition: transform 420ms cubic-bezier(.22, 1, .36, 1);
}

.w-faq__item[open]:not([data-expanded="false"]) .w-faq__icon {
  border-color: #d7e2d2;
  background: #f0f5ed;
  color: var(--w-faq-deep);
}

.w-faq__item[open]:not([data-expanded="false"]) .w-faq__icon span {
  transform: translateY(-1px) rotate(45deg);
}

.w-faq__answer {
  box-sizing: border-box;
  padding: 0 58px 19px 48px;
  color: #767676;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

.w-faq__answer p {
  margin: 0;
}

.w-faq__answer a,
.w-faq__contact a {
  color: #292929;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.w-faq__answer a:focus-visible,
.w-faq__contact a:focus-visible {
  outline: 2px solid #222;
  outline-offset: 3px;
}

.w-faq__contact {
  margin: 23px 0 0;
  color: #686868;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.w-faq__contact a {
  display: table;
  margin: 4px auto 0;
}

@media (max-width: 600px) {
  .w-faq {
    padding: 38px 14px 45px;
  }

  .w-faq__panel {
    padding: 30px 14px 27px;
    border-radius: 28px;
  }

  .w-faq__head {
    margin-bottom: 23px;
  }

  .w-faq__title {
    font-size: clamp(29px, 8vw, 36px);
  }

  .w-faq__question {
    grid-template-columns: 20px minmax(0, 1fr) 28px;
    gap: 9px;
    min-height: 58px;
    padding: 10px 11px;
    font-size: 13px;
  }

  .w-faq__number {
    width: 20px;
    height: 20px;
  }

  .w-faq__icon {
    width: 28px;
    height: 28px;
  }

  .w-faq__answer {
    padding: 0 16px 18px 40px;
    font-size: 12.5px;
  }
}

/* The standalone mobile preview keeps its phone width inside a wide browser. */
@container phone (max-width: 600px) {
  .w-faq {
    padding: 38px 14px 45px;
  }

  .w-faq__panel {
    padding: 30px 14px 27px;
    border-radius: 28px;
  }

  .w-faq__head {
    margin-bottom: 23px;
  }

  .w-faq__title {
    font-size: clamp(29px, 8cqw, 36px);
  }

  .w-faq__question {
    grid-template-columns: 20px minmax(0, 1fr) 28px;
    gap: 9px;
    min-height: 58px;
    padding: 10px 11px;
    font-size: 13px;
  }

  .w-faq__number {
    width: 20px;
    height: 20px;
  }

  .w-faq__icon {
    width: 28px;
    height: 28px;
  }

  .w-faq__answer {
    padding: 0 16px 18px 40px;
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .w-faq__item,
  .w-faq__icon,
  .w-faq__icon span {
    transition: none;
  }
}
