.page-faq {
  background: var(--c-sand);
  color: var(--c-deep);
  overflow-x: hidden;
}

.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 88px;
  background-color: var(--c-deep);
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.5px), linear-gradient(130deg, var(--c-deep) 0%, var(--c-ocean) 72%);
  background-size: 28px 28px, cover;
}

.page-faq .faq-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 380px;
  background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(255, 107, 53, 0.28) 12px 22px, transparent 22px 40px);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: 0.6;
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-flame) 0%, var(--c-yellow) 55%, transparent 100%);
}

.page-faq .faq-hero__breadcrumb {
  position: relative;
  z-index: 2;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.55);
}

.page-faq .faq-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.page-faq .faq-hero__breadcrumb a:hover {
  color: var(--c-yellow);
}

.page-faq .faq-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-faq .faq-hero__kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px 5px 18px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-yellow);
  border: 1px solid rgba(255, 215, 0, 0.35);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

.page-faq .faq-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.12;
  color: var(--c-white);
  margin: 0 0 16px;
  max-width: 720px;
  text-wrap: balance;
}

.page-faq .faq-hero__lead {
  max-width: 620px;
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: break-word;
}

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

.page-faq .faq-hero__actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--c-white);
}

.page-faq .faq-hero__actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.page-faq .faq-tabs {
  position: relative;
  z-index: 5;
  margin-top: -48px;
}

.page-faq .faq-tabs__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  padding: 12px;
  background: var(--c-white);
  border-left: 4px solid var(--c-flame);
  box-shadow: 0 14px 40px rgba(11, 30, 51, 0.16);
}

.page-faq .faq-tabs__link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  color: var(--c-deep);
  text-decoration: none;
  padding: 10px 18px 10px 24px;
  background: var(--c-sand);
  border: 1px solid transparent;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.page-faq .faq-tabs__link:hover,
.page-faq .faq-tabs__link--active {
  background: var(--c-flame);
  color: var(--c-white);
  transform: translateY(-2px);
}

.page-faq .faq-section {
  position: relative;
  padding: 56px 0 80px;
  background-image: radial-gradient(rgba(11, 30, 51, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}

.page-faq .faq-section__head {
  max-width: 560px;
  margin-bottom: 40px;
  border-left: 4px solid var(--c-flame);
  padding-left: 18px;
}

.page-faq .faq-section__kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-flame);
  margin-bottom: 8px;
}

.page-faq .faq-section__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  color: var(--c-deep);
  margin: 0 0 8px;
}

.page-faq .faq-section__desc {
  margin: 0;
  color: rgba(11, 30, 51, 0.66);
  font-size: 14px;
  line-height: 1.7;
}

.page-faq .faq-group {
  scroll-margin-top: 90px;
  margin-bottom: 64px;
  padding-top: 20px;
  border-top: 3px solid var(--c-flame);
}

.page-faq .faq-group:target {
  border-top-color: var(--c-yellow);
}

.page-faq .faq-group__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.page-faq .faq-group__num {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1;
  color: var(--c-flame);
  padding-right: 14px;
  border-right: 2px solid var(--c-deep);
}

.page-faq .faq-group__title-wrap {
  padding-top: 2px;
}

.page-faq .faq-group__title {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 4px;
  color: var(--c-deep);
}

.page-faq .faq-group__desc {
  font-size: 13px;
  letter-spacing: 0.03em;
  margin: 0;
  color: rgba(11, 30, 51, 0.58);
}

.page-faq .faq-group__items {
  display: grid;
  gap: 14px;
}

.page-faq .faq-item {
  background: var(--c-white);
  border: 1px solid rgba(11, 30, 51, 0.08);
  border-left: 4px solid transparent;
  box-shadow: 0 2px 6px rgba(11, 30, 51, 0.04);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.page-faq .faq-item[open] {
  border-left-color: var(--c-flame);
  box-shadow: 0 10px 28px rgba(11, 30, 51, 0.09);
  transform: translateY(-2px);
}

.page-faq .faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-deep);
  transition: color 0.2s;
  user-select: none;
}

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

