.page-faq {
  display: block;
  background: var(--primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

.page-faq .faq-hero {
  position: relative;
  padding-top: 32px;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.10), rgba(0, 229, 255, 0.06));
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.page-faq .faq-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-faq .faq-hero__content h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  color: var(--text-primary);
}

.page-faq .faq-hero__content::after {
  content: "";
  display: block;
  width: 96px;
  height: 8px;
  margin-top: 22px;
  background: var(--gradient);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.page-faq .faq-hero__lead {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 36em;
}

.page-faq .faq-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.page-faq .faq-hero__tags .tag {
  border: 1px solid rgba(57, 255, 20, 0.45);
  background: rgba(57, 255, 20, 0.08);
  color: var(--accent-green);
}

.page-faq .faq-hero__tags .tag:hover {
  background: rgba(57, 255, 20, 0.18);
}

.page-faq .faq-hero__media {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  aspect-ratio: 16 / 6;
}

.page-faq .faq-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-faq .faq-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 8px;
  margin-top: 28px;
  padding: 14px 16px 18px;
  background: var(--surface);
  position: relative;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.page-faq .faq-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gradient);
}

.page-faq .faq-strip__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--warm-paper);
}

.page-faq .faq-strip a {
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

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

.page-faq .faq-strip__sep {
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.page-faq .faq-section__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 2px solid rgba(148, 163, 184, 0.2);
}

.page-faq .faq-section__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 52px;
  font-weight: 900;
  line-height: 0.85;
  color: var(--accent-green);
  text-shadow: 4px 4px 0 rgba(57, 255, 20, 0.15);
  flex-shrink: 0;
}

.page-faq .faq-section__heading h2 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 900;
  color: var(--text-primary);
}

.page-faq .faq-section__heading .eyebrow {
  margin-bottom: 6px;
}

.page-faq .faq-section__desc {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.page-faq .faq-section--blue .faq-section__num {
  color: var(--accent-blue);
  text-shadow: 4px 4px 0 rgba(0, 229, 255, 0.15);
}

.page-faq .faq-section--amber .faq-section__num {
  color: var(--warm-paper);
  text-shadow: 4px 4px 0 rgba(245, 230, 200, 0.15);
}

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

.page-faq .faq-item {
  background: var(--surface);
  border-left: 4px solid var(--accent-green);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.page-faq .faq-item[open] {
  background: #131c2f;
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 18px 48px 18px 16px;
  position: relative;
  user-select: none;
}

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

.page-faq .faq-item__mark {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  transform: rotate(45deg);
}

.page-faq .faq-item__tag {
  flex-shrink: 0;
  font-size: 12px;
  border: 1px solid rgba(57, 255, 20, 0.4);
  background: rgba(57, 255, 20, 0.08);
  color: var(--accent-green);
}

.page-faq .faq-item__title {
  flex: 1;
  min-width: 160px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.page-faq .faq-item__icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 900;
  color: var(--accent-green);
  background: rgba(57, 255, 20, 0.12);
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.page-faq .faq-item[open] .faq-item__icon {
  background: var(--accent-green);
  color: var(--primary);
  transform: translateY(-50%) rotate(45deg);
}

.page-faq .faq-item__body {
  padding: 14px 16px 18px;
  border-top: 1px dashed rgba(148, 163, 184, 0.3);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  animation: pagefaq-fade-in 0.25s ease-out;
}

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

.page-faq .faq-section--blue .faq-item {
  border-left-color: rgba(0, 229, 255, 0.5);
}

.page-faq .faq-section--blue .faq-item__mark {
  background: var(--accent-blue);
}

.page-faq .faq-section--blue .faq-item__tag {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
  color: var(--accent-blue);
}

.page-faq .faq-section--blue .faq-item__icon {
  color: var(--accent-blue);
  background: rgba(0, 229, 255, 0.12);
}

.page-faq .faq-section--blue .faq-item[open] .faq-item__icon {
  background: var(--accent-blue);
  color: var(--primary);
}

.page-faq .faq-section--amber .faq-item {
  border-left-color: rgba(245, 230, 200, 0.5);
}

.page-faq .faq-section--amber .faq-item__mark {
  background: var(--warm-paper);
}

.page-faq .faq-section--amber .faq-item__tag {
  border-color: rgba(245, 230, 200, 0.4);
  background: rgba(245, 230, 200, 0.08);
  color: var(--warm-paper);
}

.page-faq .faq-section--amber .faq-item__icon {
  color: var(--warm-paper);
  background: rgba(245, 230, 200, 0.12);
}

.page-faq .faq-section--amber .faq-item[open] .faq-item__icon {
  background: var(--warm-paper);
  color: var(--primary);
}

.page-faq .faq-section--contact {
  padding-bottom: 48px;
}

.page-faq .faq-contact__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 20px;
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.08) 0%, rgba(17, 24, 39, 0) 50%),
    var(--surface);
  border-left: 4px solid var(--warm-paper);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.page-faq .faq-contact__info .faq-section__num {
  margin-bottom: 14px;
  color: var(--warm-paper);
  text-shadow: 4px 4px 0 rgba(245, 230, 200, 0.15);
}

.page-faq .faq-contact__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.page-faq .faq-contact__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.page-faq .faq-contact__label {
  flex-shrink: 0;
  min-width: 42px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent-green);
}

.page-faq .faq-contact__value {
  color: var(--text-primary);
  font-weight: 600;
  word-break: break-word;
}

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

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

.page-faq .faq-contact__note {
  margin-top: 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--warm-paper);
  background: rgba(245, 230, 200, 0.05);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.page-faq .faq-contact__btn {
  margin-top: 18px;
}

.page-faq .faq-contact__media {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.page-faq .faq-contact__img {
  width: 200px;
  height: 200px;
  max-width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

@media (min-width: 768px) {
  .page-faq .faq-hero {
    padding-top: 48px;
  }

  .page-faq .faq-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 40px;
  }

  .page-faq .faq-hero__media {
    aspect-ratio: 16 / 5;
  }

  .page-faq .faq-hero__lead {
    font-size: 16px;
  }

  .page-faq .faq-strip {
    padding: 16px 20px 20px;
  }

  .page-faq .faq-section__head {
    gap: 24px;
  }

  .page-faq .faq-section__num {
    font-size: 72px;
  }

  .page-faq .faq-section__heading h2 {
    font-size: 32px;
  }

  .page-faq .faq-list {
    max-width: 900px;
  }

  .page-faq .faq-item__title {
    font-size: 17px;
  }

  .page-faq .faq-contact__inner {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 40px;
    align-items: center;
    padding: 40px 36px;
  }

  .page-faq .faq-contact__media {
    justify-content: flex-end;
  }
}
