.page-faq {
  --faq-bg-light: #efede4;
  --faq-bg-card: #fbf9f3;
  --faq-bg-panel: #14181f;
  --faq-text-dark: #14181f;
  --faq-text-muted: #5f5e59;
  --faq-line: #dcd8cd;
  --faq-accent: #6a8e7f;
  --faq-accent-deep: #1e2a24;
  --faq-lime: #b7e14a;
  --faq-terra: #c56b4a;
  --faq-yellow: #ffd83d;
  background: var(--faq-bg-light);
  color: var(--faq-text-dark);
  padding-bottom: 80px;
  min-height: 100vh;
}

.page-faq .breadcrumb {
  padding-top: 28px;
  font-size: 14px;
  color: var(--faq-text-muted);
}

.page-faq .breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-faq .breadcrumb a {
  color: var(--faq-accent);
  text-decoration: none;
}

.page-faq .breadcrumb a:hover {
  text-decoration: underline;
}

.page-faq .breadcrumb-current {
  color: var(--faq-text-muted);
}

.page-faq .faq-hero {
  margin: 40px 0;
  padding: 44px 32px 36px;
  background: var(--faq-bg-panel);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--faq-lime), var(--faq-yellow), var(--faq-terra), var(--faq-accent));
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  background-image: linear-gradient(var(--faq-line) 1px, transparent 1px), linear-gradient(90deg, var(--faq-line) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.15;
  transform: rotate(8deg);
}

.page-faq .faq-hero-text {
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: #f2efe6;
  line-height: 1.3;
  margin: 16px 0 14px;
  max-width: 640px;
}

.page-faq .faq-hero-desc {
  color: #b5b2aa;
  font-size: 16px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0;
}

.page-faq .faq-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  position: relative;
  z-index: 1;
}

.page-faq .faq-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-faq .faq-stat-num {
  font-size: 40px;
  font-weight: 700;
  color: var(--faq-lime);
  line-height: 1;
  letter-spacing: -1px;
}

.page-faq .faq-stat-label {
  font-size: 13px;
  color: #b5b2aa;
  letter-spacing: 0.04em;
}

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

.page-faq .faq-sidebar {
  background: var(--faq-bg-card);
  border: 1px solid var(--faq-line);
  border-radius: 6px;
  padding: 8px 0;
}

.page-faq .faq-catalog-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faq-text-muted);
  padding: 12px 20px;
  margin: 0;
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-catalog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.page-faq .faq-catalog-list li {
  flex: 1 1 auto;
  min-width: 140px;
}

.page-faq .faq-catalog-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--faq-text-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(220, 216, 205, 0.6);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-faq .faq-catalog-list a:hover {
  background: rgba(106, 142, 127, 0.1);
  color: var(--faq-accent-deep);
}

.page-faq .faq-catalog-list a .mono {
  font-size: 12px;
  color: var(--faq-terra);
}

.page-faq .faq-catalog-note {
  font-size: 12px;
  color: var(--faq-text-muted);
  padding: 14px 20px 6px;
  margin: 0;
  line-height: 1.6;
}

.page-faq .faq-main {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.page-faq .faq-section {
  scroll-margin-top: 120px;
}

.page-faq .faq-section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--faq-accent);
}

.page-faq .faq-section-index {
  font-size: 14px;
  font-weight: 700;
  color: var(--faq-terra);
  background: rgba(197, 107, 74, 0.08);
  border: 1px solid rgba(197, 107, 74, 0.35);
  border-radius: 4px;
  padding: 4px 8px;
  line-height: 1;
  white-space: nowrap;
  margin-top: 4px;
}

.page-faq .faq-section-head-text {
  flex: 1;
}

.page-faq .faq-section-title {
  font-size: 26px;
  font-weight: 900;
  margin: 0;
  line-height: 1.3;
  color: var(--faq-text-dark);
}

.page-faq .faq-section-desc {
  font-size: 14px;
  color: var(--faq-text-muted);
  line-height: 1.6;
  margin: 6px 0 0;
}

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

.page-faq .faq-hot-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq .faq-item {
  background: var(--faq-bg-card);
  border: 1px solid var(--faq-line);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-faq .faq-item:hover {
  box-shadow: 0 4px 16px rgba(20, 24, 31, 0.08);
}

.page-faq .faq-item[open] {
  border-left: 3px solid var(--faq-accent);
  box-shadow: 0 4px 16px rgba(20, 24, 31, 0.07);
}

.page-faq .faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-faq .faq-item summary:focus-visible {
  outline: 2px solid var(--faq-lime);
  outline-offset: -2px;
}

.page-faq .faq-item-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--faq-terra);
  background: rgba(197, 107, 74, 0.08);
  border-radius: 4px;
  padding: 4px 8px;
  line-height: 1;
  flex-shrink: 0;
}

