/* Стили для навбара */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #3a3f2e;
  line-height: 1.5;
}

/* Основной контейнер навбара */
.navbar {
  background-color: #ffffff;
/*box-shadow: 0 4px 20px #8da152;*/
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Подключаем аутентичные шрифты с поддержкой кириллицы */
@import url('https://fonts.googleapis.com/css2?family=Shafarik&display=swap');

.logo {
  display: inline-flex;        /* чтобы логотип занимал только нужную ширину */
  justify-content: center;
  align-items: center;
  margin: 0.5rem 0 1rem 0;
  position: relative;
}

.handshake-icon {
  /* Главный стиль букв */
   font-family: "Triodion", system-ui;
  font-size: 67px;            /* крупный размер — подстройте под свой макет */
  font-weight: 600;
  letter-spacing: 0.1em;      /* расстояние между буквами для величественности */
  color: #2c241a;             /* тёмный «чернильный» оттенок */

  background: linear-gradient(108deg, #c45a3a 50%, #6b705c 50%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;         /* градиент на буквах — как старинная миниатюра */
   font-style: normal;
  /* Декоративные «засечки» и завитки через псевдоэлементы */
  position: relative;
  display: inline-block;
 
}

/* Вязь — добавим стилизованные чёрточки сверху и снизу (как в букваре) */


.handshake-icon::before {
  top: -3px;
}

.handshake-icon::after {
  bottom: -3px;
}

/* Эффект «рукописного» наклона для правой буквы (необязательно, добавляет живости) */
.handshake-icon span:last-child {
  display: inline-block;
  transform: skewX(-3deg);
}


.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #c45a3a;
}

.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #8f8b6e;
  margin-left: 0.3rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

@media (max-width: 640px) {
  .logo {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 680px) {
  .handshake-icon {
    font-size: 3.2rem;
    letter-spacing: 0.15em;
  }
  .handshake-icon::before,
  .handshake-icon::after {
    height: 1px;
    background-size: 8px;
  }
}


.logo:hover {
  color: #7f8c8d;
}

.nav-menu {
  list-style: none;
  display: flex;
  
  margin-top: 4px;
  flex-wrap: wrap;
}
.nav-item {
  padding: 3px;
}
.nav-item a {
  display: inline-block;
    padding: 0.6rem 1.1rem;
    text-decoration: none;
    color: #c45a3a;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 17px;
    border-radius: 40px;
    background-color: transparent;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}


.nav-item a:hover {
  background-color: #f4f1e8;
  color: #c45a3a;
  border-color: #e2dcd0;
}

.nav-item.active a {
  background-color: #f4f1e8;
  color: #6b705c;
  font-weight: 600;
  border-color: #d6cfbf;
}

@media (max-width: 640px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }
  .logo {
    margin-bottom: 1rem;
    text-align: center;
  }
  .nav-menu {
    justify-content: center;
  }
  .nav-item a {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }
}

/* ===== БУРГЕР-МЕНЮ ===== */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    position: relative;
}

