* {
    scroll-behavior: smooth;
}
        
        :root {
            --primary-color: #2c3e50;
            --accent-color: #27ae60;
            --text-light: #ffffff;
            --transition: all 0.3s ease;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Montserrat', sans-serif; line-height: 1.6; color: #333; overflow-x: hidden; }

        /* Navigation */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            padding: 15px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .logo { font-weight: 700; font-size: 24px; color: var(--primary-color); }

        nav ul { display: flex; list-style: none; }
        nav ul li { margin: 0 20px; }
        nav ul li a { 
            text-decoration: none; 
            color: var(--primary-color); 
            font-weight: 600; 
            font-size: 14px;
            text-transform: uppercase;
            transition: var(--transition);
        }
        nav ul li a:hover { color: var(--accent-color); }

        .contact-btn {
            background: #e67e22;
            color: #fff;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
        }

        /* Hero Slider */
        .swiper { width: 100%; }
        .swiper-slide {
            position: relative;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100vh;
        }

        .slide-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.5);
        }

        .slide-content {
            position: relative;
            z-index: 10;
            text-align: center;
            color: var(--text-light);
            max-width: 800px;
            padding: 20px;
        }

        .slide-content h1 { font-size: 3.5rem; margin-bottom: 20px; text-transform: uppercase; }
        .slide-content p { font-size: 1.2rem; margin-bottom: 30px; }

        /* Adaptive */
        @media (max-width: 768px) {
            nav { display: none; } /* Здесь можно добавить мобильное меню-бургер */
            .slide-content h1 { font-size: 2rem; }
        }







/* Секция продукции */
.products {
    padding: 100px 5%;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

/* Сетка карточек */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Карточка товара */
.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #eee; /* Заглушка, пока нет фото */
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.product-info p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}

/* Кнопка WhatsApp */
.wa-btn {
    display: inline-block;
    text-align: center;
    background-color: #25D366; /* Фирменный цвет WhatsApp */
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.wa-btn:hover {
    background-color: #128C7E;
    transform: scale(1.02);
}

/* Адаптивность для заголовков */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
}











/* Финальный фиксированный блок отзывов: сверху вниз */
.reviews {
    padding: 100px 0 60px; /* Спустили блок пониже */
    background-color: #fcfcfc;
}

.reviews-slider {
    width: 100%;
    padding: 20px 10px 50px !important;
    overflow: hidden;
}

.review-card.swiper-slide {
    height: 320px !important; /* Твоя уменьшенная высота */
    display: flex;
    box-sizing: border-box;
}

.review-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    
    display: flex;
    flex-direction: column;
    align-items: center;    /* Центровка по горизонтали */
    justify-content: flex-start; /* СТРОГО СВЕРХУ ВНИЗ */
    
    width: 100%;
    height: 100%;
    text-align: center;
}

.review-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    flex-shrink: 0; /* Не дает шапке сжиматься */
}

.review-header img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #2c3e50;
    margin-bottom: 10px;
    object-fit: cover;
}

.user-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c3e50;
}

.user-info {
    font-size: 0.85rem;
    color: #999;
}

.review-text {
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.5;
    font-style: italic;
    color: #555;
    margin: 0;
    
    /* Текст идет сразу под шапкой и занимает остаток места */
    overflow-y: auto;
    text-align: center;
}

/* Скроллбар */
.review-text::-webkit-scrollbar {
    width: 3px;
}
.review-text::-webkit-scrollbar-thumb {
    background: #eee;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .review-card.swiper-slide {
        height: 300px !important;
    }
    .review-card {
        padding: 20px 15px;
    }
}














/* --- About Section: Исправленная адаптация и выравнивание --- */
.about {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 0 20px; /* Защита от прилипания на десктопе */
}

.about-content {
    flex: 1;
    text-align: left; /* Жесткое выравнивание влево */
}

.about-lead {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #e67e22; /* Твой зеленый */
    line-height: 1;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.9rem;
    color: #7f8c8d;
    line-height: 1.3;
}

.about-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #2c3e50;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.badge-title {
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- Adaptive --- */

