/* ── Block: FAQ ─────────────────────────────────────────────────────────── */

.il-faq {
  background: #F5F6F7;
  padding: 56px 0;
}

.il-faq__title {
  font-weight: 700;
  font-size: 32px;
  line-height: 120%;
  text-transform: uppercase;
  text-align: center;
  color: #4D5154;
  margin-bottom: 10px;
}

.il-faq__subtitle {
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  color: #4D5154;
  margin-bottom: 28px;
}

/* ── FAQ items (скопировано из faq.css, блок может использоваться вне FAQ-страницы) ── */

.il-faq .faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.il-faq .faq__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 12px;
  cursor: pointer;
  text-align: left;
  border: 1px solid #D9DDDE;
  background: #fff;
}

.il-faq .faq__toggle span {
  font-weight: 600;
  font-size: 16px;
  line-height: 120%;
  text-transform: uppercase;
}

.il-faq .faq__chevron {
  flex-shrink: 0;
  color: var(--color-red);
  transition: transform 0.25s ease;
}

.il-faq .faq__item.open .faq__chevron { transform: rotate(180deg); }
.il-faq .faq__item.open              { background-color: #f7f7f7; }
.il-faq .faq__item.open .faq__toggle { background: #D9DDDE; border-color: #fff; }

.il-faq .faq__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  background: #fff;
}

.il-faq .faq__content-inner {
  overflow: hidden;
  font-size: 16px;
  line-height: 130%;
  color: var(--color-text);
  padding: 0px 12px 0px;
  transition: padding 0.35s ease;
}

.il-faq .faq__item.open .faq__content {
  grid-template-rows: 1fr;
  border: 1px solid #D9DDDE;
  border-top: none;
  
}

.il-faq .faq__item.open .faq__content-inner {
  padding: 8px 12px 12px;
}

.il-faq .faq__content-inner p         { margin-bottom: 12px; }
.il-faq .faq__content-inner p:last-child { margin-bottom: 0; }

.il-faq .faq__content-inner ul,
.il-faq .faq__content-inner ol        { padding-left: 20px; margin-bottom: 12px; }
.il-faq .faq__content-inner ul        { list-style: disc; }
.il-faq .faq__content-inner ol        { list-style: decimal; }
.il-faq .faq__content-inner li        { margin-bottom: 6px; line-height: 160%; }
.il-faq .faq__content-inner strong    { font-weight: 600; }

/* ── Tablet ≤ 1080px ── */
@media (max-width: 1080px) {
  .il-faq .faq__toggle span { font-size: 14px; }
}

/* ── Mobile ≤ 768px ── */
@media (max-width: 768px) {
  .il-faq { padding: 40px 0; }
  .il-faq__title  { font-size: 26px; }
  .il-faq .faq__toggle span  { font-size: 12px; }
  .il-faq .faq__content-inner { font-size: 13px; }
}
