/* ===================== FAQ /faq/ (17.10) — из design/faq/index.html
   НЕ копировать базовые .ct-chip / .ct-chip span / .ct-chip:hover (строки 388–391 макета):
   на проде они в pages-common.css; здесь только FAQ-оверрайды .fq-nav .ct-chip* */

.pl-hero__sub{margin:-4px 0 28px;max-width:640px;font-family:Futura,Jost,sans-serif;font-weight:400;font-size:19px;line-height:1.55;color:#666;}
.fq-search{position:relative;max-width:720px;}
.fq-search__icon{position:absolute;left:20px;top:50%;width:22px;height:22px;margin-top:-11px;color:#888;pointer-events:none;}
.fq-search__icon svg{width:22px;height:22px;display:block;}
.fq-search__input{box-sizing:border-box;width:100%;height:60px;padding:0 56px 0 56px;border:1.5px solid #e0e0e0;border-radius:12px;background:#fff;font-family:Futura,Jost,sans-serif;font-size:17px;color:#1A1A1A;outline:none;transition:border-color .2s,box-shadow .2s;-webkit-appearance:none;appearance:none;}
.fq-search__input::placeholder{color:#9a9a9a;}
.fq-search__input:focus{border-color:#1A1A1A;box-shadow:0 0 0 4px rgba(255,212,0,.35);}
.fq-search__input::-webkit-search-cancel-button{display:none;}
.fq-search__clear{all:unset;box-sizing:border-box;cursor:pointer;position:absolute;right:12px;top:50%;width:36px;height:36px;margin-top:-18px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:22px;line-height:1;color:#666;}
.fq-search__clear:hover{background:#F2F2F2;color:#1A1A1A;}
.fq-search__clear[hidden]{display:none;}
.fq-search__hint{margin:12px 0 0 2px;font-family:Futura,Jost,sans-serif;font-size:14px;color:#888;}
.fq-search__hint button{all:unset;cursor:pointer;color:#1A1A1A;font-weight:600;text-decoration:underline;text-decoration-color:#c8c8c8;text-underline-offset:3px;}
.fq-search__hint button:hover{text-decoration-color:#FFD400;}
/* тело: навигация слева, вопросы справа */
.fq-body{background:#F8F8F8;padding:56px 0 72px;}
/* sticky .fq-nav ломает глобальный overflow-x:hidden на html/body → clip не создаёт scrollport */
html:has(body.page-faq),
body.page-faq{overflow-x:clip!important;}
.fq-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:48px;align-items:start;}
.fq-nav{position:sticky;top:124px;display:flex;flex-direction:column;gap:8px;align-self:start;}
.fq-nav .ct-chip{justify-content:space-between;width:100%;box-sizing:border-box;border-radius:12px;padding:12px 16px;text-decoration:none;}
.fq-nav .ct-chip.is-active{background:#1A1A1A;border-color:#1A1A1A;color:#fff;}
.fq-nav .ct-chip.is-active span{background:#FFD400;color:#1A1A1A;}
.fq-nav .ct-chip.is-empty{opacity:.4;pointer-events:none;}
.fq-main{display:flex;flex-direction:column;gap:24px;min-width:0;}
.fq-status{margin:0;font-family:Futura,Jost,sans-serif;font-weight:600;font-size:16px;color:#1A1A1A;}
.fq-status[hidden]{display:none;}
.fq-cat{background:#fff;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.06);padding:28px 32px 8px;scroll-margin-top:124px;}
.fq-cat[hidden]{display:none;}
.fq-cat__title{margin:0 0 6px;font-family:Futura,Jost,sans-serif;font-weight:600;font-size:24px;line-height:1.25;color:#1A1A1A;}
.fq-cat .faq__item{border-bottom:1px solid #EDEDED;scroll-margin-top:124px;}
.fq-cat .faq__item:last-child,.fq-cat .faq__item.is-last{border-bottom:0;}
.fq-cat .faq__item[hidden]{display:none;}
.fq-cat .faq__question{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:20px 0;background:none;border:0;text-align:left;cursor:pointer;font-family:Futura,Jost,sans-serif;font-weight:600;font-size:17px;line-height:1.4;color:#1A1A1A;}
.fq-cat .faq__question:focus-visible{outline:2px solid #FFD400;outline-offset:4px;border-radius:4px;}
.fq-cat .faq__icon{width:28px;height:28px;border-radius:50%;background:#FFD400;color:#1A1A1A;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .3s ease;}
.fq-cat .faq__item.open .faq__icon{transform:rotate(180deg);}
.fq-cat .faq__answer{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s ease,padding-bottom .35s ease;}
.fq-cat .faq__answer-inner{overflow:hidden;}
.fq-cat .faq__answer p{margin:0 0 10px;max-width:760px;font-family:Futura,Jost,sans-serif;font-weight:400;font-size:16px;line-height:1.7;color:#555;}
.fq-cat .faq__answer p:last-child{margin-bottom:0;}
.fq-cat .faq__answer a{color:#1A1A1A;font-weight:600;text-decoration:underline;text-decoration-color:#c8c8c8;text-underline-offset:3px;}
.fq-cat .faq__answer a:hover{text-decoration-color:#FFD400;}
.fq-cat .faq__item.open .faq__answer{grid-template-rows:1fr;padding-bottom:22px;}
.fq-q mark{background:#FFF1A8;color:inherit;border-radius:3px;padding:0 1px;}
/* пустой результат */
.fq-empty{display:flex;flex-direction:column;align-items:flex-start;gap:16px;background:#fff;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.06);padding:32px;}
.fq-empty[hidden]{display:none;}
.fq-empty__title{margin:0;font-family:Futura,Jost,sans-serif;font-weight:600;font-size:22px;line-height:1.3;color:#1A1A1A;}
.fq-empty__sub{margin:0;font-family:Futura,Jost,sans-serif;font-size:16px;line-height:1.6;color:#666;}
/* «Не нашли ответ?» — карточка pl-help, кнопка WhatsApp */
.fq-help{padding:0 0 72px;background:#F8F8F8;}
.fq-empty .btn-primary.fq-wa{width:auto;}
.btn-primary.fq-wa{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;height:56px;padding:0 32px;}
.fq-wa svg{width:20px;height:20px;fill:#000;flex:none;}

@media (max-width:1100px){
  .fq-layout{grid-template-columns:220px minmax(0,1fr);gap:32px;}
}
@media (max-width:767px){
  .pl-hero__sub{font-size:16px;margin:-2px 0 20px;}
  .fq-search__input{height:54px;font-size:16px;padding:0 48px;}
  .fq-search__icon{left:16px;}
  .fq-body{padding:24px 0 48px;}
  .fq-layout{grid-template-columns:1fr;gap:20px;}
  .fq-nav{display:none;} /* на мобиле навигации нет: поиск + заголовки тем */
  .fq-main{gap:16px;}
  .fq-cat{padding:20px 18px 4px;border-radius:14px;scroll-margin-top:90px;}
  .fq-cat__title{font-size:20px;}
  .fq-cat .faq__question{font-size:15px;gap:16px;padding:16px 0;}
  .fq-cat .faq__answer p{font-size:15px;}
  .fq-cat .faq__item.open .faq__answer{padding-bottom:18px;}
  .fq-empty{padding:24px 18px;}
  .fq-help{padding-bottom:48px;}
  .btn-primary.fq-wa,.fq-empty .btn-primary.fq-wa{width:100%;}
}
@media (prefers-reduced-motion:reduce){.fq-cat .faq__icon,.fq-cat .faq__answer{transition:none;}}

/* Bricks typography leak + кнопка WA */
body.page-faq .pl-crumbs,body.page-faq .pl-crumbs a,body.page-faq .pl-crumbs__cur,
body.page-faq .pl-hero__h1,body.page-faq .pl-hero__sub,body.page-faq .ct-chip{
  font-family:Futura,Jost,sans-serif!important;font-synthesis:none!important;
}
body.page-faq .pl-crumbs,
body.page-faq .pl-crumbs a,
body.page-faq .pl-crumbs span{font-size:14px!important;line-height:17px!important;}
body.page-faq .pl-crumbs{height:17px;overflow:hidden;}
body.page-faq .pl-hero__h1{font-size:52px!important;line-height:1.12!important;font-weight:600!important;}
body.page-faq .pl-hero__sub{font-size:19px!important;line-height:1.55!important;font-weight:400!important;color:#666!important;}
body.page-faq .ct-chip{font-size:15px!important;line-height:1.2!important;font-weight:600!important;}
body.page-faq .fq-cat__title{font-size:24px!important;line-height:1.25!important;font-weight:600!important;}
body.page-faq .pl-help__title{font-size:28px!important;line-height:1.25!important;font-weight:600!important;}
body.page-faq .pl-help__sub{font-size:17px!important;line-height:1.55!important;}
/* Кнопка WA на одной линии с верхом текста (макет: y=40), иначе Futura раздувает колонку и center сдвигает btn */
body.page-faq .pl-help__card{align-items:flex-start!important;}
body.page-faq .fq-search__hint{font-size:14px!important;line-height:1.15!important;}
.page-faq .btn-primary{position:relative;overflow:visible;display:inline-flex;align-items:center;justify-content:center;padding:0 28px;border-radius:8px;font-family:Futura,Jost,sans-serif;font-weight:600;font-size:16px;line-height:1.25;text-align:center;text-decoration:none;cursor:pointer;box-sizing:border-box;background:#FFD400;color:#000;border:none;transition:background .2s,box-shadow .2s;}
.page-faq .btn-primary:hover{background:#FFD400;box-shadow:0 0 14px 2px rgba(255,212,0,.4),0 0 24px 6px rgba(255,212,0,.15);}
.page-faq .btn-primary.pl-help__btn.fq-wa{min-height:56px;height:56px;padding:0 32px;gap:10px;white-space:nowrap;}
@media (max-width:767px){
  body.page-faq .pl-crumbs{font-size:13px!important;line-height:16px!important;}
  body.page-faq .pl-hero__h1{font-size:32px!important;}
  body.page-faq .pl-hero__sub{font-size:16px!important;}
  body.page-faq .fq-cat__title{font-size:20px!important;line-height:1.25!important;}
  body.page-faq .pl-help__title{font-size:22px!important;}
  body.page-faq .pl-help__sub{font-size:16px!important;}
  body.page-faq .pl-help__card{align-items:stretch!important;}
  .page-faq .btn-primary.pl-help__btn.fq-wa{width:100%;}
}