.burger span {
    width: 100%;
    height: 2px;
    background-color: #c45a3a;
    transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== МЕНЮ НА МОБИЛЬНЫХ ===== */
@media (max-width: 640px) {
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .burger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;  /* ← динамическая высота для мобильных браузеров */
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(5px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.4rem;    /* ← уменьшили отступы между пунктами */
        z-index: 999;
        margin: 0;
        padding: 10px 0;   /* ← добавили отступы сверху и снизу */
        list-style: none;
        overflow-y: auto;  /* ← если список не помещается — скролл */
        
        /* Скрытие */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-item {
        width: auto;
        text-align: center;
        padding: 0;  /* ← убираем лишние отступы */
    }
    
    .nav-item a {
        font-size: 1.2rem;   /* ← уменьшили шрифт */
        padding: 0.4rem 1.8rem;  /* ← уменьшили отступы */
        border-radius: 40px;
        color: #c45a3a;
        display: inline-block;
        font-weight: 600;
        transition: background-color 0.2s;
    }
    
    .nav-item a:hover {
        background-color: #f4f1e8;
        border-color: #d6cfbf;
    }
    
    .nav-item.active a {
        background-color: #f4f1e8;
        border-color: #d6cfbf;
    }
    
    /* ⬇️ НОВОЕ: если пунктов много — уменьшаем ещё сильнее */
    @media (max-height: 600px) {
        .nav-menu {
            gap: 0.4rem;
            justify-content: flex-start;  /* ← прижимаем к верху */
            padding-top: 60px;            /* ← отступ сверху */
            padding-bottom: 20px;
        }
        
        .nav-item a {
            font-size: 0.95rem;
            padding: 0.3rem 1.2rem;
        }
    }
    
    @media (max-height: 480px) {
        .nav-menu {
            gap: 0.2rem;
            padding-top: 40px;
        }
        
        .nav-item a {
            font-size: 0.85rem;
            padding: 0.2rem 1rem;
        }
    }
}

/* ===== ЗАПРЕТ СКРОЛЛА BODY ===== */
body.no-scroll {
    overflow: hidden;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-overline {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c45a3a;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #6b705c;
  margin-bottom: 1rem;
}

.hero-subtitle {
     font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    color: #6b705c;
    margin-bottom: 0.5rem;
}

.hero-description {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 300;
  color: #9b957a;
  margin-bottom: 2rem;
}

.hero-button {
  display: inline-block;
  background-color: #c45a3a;
  color: white;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 40px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(196, 90, 58, 0.3);
  animation: pulse 2s infinite;
}

.hero-button:hover {
  background-color: #9e452b;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 90, 58, 0.5); transform: scale(1); }
  70% { box-shadow: 0 0 0 15px rgba(196, 90, 58, 0); transform: scale(1.05); }
  100% { box-shadow: 0 0 0 0 rgba(196, 90, 58, 0); transform: scale(1); }
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1.2;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
  display: block;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
  .hero-image {
    width: 100%;
  }
  .hero-photo {
    max-width: 300px;
  }
  .hero-button {
    margin-top: 1rem;
  }
}

.disputes {
 background-color: #8e9678;
  padding: 4rem 0;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.disputes-title {
  font-size: 2.2rem;
  font-weight: 500;
  color: #6b705c;
  text-align: center;
  margin-bottom: 3rem;
  font-family: 'Playfair Display', serif;
}

.disputes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.dispute-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 9px solid #c45a3a;
  display: flex;
  flex-direction: column;
}

.dispute-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1rem;
  color: #c45a3a;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #6b705c;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eceef0;
  padding-bottom: 0.5rem;
}

.card-text {
  font-size: 1rem;
  color: #3a3f2e;
  line-height: 1.5;
  margin: 0;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-list li {
  font-size: 0.95rem;
  color: #3a3f2e;
  padding: 0.3rem 0;
  border-bottom: 1px dashed #e9ecef;
  position: relative;
  padding-left: 1.2rem;
}

.card-list li::before {
  content: "•";
  color: #c45a3a;
  font-weight: bold;
  position: absolute;
  left: 0;
}

@media (max-width: 900px) {
  .disputes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .disputes-grid { grid-template-columns: 1fr; }
  .disputes-title { font-size: 1.8rem; }
  .dispute-card { padding: 1.5rem; }
}

.disputes-button-wrapper {
  text-align: center;
  margin-top: 3rem;
}

.disputes-button {
  display: inline-block;
  background-color: #c45a3a;
  color: #ffffff;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 0 4px 15px rgba(196, 90, 58, 0.3);
  animation: pulse 2s infinite ease-in-out;
}

.disputes-button:hover {
  background-color: #9e452b;
  animation: none;
  box-shadow: 0 6px 20px rgba(196, 90, 58, 0.4);
}

@media (max-width: 768px) {
  .disputes-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

.results {
  background-color: #f4f1e8;
  padding: 4rem 0;
}

.results-title {
  font-size: 2.2rem;
  font-weight: 500;
  color: #6b705c;
  text-align: center;
  margin-bottom: 3rem;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.result-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
}

.result-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.result-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  min-width: 3rem;
  text-align: center;
  background: linear-gradient(145deg, #c45a3a, #9e452b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 4px 10px rgba(196, 90, 58, 0.3);
  transition: transform 0.2s;
}

.result-card:hover .result-number {
  transform: scale(1.1);
}

.result-text {
  font-size: 1rem;
  color: #3a3f2e;
  line-height: 1.5;
  flex: 1;
}


.result-text small {
  font-size: 0.9rem;
  display: block;
  margin-top: 0.5rem;
  color: #6b705c;
}

.result-card-fullwidth {
  grid-column: span 3;
}

.results-button-wrapper {
  text-align: center;
  margin-top: 3rem;
}

.results-button {
  display: inline-block;
  background-color: #c45a3a;
  color: #ffffff;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 0 4px 15px rgba(196, 90, 58, 0.3);
  animation: pulse 2s infinite ease-in-out;
}

.results-button:hover {
  background-color: #9e452b;
  animation: none;
  box-shadow: 0 6px 20px rgba(196, 90, 58, 0.4);
}

@media (max-width: 900px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .result-card-fullwidth { grid-column: span 2; }
}
@media (max-width: 600px) {
  .results-grid { grid-template-columns: 1fr; }
  .results-title { font-size: 1.8rem; }
  .result-card { padding: 1.5rem; height: auto; }
  .result-number { font-size: 3rem; min-width: 2.5rem; }
  .result-card-fullwidth { grid-column: span 1; }
  .results-button { display: block; width: 100%; max-width: 300px; margin: 0 auto; }
}

.faq {
  background-color: #f9f6ef;
  padding: 4rem 0;
}

.faq-title {
  font-size: 2.2rem;
  font-weight: 500;
  color: #6b705c;
  text-align: center;
  margin-bottom: 3rem;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.faq-title1 {
  font-size: 2.2rem;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  margin-bottom: 3rem;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.2rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: #6b705c;
  font-size: 1.1rem;
  transition: background-color 0.2s;
  user-select: none;
}

.faq-question:hover {
  background-color: #fafafc;
}

.faq-icon {
  font-size: 1.8rem;
  font-weight: 300;
  color: #c45a3a;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  padding: 0 1.8rem;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.2s;
  background-color: #ffffff;
  color: #3a3f2e;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.8rem 1.5rem 1.8rem;
}

.faq-answer p {
  margin-top: 10px;
}

.faq-footer {
  text-align: center;
  margin-top: 3rem;
}

.faq-footer p {
  color: #6b705c;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
/* ===== FAQ с ответами ===== */
.faq-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #8f8b6e;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-answer a {
    color: #c45a3a;
    text-decoration: none;
    border-bottom: 1px dotted #c45a3a;
    transition: color 0.2s;
}

.faq-answer a:hover {
    color: #9e452b;
    border-bottom-color: #9e452b;
}

.faq-answer strong {
    color: #6b705c;
}
@media (max-width: 600px) {
  .faq-title { font-size: 1.8rem; }
  .faq-question { padding: 1rem 1.2rem; font-size: 1rem; }
}

.footer {
  background-color: #f4f1e8;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid #e2dcd0;
  color: #6b705c;
  font-size: 0.95rem;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-contacts {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-contacts a {
  color: #6b705c;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contacts a:hover {
  color: #c45a3a;
}

.footer-separator {
  color: #c45a3a;
  font-weight: 300;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.footer-link {
  color: #6b705c;
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 1px dotted transparent;
}

.footer-link:hover {
  color: #c45a3a;
  border-bottom-color: #c45a3a;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #9b957a;
  border-top: 1px solid #e2dcd0;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .footer-links { flex-direction: column; gap: 0.8rem; }
  .footer-links .footer-separator { display: none; }
}

/* ============================================================ */
/* МОДАЛЬНОЕ ОКНО — АДАПТИВ ДЛЯ МОБИЛЬНЫХ */
/* ============================================================ */

/* Основной контейнер модалки */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.modal.show {
    display: flex;
}

/* Оверлей (фон) */
.modal-overlay {    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1001;
}

/* Контент модалки */
.modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    padding: 2rem 2rem 2rem 2rem;
    z-index: 1002;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    max-height: 95vh;
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: scale(1);
}

/* Кнопка закрытия */
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s, transform 0.2s;
    z-index: 10;
}

.modal-close:hover {
    color: #c45a3a;
    transform: rotate(90deg);
}

/* Заголовок */
.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #6b705c;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Поля формы */
.modal-form .form-group {
    margin-bottom: 1.2rem;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e0e4e8;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #3a3f2e;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafaf8;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #c45a3a;
    box-shadow: 0 0 0 4px rgba(196, 90, 58, 0.1);
    background: #ffffff;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
    color: #aab7c4;
}

.modal-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Кнопка отправки */
.modal-submit {
    background-color: #c45a3a;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    width: 100%;
    margin-top: 1rem;
    letter-spacing: 0.5px;
}

.modal-submit:hover {
    background-color: #9e452b;
    transform: scale(1.01);
}

.modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Примечание */
.modal-note {
    font-size: 0.8rem;
    color: #8f8b6e;
    text-align: center;
    margin-top: 1rem;
}

.modal-note a {
    color: #c45a3a;
    text-decoration: none;
}

.modal-note a:hover {
    text-decoration: underline;
}
@media (max-width: 600px) {
    .modal-title {
        font-size: 1.5rem;
    }
}
/* ===== ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ ===== */
@media (max-width: 400px) {
    .modal-content {
        padding: 1.2rem 0.8rem 1.5rem;
        max-height: 95vh;
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .modal-form input,
    .modal-form textarea {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }

    .checkbox-label .checkbox-text {
        font-size: 0.7rem;
    }

    .modal-close {
        top: 0.5rem;
        right: 0.8rem;
        font-size: 1.4rem;
    }

    .modal-submit {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
}
/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #6b705c;
  text-align: center;
  margin: 0;
  line-height: 1.2;
}

.page-title span {
  position: relative;
  display: inline-block;
  padding: 0 2rem;
}

.page-title span::before,
.page-title span::after {
  content: "✧";
  font-size: 1.8rem;
  color: #c45a3a;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}

.page-title span::before { left: -0.2rem; }
.page-title span::after { right: -0.2rem; }

.content-section {
  padding: 3rem 0;
}

.content-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-block {
  margin-bottom: 3rem;
}

.content-subtitle {
  font-size: 1.8rem;
  font-weight: 500;
  color: #6b705c;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
  border-bottom: 2px solid #c45a3a;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.content-block p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #3a3f2e;
  margin-bottom: 1.2rem;
}

.styled-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.styled-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  color: #3a3f2e;
  line-height: 1.5;
}

.list-marker {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  color: #c45a3a;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.grid-item {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.02);
  border: 1px solid #f0f0f0;
  transition: transform 0.2s;
}

.grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.grid-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #c45a3a;
}

.grid-item p {
  margin: 0;
  color: #3a3f2e;
}

.quote-block {
  background-color: #f9f6ef;
  padding: 2rem;
  border-radius: 30px;
  text-align: center;
  margin: 3rem 0;
}

.quote-block blockquote {
  margin: 0;
}

.quote-block p {
  font-size: 1.3rem;
  font-style: italic;
  color: #6b705c;
  margin-bottom: 1rem;
}

.quote-block footer {
  color: #c45a3a;
  font-size: 1rem;
}

.cta-block {
  text-align: center;
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid #f0f0f0;
}

.cta-block h2 {
  font-size: 2rem;
  color: #6b705c;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.cta-block p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #8f8b6e;
}

.content-button {
  display: inline-block;
  background-color: #c45a3a;
  color: #ffffff;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 0 4px 15px rgba(196, 90, 58, 0.3);
  animation: pulse 2s infinite ease-in-out;
}

.content-button:hover {
  background-color: #9e452b;
  animation: none;
  box-shadow: 0 6px 20px rgba(196, 90, 58, 0.4);
}

@media (max-width: 600px) {
  .page-title { font-size: 2rem; }
  .content-subtitle { font-size: 1.5rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .cta-block { padding: 2rem 1rem; }
  .cta-block h2 { font-size: 1.5rem; }
}

.impossible-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.impossible-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 1.8rem 1.2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
  border: 1px solid #f0f0f0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.impossible-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -10px rgba(196, 90, 58, 0.2);
  border-color: #c45a3a;
}

.impossible-card .card-icon {
  font-size: 3rem;
  line-height: 1;
  color: #c45a3a;
  margin-bottom: 0.5rem;
  transition: transform 0.2s;
}

.impossible-card:hover .card-icon {
  transform: scale(1.1);
}

.impossible-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #6b705c;
  margin: 0 0 0.5rem 0;
}

.impossible-card p {
  font-size: 0.95rem;
  color: #3a3f2e;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .impossible-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .impossible-grid { grid-template-columns: 1fr; }
  .impossible-card { padding: 1.5rem 1rem; }
  .impossible-card .card-icon { font-size: 2.5rem; }
}

.impossible-cta {
  background-color: #f9f6ef;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid #f0f0f0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-column: span 2;
  transition: transform 0.2s, box-shadow 0.2s;
}

.impossible-cta:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -10px rgba(196, 90, 58, 0.2);
  border-color: #c45a3a;
}

.impossible-cta h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #6b705c;
  margin: 0 0 1rem 0;
  font-family: 'Playfair Display', serif;
}

.impossible-cta p {
  font-size: 1rem;
  color: #3a3f2e;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.impossible-cta .content-button {
  background-color: #c45a3a;
  color: #ffffff;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 0 4px 15px rgba(196, 90, 58, 0.3);
  animation: pulse 2s infinite ease-in-out;
  display: inline-block;
}

.impossible-cta .content-button:hover {
  background-color: #9e452b;
  animation: none;
  box-shadow: 0 6px 20px rgba(196, 90, 58, 0.4);
}

@media (max-width: 900px) {
  .impossible-cta { grid-column: span 2; }
}
@media (max-width: 600px) {
  .impossible-cta { grid-column: span 1; }
}



.page-header {
  background-color: #f4f1e8;
  padding: 2rem 0 2rem;
  border-bottom: 1px solid #e2dcd0;
  margin-bottom: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.about-photo img {
  width: 90%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}

.achievement-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}
.achievement-list li {
  margin-bottom: 0.7rem;
  font-size: 1rem;
  color: #3a3f2e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.achievement-list li::before {
  content: "—";
  color: #c45a3a;
  font-weight: bold;
}

.about-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #6b705c;
  margin-bottom: 0.5rem;
}

.about-titles {
  font-size: 1.2rem;
  color: #c45a3a;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.membership-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.membership-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #3a3f2e;
}

.membership-list li::before {
  content: "•";
  color: #c45a3a;
  font-size: 1.5rem;
  line-height: 0;
}

/* ===== СТРАНИЦА ОБО МНЕ ===== */
.about-hero {
    padding: 4rem 0 2rem;
    background: #fcf9f2;
}
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-badge {
    display: inline-block;
    background: #c45a3a;
    color: #fff;
    padding: 0.3rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.about-hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #6b705c;
    margin-bottom: 0.5rem;
}
.about-hero-text .subtitle {
    font-size: 1.3rem;
    color: #8f8b6e;
    margin-bottom: 2rem;
}
/* ===== СПИСОК СО СТАТИСТИКОЙ ===== */
.hero-stats {
    margin: 2rem 0;
}

.stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.stats-list li::before {
    content: "•";
    color: #c45a3a;
    font-size: 1.5rem;
    line-height: 0;
}
/* ===== ЛАЙТБОКС ДЛЯ ФОТО ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: lightboxFadeIn 0.3s ease;
}

.lightbox.show {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
}

.lightbox-content {
    position: relative;
    z-index: 10001;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lightboxZoomIn 0.3s ease;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
    z-index: 10002;
    line-height: 1;
    opacity: 0.8;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: #c45a3a;
    opacity: 1;
}

/* Добавляем курсор-указатель на фото в карусели */
.carousel-slide img {
    cursor: pointer;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lightboxZoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Адаптив */
@media (max-width: 600px) {
    .lightbox-close {
        top: -40px;
        right: 0;
        font-size: 2.5rem;
    }
    .lightbox-content img {
        max-width: 95vw;
        max-height: 80vh;
    }
}

.stats-list li:hover {
    background: #f4f1e8;
}

.stat-badge {
    font-size: 1.2rem;
    color: #c45a3a;
    flex-shrink: 0;
}

.stat-text {
    font-size: 1rem;
    color: #3a3f2e;
}
.about-hero-photo img {
    width: 100%;
    max-width: 380px;
    max-height: 500px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
}

/* Story */
.about-story { padding: 4rem 0; background: #fff; }
.story-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}
.story-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #6b705c;
    margin-bottom: 1.5rem;
}
.story-content p { 
    line-height: 1.8; 
    color: #3a3f2e;
    margin-bottom: 1.2rem;
}
.story-content blockquote {
    background: #f9f6ef;
    padding: 2rem;
    border-radius: 20px;
    border-left: 5px solid #c45a3a;
    font-style: italic;
    margin: 2rem 0;
}
.story-content blockquote cite {
    display: block;
    margin-top: 1rem;
    color: #c45a3a;
    font-style: normal;
    font-weight: 500;
}
.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #8f8b6e;
    margin-top: 0.8rem;
}

/* Направления */
.services-offer { padding: 4rem 0; background: #f9f6ef; }
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #6b705c;
    text-align: center;
    margin-bottom: 3rem;
}
.offer-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.offer-card {
    background: #fff;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border-top: 4px solid #c45a3a;
}
.offer-icon { font-size: 3rem; margin-bottom: 1rem; }
.offer-card h3 { color: #6b705c; margin-bottom: 0.5rem; }
.offer-details { margin-top: 1rem; }
.tag {
    display: inline-block;
    background: #f4f1e8;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #6b705c;
    margin: 0.2rem 0.2rem;
}
.format-info {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #6b705c;
}

/* Таймлайн */
.my-path { padding: 4rem 0; background: #fff; }
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #c45a3a;
    transform: translateX(-50%);
}
.timeline-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem 0;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) { align-self: flex-start; justify-content: flex-end; padding-right: 3rem; }
.timeline-item:nth-child(even) { align-self: flex-end; justify-content: flex-start; padding-left: 3rem; margin-left: 50%; }
.timeline-item .year {
    background: #c45a3a;
    color: #fff;
    padding: 0.3rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1rem;
}
.timeline-item .desc { color: #3a3f2e; }

/* Карусель */
.certificates { padding: 4rem 0; background: #f9f6ef; }
.carousel-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}
.carousel-slide {
    min-width: 100%;
}
.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    color: #6b705c;
    transition: 0.2s;
    z-index: 10;
}
.carousel-btn:hover { background: #fff; }
.prev { left: 10px; }
.next { right: 10px; }
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d6d0c0;
    cursor: pointer;
    transition: 0.2s;
}
.dot.active { background: #c45a3a; transform: scale(1.3); }

/* Миссия */
.my-mission { padding: 4rem 0; background: #fff; }
.mission-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.mission-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #6b705c;
    margin-bottom: 1.5rem;
}
.mission-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.mission-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: #3a3f2e;
    border-bottom: 1px solid #f0ede4;
}

/* Инструменты */
.tools-section { padding: 4rem 0; background: #fcf9f2; }
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.tool-item {
    background: #fff;
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.tool-item h3 { color: #6b705c; margin-bottom: 1rem; }
.tool-item p { color: #3a3f2e; }

/* Финальный CTA */
.final-cta {
    padding: 4rem 0;
    background: #6b705c;
    color: #fff;
    text-align: center;
}
.final-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.final-cta .hero-button { background: #c45a3a; }
.final-cta .hero-button:hover { background: #9e452b; }

/* Адаптив */
@media (max-width: 768px) {
    .about-hero-grid, .story-grid { grid-template-columns: 1fr; }
    .offer-cards { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 0.5rem; }
    .timeline-item { width: 100%; padding: 0.5rem 0 !important; margin-left: 0 !important; }
    .timeline::before { display: none;}
    .timeline-item .year { margin-right: 0.5rem; }
    .carousel-slide img { height: 250px; }
}

/* ===== СТРАНИЦА ЦЕНЫ ===== */

.prices-hero {
    padding: 3rem 0 1.5rem;
    background: #fcf9f2;
}
.articles-hero{
  padding: 3rem 0 1.5rem;
    background: #fcf9f2;
}
.prices-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #8f8b6e;
    max-width: 700px;
    margin: 0 auto 2rem;
}
.articles-section{
   padding: 3rem 0 4rem;
    background: #fff;
}
.prices-section {
    padding: 3rem 0 4rem;
    background: #fff;
}
.prices-section.psych-section {
    background: #f9f6ef;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}
.section-header .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #6b705c;
    margin-bottom: 0.5rem;
}
.section-desc {
    font-size: 1.05rem;
    color: #8f8b6e;
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.psych-grid {
    grid-template-columns: repeat(3, 1fr);
}

.price-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: 1px solid #ede8dc;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.price-card.featured {
    border: 2px solid #c45a3a;
    position: relative;
}
.price-card.featured::before {
    content: '★ Рекомендуемый';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #c45a3a;
    color: #fff;
    padding: 0.2rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.psych-section .price-card.featured {
    border-color: #6b705c;
}
.psych-section .price-card.featured::before {
    background: #6b705c;
}

.price-icon {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}
.price-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c45a3a;
    background: #fcf9f2;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
}
.psych-section .price-tag {
    color: #6b705c;
    background: #ede8dc;
}

.price-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #6b705c;
    margin-bottom: 0.8rem;
    min-height: 3.2rem;
}
.price-desc {
    font-size: 0.9rem;
    color: #3a3f2e;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.5rem;
}
.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #c45a3a;
    margin-bottom: 1.5rem;
}
.psych-section .price-amount {
    color: #6b705c;
}

.price-btn {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: #c45a3a;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.price-btn:hover {
    background: #9e452b;
}
.psych-section .price-btn {
    background: #6b705c;
}
.psych-section .price-btn:hover {
    background: #5a5f4a;
}

/* ===== КАК ВЫБРАТЬ ===== */
.prices-how-to {
    padding: 4rem 0;
    background: #fff;
}
.how-to-box {
    max-width: 1000px;
    margin: 0 auto;
}
.how-to-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #6b705c;
    text-align: center;
    margin-bottom: 2.5rem;
}
.how-to-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.how-to-item {
    background: #f9f6ef;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}
.how-to-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}
.how-to-item h3 {
    color: #6b705c;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}
.how-to-item p {
    color: #3a3f2e;
    line-height: 1.7;
    font-size: 0.95rem;
}
.how-to-cta {
    text-align: center;
    margin-top: 2.5rem;
}
.how-to-cta .hero-button {
    background: #c45a3a;
}
.how-to-cta .hero-button:hover {
    background: #9e452b;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
    .prices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .psych-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .prices-grid {
        grid-template-columns: 1fr;
    }
    .psych-grid {
        grid-template-columns: 1fr;
    }
    .how-to-grid {
        grid-template-columns: 1fr;
    }
    .price-card.featured {
        order: -1;
    }
    .price-card h3 {
        min-height: auto;
    }
}













.contacts-modal-content {
    max-width: 500px;
    padding: 2rem 2rem 2.5rem;
}

.contacts-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.contacts-icon {
    font-size: 2rem;
        margin-bottom: 1.5rem;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.2rem;
    background-color: #f9f6ef;
    border-radius: 16px;
    transition: background-color 0.2s;
}

.contact-item:hover {
    background-color: #f4f1e8;
}

.contact-icon {
    font-size: 1.8rem;
    min-width: 2.5rem;
    text-align: center;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9b957a;
    margin-bottom: 0.2rem;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #6b705c;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-value:hover {
    color: #c45a3a;
}

.contacts-button-wrapper {
    text-align: center;
    margin-top: 0.5rem;
}

.contacts-button-wrapper .disputes-button {
    display: inline-block;
    background-color: #c45a3a;
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 4px 15px rgba(196, 90, 58, 0.3);
}

.contacts-button-wrapper .disputes-button:hover {
    background-color: #9e452b;
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .contacts-modal-content {
        padding: 1.5rem;
        max-width: 95%;
    }
    .contact-item {
        padding: 0.8rem 1rem;
    }
    .contact-value {
        font-size: 1rem;
    }
}





/* ========== СТРАНИЦА СО СПИСКОМ СТАТЕЙ ========== */
.articles-page {
    padding: 2rem 0 4rem;
    background-color: #f9f6ef;
}

.articles-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #8f8b6e;
    margin-bottom: 3rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.article-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 220px;
    overflow: hidden;
    background: #f4f1e8;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f1e8;
    font-size: 4rem;
    color: #c45a3a;
}

.article-info {
    padding: 1.5rem 1.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-date {
    font-size: 0.8rem;
    color: #9b957a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #6b705c;
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 0.95rem;
    color: #3a3f2e;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    flex: 1;
}

.article-read-more {
    color: #c45a3a;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    align-self: flex-start;
}

.article-card:hover .article-read-more {
    color: #9e452b;
}

.no-articles {
    text-align: center;
    font-size: 1.2rem;
    color: #9b957a;
    grid-column: 1 / -1;
    padding: 3rem;
}

/* ========== СТРАНИЦА ПРОСМОТРА СТАТЬИ ========== */
.article-single {
    padding: 2rem 0 4rem;
    background-color: #f9f6ef;
}

.breadcrumbs {
    margin-bottom: 2rem;
}

.breadcrumbs a {
    color: #c45a3a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #9e452b;
}

.article-full {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    background: #ffffff;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.article-full-date {
    font-size: 0.85rem;
    color: #9b957a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-full-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #6b705c;
    margin: 0.5rem 0 1.5rem 0;
    line-height: 1.2;
}

.article-full-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #3a3f2e;
}

.article-full-body h2, 
.article-full-body h3 {
    color: #6b705c;
    margin-top: 1.5rem;
}

.article-full-body ul {
    padding-left: 1.5rem;
}

.article-full-body li {
    margin-bottom: 0.5rem;
}

.article-full-body strong {
    color: #6b705c;
}

.article-full-image {
    position: sticky;
    top: 2rem;
    align-self: flex-start;
}

.article-full-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-cta {
    text-align: center;
    background: #ffffff;
    padding: 3rem;
    border-radius: 30px;
    margin-top: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.article-cta p {
    font-size: 1.2rem;
    color: #6b705c;
    margin-bottom: 1.5rem;
}

/* Адаптивность */
@media (max-width: 900px) {
    .article-full {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .article-full-image {
        position: static;
        order: -1;
    }
    .article-full-image img {
        max-height: 300px;
        object-fit: cover;
    }
}

@media (max-width: 600px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .article-full {
        padding: 1.5rem;
    }
    .article-full-title {
        font-size: 1.8rem;
    }
}








/* ===== СТРАНИЦА ПСИХОЛОГИЧЕСКОЕ КОНСУЛЬТИРОВАНИЕ ===== */

/* Герой */
.psych-hero {
    padding: 4rem 0 2rem;
    background: #fcf9f2;
}
.psych-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.psych-badge {
    display: inline-block;
    background: #c45a3a;
    color: #fff;
    padding: 0.3rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.psych-hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #6b705c;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.psych-hero-text .subtitle {
    font-size: 1.15rem;
    color: #3a3f2e;
    line-height: 1.7;
}
.psych-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}
.psych-stats .stat-item {
    display: flex;
    flex-direction: column;
}
.psych-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #c45a3a;
}
.psych-stats .stat-label {
    font-size: 0.85rem;
    color: #6b705c;
}
.psych-hero-photo img {
    
    object-fit: cover;
}

/* Подход */
.psych-approach {
    padding: 4rem 0;
    background: #fff;
}
.approach-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #6b705c;
    margin-bottom: 2.5rem;
}
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.approach-card {
    background: #f9f6ef;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
}
.approach-card:hover {
    transform: translateY(-5px);
}
.approach-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.approach-card h3 {
    color: #6b705c;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.approach-card p {
    color: #3a3f2e;
    font-size: 0.95rem;
    line-height: 1.6;
}
.approach-note {
    margin-top: 2.5rem;
    padding: 2rem;
    background: #fcf9f2;
    border-radius: 20px;
    text-align: center;
    border-left: 5px solid #c45a3a;
}
.approach-note p {
    font-size: 1.1rem;
    color: #6b705c;
    font-style: italic;
}

/* Запросы */
.psych-requests {
    padding: 4rem 0;
    background: #f9f6ef;
}
.requests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    max-width: 900px;
    margin: 0 auto;
}
.request-item {
    background: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    color: #3a3f2e;
    border: 1px solid #ede8dc;
    transition: all 0.2s;
}
.request-item:hover {
    border-color: #c45a3a;
    background: #fcf9f2;
}
.requests-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 1rem;
    color: #6b705c;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Формат */
.psych-format {
    padding: 4rem 0;
    background: #fff;
}
.format-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.format-card {
    background: #f9f6ef;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
}
.format-card:hover {
    transform: translateY(-5px);
}
.format-card.highlight {
    background: #c45a3a;
    color: #fff;
}
.format-card.highlight h3 {
    color: #fff;
}
.format-card.highlight p {
    color: #f5e6e0;
}
.format-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}
.format-card h3 {
    color: #6b705c;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.format-card p {
    color: #3a3f2e;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Результаты */
.psych-results {
    padding: 4rem 0;
    background: #fcf9f2;
}
.results-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border-left: 4px solid #c45a3a;
}
.result-check {
    font-size: 1.5rem;
}
.result-item span:last-child {
    font-size: 1.05rem;
    color: #3a3f2e;
}

