/* ========================================
   ОСНОВНЫЕ СТИЛИ ДЛЯ САЙТА
   ======================================== */

/* ----- Базовые настройки ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #fff;
    color: #1f2a1f;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ========================================
   ШАПКА САЙТА (HEADER) - ЛИПКАЯ С ГРАДИЕНТОМ
   ======================================== */
.header {
    background: linear-gradient(135deg, #234d1d 0%, #345f1a 50%, #436c21 100%);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 20px;
}

/* ----- ЛОГОТИП (КАРТИНКА) ----- */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.logo-text span {
    color: #ffd700;
}

/* ----- ДЕСКТОПНОЕ МЕНЮ ----- */
.nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
    font-family: 'Montserrat', sans-serif;
}

.nav-list li a:hover {
    color: #fff;
}

.nav-list li a.active {
    color: #ffd700;
}

.nav-list li a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ffd700;
}

/* ----- КНОПКИ В ШАПКЕ ----- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.header-phone i {
    font-size: 16px;
    color: #ffd700;
}

.header-phone:hover {
    color: #ffd700;
}

.header-phone .phone-text {
    display: inline;
}

/* ----- БУРГЕР-КНОПКА ----- */
.burger-btn {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    flex-shrink: 0;
}

.burger-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ----- МОБИЛЬНОЕ МЕНЮ (ВЫЕЗЖАЕТ СПРАВА) С ГРАДИЕНТОМ ----- */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background: linear-gradient(180deg, #234d1d 0%, #345f1a 50%, #436c21 100%);
    padding: 80px 30px 30px;
    transition: right 0.4s ease;
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mobile-nav-list li {
    margin-bottom: 4px;
}

.mobile-nav-list li a {
    display: block;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.mobile-nav-list li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.mobile-nav-list li a.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.mobile-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px;
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    border-radius: 60px;
}

.mobile-phone i {
    color: #ffd700;
    font-size: 20px;
}

.mobile-phone:hover {
    background: rgba(255, 215, 0, 0.15);
}

.mobile-buttons .btn {
    text-align: center;
    border: 2px solid #ffd700;
    background: #ffd700;
    color: #234d1d;
    font-weight: 700;
}

.mobile-buttons .btn:hover {
    background: transparent;
    color: #ffd700;
}

/* ========================================
   КНОПКИ
   ======================================== */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #345f1a 0%, #436c21 100%);
    color: #fff;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background: linear-gradient(135deg, #234d1d 0%, #345f1a 100%);
    box-shadow: 0 4px 15px rgba(35, 77, 29, 0.3);
    transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, #345f1a 0%, #436c21 100%);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #234d1d 0%, #345f1a 100%);
}

