.page-faq {
  --faq-panel: #123047;
  --faq-panel-deep: #0E2438;
  --faq-line: var(--w-line-soft);
  --faq-accent-soft: rgba(255, 77, 46, 0.14);
  background: var(--w-bg);
  color: var(--w-text);
  overflow-x: hidden;
}

.page-faq .faq-hero {
  position: relative;
  padding: 92px 0 44px;
  background:
    radial-gradient(ellipse at 78% 8%, rgba(255, 77, 46, 0.08), transparent 52%),
    linear-gradient(180deg, var(--w-bg-deep) 0%, var(--w-bg) 100%);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 77, 46, 0.05), transparent 70%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

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

.page-faq .faq-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--w-text-dim);
  margin-bottom: 32px;
}

.page-faq .faq-breadcrumb__link {
  color: var(--w-text-dim);
  text-decoration: none;
  transition: color 200ms ease;
}

.page-faq .faq-breadcrumb__link:hover,
.page-faq .faq-breadcrumb__link:focus-visible {
  color: var(--w-accent);
}

.page-faq .faq-breadcrumb__sep {
  opacity: 0.45;
}

.page-faq .faq-breadcrumb__current {
  color: var(--w-accent);
  font-weight: 500;
}

.page-faq .faq-hero__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-faq .faq-hero__eyebrow {
  color: var(--w-accent);
  font-weight: 600;
}

.page-faq .faq-hero__title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--w-white);
  margin: 14px 0 18px;
}

.page-faq .faq-hero__bar {
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--w-accent) 0%, var(--w-accent-light) 100%);
  margin-bottom: 18px;
}

.page-faq .faq-hero__summary {
  font-size: 15px;
  line-height: 1.75;
  color: var(--w-text-dim);
  max-width: 56ch;
  margin: 0;
}

.page-faq .faq-hero__summary strong {
  color: var(--w-white);
  font-weight: 600;
}

.page-faq .faq-search {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--w-light-bg);
  border-radius: 999px;
  padding: 6px 8px 6px 18px;
  box-shadow: var(--w-shadow-soft);
}

.page-faq .faq-search__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--w-accent);
}

.page-faq .faq-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--w-font-sans);
  font-size: 15px;
  color: var(--w-text-dark);
  padding: 8px 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.page-faq .faq-search__input::placeholder {
  color: #7A8794;
  opacity: 1;
}

.page-faq .faq-search__kbd {
  flex-shrink: 0;
  display: none;
  font-size: 12px;
  line-height: 1;
  color: #7A8794;
  background: #E4E9EF;
  border-radius: 6px;
  padding: 7px 10px;
  letter-spacing: 0.04em;
}

.page-faq .faq-hero__media {
  position: relative;
  margin: 0;
  border-radius: var(--w-radius);
  overflow: hidden;
  box-shadow: var(--w-shadow);
}

.page-faq .faq-hero__media::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, transparent 45%, var(--w-accent) 45%);
  opacity: 0.9;
}

.page-faq .faq-hot {
  padding: 72px 0 8px;
}

.page-faq .faq-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.page-faq .faq-section-head__index {
  font-size: 46px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--w-accent);
}

.page-faq .faq-section-head__text {
  border-left: 2px solid var(--w-accent);
  padding-left: 16px;
}

.page-faq .faq-section-head__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--w-white);
  margin: 4px 0 0;
  letter-spacing: -0.01em;
}

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

.page-faq .faq-item {
  background: linear-gradient(160deg, var(--faq-panel) 0%, var(--faq-panel-deep) 100%);
  border: 1px solid var(--faq-line);
  border-radius: var(--w-radius-sm);
  transition: border-color 260ms ease, box-shadow 260ms ease;
}

.page-faq .faq-item[open] {
  border-color: rgba(255, 77, 46, 0.45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.page-faq .faq-item__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--w-text);
  cursor: pointer;
  user-select: none;
}

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

.page-faq .faq-item__summary::marker {
  content: "";
}

.page-faq .faq-item__icon {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
}

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: "";
  position: absolute;
  display: block;
  background: var(--w-accent);
  border-radius: 2px;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-faq .faq-item__icon::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
}

.page-faq .faq-item__icon::after {
  top: 2px;
  left: 9px;
  width: 2px;
  height: 16px;
}

.page-faq .faq-item[open] .faq-item__icon::after {
  transform: scaleY(0);
}

.page-faq .faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-faq .faq-item[open] .faq-item__answer {
  grid-template-rows: 1fr;
}

.page-faq .faq-item__answer-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 22px;
  opacity: 0;
  transition: opacity 220ms ease;
}

.page-faq .faq-item[open] .faq-item__answer-inner {
  opacity: 1;
  padding-bottom: 20px;
}

.page-faq .faq-item__answer-inner p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--w-text-dim);
}

.page-faq .faq-item--compact .faq-item__summary {
  padding: 14px 16px;
  font-size: 14.5px;
}

.page-faq .faq-item--compact .faq-item__answer-inner {
  padding: 0 16px;
}

.page-faq .faq-item--compact[open] .faq-item__answer-inner {
  padding-bottom: 16px;
}