/* Важно знать */
.psych-important {
    padding: 4rem 0;
    background: #fff;
}
.important-box {
    max-width: 1000px;
    margin: 0 auto;
}
.important-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #6b705c;
    text-align: center;
    margin-bottom: 2.5rem;
}
.important-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.important-item {
    background: #f9f6ef;
    padding: 2rem;
    border-radius: 20px;
}
.important-item h3 {
    color: #6b705c;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.important-item p {
    color: #3a3f2e;
    line-height: 1.7;
}

/* CTA */
.psych-cta {
    padding: 4rem 0;
    background: #6b705c;
    color: #fff;
    text-align: center;
}
.psych-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.psych-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.psych-cta .hero-button {
    background: #c45a3a;
}
.psych-cta .hero-button:hover {
    background: #9e452b;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .approach-grid,
    .format-cards,
    .important-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.psych-hero-photo img{
      border-radius: 30px;
    height: 100%;
    width: 80%;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}
.psych-hero-photo{
  height: 100%;
}

@media (max-width: 768px) {
    .psych-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .psych-hero-photo img {
        max-height: 500px;
        width: 100%;
    }
    .psych-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    .requests-grid {
        grid-template-columns: 1fr;
    }
    .approach-grid,
    .format-cards,
    .important-grid {
        grid-template-columns: 1fr;
    }
    .psych-hero-text h1 {
        font-size: 1.8rem;
    }
}
/* ===== СТРАНИЦА "О МЕДИАЦИИ" ===== */

.meditation-hero {
    padding: 3rem 0 1.5rem;
    background: #fcf9f2;
}
.meditation-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #8f8b6e;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.meditation-section {
    padding: 3rem 0;
    background: #fff;
}
.meditation-section.alt-bg {
    background: #f9f6ef;
}

