

/* базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFBF0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 65px, rgba(0, 150, 60, 0.03) 80px, rgba(0, 150, 60, 0.03) 80.1px, transparent 80.5px, transparent 160px), repeating-linear-gradient(-45deg, transparent, transparent 65px, rgba(0, 150, 60, 0.03) 80px, rgba(0, 150, 60, 0.03) 80.1px, transparent 80.5px, transparent 160px);
    background-attachment: fixed;
    color: #1a2a1a;
    line-height: 1.5;
}
/*-------------------------------------------------------*/

/* шапка */

/* Большая шапка */
#main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.75) 0%, rgba(0, 180, 70, 0.8) 100%);
    backdrop-filter: blur(12px);
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 150, 60, 0.25);
    z-index: 1000;
    transition: all 0.4s ease;
}

    #main-header.hidden {
        transform: translateX(-50%) translateY(-150%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

/* Навигация в шапке */
.nav-menu {
    display: flex;
    gap: 32px;
}

    .nav-menu a {
        color: white;
        font-weight: 500;
        transition: opacity 0.2s;
    }

        .nav-menu a:hover {
            opacity: 0.8;
        }

/* Логотип */
.logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    background: rgba(255,255,255,0.2);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

/* Компактная шапка (появляется при скролле) */
#compact-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.85) 0%, rgba(0, 180, 70, 0.9) 100%);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

    #compact-header.visible {
        opacity: 1;
        pointer-events: all;
    }

    #compact-header a {
        color: white;
        font-weight: 500;
    }
/*-------------------------------------------------------*/

/* основной контент */
.services-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 5% 80px;
}
/*-------------------------------------------------------*/

/* hero секция */
.services-hero {
    text-align: center;
    margin-bottom: 80px;
}

.hero-badge {
    background: rgba(0, 180, 70, 0.15);
    color: #2e7d32;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.services-title {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.services-subtitle {
    font-size: 20px;
    color: #3a5a3a;
}
/*-------------------------------------------------------*/

/* сетка услуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

/*картока услуг */
.service-card {
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 40px 30px;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.6);
}

    .service-card:hover {
        transform: translateY(-8px);
        background: rgba(255,255,255,0.6);
    }

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0,150,60,0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

    .service-icon i {
        font-size: 32px;
        color: #2e7d32;
    }

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1a3a1a;
}

.service-desc {
    color: #3a5a3a;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-price {
    font-size: 18px;
    font-weight: 700;
    color: #2e7d32;
    margin-top: 16px;
}
/*-------------------------------------------------------*/

/* заголовки секций */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    background: rgba(0, 180, 70, 0.15);
    color: #2e7d32;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a3a1a;
    margin-bottom: 16px;
}

.section-header p {
    color: #3a5a3a;
    font-size: 18px;
}
/*-------------------------------------------------------*/

/* примеры работ*/
.works-block {
    margin-bottom: 80px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
/*-------------------------------------------------------*/

/* карточки примеров работ */
.work-card {
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.6);
}

    .work-card:hover {
        transform: translateY(-8px);
        background: rgba(255,255,255,0.6);
    }

.work-image {
    background: rgba(0,150,60,0.1);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0,150,60,0.2);
}

    .work-image i {
        font-size: 48px;
        color: #2e7d32;
    }

.work-info {
    padding: 24px;
}

    .work-info h3 {
        font-size: 20px;
        margin-bottom: 8px;
        color: #1a3a1a;
    }

    .work-info p {
        color: #3a5a3a;
        font-size: 14px;
        margin-bottom: 12px;
    }

.work-tag {
    display: inline-block;
    background: rgba(0,150,60,0.15);
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
/*-------------------------------------------------------*/

/* отзывы*/
.reviews-block {
    margin-bottom: 80px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

/* карточка отзывов */
.review-card {
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 32px;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.6);
}

    .review-card:hover {
        transform: translateY(-5px);
        background: rgba(255,255,255,0.6);
    }

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: #2a4a2a;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    font-weight: 700;
    color: #1a3a1a;
    margin-bottom: 4px;
}

.review-project {
    font-size: 13px;
    color: #2e7d32;
}
/*-------------------------------------------------------*/

/* форма заявки */
.form-block {
    display: flex;
    gap: 60px;
    align-items: stretch;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 50px;
    border: 1px solid rgba(255,255,255,0.5);
}

