.page-faq {
  --faq-index-width: 320px;
  --faq-section-num-size: 110px;
  --faq-hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='69' viewBox='0 0 60 69'%3E%3Cpath d='M30 4 L56 17.5 L56 44.5 L30 58 L4 44.5 L4 17.5 Z' fill='none' stroke='%23FFFFFF' stroke-opacity='0.04' stroke-width='1.5'/%3E%3C/svg%3E");
  background-color: var(--bg-deep);
  background-image: linear-gradient(180deg, rgba(14, 26, 43, 0) 0%, rgba(46, 42, 74, 0.22) 100%), var(--faq-hex);
  min-height: 100vh;
}

.faq-hero {
  position: relative;
  padding: 96px 0 0;
  overflow: hidden;
}

.faq-hero .breadcrumb {
  margin-bottom: 36px;
}

.faq-hero-copy {
  position: relative;
  padding-top: 12px;
}

.faq-watermark {
  position: absolute;
  top: -40px;
  right: 4px;
  font-family: var(--font-head);
  font-size: 112px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(198, 255, 0, 0.14);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.faq-hero-copy .sec-kicker,
.faq-hero-copy .faq-title,
.faq-hero-copy .faq-lead,
.faq-hero-actions {
  position: relative;
  z-index: 1;
}

.faq-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 9vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -1px;
  color: var(--text-white);
  margin: 14px 0 22px;
  max-width: 900px;
  text-wrap: balance;
}

.faq-title-accent {
  color: var(--accent-gold);
}

.faq-lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-metal);
  max-width: 620px;
  margin-bottom: 32px;
}

.faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.faq-hero-media {
  margin-top: 48px;
  border: 2px solid rgba(198, 255, 0, 0.22);
  border-radius: 0 42px 0 42px;
  background: var(--bg-blue);
  box-shadow: 16px 16px 0 rgba(255, 192, 0, 0.1);
  overflow: hidden;
}

.faq-hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.faq-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 28px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-keywords-title {
  color: var(--accent-gold);
  font-weight: 700;
  margin-right: 4px;
  letter-spacing: 0.04em;
}

.faq-main {
  padding: 72px 0 88px;
}

.faq-main-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: start;
}

.faq-index-card {
  background: linear-gradient(160deg, var(--bg-blue) 0%, rgba(46, 42, 74, 0.42) 100%);
  border: 2px solid rgba(255, 192, 0, 0.24);
  border-radius: 0 28px 0 28px;
  padding: 28px 24px;
  box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.28);
}

.faq-index-title {
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1.2;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px dashed rgba(255, 192, 0, 0.3);
}

.faq-index-nav {
  display: grid;
  gap: 18px;
}

.faq-index-group {
  display: grid;
  gap: 8px;
}

.faq-index-head {
  display: inline-block;
  font-weight: 800;
  color: var(--text-white);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.faq-index-head:hover {
  color: var(--accent-lime);
}

.faq-index-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.faq-index-sub a {
  color: var(--text-metal);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  border-left: 2px solid var(--bg-card);
  padding-left: 12px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.faq-index-sub a:hover {
  color: var(--accent-gold);
  border-left-color: var(--accent-gold);
}

.faq-index-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.faq-index-note p {
  color: var(--text-metal);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.faq-index-note a {
  color: var(--accent-lime);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.faq-section {
  margin-bottom: 72px;
}

.faq-section:last-child {
  margin-bottom: 0;
}

.faq-section-head {
  position: relative;
  padding: 8px 0 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-section-num {
  position: absolute;
  right: 0;
  top: -38px;
  font-family: var(--font-head);
  font-size: 76px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 192, 0, 0.2);
  pointer-events: none;
  z-index: 0;
}

.faq-section-head .sec-kicker,
.faq-section-title,
.faq-section-desc {
  position: relative;
  z-index: 1;
}

.faq-section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  line-height: 1.05;
  color: var(--text-white);
  margin: 8px 0 10px;
  letter-spacing: -0.5px;
}

.faq-section-desc {
  color: var(--text-metal);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
}

.faq-item {
  background: rgba(46, 42, 74, 0.3);
  border: 2px solid rgba(255, 192, 0, 0.16);
  border-radius: 18px;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.24);
  margin-bottom: 20px;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 192, 0, 0.4);
}

.faq-item[open] {
  background: rgba(46, 42, 74, 0.56);
  border-color: rgba(198, 255, 0, 0.5);
  box-shadow: 12px 12px 0 rgba(198, 255, 0, 0.08);
}

.faq-item-summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  cursor: pointer;
  color: var(--text-light);
  user-select: none;
}

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