.meditation-block {
    max-width: 900px;
    margin: 0 auto;
}
.meditation-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #3a3f2e;
    margin-bottom: 1.2rem;
}
.meditation-block p strong {
    color: #6b705c;
}

.block-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #6b705c;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.2rem;
    border-left: 4px solid #c45a3a;
}
.block-title.text-center {
    text-align: center;
    border-left: none;
    padding-left: 0;
}

/* ===== ЭТАПЫ МЕДИАЦИИ ===== */
.meditation-steps {
    padding: 4rem 0;
    background: #f9f6ef;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.step-item {
    background: #fff;
    padding: 1.5rem 1.2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid #ede8dc;
    transition: transform 0.3s, box-shadow 0.3s;
}
.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #c45a3a;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}
.step-item h3 {
    color: #6b705c;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.step-item p {
    color: #3a3f2e;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ===== КОМУ ПОДХОДИТ ===== */
.meditation-who {
    padding: 4rem 0;
    background: #fff;
}
.who-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.who-item {
    background: #f9f6ef;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    font-size: 1.05rem;
    color: #3a3f2e;
    border-left: 4px solid #c45a3a;
    transition: background 0.2s;
}
.who-item:hover {
    background: #f4f1e8;
}
.who-item strong {
    color: #6b705c;
}

/* ===== ПРИГЛАШЕНИЕ ===== */
.meditation-invite {
    padding: 4rem 0;
    background: #6b705c;
    color: #fff;
}
.invite-box {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}
.invite-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}
.invite-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}
.invite-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #e8e5d8;
}
.invite-box .hero-button {
    background: #c45a3a;
}
.invite-box .hero-button:hover {
    background: #9e452b;
}