.btn-outline {
    background: transparent;
    border: 2px solid #436c21;
    color: #436c21;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #345f1a 0%, #436c21 100%);
    color: #fff;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ========================================
   КНОПКА "ЗАКАЗАТЬ ЗВОНОК" В ШАПКЕ
   ======================================== */
.header-actions .btn-sm {
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 60px;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    transform: none;
}

.header-actions .btn-sm:hover {
    background: #ffd700;
    color: #234d1d;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    transform: none;
}

/* ========================================
   ПОДВАЛ САЙТА (FOOTER) С ГРАДИЕНТОМ
   ======================================== */
.footer {
    background: linear-gradient(180deg, #1a3a15 0%, #234d1d 50%, #2d5a20 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 40px 0 20px;
    margin-top: 0px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 0 20px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    color: #ffd700;
}

.footer-desc {
    margin: 12px 0 16px;
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.7;
    max-width: 320px;
    font-family: 'Montserrat', sans-serif;
}

/* Блок с рейтингом Авито */
.avito-rating {
    margin-top: 12px;
}

.avito-rating-img {
    max-height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.avito-rating-img:hover {
    transform: scale(1.05);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    transform: translateY(-2px);
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-col address p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    font-style: normal;
    font-size: 15px;
    opacity: 0.9;
    font-family: 'Montserrat', sans-serif;
}

.footer-col address i {
    color: #ffd700;
    width: 18px;
    margin-top: 2px;
    font-size: 18px;
}

.footer-col address a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col address a:hover {
    color: #ffd700;
}

/* Контакты в подвале - крупнее и жирнее */
.footer-col-contacts address .contact-phone a {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.footer-col-contacts address .contact-email a {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Montserrat', sans-serif;
}

/* ========================================
   АДАПТИВ
   ======================================== */

/* 1025px и меньше - скрываем основное меню, показываем бургер */
@media (max-width: 1025px) {
    .nav {
        display: none !important;
    }
    
    .burger-btn {
        display: flex !important;
    }
}

/* Планшеты - скрываем телефонный номер, оставляем иконку */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header-inner {
        padding: 0 16px;
    }

    .logo img {
        height: 36px;
    }

    .logo-text {
        font-size: 18px;
    }

    .header-phone .phone-text {
        display: none;
    }

    .header-phone {
        width: 44px;
        height: 44px;
        background: transparent;
        border: 2px solid #ffd700;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .header-phone i {
        font-size: 18px;
        margin: 0;
        color: #ffd700;
    }

    .burger-btn span {
        width: 24px;
        height: 2.5px;
    }

    .footer {
        padding: 30px 0 16px;
        margin-top: 0px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px 20px;
        text-align: center;
    }

    .footer-desc {
        max-width: 100%;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        font-size: 12px;
        padding: 16px 16px 0;
    }

    .footer-logo img {
        height: 32px;
    }

    /* Центрируем логотип и картинку Авито */
    .footer-col-center {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .avito-rating {
        display: flex;
        justify-content: center;
    }

    /* Пункты меню прижаты влево, но по центру */
    .footer-col:not(.footer-col-center):not(.footer-col-contacts) {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col:not(.footer-col-center):not(.footer-col-contacts) ul {
        text-align: center;
        padding: 0;
    }

    .footer-col:not(.footer-col-center):not(.footer-col-contacts) ul li {
        text-align: center;
    }

    /* Контакты в подвале - центрируем */
    .footer-col-contacts {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col-contacts address {
        text-align: center;
        width: 100%;
        max-width: 300px;
    }

    .footer-col-contacts address p {
        justify-content: center;
    }

    .footer-col-contacts address .contact-phone a {
        font-size: 22px;
    }

    .footer-col-contacts address .contact-email a {
        font-size: 18px;
    }
}

/* Маленькие телефоны */
@media (max-width: 480px) {

    .header-actions .btn-sm {
        display: none;
    }
    .header {
        padding: 8px 0;
    }

    .header-inner {
        padding: 0 12px;
        gap: 8px;
    }

    .logo img {
        height: 30px;
    }

    .logo-text {
        font-size: 15px;
    }

    .header-phone {
        width: 38px;
        height: 38px;
    }

    .header-phone i {
        font-size: 14px;
    }

    .burger-btn span {
        width: 20px;
        height: 2px;
        gap: 4px;
    }

    .mobile-menu {
        max-width: 100%;
        padding: 70px 20px 20px;
    }

    .mobile-nav-list li a {
        font-size: 16px;
        padding: 12px 14px;
    }

    .footer {
        padding: 20px 0 12px;
    }

    .footer-grid {
        gap: 16px;
        padding: 0 12px 16px;
    }

    .footer-col h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-col address p {
        font-size: 13px;
    }

    .footer-col-contacts address .contact-phone a {
        font-size: 20px;
    }

    .footer-col-contacts address .contact-email a {
        font-size: 16px;
    }

    .footer-bottom {
        font-size: 11px;
        padding: 12px 12px 0;
    }

    .container {
        padding: 0 12px;
    }

    .avito-rating-img {
        max-height: 40px;
    }
}

/* ========================================
   СЕКЦИЯ РУЛОННЫЙ ГАЗОН С ГРАДИЕНТОМ
   ======================================== */
.roll-gazon {
    background: linear-gradient(180deg, #234d1d 0%, #345f1a 50%, #436c21 100%);
    padding: 60px 0;
    color: #fff;
}

/* ========================================
   МОДАЛЬНОЕ ОКНО
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    line-height: 1;
}

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

.modal-content h2 {
    font-size: 24px;
    color: #234d1d;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.modal-content p {
    color: #666;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

/* ========================================
   ФОРМА В МОДАЛЬНОМ ОКНЕ
   ======================================== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 14px;
    color: #333;
    font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e8e0;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #f8faf8;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #436c21;
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Переопределяем стили для списка с галочками */
.roll-card-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 8px 0 4px !important;
}
.roll-card-features li {
    position: relative;
    padding: 4px 0 4px 30px !important;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    list-style: none !important;
    margin: 0 !important;
}
.roll-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #f0f7f0;
    border: 1.5px solid #a5d6a7;
    border-radius: 50%;
    color: #1b5e20;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}
.roll-card-features li::marker {
    display: none !important;
    content: '' !important;
}

/* ========================================
   КНОПКА "НАВЕРХ" (BACK TO TOP)
   ======================================== */
   .back-to-top {
    border:2px solid #fff;
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #234d1d 0%, #345f1a 50%, #436c21 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 20px rgba(35, 77, 29, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #345f1a 0%, #436c21 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(35, 77, 29, 0.5);
}

.back-to-top:active {
    transform: scale(0.95);
}

/* Анимация стрелки при наведении */
.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* ========================================
   АДАПТИВ ДЛЯ КНОПКИ "НАВЕРХ"
   ======================================== */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 90px;
        left: 20px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 80px;
        left: 15px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* ========================================
   МОДАЛЬНОЕ ОКНО ФОРМЫ
   ======================================== */
   .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}

.modal-content.modal-compact {
    background: #fff;
    border-radius: 16px;
    max-width: 340px;
    width: 100%;
    padding: 28px 24px 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: modalFadeIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 4px;
    line-height: 1;
}
.modal-close:hover {
    color: #333;
}

.modal-header {
    text-align: center;
    margin-bottom: 16px;
}
.modal-header h2 {
    font-size: 18px;
    color: #234d1d;
    margin: 0 0 4px;
    font-weight: 700;
}
.modal-header p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

/* Поля формы */
.modal-content.modal-compact .form-group {
    margin-bottom: 10px;
}
.modal-content.modal-compact .form-group input,
.modal-content.modal-compact .form-group textarea {
    width: 100%;
    padding: 9px 14px;
    border: 2px solid #e8ece8;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: #f8faf8;
    font-family: inherit;
}
.modal-content.modal-compact .form-group input:focus,
.modal-content.modal-compact .form-group textarea:focus {
    outline: none;
    border-color: #234d1d;
    background: #fff;
}
.modal-content.modal-compact .form-group textarea {
    resize: vertical;
    min-height: 56px;
}

/* Файл */
.file-group {
    margin-bottom: 12px !important;
}
.file-upload-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding: 4px 0;
}
.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.file-label {
    color: #234d1d;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 22px;
}
.file-label i {
    font-size: 30px;
}
.file-label:hover {
    color: #345f1a;
}

.file-upload-preview {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: #e8f5e9;
    border-radius: 6px;
    margin-top: 4px;
    font-size: 13px;
}
.file-upload-preview span {
    flex: 1;
    color: #234d1d;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
}
.file-upload-preview button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #999;
    padding: 0 4px;
}
.file-upload-preview button:hover {
    color: #e74c3c;
}

/* Кнопка отправки */
.modal-content.modal-compact .btn-submit {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, #345f1a 0%, #436c21 100%);
    color: #fff;
    border: none;
    border-radius: 60px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 14px;
}
.modal-content.modal-compact .btn-submit:hover {
    background: linear-gradient(135deg, #234d1d 0%, #345f1a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(35, 77, 29, 0.3);
}
.modal-content.modal-compact .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Чекбокс - теперь под кнопкой */
.checkbox-group {
    margin: 0 !important;
    padding-top: 2px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.checkbox-label .checkmark {
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 2px solid #d0d8d0;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}
.checkbox-label input:checked + .checkmark {
    background: #234d1d;
    border-color: #234d1d;
}
.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 11px;
}
.checkbox-label a {
    color: #234d1d;
    text-decoration: underline;
    font-weight: 500;
}
.checkbox-label a:hover {
    color: #345f1a;
}

.form-error {
    background: #fde8e8;
    color: #c0392b;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 10px;
    border-left: 3px solid #e74c3c;
}
.form-success {
    background: #e8f5e9;
    color: #234d1d;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 10px;
    border-left: 3px solid #4CAF50;
}

@media (max-width: 480px) {
    .modal-content.modal-compact {
        padding: 20px 14px 16px;
        border-radius: 12px;
        max-width: 100%;
    }
    .modal-header h2 {
        font-size: 17px;
    }
    .modal-content.modal-compact .form-group input,
    .modal-content.modal-compact .form-group textarea {
        font-size: 13px;
        padding: 8px 12px;
    }
    .checkbox-label {
        font-size: 11px;
    }
    .checkbox-label .checkmark {
        width: 15px;
        height: 15px;
        min-width: 15px;
    }
}
.file-label,
.file-upload-wrapper {
    cursor: pointer !important;
}