.page-faq {
  position: relative;
  background: var(--bg-primary);
  color: var(--cream);
  overflow-x: hidden;
  padding-bottom: 72px;
}

.page-faq__hero {
  position: relative;
  padding: 36px 0 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 164, 76, 0.16), transparent 36%),
    radial-gradient(circle at 88% 70%, rgba(13, 10, 31, 0.72), transparent 52%),
    linear-gradient(160deg, var(--bg-primary) 20%, var(--bg-deep) 92%);
}

.page-faq__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 240, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 240, 230, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.page-faq__hero::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: 4%;
  top: 14%;
  border: 1px solid rgba(201, 164, 76, 0.24);
  transform: rotate(45deg);
  pointer-events: none;
}

.page-faq__hero .container {
  position: relative;
  z-index: 1;
}

.page-faq .breadcrumb {
  margin-bottom: 22px;
}

.page-faq .breadcrumb__item {
  color: var(--gray-light);
}

.page-faq .breadcrumb__item[aria-current="page"] {
  color: var(--gold);
}

.page-faq__heroGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.page-faq__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-faq__title {
  font-family: var(--font-title);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  margin: 0 0 16px;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.page-faq__lead {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-light);
  max-width: 54ch;
  margin: 0;
}

.page-faq__heroFigure {
  margin: 0;
  border: 1px solid var(--glass-white);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.page-faq__heroImg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.page-faq__quickFind {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid var(--glass-white);
  border-radius: 6px;
  background: rgba(13, 10, 31, 0.42);
}

.page-faq__quickFindIcon {
  flex: 0 0 auto;
  color: var(--gold);
}

.page-faq__quickFindText {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  color: var(--gray-light);
}

.page-faq__quickFindText a {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.page-faq__quickFindText a:hover,
.page-faq__quickFindText a:focus-visible {
  color: var(--gold);
}

.page-faq__quickDot {
  color: var(--gold);
  opacity: 0.6;
}

.page-faq__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}

.page-faq__toc {
  border: 1px solid var(--glass-white);
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(26, 22, 56, 0.5), rgba(13, 10, 31, 0.72));
  padding: 20px;
  align-self: start;
}

.page-faq__tocLabel {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-faq__tocList {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.page-faq__tocList li + li {
  margin-top: 8px;
}

.page-faq__tocList a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--gray-light);
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-faq__tocList a:hover,
.page-faq__tocList a:focus-visible {
  background-color: var(--glass-white);
  color: var(--cream);
}

.page-faq__tocNum {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.2;
  color: var(--gold);
  border: 1px solid rgba(201, 164, 76, 0.42);
  border-radius: 3px;
  padding: 3px 6px;
}

.page-faq__tocNote {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-white);
}

.page-faq__tocNote p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.6;
}

.page-faq .btn--ghost {
  width: 100%;
  justify-content: center;
}

.page-faq__content {
  min-width: 0;
}

.page-faq__section {
  scroll-margin-top: 24px;
}

.page-faq__section + .page-faq__section {
  margin-top: 56px;
  border-top: 1px solid var(--glass-white);
  padding-top: 40px;
}

.page-faq__sectionHead {
  margin-bottom: 22px;
  position: relative;
}

.page-faq__sectionIndex {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-faq__sectionTitle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--cream);
}

.page-faq__sectionTitle::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 32px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--orange));
}

.page-faq__sectionDesc {
  margin: 0 0 0 20px;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-light);
}

.page-faq__item {
  margin-bottom: 12px;
  border: 1px solid var(--glass-white);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(26, 22, 56, 0.5), rgba(13, 10, 31, 0.62));
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-faq__item[open] {
  border-color: rgba(201, 164, 76, 0.56);
  box-shadow: 0 0 0 1px rgba(201, 164, 76, 0.16);
}

.page-faq__summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s ease;
}

.page-faq__summary:hover {
  background-color: var(--glass-white);
}

.page-faq__summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.page-faq__summary::-webkit-details-marker {
  display: none;
}

.page-faq__num {
  flex: 0 0 auto;
  min-width: 48px;
  padding: 5px 8px;
  border-radius: 3px;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
}

.page-faq__question {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--cream);
}

.page-faq__answer {
  padding: 2px 20px 20px 78px;
}

.page-faq__answer p {
  margin: 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-light);
}

.page-faq__answer a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(201, 164, 76, 0.5);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.page-faq__answer a:hover,
.page-faq__answer a:focus-visible {
  color: var(--orange);
}

.page-faq__item[open] .page-faq__answer {
  animation: pageFaqReveal 0.32s ease both;
}

@keyframes pageFaqReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-faq__contactWrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

.page-faq__contactFigure {
  margin: 0;
  border: 1px solid var(--glass-white);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-deep);
}

.page-faq__contactImg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.page-faq__contactCard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--glass-white);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(26, 22, 56, 0.58), rgba(13, 10, 31, 0.8));
  padding: 24px;
}

.page-faq__contactHint {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-faq__contactRow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.page-faq__contactTag {
  flex: 0 0 auto;
  min-width: 44px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--gold);
  padding-top: 3px;
}

.page-faq__contactValue {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  overflow-wrap: anywhere;
}

.page-faq__contactNote {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-light);
  border-top: 1px solid var(--glass-white);
  padding-top: 14px;
}

.page-faq .btn--gold {
  align-self: flex-start;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .page-faq__heroGrid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }

  .page-faq__contactWrap {
    grid-template-columns: 280px 1fr;
    align-items: stretch;
  }

  .page-faq__contactFigure {
    height: 100%;
    display: flex;
  }

  .page-faq__contactImg {
    object-fit: cover;
    height: 100%;
  }
}

@media (min-width: 1024px) {
  .page-faq__layout {
    grid-template-columns: 240px 1fr;
    gap: 48px;
    margin-top: 48px;
  }

  .page-faq__toc {
    position: sticky;
    top: 24px;
  }

  .page-faq__sectionTitle {
    font-size: 30px;
  }
}