/* ===== ФИНАЛЬНЫЙ БЛОК (ЗАКОН) ===== */
.meditation-law {
    padding: 2rem 0;
    background: #fcf9f2;
    border-top: 1px solid #ede8dc;
}
.law-box {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}
.law-box p {
    font-size: 1rem;
    color: #6b705c;
}
.law-box strong {
    color: #c45a3a;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .who-grid {
        grid-template-columns: 1fr;
    }
    .block-title {
        font-size: 1.6rem;
    }
    .invite-box h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 500px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== МАСКА ТЕЛЕФОНА ===== */
#phone {
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

#phone::placeholder {
    letter-spacing: 0.5px;
    color: #aab7c4;
}



/* ===== СТАТУС ФОРМЫ ===== */
#form-status {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-weight: 500;
    display: none;
}

#form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* ============================================================ */
/* ГАЛОЧКА СОГЛАСИЯ — ФИНАЛЬНЫЙ ФИКС */
/* ============================================================ */

/* Контейнер галочки */
.checkbox-group {
    margin: 12px 0 8px 0;
}

/* Лейбл с галочкой */
.checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    cursor: pointer !important;
    font-size: 0.85rem !important;
    color: #3a3f2e !important;
    line-height: 1.4 !important;
    position: relative !important;
    padding-left: 4px !important;
    transition: all 0.3s ease !important;
}

