/* ============================================================
   FAQ PAGE — «Вопросы и ответы»
   ============================================================ */

/* Hero */
.faq-hero {
  background: var(--paper, #FAF7EE);
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(3rem, 6vh, 4rem);
}
.faq-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}
.faq-hero__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy, #7A1E2E);
  display: block;
  margin-bottom: 16px;
}
.faq-hero__title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  color: var(--navy, #1B3A5C);
  margin: 0 0 16px;
}
.faq-hero__lead {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft, #3D4454);
  margin: 0;
}

/* Filter tabs container */
.faq-filter-wrap {
  background: var(--paper, #FAF7EE);
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}
.faq-filter {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: var(--paper-deep, #F2EBD8);
  width: fit-content;
  padding: 4px;
}
.faq-filter__tab {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  background: none;
  border: none;
  color: var(--ink-muted, #6B7280);
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease;
}
.faq-filter__tab:hover { color: var(--navy, #1B3A5C); }
.faq-filter__tab--active {
  background: var(--paper, #FAF7EE);
  color: var(--navy, #1B3A5C);
  font-weight: 600;
}

/* FAQ list */
.faq-list {
  background: var(--paper, #FAF7EE);
  padding: clamp(2rem, 4vh, 3rem) 0 clamp(4rem, 8vh, 6rem);
}
.faq-list__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.faq-item { border-top: 1px solid rgba(27, 58, 92, 0.1); }
.faq-item:last-child { border-bottom: 1px solid rgba(27, 58, 92, 0.1); }
.faq-item[data-hidden="true"] { display: none; }

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: 'Literata', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink, #1A1F2E);
  transition: color 200ms ease;
}
.faq-item__q:hover { color: var(--burgundy, #7A1E2E); }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { display: none; content: ''; }
.faq-item__q::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--ink-muted, #6B7280);
  border-bottom: 1.5px solid var(--ink-muted, #6B7280);
  transform: rotate(45deg);
  transition: transform 300ms ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] > .faq-item__q::after { transform: rotate(-135deg); }

.faq-item__a { padding: 0 0 24px; }
.faq-item__a p {
  font-family: 'Literata', Georgia, serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft, #3D4454);
  margin: 0 0 12px;
}
.faq-item__a a { color: var(--burgundy, #7A1E2E); }

.faq-item__link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  background: var(--paper-deep, #F2EBD8);
  text-decoration: none;
  color: var(--navy, #1B3A5C);
  font-family: 'Literata', Georgia, serif;
  font-size: 14px;
  margin-top: 12px;
  transition: background 200ms ease;
}
.faq-item__link:hover { background: white; }
.faq-item__domain {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--ink-muted, #6B7280);
  margin-left: auto;
  flex-shrink: 0;
}

/* Form */
.faq-form {
  background: var(--paper-deep, #F2EBD8);
  padding: clamp(4rem, 8vh, 6rem) 0;
}
.faq-form__inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}
.faq-form__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy, #7A1E2E);
  display: block;
  margin-bottom: 12px;
}
.faq-form__title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--navy, #1B3A5C);
  margin: 0 0 32px;
}

.faq-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .faq-form__row { grid-template-columns: 1fr; }
}

.faq-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.faq-form__field label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft, #3D4454);
}
.faq-form__field input,
.faq-form__field select,
.faq-form__field textarea {
  font-family: 'Literata', Georgia, serif;
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid rgba(27, 58, 92, 0.15);
  background: var(--paper, #FAF7EE);
  color: var(--ink, #1A1F2E);
  transition: border-color 200ms ease;
}
.faq-form__field input:focus,
.faq-form__field select:focus,
.faq-form__field textarea:focus {
  outline: none;
  border-color: var(--gold, #B8860B);
}

.faq-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.faq-form__consent input {
  margin-top: 4px;
  accent-color: var(--navy, #1B3A5C);
}
.faq-form__consent label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink-muted, #6B7280);
}

.faq-form__submit {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper, #FAF7EE);
  background: var(--navy, #1B3A5C);
  border: none;
  padding: 14px 40px;
  cursor: pointer;
  transition: background 200ms ease;
}
.faq-form__submit:hover { background: var(--burgundy, #7A1E2E); }

/* Disclaimer */
.faq-disclaimer {
  background: var(--paper, #FAF7EE);
  padding: clamp(2rem, 4vh, 3rem) 0;
  border-top: 1px solid rgba(27, 58, 92, 0.08);
}
.faq-disclaimer__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}
.faq-disclaimer p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink-muted, #6B7280);
  line-height: 1.6;
  margin: 0 0 8px;
}
.faq-disclaimer a {
  color: var(--burgundy, #7A1E2E);
  font-weight: 600;
  text-decoration: none;
}
.faq-disclaimer__date {
  font-style: italic;
  font-size: 12px;
}
