/* ======= Хлебные крошки (современный микс) ======= */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  margin-bottom: 30px;
  padding: 10px 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, #fafafa, #fff);
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.3px;
}

.breadcrumbs a {
  color: #333;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.breadcrumbs a:hover {
  background-color: #f3f3f3;
  color: #000;
}

.breadcrumbs span {
  color: #999;
  font-weight: 500;
  margin: 0 6px;
}

/* ======= FAQ ======= */
/* Заголовок FAQ */
.faq-title {
  font-size: 32px;
  font-weight: 700;
  margin: 10px auto 30px;
  text-align: center;
  color: #333;
  position: relative;
}

/* Декоративная линия фирменным цветом под заголовком */
.faq-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #f7d663;
  margin: 12px auto 0;
  border-radius: 2px;
}

.faq-list {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 15px;
}

.faq-item {
  margin-bottom: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: #f7d663;
  border: none;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
  z-index: 1;
}

.faq-question:hover {
  background: #f5ca2a;
}

/* Стрелочка */
.faq-question::after {
  content: "➤";
  position: absolute;
  right: 20px;
  font-size: 16px;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(-90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  transition: max-height 0.5s ease, padding 0.3s ease;
  border-top: 1px solid #eee;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* ограничение на высоту, можно увеличить */
  padding: 16px 20px;
}

.faq-btn-wrap {
  text-align: center;
  margin-top: 20px;
}

.faq-consult-btn {
  background: #f7d663;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-consult-btn:hover {
  background: #f5ca2a;
}

/* Блок модалки */
.modal {
  position: fixed;
  inset: 0; /* сверху, снизу, слева, справа 0 */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background: rgba(0,0,0,0.5); /* затемнение */
}

.modal.active {
  display: flex;
}

/* Контейнер модалки */
.modal-content {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 502px; /* как на твоём скриншоте */
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}

/* Кнопка закрытия */
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #444;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #000;
}

/* Внутренние блоки */
.modal .title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal .modal_text {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}

.modal .form_default {
  width: 100%;
}