/* Скрываем стандартную галочку */
.checkbox-label input[type="checkbox"] {
    display: none !important;
}

/* Кастомная галочка */
.checkbox-label .checkmark {
    min-width: 20px !important;
    min-height: 20px !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #b5af9e !important;
    border-radius: 4px !important;
    background: #fff !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
    position: relative !important;
}

/* Галочка в состоянии checked */
.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #c45a3a !important;
    border-color: #c45a3a !important;
}

/* Галочка внутри */
.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '' !important;
    position: absolute !important;
    left: 6px !important;
    top: 2px !important;
    width: 6px !important;
    height: 12px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

/* Текст согласия */
.checkbox-label .checkbox-text {
    font-size: 0.8rem !important;
    color: #4a5b6b !important;
    line-height: 1.5 !important;
    transition: color 0.3s ease !important;
}

.checkbox-label .checkbox-text a {
    color: #c45a3a !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.checkbox-label .checkbox-text a:hover {
    color: #9e452b !important;
    text-decoration: underline !important;
}

/* ============================================================ */
/* АНИМАЦИЯ ОШИБКИ (тряска) */
/* ============================================================ */

.checkbox-label.error-shake {
    animation: shake 0.5s ease-in-out !important;
}

.checkbox-label.error-shake .checkbox-text {
    color: #c45a3a !important;
}

