/* FAQs subpage layout — builds on index-styles.css */

.subpage-screen {
  min-height: 100%;
  background: #000;
}

.subpage-screen .content-stack {
  margin-top: 0;
  padding-top: calc(var(--header-top) + clamp(72px, 10vh, 96px));
  padding-bottom: clamp(32px, 5vh, 48px);
}

.subpage-screen .content-stack::after {
  height: clamp(72px, 10vh, 100px);
}

.content-section--faqs-bg {
  position: relative;
  padding-top: clamp(8px, 2vh, 20px);
  padding-bottom: var(--section-y);
}

.content-section--faqs-bg .section-head-plate {
  max-width: min(820px, 100%);
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  text-align: center;
}

.content-section--faqs-bg .section-head-plate:hover {
  transform: none;
  border-color: rgba(255, 255, 255, .14);
}

.content-section--faqs-bg .section-head-plate:hover::before {
  opacity: 0;
}

.content-section--faqs-bg .section-head-plate .section-title {
  text-shadow: none;
}

.content-section--faqs-bg .section-desc {
  max-width: 42em;
  margin-left: auto;
  margin-right: auto;
}

.faqs-groups {
  max-width: min(920px, 100%);
  margin: clamp(36px, 5vh, 48px) auto 0;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vh, 52px);
}

.faqs-group-title {
  margin: 0 0 clamp(16px, 2.2vh, 22px);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: "Reference Display", "Reference Sans", Arial, sans-serif;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 520;
  letter-spacing: -0.03em;
  color: rgba(255, 252, 248, .96);
}

.faqs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(155deg, rgba(32, 34, 36, .72) 0%, rgba(10, 12, 14, .88) 100%);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, .35),
    0 0 0 1px rgba(0, 0, 0, .4) inset,
    0 1px 0 rgba(255, 255, 255, .06) inset;
  overflow: hidden;
  transition: border-color 280ms ease, box-shadow 280ms ease;
}

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

.faq-item.is-open {
  border-color: rgba(255, 210, 160, .28);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, .42),
    0 0 28px rgba(255, 140, 70, .06),
    0 0 0 1px rgba(255, 255, 255, .05) inset,
    0 1px 0 rgba(255, 255, 255, .1) inset;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 18px);
  padding: clamp(18px, 2.2vw, 22px) clamp(18px, 2.4vw, 22px);
  text-align: left;
  color: #fff;
}

.faq-index {
  flex-shrink: 0;
  width: 2.25em;
  font-size: 12px;
  font-weight: 480;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: rgba(255, 200, 150, .55);
}

.faq-title {
  flex: 1;
  min-width: 0;
  font-size: clamp(16px, 1.75vw, 18px);
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.faq-caret {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  position: relative;
  transition: background 220ms ease, border-color 220ms ease;
}

.faq-caret::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(255, 220, 180, .9);
  border-bottom: 1.5px solid rgba(255, 220, 180, .9);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 260ms var(--ease-out);
}

.faq-item.is-open .faq-caret {
  background: rgba(255, 200, 150, .08);
  border-color: rgba(255, 210, 160, .25);
}

.faq-item.is-open .faq-caret::after {
  transform: translate(-50%, -35%) rotate(-135deg);
}

.faq-body {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.faq-item.is-open .faq-body {
  display: block;
}

.faq-body-inner {
  padding: clamp(4px, 1vh, 8px) clamp(18px, 2.4vw, 22px) clamp(22px, 2.8vw, 26px);
  padding-left: calc(clamp(18px, 2.4vw, 22px) + 2.25em + clamp(14px, 2vw, 18px));
}

.faq-body-inner p {
  font-size: 15px;
  line-height: 1.68;
  color: rgba(232, 234, 233, .86);
}

.faq-body-inner p + p {
  margin-top: 14px;
}

.faq-body-inner ul {
  margin: 14px 0 0;
  padding-left: 1.15em;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(232, 234, 233, .84);
}

.faq-body-inner li + li {
  margin-top: 8px;
}

.faq-body-inner a {
  color: rgba(255, 220, 180, .95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-body-inner a:hover {
  color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item.is-open .faq-body {
    animation: faq-body-in 360ms var(--ease-out);
  }
}

@keyframes faq-body-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faqs-contact {
  max-width: min(920px, 100%);
  margin: clamp(48px, 7vh, 64px) auto 0;
  padding: clamp(28px, 3.5vw, 36px);
  border-radius: 20px;
  text-align: center;
}

.faqs-contact h2 {
  font-family: "Reference Display", "Reference Sans", Arial, sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 520;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 10px;
}

.faqs-contact p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(232, 234, 233, .78);
  margin-bottom: 20px;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.faqs-contact .glass-btn {
  min-height: 44px;
  padding: 0 22px;
  font-size: 16px;
}

@media (max-width: 619px) {
  .subpage-screen .content-stack {
    padding-top: calc(var(--header-top) + 64px);
  }

  .faq-body-inner {
    padding-left: clamp(18px, 2.4vw, 22px);
  }

  .faq-index {
    display: none;
  }
}
