.page-faq {
  --faq-card-bg: #FFFFFF;
  --faq-grid-gap: 14px;
  background: var(--c-light);
  overflow-x: clip;
}

.page-faq .page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-dark) 82%);
  color: var(--c-white);
  padding: 48px 0 64px;
  overflow: hidden;
}

.page-faq .page-hero::before {
  content: "";
  position: absolute;
  top: -52%;
  right: -14%;
  width: 380px;
  height: 380px;
  border: 2px solid rgba(255, 107, 26, 0.3);
  border-radius: 2px;
  transform: rotate(18deg);
}

.page-faq .page-hero::after {
  content: "";
  position: absolute;
  bottom: -72px;
  left: -56px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(192, 192, 192, 0.22);
  border-radius: 2px;
  transform: rotate(-28deg);
}

.page-faq .page-hero .breadcrumb {
  position: relative;
  margin-bottom: 36px;
  color: var(--c-silver);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-faq .page-hero .breadcrumb a {
  color: var(--c-silver);
  text-decoration: none;
  transition: color var(--ease);
}

.page-faq .page-hero .breadcrumb a:hover {
  color: var(--c-accent);
}

.page-faq .page-hero .breadcrumb__current {
  color: var(--c-white);
  font-weight: 600;
}

.page-faq .hero__grid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.page-faq .hero__content {
  width: 100%;
  max-width: 720px;
}

.page-faq .page-hero .eyebrow {
  color: var(--c-accent);
  border-color: var(--c-accent);
}

.page-faq .page-hero .page-title {
  margin: 16px 0 18px;
  font-family: var(--font-head);
  font-size: clamp(30px, 5.2vw, 46px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--c-white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.24);
}

.page-faq .page-hero .page-title::after {
  content: "";
  display: block;
  width: 84px;
  height: 5px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-gold));
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.page-faq .page-hero .page-subtitle {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.page-faq .hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-faq .hero__stats .stat {
  min-width: 96px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.page-faq .hero__stats .stat__value {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 1.1;
  color: var(--c-white);
}

.page-faq .hero__stats .stat__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-silver);
}

.page-faq .hero__visual {
  position: relative;
  flex-shrink: 0;
}

.page-faq .hero__visual::before {
  content: "";
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 74%;
  height: 74%;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-accent), transparent 70%);
  opacity: 0.45;
  transform: rotate(-6deg);
}

.page-faq .hero__img {
  position: relative;
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  box-shadow: 0 24px 44px rgba(3, 8, 20, 0.42);
  transform: rotate(2deg);
}

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

.page-faq .section--faq {
  background: var(--c-light);
}

.page-faq .section--guide {
  background: var(--c-white);
}

.page-faq .section--contact {
  background: var(--c-dark);
  color: rgba(255, 255, 255, 0.85);
}

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

.page-faq .section-head__eyebrow {
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-faq .section-head__text {
  position: relative;
  padding-top: 14px;
}

.page-faq .section-head__text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 4px;
  background: var(--c-accent);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-faq .section-head__text h2 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.15;
  color: var(--c-primary);
}

.page-faq .section-head__text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-2);
}

.page-faq .section--contact .section-head__text h2 {
  color: var(--c-white);
}

.page-faq .section--contact .section-head__text p {
  color: rgba(255, 255, 255, 0.62);
}

.page-faq .faq__grid {
  display: flex;
  flex-direction: column;
  gap: var(--faq-grid-gap);
}

.page-faq .faq__item {
  background: var(--faq-card-bg);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(8, 20, 41, 0.05);
  overflow: hidden;
  transition: box-shadow var(--ease), border-color var(--ease);
}

.page-faq .faq__item:hover {
  box-shadow: 0 10px 28px rgba(8, 20, 41, 0.1);
}

.page-faq .faq__item[open] {
  border-left-color: var(--c-gold);
}

.page-faq .faq__summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 14px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-primary);
  user-select: none;
}

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

.page-faq .faq__summary:hover {
  background: rgba(245, 247, 250, 0.75);
}

.page-faq .faq__index {
  min-width: 32px;
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1;
  text-align: center;
  color: var(--c-accent);
}

.page-faq .faq__question {
  flex: 1;
}

.page-faq .faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  transition: background var(--ease), border-color var(--ease);
}

.page-faq .faq__icon::before,
.page-faq .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--c-accent);
  transition: transform var(--ease), background var(--ease);
}

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

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

.page-faq .faq__item[open] .faq__icon {
  border-color: var(--c-accent);
  background: var(--c-accent);
}

.page-faq .faq__item[open] .faq__icon::before,
.page-faq .faq__item[open] .faq__icon::after {
  background: var(--c-white);
}

.page-faq .faq__item[open] .faq__icon::before {
  transform: translate(-50%, -50%) scaleY(0);
}

.page-faq .faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 280ms ease;
}

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

.page-faq .faq__answer-inner {
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid var(--c-border);
  padding: 0 18px 16px 62px;
}

.page-faq .faq__answer p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-2);
}

.page-faq .faq__answer a {
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 1px dotted var(--c-accent);
}

.page-faq .guide__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-faq .guide__card {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--c-light);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  transition: box-shadow var(--ease), transform var(--ease);
}

.page-faq .guide__card:hover {
  box-shadow: 0 14px 32px rgba(8, 20, 41, 0.1);
  transform: translateY(-4px);
}

.page-faq .guide__num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-size: 46px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-accent);
}

.page-faq .guide__title {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.2;
  color: var(--c-primary);
}

.page-faq .guide__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
}

.page-faq .guide__steps li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-2);
}

.page-faq .guide__steps li::marker {
  color: var(--c-accent);
  font-weight: 700;
}

.page-faq .guide__meta {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 4px;
  background: rgba(255, 215, 0, 0.14);
  color: #7A5C1E;
  font-size: 12px;
  font-weight: 600;
}

.page-faq .contact__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.page-faq .contact__card {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--c-accent);
  border-radius: 6px;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.page-faq .contact__card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--c-gold);
  transform: translateX(6px);
}

.page-faq .contact__card-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-silver);
}

.page-faq .contact__card-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-white);
  word-break: break-all;
}

.page-faq .contact__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.page-faq .contact__aside::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 20px;
  width: 64px;
  height: 4px;
  background: var(--c-accent);
}

.page-faq .contact__img {
  width: 100%;
  max-width: 240px;
  height: auto;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

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

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

  .page-faq .hero__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }

  .page-faq .hero__content {
    flex: 1;
    padding-right: 24px;
  }

  .page-faq .hero__visual {
    flex-shrink: 0;
  }

  .page-faq .hero__img {
    width: 200px;
    height: 200px;
  }

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

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

  .page-faq .guide__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .page-faq .guide__card:last-child {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .page-faq .page-hero {
    padding: 72px 0 96px;
  }

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

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

  .page-faq .faq__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    column-gap: 20px;
  }

  .page-faq .faq__item:nth-child(even) {
    margin-top: 40px;
  }

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

  .page-faq .guide__card:last-child {
    grid-column: auto;
  }

  .page-faq .guide__card--offset {
    margin-top: 28px;
  }

  .page-faq .contact__grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 56px;
  }

  .page-faq .contact__info {
    flex: 1;
  }

  .page-faq .contact__aside {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 96px;
  }
}
