/* Стили страницы /faq/ — перенесены из инлайнового <style> (05.11.2026). Подключаются только на этой странице. */
/* ===== FAQ STYLES ===== */
.faq-hero {
  background: var(--bg);
  padding: 48px 0 56px;
}
.faq-hero__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}
.faq-hero__sub {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

/* Якорная навигация */
.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.faq-nav__link {
  display: inline-block;
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}
.faq-nav__link:hover {
  border-color: var(--red);
  color: var(--red);
  background: #fff5f5;
}

/* FAQ секции */
.faq-body {
  padding: 56px 0 80px;
}
.faq-section {
  margin-bottom: 56px;
}
.faq-section__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-soft);
}

/* Accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-soft);
  transition: transform 0.25s, border-color 0.2s, color 0.2s;
  line-height: 1;
  text-align: center;
}
.faq-item[open] summary::after {
  content: '−';
  border-color: var(--red);
  color: var(--red);
}
.faq-item[open] summary { color: var(--red); }
.faq-answer {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 70ch;
}
.faq-answer p { margin-bottom: 10px; }
.faq-answer a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.faq-answer a:hover { opacity: 0.8; }

/* CTA */
.faq-cta {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.faq-cta__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}
.faq-cta__sub {
  font-size: 15px;
  opacity: 0.75;
}