.page-faq .faq-item[open] .faq-item__q {
  color: var(--c-deep);
}

.page-faq .faq-item__icon {
  flex-shrink: 0;
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid var(--c-electric);
  border-radius: 2px;
  transition: border-color 0.3s var(--ease-out);
}

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--c-electric);
  transition: transform 0.3s var(--ease-out), background-color 0.3s;
}

.page-faq .faq-item__icon::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.page-faq .faq-item__icon::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.page-faq .faq-item[open] .faq-item__icon {
  border-color: var(--c-flame);
}

.page-faq .faq-item[open] .faq-item__icon::before,
.page-faq .faq-item[open] .faq-item__icon::after {
  background: var(--c-flame);
}

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

.page-faq .faq-item__a {
  padding: 0 22px 22px;
  max-width: 860px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(11, 30, 51, 0.78);
  animation: faq-item-in 0.35s var(--ease-out) both;
}

.page-faq .faq-item__a p {
  margin: 0 0 8px;
}

.page-faq .faq-item__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-weight: 700;
  font-size: 13px;
  color: var(--c-electric);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.page-faq .faq-item__more:hover {
  color: var(--c-flame);
  border-bottom-color: var(--c-flame);
}

.page-faq .faq-contact {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background-color: var(--c-deep);
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.5px);
  background-size: 26px 26px;
  color: var(--c-white);
}

.page-faq .faq-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-flame), var(--c-yellow) 55%, var(--c-flame));
}

.page-faq .faq-contact::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.03), 0 0 0 54px rgba(255, 107, 53, 0.08);
  pointer-events: none;
}

.page-faq .faq-contact__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

.page-faq .faq-contact__kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-yellow);
  margin-bottom: 8px;
}

.page-faq .faq-contact__title {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--c-white);
}

.page-faq .faq-contact__lead {
  max-width: 500px;
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.page-faq .faq-contact__list {
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-faq .faq-contact__row {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.07);
  border-left: 4px solid var(--c-flame);
}

.page-faq .faq-contact__row dt {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.page-faq .faq-contact__row dd {
  margin: 0;
  font-weight: 800;
  font-size: 16px;
  overflow-wrap: anywhere;
  color: var(--c-white);
}

.page-faq .faq-contact__email-hover {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-faq .faq-contact__tip {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--c-deep);
  background: var(--c-yellow);
  border-radius: 2px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
}

.page-faq .faq-contact__email-hover:hover .faq-contact__tip {
  opacity: 1;
  transform: translateX(0);
}

.page-faq .faq-contact__note {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 28px;
}

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

.page-faq .faq-contact__visual {
  display: grid;
  gap: 20px;
  align-content: center;
}

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

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

.page-faq .faq-contact__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.07);
  border-top: 3px solid var(--c-flame);
}

.page-faq .faq-contact__step-num {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1;
  color: var(--c-flame);
}

.page-faq .faq-contact__step span:last-child {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item__a {
    animation: none;
  }
  .page-faq .faq-tabs__link,
  .page-faq .faq-item__q,
  .page-faq .faq-item__icon::before,
  .page-faq .faq-item__icon::after,
  .page-faq .faq-contact__tip {
    transition: none;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero {
    padding: 56px 0 112px;
  }

  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
  }

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

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

  .page-faq .faq-tabs__inner {
    padding: 14px 18px;
  }

  .page-faq .faq-tabs__link {
    font-size: 15px;
    padding: 12px 24px 12px 30px;
  }

  .page-faq .faq-section {
    padding: 72px 0 100px;
  }

  .page-faq .faq-group__head {
    align-items: center;
  }

  .page-faq .faq-group__num {
    font-size: 44px;
  }

  .page-faq .faq-group__title {
    font-size: 28px;
  }

  .page-faq .faq-item__q {
    font-size: 16px;
    padding: 22px 28px;
  }

  .page-faq .faq-item__a {
    padding: 0 28px 26px 30px;
    font-size: 15px;
  }

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

  .page-faq .faq-contact__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 60px;
  }

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

  .page-faq .faq-contact__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .page-faq .faq-contact__step {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@keyframes faq-item-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
