/* ===== FAQ — Martini SEO Power style (без размеров шрифта) ===== */
.faq { padding: 48px 0; }

.faq__head{
  text-align:center;
  margin-bottom: 20px;
  position: relative;
}

.faq__title{ margin: 0 0 6px; }
.faq__sub{ margin: 0; color: rgba(11,11,12,.58); }

/* заменяем триколор на минимал-полоску в “paper” стиле */
.faq__tricolore{
  display:flex;
  height: 6px;
  width: 140px;
  margin: 14px auto 0;
  border-radius: 999px;
  overflow:hidden;
  background: rgba(11,11,12,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}
.faq__tricolore .it{ flex: 1; }

/* мягкий бежевый блик + нейтраль */
.it--g{ background: linear-gradient(90deg, rgba(172,170,137,.85), rgba(172,170,137,.25)); }
.it--w{ background: rgba(255,255,255,.65); }
.it--r{ background: rgba(11,11,12,.18); }

.faq-list{
  display:grid;
  gap: 12px;
  margin-top: 18px;
}

/* карточка: стекло/бумага как в секциях */
.faq-item{
  background: rgba(255, 255, 255, 0.082);
  border: 1px solid rgba(11,11,12,.12);
  border-radius: 20px;
  overflow:hidden;

  box-shadow:
    0 14px 34px rgba(11,11,12,.06),
    inset 0 1px 0 rgba(255,255,255,.65);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

/* кнопка-вопрос */
.faq-question{
  width:100%;
  padding: 16px 56px 16px 18px;
  text-align:left;

  background: transparent;
  border:none;
  cursor:pointer;

  font-weight: 500;
  position:relative;

  display:flex;
  align-items:center;
  gap:10px;

  color: rgba(11,11,12,.82);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  transition: background .18s ease, color .18s ease;
}

/* иконка: квадрат как “кнопка” */
.faq-icon{
  position:absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 10px;

  background: rgba(11,11,12,.06);
  border: 1px solid rgba(11,11,12,.10);

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow: inset 0 1px 0 rgba(255,255,255,.70);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.faq-icon::before,
.faq-icon::after{
  content:"";
  position:absolute;
  width: 12px;
  height: 2px;
  background: rgba(11,11,12,.78);
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease, background .18s ease;
}
.faq-icon::after{ transform: rotate(90deg); }

/* open: делаем “минус” */
.faq-question.active .faq-icon::after{ opacity: 0; }

/* answer */
.faq-answer{
  max-height:0;
  overflow:hidden;
  padding: 0 18px;

  border-top: 1px solid transparent;
  color: rgba(11,11,12,.72);

  transition: max-height .15s ease, padding .25s ease, border-color .25s ease, opacity .25s ease;
  opacity:0;
   background: rgba(255, 255, 255, 0.151);
}

.faq-answer.open{
  max-height: 280px;
  padding: 10px 18px 16px;
  border-top-color: rgba(11,11,12,.10);
  opacity:1;
   background: rgba(255, 255, 255, 0);
}

/* hover: легкий “paper tint” и более выразительная иконка */
.faq-item:hover{
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.151);
  border-color: rgba(11,11,12,.16);
  box-shadow:
    0 22px 50px rgba(11,11,12,.10),
    inset 0 1px 0 rgba(255,255,255,.72);
}

.faq-item:hover .faq-question{
  background: linear-gradient(90deg, rgba(172,170,137,.18), rgba(172,170,137,0));
}

.faq-item:hover .faq-icon{
  background: rgba(11,11,12,.08);
  border-color: rgba(11,11,12,.14);
}

/* active/open: небольшой “акцент” как у focus */
.faq-item:has(.faq-answer.open){
  border-color: rgba(11, 11, 12, 0.062);
  box-shadow:
    0 22px 50px rgba(11,11,12,.10),
    0 0 0 4px rgba(172,170,137,.18);
}

@media (max-width: 640px){
  .faq { padding: 36px 0; }
  .faq-icon{ width:24px; height:24px; border-radius: 9px; }
}
