/* Вопрос–ответ. Основа: Figma v9, но вместо абсолютных координат — адаптивные сетки. */
.page-faq .masthead-wrap { border-radius: var(--radius) var(--radius) 0 0; }
.page-faq .qa-hero { margin-top: -1px; border-radius: 0 0 var(--radius) var(--radius); padding-top: 0; padding-bottom: 73px; }
.inner-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 12px; margin: 0 0 40px; }
.inner-breadcrumb a:hover { color: var(--wine); text-decoration: underline; }
.qa-hero__grid { display: grid; grid-template-columns: minmax(0,1.17fr) minmax(350px,.83fr); gap: clamp(40px, 5.3vw, 84px); align-items: start; }
.qa-hero__copy { padding-top: 8px; min-width: 0; }
.qa-hero .eyebrow { margin-bottom: 12px; }
.qa-hero h1 { max-width: 680px; margin-bottom: 21px; font-size: clamp(46px,4.6vw,67px); letter-spacing: -.065em; line-height: 1.08; }
.qa-hero h1 em { white-space: nowrap; }
.qa-hero__description { max-width: 530px; font-size: 17px; line-height: 1.75; margin-bottom: 38px; }
.qa-benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.qa-benefits li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink); }
.qa-benefits li::before { content: '✓'; width: 23px; height: 23px; display: grid; place-items: center; flex-shrink: 0; background: var(--peach); border-radius: 50%; color: var(--wine); font-weight: 700; font-size: 12px; }
.qa-hero__form { width: 100%; max-width: 460px; justify-self: end; }
.qa-form { background: #fff; border: 1px solid var(--border); border-radius: 15px; padding: clamp(24px,2.85vw,40px); }
.qa-form h2 { font-size: clamp(22px,2vw,27px); letter-spacing: -.045em; line-height: 1.26; margin: 0 0 6px; }
.qa-form__lead { font-size: 12.5px; line-height: 1.65; margin: 0 0 25px; }
.qa-field { margin-bottom: 15px; }
.qa-field > label { display: block; color: var(--ink); font-weight: 600; font-size: 12px; line-height: 1.6; margin-bottom: 7px; }
.qa-field > label small { font-size: 10px; font-weight: 400; color: var(--muted); }
.qa-field textarea, .qa-field input { display: block; width: 100%; background: var(--peach); border: 1px solid transparent; border-radius: 11px; color: var(--ink); padding: 15px 15px; font: 400 12px/1.65 var(--font); transition: background .2s, border-color .2s; }
.qa-field textarea { resize: vertical; min-height: 127px; max-height: 350px; }
.qa-field input { min-height: 53px; }
.qa-field input::placeholder, .qa-field textarea::placeholder { color: #998a80; opacity: 1; }
.qa-field :is(input,textarea):focus { outline: none; background: #fffaf5; border-color: var(--rust); }
.qa-field :is(input,textarea)[aria-invalid="true"] { border-color: #a42d31; }
.qa-consent { font-size: 11px; margin: 15px 0 0; }
.qa-consent input { width: 18px; height: 18px; }
.qa-form__submit { width: 100%; margin-top: 15px; min-height: 51px; }
.qa-form__submit:disabled { cursor: wait; opacity: .7; }
.qa-form__feedback { margin-top: 9px; }
.qa-form__note { font-size: 10.5px; text-align: center; line-height: 1.7; margin: 6px 0 0; }
.qa-form__note a { text-decoration: underline; text-underline-offset: 3px; }
.qa-form__privacy-note { margin: 11px 0 0; padding-top: 9px; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; line-height: 1.55; }
.qa-answers { padding-top: 70px; padding-bottom: 65px; }
.qa-answers__head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 34px; }
.qa-answers__head .eyebrow { margin-bottom: 13px; }
.qa-answers__head h2 { margin: 0; white-space: nowrap; }
.qa-filters { display: flex; justify-content: end; align-items: center; flex-wrap: wrap; gap: 8px; }
.qa-filter { display: inline-flex; justify-content: center; align-items: center; min-height: 40px; padding: 9px 18px; border-radius: 999px; background: var(--peach); color: var(--ink); font-size: 12px; white-space: nowrap; transition: background .2s, color .2s; }
.qa-filter:hover { background: #e9dac9; }
.qa-filter.is-active { background: var(--wine); color: #fff; }
.qa-filter.is-active:hover { background: var(--wine-dark); }
.qa-list { display: grid; gap: 9px; }
.qa-item { min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 13px; overflow: hidden; }
.qa-item summary { cursor: pointer; list-style: none; display: block; position: relative; padding: 15px 70px 17px 24px; }
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 7px; font-size: 11px; line-height: 1.5; color: #948178; }
.qa-item__tag { color: var(--rust); background: var(--peach); border-radius: 999px; padding: 4px 11px; font-size: 10px; line-height: 1.3; white-space: nowrap; }
.qa-item__tag::before { content: '•'; margin-right: 5px; color: var(--wine); }
.qa-item__title { display: block; font-size: clamp(16px,1.42vw,20px); line-height: 1.42; color: var(--ink); font-weight: 500; letter-spacing: -.035em; }
.qa-item__toggle { position: absolute; right: 23px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; background: var(--peach); color: var(--wine); border-radius: 50%; }
.qa-item__toggle::after { content: '+'; font-size: 21px; line-height: 1; font-weight: 400; }
.qa-item[open] .qa-item__toggle::after { content: '−'; }
.qa-item[open] .qa-item__toggle { top: 44px; }
.qa-item[open] summary { padding-bottom: 9px; }
.qa-item__answer { display: flex; gap: 13px; padding: 0 75px 22px 24px; }
.qa-item__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--wine); overflow: hidden; flex: 0 0 auto; }
.qa-item__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.qa-item__expert { font-size: 11px; color: var(--wine); font-weight: 600; }
.qa-item__answer p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; max-width: 940px; }
.qa-empty { margin: 40px 0; }
.qa-pagination { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 28px; }
.qa-pagination a { display: grid; place-items: center; min-width: 37px; height: 37px; background: var(--peach); border-radius: 50%; font-size: 12px; }
.qa-pagination a.is-active { background: var(--wine); color: white; }
.qa-pagination a:hover:not(.is-active) { background: #ead8c8; }
.page-faq .contact-panel { margin-top: 28px; }
@media (max-width: 1120px) {
  .qa-hero__grid { grid-template-columns: minmax(0,1fr) minmax(345px,.87fr); gap: 35px; }
  .qa-hero h1 { font-size: clamp(42px,4.6vw,58px); }
  .qa-hero__description { font-size: 14px; }
  .qa-answers__head { align-items: start; flex-direction: column; }
  .qa-filters { justify-content: flex-start; }
}
@media (max-width: 800px) {
  .qa-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .qa-hero__form { justify-self: start; max-width: none; }
  .qa-hero__description { max-width: 640px; }
  .qa-hero .eyebrow { margin-top: 0; }
}
@media (max-width: 640px) {
  .page-faq .qa-hero { padding-bottom: 29px; }
  .inner-breadcrumb { font-size: 11px; margin-bottom: 27px; }
  .qa-hero h1 { font-size: clamp(37px,9vw,49px); }
  .qa-hero h1 em { white-space: normal; }
  .qa-hero__description { font-size: 13px; line-height: 1.72; margin-bottom: 22px; }
  .qa-benefits li { font-size: 12px; }
  .qa-form { padding: 20px; }
  .qa-form h2 { font-size: 22px; }
  .qa-field textarea { min-height: 138px; }
  .qa-field > label { font-size: 11px; }
  .qa-answers { padding-top: 36px; padding-bottom: 37px; }
  .qa-answers__head { gap: 20px; margin-bottom: 24px; }
  .qa-answers__head h2 { font-size: clamp(31px,8vw,42px); white-space: normal; }
  .qa-filters { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 7px; justify-content: flex-start; }
  .qa-filter { flex: 0 0 auto; font-size: 11px; min-height: 36px; padding: 8px 13px; }
  .qa-item summary { padding: 16px 53px 17px 15px; }
  .qa-item__meta { font-size: 9px; gap: 6px; }
  .qa-item__tag { font-size: 9px; padding: 4px 9px; }
  .qa-item__title { font-size: 15px; letter-spacing: -.02em; }
  .qa-item__toggle { width: 31px; height: 31px; right: 13px; }
  .qa-item[open] .qa-item__toggle { top: 36px; }
  .qa-item__answer { padding: 0 18px 21px 15px; }
  .qa-item__answer p { font-size: 11px; }
  .qa-item__avatar { width: 31px; height: 31px; }
  .page-faq .contact-panel { margin-top: 13px; }
}
