.page-faq {
  --faq-bg: #eef1f6;
  --faq-border: rgba(26, 42, 74, 0.14);
  --faq-text: #1a1a1a;
}

.page-faq .faq-crumb-wrap {
  padding-top: 24px;
}

.page-faq .breadcrumb {
  margin: 0 0 16px;
}

.page-faq .faq-hero {
  position: relative;
  color: #ffffff;
  background:
    radial-gradient(1100px 380px at 88% 18%, rgba(255, 107, 53, 0.22), transparent 60%),
    linear-gradient(135deg, #0f1a2f 0%, #1a2a4a 55%, #2a4a7f 100%);
  padding: 48px 0 64px;
  overflow: hidden;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.page-faq .faq-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.page-faq .faq-hero-copy .section-kicker {
  color: #ff8c42;
}

.page-faq .faq-hero h1 {
  margin: 12px 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 720px;
}

.page-faq .faq-hero-desc {
  margin: 0 0 28px;
  max-width: 600px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.page-faq .faq-jumper {
  max-width: 560px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.page-faq .faq-jumper[open] {
  border-color: #ff6b35;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 22px;
}

.page-faq .faq-jumper summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  list-style: none;
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

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

.page-faq .faq-jumper summary svg {
  color: #ff8c42;
  flex: 0 0 auto;
}

.page-faq .faq-jumper-arrow {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #ff8c42;
  border-bottom: 2px solid #ff8c42;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.page-faq .faq-jumper[open] .faq-jumper-arrow {
  transform: rotate(225deg);
}

.page-faq .faq-jumper nav {
  display: grid;
  gap: 4px;
  padding: 4px 10px 12px;
}

.page-faq .faq-jumper nav a {
  display: block;
  padding: 9px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-faq .faq-jumper nav a:hover {
  background: #ff6b35;
  color: #ffffff;
}

.page-faq .faq-search-hint {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.64);
}

.page-faq .faq-hero-figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
  background: #0f1a2f;
}

.page-faq .faq-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-faq .faq-body {
  background: var(--faq-bg);
  padding: 32px 0 72px;
}

.page-faq .faq-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

.page-faq .faq-cats {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--faq-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 6px 24px rgba(15, 26, 47, 0.06);
}

.page-faq .faq-cats-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 14px;
}

.page-faq .faq-cats nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.page-faq .faq-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--faq-bg);
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page-faq .faq-cat:hover {
  background: #ff6b35;
  color: #ffffff;
  transform: translateY(-1px);
}

.page-faq .faq-cat.is-active {
  background: var(--gradient-blue);
  color: #ffffff;
}

.page-faq .faq-cat svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.page-faq .faq-cat-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #ff6b35;
}

.page-faq .faq-cat.is-active .faq-cat-num {
  color: #ff8c42;
}

.page-faq .faq-cats-tip {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #6b7280;
}

.page-faq .faq-groups {
  display: grid;
  gap: 48px;
}

.page-faq .faq-group {
  scroll-margin-top: 110px;
}

.page-faq .faq-group:target .faq-group-head {
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.08), transparent);
}

.page-faq .faq-group-head {
  border-left: 4px solid #ff6b35;
  padding: 8px 0 8px 16px;
  margin-bottom: 24px;
  border-radius: 0 12px 12px 0;
  transition: background 0.3s ease;
}

.page-faq .faq-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff6b35;
  margin-bottom: 8px;
}

.page-faq .faq-group-head h2 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.2;
  color: var(--primary);
}

.page-faq .faq-group-head p {
  margin: 0;
  font-size: 15px;
  color: #6b7280;
  max-width: 460px;
  line-height: 1.6;
}

.page-faq .faq-items {
  display: grid;
  gap: 12px;
}

.page-faq .faq-item {
  border: 1px solid var(--faq-border);
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-faq .faq-item[open] {
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: 0 6px 24px rgba(15, 26, 47, 0.08);
}

.page-faq .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

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

.page-faq .faq-q {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--primary);
}

.page-faq .faq-q-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #6b7280;
  flex: 0 0 auto;
}

.page-faq .faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #ff6b35;
  border-bottom: 2px solid #ff6b35;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.page-faq .faq-item[open] summary::after {
  transform: rotate(225deg);
}

.page-faq .faq-answer {
  padding: 0 20px 20px;
  color: var(--faq-text);
  opacity: 0;
  transform: translateY(-6px);
}

.page-faq .faq-item[open] .faq-answer {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-faq .faq-answer p {
  margin: 0 0 12px;
  line-height: 1.75;
}

.page-faq .faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq .faq-answer a {
  color: #ff6b35;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .faq-secure {
  margin: 24px 0 0;
  padding: 16px;
  border-radius: 16px;
  background: var(--gradient-blue);
  color: #ffffff;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: center;
}

.page-faq .faq-secure img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.page-faq .faq-secure figcaption {
  display: grid;
  gap: 4px;
}

.page-faq .faq-secure strong {
  font-family: var(--font-heading);
  font-size: 17px;
}

.page-faq .faq-secure span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.page-faq .faq-support {
  background: linear-gradient(135deg, #0f1a2f 0%, #1a2a4a 100%);
  color: #ffffff;
  padding: 56px 0;
}

.page-faq .faq-support-inner {
  display: grid;
  gap: 28px;
}

.page-faq .faq-support-copy .section-kicker {
  color: #ff8c42;
}

.page-faq .faq-support h2 {
  margin: 12px 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-faq .faq-support p {
  margin: 0 0 20px;
  max-width: 520px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.page-faq .faq-support-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-faq .faq-support-actions .btn {
  padding: 13px 24px;
}

.page-faq .faq-support-contact {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.page-faq .faq-support-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
}

.page-faq .faq-support-label:first-child {
  margin-top: 0;
}

.page-faq .faq-support-link {
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-faq .faq-support-link:hover {
  color: #ff8c42;
  border-color: #ff8c42;
}

.page-faq [data-reveal].is-reveal-ready {
  opacity: 0;
  transform: translateY(24px);
}

.page-faq [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (min-width: 760px) {
  .page-faq .faq-support-inner {
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero-inner {
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: center;
  }

  .page-faq .faq-layout {
    grid-template-columns: 240px 1fr;
    gap: 48px;
  }

  .page-faq .faq-cats {
    position: sticky;
    top: 96px;
  }

  .page-faq .faq-cats nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    overflow-x: visible;
  }

  .page-faq .faq-cat {
    justify-content: flex-start;
    white-space: normal;
  }

  .page-faq .faq-groups {
    gap: 64px;
  }
}