.checkbox-label.error-shake .checkmark {
    border-color: #c45a3a !important;
    box-shadow: 0 0 0 4px rgba(196, 90, 58, 0.25) !important;
    background: #fff !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-12px); }
    30% { transform: translateX(10px); }
    45% { transform: translateX(-8px); }
    60% { transform: translateX(6px); }
    80% { transform: translateX(-4px); }
}



/* ============================================================ */
/* СТАТУС ФОРМЫ (успех/ошибка) */
/* ============================================================ */

#form-status {
    display: none;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* Успех */
#form-status.success {
    display: block !important;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Ошибка */
#form-status.error {
    display: block !important;
    background: #fde8e3;
    color: #c45a3a;
    border: 1px solid #f5c6cb;
}

/* ============================================================ */
/* АДАПТИВ ДЛЯ МОБИЛЬНЫХ */
/* ============================================================ */

@media (max-width: 600px) {
    .checkbox-label {
        font-size: 0.8rem;
    }
    .checkbox-label .checkbox-text {
        font-size: 0.75rem;
    }
    .checkbox-label .checkmark {
        min-width: 18px;
        min-height: 18px;
        width: 18px;
        height: 18px;
    }
    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        left: 5px;
        top: 1px;
        width: 5px;
        height: 10px;
    }
}
/* ===== ВТОРАЯ ГАЛОЧКА (рассылка) ===== */
.checkbox-sub {
    margin-top: 2px;
    
}

