.faq-hero-shell {
  padding-bottom: 72px;
}

.faq-hero {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 16px;
  text-align: center;
}

.faq-hero h1 {
  max-width: 820px;
  margin: 16px auto 0;
  color: var(--hero-text);
  font-size: clamp(2.4rem, 5vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.faq-hero p {
  width: min(680px, 100%);
  margin: 22px auto 0;
  color: var(--hero-soft);
  font-size: 1rem;
  line-height: 1.85;
}

.faq-site-root .menu-close {
  position: relative;
}

.faq-site-root .menu-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.faq-site-root .menu-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.faq-main {
  padding-top: 62px;
}

.faq-section-page {
  gap: 0;
}

.faq-panel {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(16, 22, 21, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86)),
    var(--surface);
  box-shadow:
    0 28px 72px rgba(12, 19, 17, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.faq-list {
  display: grid;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #158765);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(20, 154, 111, 0.18);
}

.faq-question {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: 0;
}

.faq-control {
  width: 20px;
  height: 20px;
  color: var(--green-deep);
  transition: transform 160ms ease;
}

.faq-item[open] .faq-control {
  transform: rotate(180deg);
}

.faq-answer {
  margin: -4px 0 30px 68px;
  padding: 2px 0 2px 28px;
  border-left: 3px solid var(--green);
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  font-weight: 560;
  line-height: 1.78;
}

@media (max-width: 780px) {
  .faq-hero-shell {
    padding-bottom: 48px;
  }

  .faq-hero {
    width: min(100% - 24px, 980px);
    padding: 46px 0 8px;
    text-align: left;
  }

  .faq-main {
    padding-top: 44px;
  }

  .faq-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .faq-item summary {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 76px;
  }

  .faq-mark {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }

  .faq-question {
    font-size: 0.98rem;
    line-height: 1.36;
  }

  .faq-answer {
    margin: -2px 0 24px 44px;
    padding-left: 18px;
  }
}
