/* ==========================================================================
   TheCBD.ru — Страница «Вопросы и ответы» (/faq/, Figma 7529:2362)
   ========================================================================== */

.cbd-faq-page {
  background-color: #ffffff;
  color: #202c25;
  font-family: var(--font-base, 'Montserrat', sans-serif);
}

/* Хлебные крошки */
.cbd-faq-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 24px;
}

.cbd-faq-crumbs a {
  color: #aeaeae;
  text-decoration: none;
  transition: color 0.18s ease;
}

.cbd-faq-crumbs a:hover {
  color: #3f892c;
}

.cbd-faq-crumbs__sep {
  color: rgba(25, 25, 25, 0.2);
}

.cbd-faq-crumbs__current {
  color: #191919;
}

/* Вводный блок */
.cbd-faq-hero {
  padding: 56px 0 20px;
}

.cbd-faq-hero__title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  color: #202c25;
  max-width: 568px;
  margin: 0 0 24px;
}

.cbd-faq-hero__lead {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #343635;
  max-width: 847px;
  margin: 0;
}

.cbd-faq-hero__link {
  color: #3f892c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

.cbd-faq-hero__link:hover {
  color: #2f6b20;
}

/* Секции вопросов (Figma 7529:2730) */
.cbd-faq-sections {
  padding: 40px 0 80px;
}

.cbd-faq-sections__stack {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.cbd-faq-group {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cbd-faq-group__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: #111827;
  margin: 0;
}

.cbd-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cbd-faq-row {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.25s ease;
}

.cbd-faq-row:hover {
  border-color: #dce4d9;
}

.cbd-faq-row.is-open {
  background: #ffffff;
  border-color: #dce4d9;
  box-shadow: 0 8px 24px rgba(25, 61, 44, 0.05);
}

.cbd-faq-row__btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;
}

.cbd-faq-row__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.cbd-faq-row.is-open .cbd-faq-row__icon {
  transform: rotate(45deg);
}

.cbd-faq-row__panel {
  padding: 0 20px 20px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: #4b5563;
}

.cbd-faq-row__panel p {
  margin: 0 0 10px;
}

.cbd-faq-row__panel p:last-child {
  margin-bottom: 0;
}

.cbd-faq-row__panel a {
  color: #3f892c;
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   Адаптивность (1024px, 768px, 390px)
   ========================================================================== */

@media (max-width: 767px) {
  .cbd-faq-hero {
    padding: 28px 0 12px;
  }

  .cbd-faq-hero__title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .cbd-faq-hero__lead {
    font-size: 15px;
  }

  .cbd-faq-sections {
    padding: 28px 0 56px;
  }

  .cbd-faq-sections__stack {
    gap: 36px;
  }

  .cbd-faq-group {
    gap: 18px;
  }

  .cbd-faq-group__title {
    font-size: 18px;
  }

  .cbd-faq-row__btn {
    padding: 16px;
    font-size: 15px;
  }

  .cbd-faq-row__panel {
    padding: 0 16px 16px;
    font-size: 14px;
  }
}
