/* Страница FAQ */
.page-faq main {
  padding-top: var(--header-h);
}

.faq-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.faq-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.faq-breadcrumbs a:hover {
  color: var(--cyan);
}

.faq-breadcrumbs [aria-current='page'] {
  color: var(--cyan-dark);
  font-weight: 600;
}

.faq-hero {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(180deg, var(--cyan-light) 0%, var(--white) 70%);
}

.faq-hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
}

.faq-hero__lead {
  margin: 0;
  max-width: 58ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-body);
}

.faq-list {
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.faq-item {
  width: 100%;
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  border: 1px solid rgba(83, 66, 143, 0.1);
  box-shadow: 0 4px 20px rgba(50, 40, 85, 0.05);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq-item[open] {
  border-color: rgba(211, 74, 148, 0.25);
  box-shadow: 0 10px 32px rgba(211, 74, 148, 0.08);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--text-dark);
  transition: color 0.2s var(--ease);
  box-sizing: border-box;
}

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

.faq-item__question::marker {
  content: '';
}

.faq-item[open] .faq-item__question {
  color: var(--cyan-dark);
}

.faq-item__text {
  flex: 1;
  min-width: 0;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(211, 74, 148, 0.1);
  color: var(--pink);
  transition: transform 0.3s var(--ease), background 0.25s var(--ease);
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
  background: var(--pink);
  color: var(--white);
}

.faq-item__answer {
  padding: 0 1.25rem 1.15rem;
}

.faq-item__body {
  padding-top: 0.15rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-body);
  border-top: 1px solid rgba(83, 66, 143, 0.08);
}

.faq-item__body strong {
  color: var(--text-dark);
}

.faq-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}

.faq-cta {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(83, 66, 143, 0.08) 0%, rgba(211, 74, 148, 0.06) 100%);
  border: 1px solid rgba(83, 66, 143, 0.12);
  text-align: center;
}

.faq-cta p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--text-body);
}

.faq-cta .btn {
  min-width: 220px;
}

@media (max-width: 600px) {
  .faq-item__question {
    padding: 1rem;
    font-size: 0.92rem;
  }

  .faq-item__answer {
    padding: 0 1rem 1rem;
  }
}
