/* FAQ на главной: один столбец, строки без «карточек», плавное раскрытие.
   Номер слева, вопрос крупно, тонкая линия-разделитель, жёлтая полоска у открытого пункта. */
body.et-home .et-faq { display: block; border-top: 1px solid var(--line, rgba(255,255,255,.09)); }

body.et-home .faq-row {
  position: relative; border-bottom: 1px solid var(--line, rgba(255,255,255,.09));
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1), background-color .35s ease;
  transition-delay: calc(var(--i) * 55ms), calc(var(--i) * 55ms), 0s;
}
body.et-home .faq-row.in { opacity: 1; transform: none; }

/* жёлтая полоска слева — вырастает из центра при открытии */
body.et-home .faq-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--y, #f5c518);
  transform: scaleY(0); transform-origin: center; transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
body.et-home .faq-row.is-open::before { transform: scaleY(1); }
body.et-home .faq-row:hover, body.et-home .faq-row.is-open { background: linear-gradient(90deg, rgba(245,197,24,.06), transparent 65%); }

body.et-home .faq-q {
  display: grid; grid-template-columns: 64px 1fr 22px; align-items: center; gap: 0; width: 100%;
  padding: 26px 8px 26px 18px; background: none; border: 0; color: #f1f2f2; text-align: left; cursor: pointer;
  font: 600 clamp(17px, 1.7vw, 21px)/1.3 Rubik, sans-serif; letter-spacing: -.005em; -webkit-tap-highlight-color: transparent;
}
body.et-home .faq-q:focus-visible { outline: 2px solid rgba(245,197,24,.6); outline-offset: -2px; }
body.et-home .faq-n { font: 500 13px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #6b7170; letter-spacing: .06em; transition: color .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
body.et-home .faq-t { transition: transform .35s cubic-bezier(.2,.8,.2,1), color .3s ease; }
body.et-home .faq-q:hover .faq-t { transform: translateX(6px); }
body.et-home .faq-q:hover .faq-n, body.et-home .faq-row.is-open .faq-n { color: var(--y, #f5c518); }
body.et-home .faq-row.is-open .faq-t { color: #fff; transform: translateX(6px); }

/* плюс → минус: вертикальная черта схлопывается */
body.et-home .faq-x { position: relative; width: 16px; height: 16px; justify-self: end; }
body.et-home .faq-x::before, body.et-home .faq-x::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px;
  background: #9aa09f; transition: transform .4s cubic-bezier(.2,.8,.2,1), background-color .3s ease;
}
body.et-home .faq-x::after { transform: rotate(90deg); }
body.et-home .faq-q:hover .faq-x::before, body.et-home .faq-q:hover .faq-x::after { background: var(--y, #f5c518); }
body.et-home .faq-row.is-open .faq-x::before { background: var(--y, #f5c518); }
body.et-home .faq-row.is-open .faq-x::after { transform: rotate(0deg) scaleX(0); background: var(--y, #f5c518); }

/* высота: grid-template-rows 0fr → 1fr (без JS-замеров) */
body.et-home .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.8,.2,1); }
body.et-home .faq-row.is-open .faq-a { grid-template-rows: 1fr; }
body.et-home .faq-a-in { overflow: hidden; min-height: 0; }
body.et-home .faq-a-in p {
  margin: 0; padding: 0 56px 28px 82px; max-width: 78ch; color: #a3a9a8; font-size: 15px; line-height: 1.75;
  opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
body.et-home .faq-row.is-open .faq-a-in p { opacity: 1; transform: none; transition-delay: .12s; }
body.et-home .faq-a-in code { color: var(--y, #f5c518); background: rgba(245,197,24,.1); padding: 1px 6px; border-radius: 5px; font-size: .92em; }
body.et-home .faq-a-in a { color: var(--y, #f5c518); text-underline-offset: 3px; }

@media (max-width: 640px) {
  body.et-home .faq-q { grid-template-columns: 42px 1fr 18px; padding: 20px 4px 20px 12px; }
  body.et-home .faq-a-in p { padding: 0 12px 22px 54px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body.et-home .faq-row, body.et-home .faq-row *, body.et-home .faq-a { transition: none !important; }
  body.et-home .faq-row { opacity: 1; transform: none; }
}