.faq-item-summary::marker {
  content: "";
}

.faq-qicon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: var(--accent-gold);
  transition: color 0.3s ease, transform 0.3s ease;
}

.faq-item[open] .faq-qicon {
  color: var(--accent-lime);
  transform: scale(1.06);
}

.faq-item-title {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--text-light);
  flex: 1;
}

.faq-item[open] .faq-item-title {
  color: var(--accent-lime);
}

.faq-toggle {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--accent-gold);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -7px 0 0 -5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease, margin 0.3s ease;
}

.faq-item[open] .faq-toggle {
  color: var(--accent-lime);
  transform: rotate(180deg);
}

.faq-item[open] .faq-toggle::before {
  transform: rotate(225deg);
  margin-top: 2px;
}

.faq-answer {
  padding: 0 20px 24px 20px;
  color: var(--text-metal);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  animation: faqIn 0.35s var(--ease);
  font-size: 15px;
  line-height: 1.75;
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.faq-answer p {
  margin: 16px 0 0;
}

.faq-answer a {
  color: var(--accent-lime);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-steps {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: faq-step;
}

.faq-steps li {
  counter-increment: faq-step;
  position: relative;
  padding: 14px 14px 14px 56px;
  background: rgba(10, 14, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

.faq-steps li::before {
  content: counter(faq-step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-lime);
  color: var(--bg-deep);
  font-family: var(--font-head);
  font-size: 17px;
  border-radius: 8px 4px 8px 4px;
  line-height: 1;
}

.faq-figure {
  margin: 24px 0 0;
  max-width: 420px;
}

.faq-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-metal);
}

.faq-cta {
  position: relative;
  margin-top: 40px;
  padding: 60px 0 72px;
  background: linear-gradient(120deg, var(--bg-blue) 0%, var(--bg-card) 65%, var(--bg-deep) 100%);
  border-top: 3px solid var(--accent-gold);
  border-bottom: 2px solid var(--accent-lime);
}

.faq-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--faq-hex);
  opacity: 0.6;
  pointer-events: none;
}

.faq-cta-inner {
  position: relative;
  z-index: 1;
}

.faq-cta-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

.faq-cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5.5vw, 3.3rem);
  line-height: 1.08;
  color: var(--text-white);
  margin: 10px 0 16px;
  letter-spacing: -0.5px;
}

.faq-cta-desc {
  color: var(--text-metal);
  font-size: 16px;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 26px;
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.faq-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.faq-contact-item {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 14px 14px 0;
  display: grid;
  gap: 4px;
}

.faq-contact-item .contact-label {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.faq-contact-item .contact-value {
  color: var(--text-light);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.faq-contact-item a.contact-value:hover {
  color: var(--accent-lime);
}

.faq-cta-note {
  margin-top: 36px;
  padding: 16px 18px;
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  color: var(--text-metal);
  font-size: 14px;
  line-height: 1.7;
}

.faq-cta-note a {
  color: var(--accent-lime);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 720px) {
  .faq-hero-copy {
    padding-top: 26px;
  }

  .faq-watermark {
    font-size: 176px;
    top: -76px;
  }

  .faq-answer {
    padding-left: 84px;
    padding-right: 28px;
  }

  .faq-item-summary {
    padding: 24px 28px;
  }

  .faq-index-card {
    padding: 32px 28px;
  }
}

@media (min-width: 960px) {
  .faq-cta-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
  }

  .faq-section-num {
    font-size: var(--faq-section-num-size);
    top: -58px;
  }
}

@media (min-width: 1024px) {
  .faq-hero {
    padding-top: 120px;
  }

  .faq-main {
    padding: 80px 0 100px;
  }

  .faq-main-grid {
    grid-template-columns: var(--faq-index-width) minmax(0, 1fr);
    gap: 56px;
  }

  .faq-index {
    position: sticky;
    top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-answer {
    animation: none;
  }

  .page-faq .faq-item,
  .page-faq .faq-qicon,
  .page-faq .faq-toggle {
    transition: none;
  }

  .page-faq [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
