/* ===== Базовые цвета ===== */
:root {
  --terracotta: #C27A5E;
  --olive: #7A8B6E;
  --cream: #F5F0E8;
  --sand: #E8DDD0;
  --dark: #3E3A36;
  --white: #FFFFFF;
}

/* ===== Кнопки ===== */
.btn-boho {
  display: inline-block;
  padding: 14px 36px;
  background-color: var(--terracotta);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.btn-boho:hover {
  background-color: #A8654A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 122, 94, 0.3);
}
.btn-boho-outline {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}
.btn-boho-outline:hover {
  background: var(--terracotta);
  color: var(--white);
}

/* ===== Аккордеон ===== */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
}
.accordion-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
  color: var(--dark);
  background: var(--cream);
  transition: background 0.2s;
}
.accordion-header:hover {
  background: var(--sand);
}
.accordion-header .icon {
  font-size: 24px;
  color: var(--terracotta);
  transition: transform 0.3s;
}
.accordion-item.active .accordion-header .icon {
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 24px;
  background: var(--white);
}
.accordion-item.active .accordion-body {
  max-height: 800px;
  padding: 20px 24px 24px;
}
.accordion-body p {
  margin: 0 0 12px;
  line-height: 1.6;
  color: var(--dark);
}
.accordion-body ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.accordion-body ul li {
  margin-bottom: 6px;
}

/* ===== Анимация появления ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Попап ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: var(--cream);
  max-width: 600px;
  width: 90%;
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box {
  transform: scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: var(--dark);
  background: none;
  border: none;
  line-height: 1;
}
.modal-box h2 {
  font-size: 24px;
  color: var(--terracotta);
  margin-top: 0;
  margin-bottom: 16px;
}
.modal-box p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark);
}
.modal-box .btn-boho {
  margin-top: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .accordion-header {
    font-size: 16px;
    padding: 16px 18px;
  }
  .modal-box {
    padding: 30px 20px;
  }
  .modal-box h2 {
    font-size: 20px;
  }
  .btn-boho {
    padding: 12px 28px;
    font-size: 14px;
  }
}