.form-container {
    flex: 1.2;
}

.form-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #1a3a1a;
}

.form-text p {
    color: #3a5a3a;
    margin-bottom: 32px;
}

.service-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Поля формы */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,150,60,0.3);
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.2s;
}

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #4caf50;
        background: white;
        resize: none;
    }

.submit-btn {
    width: 100%;
    text-align: center;
    cursor: pointer;
}

/* Изображение в форме */
.form-image {
    flex: 0.8;
}

.image-placeholder {
    background: rgba(0,150,60,0.1);
    border-radius: 32px;
    padding: 60px 20px;
    text-align: center;
    border: 2px dashed rgba(0,150,60,0.4);
    color: #2e7d32;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .image-placeholder i {
        font-size: 64px;
        margin-bottom: 16px;
        display: block;
    }
/*-------------------------------------------------------*/

/* кнопки */
.btn-primary {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    font-size: 16px;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,150,60,0.4);
    }
/*-------------------------------------------------------*/

/* подвал */
#main-footer {
    background: linear-gradient(135deg, #1a3a1a, #0e2a0e);
    color: white;
    padding: 48px 5% 24px;
    text-align: center;
    margin-top: 60px;
}

.footer-content p {
    margin-top: 12px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}
/*-------------------------------------------------------*/

/* адаптив */
@media (max-width: 768px) {
    .services-title {
        font-size: 48px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .nav-menu {
        display: none;
    }

    .form-block {
        flex-direction: column;
        padding: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
/*-------------------------------------------------------*/

/* модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    padding: 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(0,150,60,0.3);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    font-size: 28px;
    color: #1a3a1a;
    margin-bottom: 16px;
}

.modal-content p {
    font-size: 16px;
    color: #2a4a2a;
    margin-bottom: 12px;
    line-height: 1.5;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

    .modal-close:hover {
        color: #2e7d32;
    }

.modal-btn {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

    .modal-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,150,60,0.3);
    }
/*-------------------------------------------------------*/

/* доп секция */
.hero-image-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    display: block;
    object-fit: cover;
}

.info-image {
    flex: 1;
}

.image-placeholder {
    background: rgba(0,150,60,0.1);
    border-radius: 32px;
    padding: 60px 20px;
    text-align: center;
    border: 2px dashed rgba(0,150,60,0.4);
    color: #2e7d32;
}

    .image-placeholder i {
        font-size: 64px;
        margin-bottom: 16px;
        display: block;
    }
/*-------------------------------------------------------*/

/* бургер меню */

/* Кнопка бургера */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1002;
}

    .burger span {
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Анимация бургера в крестик */
    .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);
    }

/* Мобильное меню (выезжающее справа) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 180, 70, 0.98), rgba(0, 150, 60, 0.98));
    backdrop-filter: blur(20px);
    z-index: 1001;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
}

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu a {
        display: block;
        color: white;
        font-size: 18px;
        font-weight: 500;
        padding: 15px 0;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        transition: all 0.2s;
    }

        .mobile-menu a:hover {
            opacity: 0.8;
            padding-left: 10px;
        }

/* Затемнение фона при открытом меню */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

    .mobile-overlay.active {
        display: block;
    }

/* адаптация бургер меню */
@media (max-width: 768px) {
    /* Показываем бургер */
    .burger {
        display: flex;
    }

    /* Скрываем обычную навигацию */
    .nav-menu,
    .nav-menu-small {
        display: none !important;
    }

    /* Шапка на мобилках */
    #main-header,
    #header {
        width: 95% !important;
        padding: 10px 16px !important;
        top: 10px !important;
        left: 2.5% !important;
        transform: none !important;
    }

        /* Логотип на мобилках */
        #main-header .logo,
        #header .logo {
            width: 36px !important;
            height: 36px !important;
            font-size: 18px !important;
        }

        /* Отключаем скрытие шапки на мобилках */
        #main-header.hidden,
        #header.hidden {
            transform: none !important;
            opacity: 1 !important;
            visibility: visible !important;
            pointer-events: all !important;
        }

    /* Скрываем маленькую шапку */
    #compact-header,
    #compactheader {
        display: none !important;
    }
}
/*-------------------------------------------------------*/