.page-faq .faq-item-q {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: var(--faq-text-dark);
  line-height: 1.5;
}

.page-faq .faq-item-toggle {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
  border-radius: 50%;
  border: 1px solid var(--faq-line);
  background: transparent;
}

.page-faq .faq-item-toggle::before,
.page-faq .faq-item-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--faq-accent);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.page-faq .faq-item-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-faq .faq-item[open] .faq-item-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.page-faq .faq-item-a {
  padding: 0 20px 20px 20px;
  border-top: 1px dashed var(--faq-line);
  margin-top: 0;
  color: var(--faq-text-dark);
  font-size: 15px;
  line-height: 1.75;
}

.page-faq .faq-item-a p:first-child {
  margin-top: 16px;
}

.page-faq .faq-item-a ol {
  margin: 12px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: faq-steps;
}

.page-faq .faq-item-a ol li {
  padding-left: 4px;
  position: relative;
  color: var(--faq-text-dark);
}

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

.page-faq .faq-hot-figure img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--faq-line);
  background: var(--faq-bg-card);
}

.page-faq .faq-hot-figure figcaption,
.page-faq .faq-guide-figure figcaption {
  font-size: 12px;
  color: var(--faq-text-muted);
  margin-top: 10px;
  line-height: 1.5;
  padding-left: 2px;
}

.page-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq .faq-guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.page-faq .faq-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: guide-step;
}

.page-faq .faq-step {
  position: relative;
  padding: 20px 20px 20px 24px;
  background: var(--faq-bg-card);
  border: 1px solid var(--faq-line);
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 24, 31, 0.08);
}

.page-faq .faq-step:not(:last-child) {
  margin-bottom: 32px;
}

.page-faq .faq-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -26px;
  width: 2px;
  height: 20px;
  background: var(--faq-accent);
}

.page-faq .faq-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -14px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--faq-accent);
  border-bottom: 2px solid var(--faq-accent);
  transform: rotate(45deg);
  z-index: 1;
}

.page-faq .faq-step-no {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--faq-lime);
  background: var(--faq-accent-deep);
  border-radius: 3px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.page-faq .faq-step h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--faq-text-dark);
}

.page-faq .faq-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--faq-text-muted);
}

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

.page-faq .faq-guide-figure img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--faq-line);
  background: var(--faq-bg-card);
}

.page-faq .faq-tip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 18px;
  background: rgba(106, 142, 127, 0.1);
  border: 1px solid rgba(106, 142, 127, 0.35);
  border-radius: 6px;
}

.page-faq .faq-tip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--faq-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.page-faq .faq-tip p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--faq-text-dark);
}

.page-faq .faq-tip strong {
  color: var(--faq-accent-deep);
}

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

.page-faq .faq-contact-card {
  padding: 24px;
  background: var(--faq-bg-card);
  border: 1px solid var(--faq-line);
  border-radius: 6px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-faq .faq-contact-card:hover {
  box-shadow: 0 6px 20px rgba(20, 24, 31, 0.08);
  transform: translateY(-2px);
}

.page-faq .faq-contact-card h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--faq-accent-deep);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--faq-text-dark);
  line-height: 1.6;
  margin: 0 0 12px;
  word-break: break-all;
}

.page-faq .faq-contact-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--faq-text-muted);
  margin: 0;
}

.page-faq .faq-contact-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--faq-bg-panel);
  border-radius: 6px;
}

.page-faq .faq-contact-cta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #b5b2aa;
}

.page-faq .faq-contact-cta a {
  color: var(--faq-lime);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.page-faq .faq-contact-cta a:hover {
  color: #fff;
}

@media (min-width: 768px) {
  .page-faq .faq-hero {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 52px 40px 44px;
  }

  .page-faq .faq-hero-text {
    flex: 1;
  }

  .page-faq .faq-hero-stats {
    gap: 32px;
    flex-shrink: 0;
  }

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

  .page-faq .faq-sidebar {
    position: sticky;
    top: 120px;
    padding: 16px 0;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
  }

  .page-faq .faq-catalog-list {
    flex-direction: column;
  }

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

  .page-faq .faq-hot-figure {
    position: sticky;
    top: 120px;
  }

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

  .page-faq .faq-guide-figure {
    position: sticky;
    top: 120px;
  }

  .page-faq .faq-contact-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-faq .faq-contact-cta p {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-layout {
    grid-template-columns: 260px 1fr;
    gap: 48px;
  }

  .page-faq .faq-contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-faq .faq-hot-grid {
    grid-template-columns: 1fr 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item-toggle::before,
  .page-faq .faq-item-toggle::after {
    transition: none;
  }

  .page-faq .faq-step,
  .page-faq .faq-contact-card {
    transition: none;
  }
}