@media (max-width: 992px) {
    .about {
        padding: 60px 0;
    }
    .about-wrapper {
        flex-direction: column; /* Картинка сверху, текст снизу */
        gap: 40px;
        padding: 0 30px;
    }
    .about-image {
        width: 100%;
        max-width: 600px;
    }
    .about-badge {
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 50px 0;
    }
    .about-wrapper {
        padding: 0 20px; /* Отступы от краев экрана */
    }
    .about-content {
        text-align: left; /* Никакого центра на мобилках */
    }
    .about-stats {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Четкая сетка по 2 в ряд */
        gap: 25px;
        margin-top: 30px;
    }
    .stat-item {
        flex: none;
    }
    .about-badge {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 20px;
        width: 100%; /* Плашка на всю ширину на мелких экранах */
        box-sizing: border-box;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-wrapper {
        padding: 0 15px;
    }
    .about-lead {
        font-size: 1.15rem;
    }
    .about-stats {
        grid-template-columns: 1fr; /* На совсем мелких в один столбец */
        gap: 20px;
    }
    .stat-number {
        font-size: 1.8rem;
    }
}












/* --- FAQ Section --- */
.faq {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.faq-wrapper {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Защита от прилипания к краям на мобилках */
}

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
    gap: 15px; /* Чтобы текст не лип к плюсику */
    transition: background 0.3s ease;
}

.faq-question:hover {
    background-color: #fcfcfc;
}

/* Иконка плюсика */
.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0; /* Чтобы иконку не сплющило при длинном тексте */
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: #25D366; /* Твой зеленый акцент */
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 2px; height: 100%; left: 50%; margin-left: -1px;
}

.faq-icon::after {
    width: 100%; height: 2px; top: 50%; margin-top: -1px;
}

/* Анимация иконки при открытии */
.faq-item.active .faq-icon::before {
    transform: rotate(90deg);
}
.faq-item.active .faq-icon::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0, 1, 0.5, 1);
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 1000px; /* С запасом для длинных ответов */
}

/* Гарантия в конце */
.faq-guarantee {
    text-align: center;
    margin: 40px auto 0;
    padding: 20px;
    background: #fff;
    border-left: 4px solid #25D366;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 800px;
    width: calc(100% - 30px); /* Адаптивная ширина */
}

/* --- Адаптация для планшетов и мобилок --- */
@media (max-width: 768px) {
    .faq {
        padding: 50px 0;
    }
    .faq-wrapper {
        margin-top: 25px;
        padding: 0 10px;
    }
    .faq-question {
        padding: 15px 18px;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    .faq-answer {
        padding: 0 18px;
    }
    .faq-item.active .faq-answer {
        padding: 0 18px 15px;
    }
    .faq-guarantee {
        margin-top: 30px;
        font-size: 0.9rem;
        padding: 15px;
    }
}

/* Мелкие смартфоны */
@media (max-width: 480px) {
    .faq-question {
        font-size: 0.9rem;
        padding: 15px;
    }
    .faq-icon {
        width: 16px;
        height: 16px;
    }
}









/* --- Контакты: Исправленная адаптация --- */
.contacts {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.contacts-wrapper {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    /* Добавляем боковые отступы, чтобы не липло к краям */
    padding: 0 20px; 
}

.contacts-info {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.3rem;
    min-width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #25D366;
}

.contact-text strong {
    display: block;
    color: #2c3e50;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.contact-text span, 
.contact-text a {
    display: block;
    color: #555;
    text-decoration: none;
    line-height: 1.5;
    font-size: 0.95rem;
}

.contact-text a:hover {
    color: #25D366;
}

.contacts-footer {
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.guarantee-text {
    margin-top: 12px;
    color: #25D366;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contacts-map {
    flex: 1;
    min-height: 450px;
    background: #eee;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    display: block;
    border: 0;
}

/* --- Адаптация --- */

@media (max-width: 1024px) {
    .contacts-wrapper {
        gap: 30px;
    }
    .contacts-info {
        flex: 0 0 350px;
    }
}

@media (max-width: 992px) {
    .contacts {
        padding: 60px 0;
    }
    .contacts-wrapper {
        flex-direction: column;
        padding: 0 30px; /* Увеличиваем отступы на планшетах */
    }
    .contacts-info {
        width: 100%;
        flex: none;
        order: 1;
    }
    .contacts-map {
        width: 100%;
        min-height: 400px;
        order: 2;
    }
}

@media (max-width: 768px) {
    .contacts {
        padding: 50px 0;
    }
    .contacts-wrapper {
        padding: 0 15px; /* Компактные отступы для мобилок */
        gap: 40px;
    }
    .contact-item {
        gap: 15px;
    }
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .contacts-map {
        min-height: 300px;
        border-radius: 10px; /* Чуть меньше скругление для узких экранов */
    }
    .contacts-map iframe {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .contacts-wrapper {
        padding: 0 10px; /* Чтобы совсем не впритык, но максимум места */
    }
    .contact-text strong {
        font-size: 1rem;
    }
    .contact-text span, .contact-text a {
        font-size: 0.9rem;
    }
    .contacts-footer {
        text-align: center;
    }
}









.footer-bottom {
    padding: 25px 0;
    background-color: #2c3e50; /* Темный фон под стать контактам */
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-developer {
    font-size: 0.9rem;
}

.footer-developer a {
    color: #25D366; /* Твой зеленый акцент */
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-developer a:hover {
    opacity: 0.8;
}

/* --- Адаптация --- */
@media (max-width: 768px) {
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom-wrapper {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-copyright, 
    .footer-developer {
        font-size: 0.85rem;
    }
}