/* ===== Важно перед началом (тёмная полоса) + Вопросы (светлый блок) — Figma nodes 82:15, 72:5 ===== */
.vazhno-wrap {
  background: var(--bg-cream);
  padding: 0 8px;
}

.vazhno {
  width: 100%;
  background: var(--wine-mesh-bg);
  border-radius: 24px;
  padding: 44px 0;
  display: flex;
  justify-content: center;
}

.vazhno__container {
  width: 100%;
  max-width: 900px;
  padding: 0 24px;
  text-align: center;
}

.vazhno__title {
  font-size: 20px;
  font-weight: 600;
  color: #FCE2E8;
}

.vazhno__list {
  font-size: 14px;
  font-weight: 500;
  color: rgba(252, 226, 232, 0.8);
  line-height: 1.6;
  margin-top: 12px;
}

.vazhno__note {
  font-size: 13px;
  font-weight: 400;
  color: rgba(252, 226, 232, 0.55);
  margin-top: 14px;
}

/* --- вопросы --- */
.voprosy {
  background: var(--bg-cream);
  padding: 100px 0;
  display: flex;
  justify-content: center;
}

.voprosy__container {
  width: 100%;
  max-width: 1180px;
  padding: 0 24px;
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.voprosy__aside {
  width: 380px;
  flex-shrink: 0;
  position: sticky;
  top: 140px;
}

.voprosy__title {
  font-size: 84px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--bordeaux-dark);
}

.voprosy__lead {
  font-size: 15px;
  font-weight: 500;
  color: var(--bordeaux-dark);
  margin-top: 14px;
}

.faq {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: box-shadow var(--transition-hover);
}

.faq-item[open] {
  box-shadow: var(--card-shadow-strong);
}

.faq-item__q {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 17px;
  font-weight: 600;
  color: var(--bordeaux-dark);
  line-height: 1.3;
  transition: color var(--transition-hover);
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q:hover {
  color: var(--bordeaux-accent);
}

/* плюс, который превращается в минус при раскрытии */
.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blush);
  transition: background var(--transition-hover), transform var(--transition-hover);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--bordeaux-dark);
  transition: transform var(--transition-hover), opacity var(--transition-hover);
}

.faq-item__icon::before {
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
}

.faq-item__icon::after {
  width: 2px;
  height: 12px;
  margin: -6px 0 0 -1px;
}

.faq-item[open] .faq-item__icon {
  background: var(--bordeaux-dark);
  transform: rotate(90deg);
}

.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after {
  background: var(--white);
}

.faq-item[open] .faq-item__icon::after {
  opacity: 0;
}

.faq-item__a {
  padding: 0 26px 24px;
  font-size: 15px;
  font-weight: 400;
  color: #737373;
  line-height: 1.55;
  max-width: 620px;
}

/* вопросы появляются по очереди */
.faq.is-visible .faq-item {
  animation: faqIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.faq.is-visible .faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq.is-visible .faq-item:nth-child(2) { animation-delay: 0.13s; }
.faq.is-visible .faq-item:nth-child(3) { animation-delay: 0.21s; }
.faq.is-visible .faq-item:nth-child(4) { animation-delay: 0.29s; }
.faq.is-visible .faq-item:nth-child(5) { animation-delay: 0.37s; }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Адаптив ===== */
@media (max-width: 1439px) {
  .voprosy__title { font-size: clamp(48px, 6vw, 84px); }
}

@media (max-width: 1279px) {
  .voprosy { padding: 64px 0; }
  .voprosy__container { gap: 40px; }
  .voprosy__aside { width: 300px; }
  .vazhno { padding: 36px 0; }
}

@media (max-width: 767px) {
  .voprosy { padding: 48px 0; }
  .voprosy__container { flex-direction: column; padding: 0 16px; gap: 28px; }
  .voprosy__aside { width: 100%; position: static; }
  .voprosy__title { font-size: clamp(30px, 9vw, 40px); }
  .faq-item__q { font-size: 15px; padding: 18px 20px; gap: 14px; }
  .faq-item__a { padding: 0 20px 20px; font-size: 14px; }
  .vazhno-wrap { padding: 0 4px; }
  .vazhno { border-radius: 20px; padding: 28px 0; }
  .vazhno__container { padding: 0 16px; }
  .vazhno__title { font-size: 17px; }
  .vazhno__list { font-size: 13px; }
  /* на узком экране вопросы выезжают снизу, а не сбоку */
  @keyframes faqIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* между полосой с противопоказаниями и формой нужен воздух:
   дуга формы начиналась вплотную к предупреждению */
.vazhno-wrap {
  padding-bottom: 56px;
}

@media (max-width: 767px) {
  .vazhno-wrap { padding-bottom: 36px; }
}
