.page-faq {
  background: #F4F6FA;
  color: #1A1D24;
  overflow-x: hidden;
}

.page-faq .breadcrumb {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px 16px 0;
}

.page-faq .breadcrumb-link[aria-current="page"] {
  color: var(--color-orange);
}

.page-faq .page-head {
  background: linear-gradient(135deg, #0A1D3C 0%, #0D264F 78%);
  position: relative;
  overflow: hidden;
  padding: 44px 0 52px;
  color: #FFFFFF;
}

.page-faq .page-head::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: rgba(255, 193, 7, 0.12);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.page-faq .page-head::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: 60px;
  width: 120px;
  height: 60px;
  background: rgba(255, 107, 53, 0.28);
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
}

.page-faq .page-head__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

.page-faq .page-head__kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-yellow);
  border: 1px solid rgba(255, 193, 7, 0.45);
  padding: 4px 10px;
  margin-bottom: 14px;
  border-radius: 2px;
}

.page-faq .page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.6vw, 2.3rem);
  line-height: 1.18;
  margin: 0 0 12px;
  max-width: 720px;
}

.page-faq .page-head__desc {
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.78);
  max-width: 660px;
  margin: 0;
}

.page-faq .guide-section {
  padding: 56px 16px 0;
}

.page-faq .guide-inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.page-faq .guide-section .section-header {
  margin-bottom: 28px;
}

.page-faq .steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.page-faq .guide-step {
  position: relative;
  background: #FFFFFF;
  padding: 20px 16px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.page-faq .guide-step::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 36px;
  height: 36px;
  background: #F4F6FA;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.8;
}

.page-faq .guide-step:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.page-faq .guide-step__num {
  display: inline-block;
  background: var(--color-yellow);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.page-faq .guide-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.page-faq .guide-step p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 10px;
}

.page-faq .guide-figure {
  margin: 0;
  padding: 0;
}

.page-faq .guide-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 0 auto;
}

.page-faq .guide-figure figcaption {
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 8px;
  font-family: var(--font-editorial);
}

.page-faq .faq-section {
  padding: 56px 16px 0;
}

.page-faq .faq-container {
  max-width: var(--container-width);
  margin: 0 auto;
}

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

.page-faq .faq-tree {
  background: #0D264F;
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  align-self: start;
}

.page-faq .faq-tree__title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  color: var(--color-yellow);
  font-family: var(--font-mono);
}

.page-faq .faq-tree__list,
.page-faq .faq-tree__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .faq-tree__list > li {
  margin-bottom: 10px;
}

.page-faq .faq-tree__sub {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 8px;
  margin-bottom: 4px;
}

.page-faq .faq-tree__sub li {
  margin-bottom: 6px;
}

.page-faq .faq-tree a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 2px 0;
  position: relative;
  transition: color 0.2s;
}

.page-faq .faq-tree a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.page-faq .faq-tree a:hover,
.page-faq .faq-tree a:focus {
  color: #FFFFFF;
}

.page-faq .faq-tree a:hover::after,
.page-faq .faq-tree a:focus::after {
  transform: scaleX(1);
}

.page-faq .faq-tree__parent {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.page-faq .faq-main {
  min-width: 0;
}

.page-faq .faq-block {
  margin-bottom: 40px;
}

.page-faq .faq-block .section-header {
  margin-bottom: 18px;
}

.page-faq .faq-accordion {
  display: grid;
  gap: 10px;
}

.page-faq .faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  border-left: 3px solid transparent;
}

.page-faq .faq-item[open] {
  border-left-color: var(--color-orange);
  box-shadow: var(--shadow-lift);
}

.page-faq .faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 16px 14px;
  cursor: pointer;
  user-select: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: background 0.2s;
}

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

.page-faq .faq-question:hover {
  background: rgba(244, 246, 250, 0.7);
}

.page-faq .faq-num {
  flex-shrink: 0;
  min-width: 34px;
  text-align: center;
  background: var(--color-yellow);
  color: #1A1D24;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 6px;
  border-radius: 4px;
}

.page-faq .faq-q-title {
  flex: 1;
  line-height: 1.35;
}

.page-faq .faq-arrow {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-orange);
  border-bottom: 2px solid var(--color-orange);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 6px;
}

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

.page-faq .faq-answer {
  padding: 0 16px 16px 60px;
  font-size: 0.88rem;
  line-height: 1.68;
  color: var(--color-text-muted);
}

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

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

.page-faq .cat-group {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 18px 16px;
  border-left: 4px solid var(--color-mist);
  scroll-margin-top: 96px;
}

.page-faq .cat-group:target {
  outline: 2px solid rgba(255, 107, 53, 0.4);
  outline-offset: 2px;
  box-shadow: var(--shadow-lift);
}

.page-faq .cat-group--account {
  border-left-color: var(--color-orange);
}

.page-faq .cat-group--download {
  border-left-color: var(--color-cyan);
}

.page-faq .cat-group--tools {
  border-left-color: var(--color-purple);
}

.page-faq .cat-group--content {
  border-left-color: var(--color-yellow);
}

.page-faq .cat-group h3 {
  font-size: 1rem;
  margin: 0 0 12px;
  font-weight: 700;
}

.page-faq .cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .cat-list li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--color-mist);
}

.page-faq .cat-list li:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.page-faq .cat-q {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 600;
}

.page-faq .cat-a {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.page-faq .contact-section {
  background: linear-gradient(135deg, #0A1D3C 0%, #0D264F 75%);
  color: #FFFFFF;
  margin-top: 48px;
  padding: 56px 16px 64px;
  position: relative;
  overflow: hidden;
}

.page-faq .contact-section::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.14);
}

.page-faq .contact-section::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.1);
}

.page-faq .contact-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-faq .contact-info .section-kicker {
  color: var(--color-yellow);
}

.page-faq .contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  margin: 0 0 10px;
}

.page-faq .contact-info p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 560px;
}

.page-faq .contact-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
}

.page-faq .contact-meta .data-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.page-faq .contact-meta .data-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-faq .contact-meta .data-label {
  color: rgba(255, 255, 255, 0.62);
  flex-shrink: 0;
}

.page-faq .contact-meta .data-value {
  font-family: var(--font-mono);
  color: #FFFFFF;
  text-align: right;
  word-break: break-all;
}

.page-faq .contact-status {
  margin: 0 auto;
  text-align: center;
}

.page-faq .contact-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  margin: 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 8px rgba(0, 194, 168, 0.25);
}

.page-faq .contact-status figcaption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-editorial);
}

@media (min-width: 768px) {
  .page-faq .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

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

  .page-faq .cat-groups {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-faq .contact-inner {
    grid-template-columns: 1fr 240px;
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .page-faq .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

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

  .page-faq .guide-section,
  .page-faq .faq-section {
    padding-top: 64px;
  }

  .page-faq .contact-section {
    padding-top: 64px;
  }

  .page-faq .faq-answer {
    padding-bottom: 18px;
  }
}