.checkbox-sub .checkbox-label {
    padding: 4px 0;
}

.checkbox-sub .checkbox-text {
    font-size: 0.75rem;
    color: #6b705c;
}

.checkbox-sub .checkbox-text span {
    font-size: 0.65rem;
    color: #9b957a;
    line-height: 1.4;
}

/* Отступ между галочками */
.checkbox-group:not(:last-child) {
    margin-bottom: 2px;
}
/* ============================================================ */
/* ФИНАЛЬНЫЙ ФИКС ДЛЯ ГАЛОЧКИ */
/* ============================================================ */

.checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    cursor: pointer !important;
    font-size: 0.85rem !important;
    color: #3a3f2e !important;
    line-height: 1.4 !important;
    padding-left: 4px !important;
}

.checkbox-label input[type="checkbox"] {
    display: none !important;
}

.checkbox-label .checkmark {
    min-width: 20px !important;
    min-height: 20px !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #b5af9e !important;
    border-radius: 4px !important;
    background: #fff !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
    position: relative !important;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #c45a3a !important;
    border-color: #c45a3a !important;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '' !important;
    position: absolute !important;
    left: 6px !important;
    top: 2px !important;
    width: 6px !important;
    height: 12px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

.checkbox-label .checkbox-text {
    font-size: 0.8rem !important;
    color: #4a5b6b !important;
    line-height: 1.5 !important;
}

.checkbox-label .checkbox-text a {
    color: #c45a3a !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.checkbox-label .checkbox-text a:hover {
    color: #9e452b !important;
    text-decoration: underline !important;
}

/* ===== ТРЯСКА ГАЛОЧКИ ===== */
.checkbox-label.error-shake {
    animation: shake 0.5s ease-in-out !important;
}

.checkbox-label.error-shake .checkbox-text {
    color: #c45a3a !important;
}

.checkbox-label.error-shake .checkmark {
    border-color: #c45a3a !important;
    box-shadow: 0 0 0 4px rgba(196, 90, 58, 0.25) !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-12px); }
    30% { transform: translateX(10px); }
    45% { transform: translateX(-8px); }
    60% { transform: translateX(6px); }
    80% { transform: translateX(-4px); }
}

/* ===== СТРАНИЦА ДОКУМЕНТЫ ===== */
.documents-page {
    padding: 3rem 0 5rem;
    background: #f9f6ef;
    min-height: 60vh;
}

.documents-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #8f8b6e;
    max-width: 700px;
    margin: -1rem auto 3rem;
    padding-top: 20px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.document-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.8rem 1.8rem 1.8rem 1.8rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #ede8dc;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-color: #c45a3a;
}

.doc-icon {
    font-size: 2.8rem;
    flex-shrink: 0;
    color: #c45a3a;
}

.doc-info {
    flex: 1;
    min-width: 0;
}

.doc-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #6b705c;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.doc-info p {
    font-size: 0.9rem;
    color: #5f6f7e;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.doc-meta {
    display: flex;
    gap: 0.8rem;
    font-size: 0.75rem;
    color: #9b957a;
}

.doc-format {
    background: #f4f1e8;
    padding: 0.15rem 0.7rem;
    border-radius: 12px;
    font-weight: 600;
    color: #6b705c;
}

.doc-size {
    color: #9b957a;
}

.doc-download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #c45a3a;
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.doc-download:hover {
    background: #9e452b;
    transform: scale(1.03);
}

.doc-download span {
    font-size: 1.1rem;
}

.documents-note {
    max-width: 700px;
    margin: 3rem auto 0;
    padding: 1.5rem 2rem;
    background: #f4f1e8;
    border-radius: 16px;
    text-align: center;
    color: #6b705c;
    font-size: 0.95rem;
    border-left: 4px solid #c45a3a;
}

.documents-note strong {
    color: #c45a3a;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 700px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }
    .document-card {
        flex-wrap: wrap;
        padding: 1.5rem;
    }
    .doc-download {
        width: 100%;
        justify-content: center;
        margin-top: 0.2rem;
    }
}