.page-faq .faq-guide {
  margin-top: 44px;
  display: grid;
  background: linear-gradient(135deg, var(--faq-panel) 0%, rgba(14, 36, 56, 0.92) 100%);
  border: 1px solid var(--faq-line);
  border-radius: var(--w-radius);
  overflow: hidden;
}

.page-faq .faq-guide__media {
  position: relative;
  margin: 0;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.page-faq .faq-guide__media::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -20px;
  width: 180px;
  height: 60px;
  background: var(--w-accent);
  opacity: 0.85;
  transform: rotate(-12deg);
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  pointer-events: none;
}

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

.page-faq .faq-guide__content {
  padding: 28px 24px;
}

.page-faq .faq-guide__content .eyebrow {
  color: var(--w-accent-light);
}

.page-faq .faq-guide__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--w-white);
  margin: 10px 0 8px;
}

.page-faq .faq-guide__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--w-text-dim);
  margin: 0;
}

.page-faq .faq-guide__steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .faq-guide__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--w-text);
}

.page-faq .faq-guide__steps li span {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--faq-accent-soft);
  color: var(--w-accent);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
}

.page-faq .faq-categories {
  position: relative;
  padding: 72px 0 24px;
}

.page-faq .faq-categories::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154, 167, 180, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 167, 180, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.page-faq .faq-categories .container {
  position: relative;
}

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

.page-faq .faq-cat-card {
  background: linear-gradient(165deg, rgba(18, 48, 71, 0.92), rgba(14, 36, 56, 0.96));
  border: 1px solid var(--faq-line);
  border-radius: var(--w-radius);
  padding: 22px 22px 10px;
  transition: border-color 260ms ease, transform 260ms ease;
}

.page-faq .faq-cat-card:hover {
  border-color: rgba(255, 77, 46, 0.4);
  transform: translateY(-2px);
}

.page-faq .faq-cat-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.page-faq .faq-cat-card__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--faq-accent-soft);
  color: var(--w-accent);
  border-radius: 12px;
}

.page-faq .faq-cat-card__icon svg {
  width: 20px;
  height: 20px;
}

.page-faq .faq-cat-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--w-white);
  margin: 0;
}

.page-faq .faq-cat-card__desc {
  font-size: 13px;
  color: var(--w-text-dim);
  margin: 2px 0 0;
}

.page-faq .faq-cat-card__head .badge {
  margin-left: auto;
  background: var(--faq-accent-soft);
  color: var(--w-accent);
  border: 1px solid rgba(255, 77, 46, 0.3);
}

.page-faq .faq-cat-card__list {
  display: grid;
  gap: 8px;
}

.page-faq .faq-contact {
  padding: 72px 0 96px;
}

.page-faq .faq-contact__panel {
  position: relative;
  display: grid;
  gap: 32px;
  background: linear-gradient(135deg, var(--faq-panel) 0%, var(--w-bg-deep) 78%);
  border: 1px solid var(--faq-line);
  border-radius: var(--w-radius);
  padding: 40px 28px;
  overflow: hidden;
}

.page-faq .faq-contact__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--w-accent) 0%, rgba(255, 77, 46, 0) 64%);
}

.page-faq .faq-contact__panel::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 46, 0.1), transparent 68%);
  pointer-events: none;
}

.page-faq .faq-contact__intro,
.page-faq .faq-contact__channels {
  position: relative;
  z-index: 1;
}

.page-faq .faq-contact__title {
  font-size: 30px;
  font-weight: 800;
  color: var(--w-white);
  margin: 10px 0 14px;
}

.page-faq .faq-contact__desc {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--w-text-dim);
  margin: 0 0 24px;
  max-width: 52ch;
}

.page-faq .faq-contact__intro .btn {
  margin-top: 4px;
}

.page-faq .faq-contact__channels {
  border-top: 1px solid var(--faq-line);
}

.page-faq .faq-contact__channel {
  display: grid;
  gap: 3px;
  padding: 16px 0;
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-contact__channel:last-of-type {
  border-bottom: 0;
}

.page-faq .faq-contact__note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--w-text-dim);
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--faq-line);
}

@media (min-width: 768px) {
  .page-faq .faq-hero {
    padding: 120px 0 60px;
  }

  .page-faq .faq-hero__grid {
    grid-template-columns: 5fr 4fr;
    gap: 48px;
  }

  .page-faq .faq-hero__title {
    font-size: 48px;
  }

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

  .page-faq .faq-search__kbd {
    display: inline-block;
  }

  .page-faq .faq-item__answer-inner p {
    font-size: 15px;
  }

  .page-faq .faq-guide {
    grid-template-columns: 5fr 4fr;
    align-items: stretch;
  }

  .page-faq .faq-guide__media {
    aspect-ratio: auto;
    min-height: 260px;
  }

  .page-faq .faq-guide__content {
    padding: 36px 32px;
  }

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

  .page-faq .faq-cat-card {
    padding: 26px 26px 12px;
  }

  .page-faq .faq-contact__panel {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    padding: 48px 44px;
  }

  .page-faq .faq-contact__channels {
    border-top: 0;
    border-left: 1px solid var(--faq-line);
    padding-left: 40px;
  }

  .page-faq .faq-contact__title {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
