:root {
            --primary-color: #2d8659;
            --secondary-color: #ff8c42;
            --accent-color: #ffd23f;
            --dark-color: #1a3a2e;
            --light-bg: #f8fdf9;
        }
        
        body {
            font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
            color: #333;
            background: var(--light-bg);
        }

        .icon {
            width: 1em;
            height: 1em;
            display: inline-block;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
            vertical-align: -0.125em;
        }
        
        /* NAVBAR */
        .navbar {
            background: rgba(255, 255, 255, 0.98) !important;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        }
        
        .navbar-brand {
            font-weight: 800;
            font-size: 1.3rem;
            color: var(--primary-color) !important;
            line-height: 1.2;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .brand-logo {
            width: 54px;
            height: 54px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .brand-text {
            display: flex;
            flex-direction: column;
        }
        
        .navbar-brand .brand-main {
            font-size: 1.3rem;
            letter-spacing: 0.5px;
        }
        
        .navbar-brand .brand-sub {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--secondary-color);
            letter-spacing: 2px;
            text-transform: uppercase;
        }
        
        /* HERO */
        .hero {
            background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
            min-height: 85vh;
            display: flex;
            align-items: center;
            color: white;
            padding-top: 80px;
            position: relative;
            overflow: hidden;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(255, 210, 63, 0.15) 0%, transparent 70%);
            border-radius: 50%;
        }

        .hero::after {
            content: '';
            position: absolute;
            right: 5%;
            bottom: 8%;
            width: min(34vw, 360px);
            aspect-ratio: 389 / 283;
            background: url('img/logo-logistresh.png') center/contain no-repeat;
            opacity: 0.12;
            pointer-events: none;
        }
        
        .hero h1 {
            font-weight: 800;
            font-size: 3rem;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 2;
        }
        
        .hero h1 .highlight {
            color: var(--accent-color);
        }
        
        .hero p.lead {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            opacity: 0.95;
            position: relative;
            z-index: 2;
        }
        
        .hero-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 30px;
            position: relative;
            z-index: 2;
        }
        
        .hero-badge {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            padding: 12px 24px;
            border-radius: 50px;
            font-weight: 500;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .hero-badge .icon {
            color: var(--accent-color);
            margin-right: 8px;
        }
        
        .btn-primary-custom {
            background: var(--secondary-color);
            border: none;
            padding: 14px 36px;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.3s;
            color: white;
            position: relative;
            z-index: 2;
        }
        
        .btn-primary-custom:hover {
            background: #e67a32;
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(255, 140, 66, 0.4);
            color: white;
        }
        
        .btn-outline-custom {
            background: transparent;
            border: 2px solid white;
            padding: 12px 34px;
            font-weight: 600;
            border-radius: 50px;
            color: white;
            transition: all 0.3s;
            position: relative;
            z-index: 2;
        }
        
        .btn-outline-custom:hover {
            background: white;
            color: var(--primary-color);
        }
        
        /* SECTIONS */
        section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title h2 {
            font-weight: 800;
            font-size: 2.5rem;
            color: var(--dark-color);
            margin-bottom: 15px;
        }
        
        .section-title p {
            color: #6c757d;
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .section-title .accent-line {
            width: 70px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            margin: 20px auto;
            border-radius: 2px;
        }
        
        /* WHAT IS GAZATOR */
        .what-is {
            background: white;
        }
        
        .feature-box {
            text-align: center;
            padding: 40px 25px;
            background: var(--light-bg);
            border-radius: 20px;
            transition: all 0.3s;
            height: 100%;
            border: 2px solid transparent;
        }
        
        .feature-box:hover {
            transform: translateY(-8px);
            border-color: var(--primary-color);
            box-shadow: 0 15px 35px rgba(45, 134, 89, 0.15);
        }
        
        .feature-box .icon-wrap {
            width: 90px;
            height: 90px;
            background: linear-gradient(135deg, var(--primary-color), #3da870);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            color: white;
            font-size: 2.5rem;
            transition: all 0.3s;
        }
        
        .feature-box:hover .icon-wrap {
            background: linear-gradient(135deg, var(--secondary-color), #ffa366);
            transform: scale(1.1) rotate(5deg);
        }
        
        .feature-box h4 {
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 15px;
        }
        
        .feature-box p {
            color: #6c757d;
            margin-bottom: 0;
            line-height: 1.7;
        }

        /* HOW WE WORK */
        .how-we-work {
            background: linear-gradient(135deg, #fff, var(--light-bg));
        }

        .work-step {
            background: white;
            border-radius: 18px;
            padding: 32px 24px;
            height: 100%;
            box-shadow: 0 6px 24px rgba(0,0,0,0.06);
            border-top: 4px solid var(--primary-color);
            position: relative;
            transition: all 0.3s;
        }

        .work-step:hover {
            transform: translateY(-6px);
            box-shadow: 0 14px 34px rgba(45, 134, 89, 0.15);
        }

        .work-step .step-number {
            position: absolute;
            top: 18px;
            right: 22px;
            font-size: 3rem;
            font-weight: 800;
            line-height: 1;
            color: rgba(45, 134, 89, 0.09);
        }

        .work-step .icon-wrap {
            width: 72px;
            height: 72px;
            background: linear-gradient(135deg, var(--secondary-color), #ffa366);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
            margin-bottom: 22px;
        }

        .work-step h4 {
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 12px;
            padding-right: 36px;
        }

        .work-step p {
            color: #6c757d;
            line-height: 1.7;
            margin-bottom: 0;
        }
        
        /* FOR WHOM */
        .for-whom {
            background: linear-gradient(135deg, var(--light-bg), #e8f5e9);
        }
        
        .client-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.06);
            transition: all 0.3s;
            height: 100%;
            border-left: 4px solid var(--primary-color);
        }
        
        .client-card:hover {
            transform: translateX(5px);
            box-shadow: 0 10px 30px rgba(45, 134, 89, 0.15);
        }
        
        .client-card h5 {
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 10px;
        }
        
        .client-card .icon {
            font-size: 2.5rem;
            color: var(--secondary-color);
            margin-bottom: 15px;
        }
        
        /* FRUITS */
        .fruits-section {
            background: white;
        }
        
        .fruit-tag {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 12px 28px;
            border-radius: 50px;
            margin: 8px;
            font-weight: 600;
            transition: all 0.3s;
            cursor: default;
        }
        
        .fruit-tag:hover {
            transform: scale(1.08);
            box-shadow: 0 8px 20px rgba(45, 134, 89, 0.3);
        }

        /* SEO TEXT */
        .seo-section {
            background: var(--light-bg);
            padding: 60px 0;
        }

        .seo-content {
            max-width: 980px;
            margin: 0 auto;
            background: white;
            border-radius: 18px;
            padding: 36px;
            box-shadow: 0 6px 24px rgba(0,0,0,0.05);
            border-left: 4px solid var(--secondary-color);
        }

        .seo-content h2 {
            font-weight: 800;
            color: var(--dark-color);
            font-size: 1.8rem;
            margin-bottom: 18px;
        }

        .seo-content p {
            color: #5f6f67;
            line-height: 1.8;
            margin-bottom: 16px;
        }

        .seo-content p:last-child {
            margin-bottom: 0;
        }
        
        /* CONTACTS */
        .contacts {
            background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
            color: white;
        }
        
        .contacts .section-title h2,
        .contacts .section-title p {
            color: white;
        }
        
        .contact-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 35px 25px;
            text-align: center;
            transition: all 0.3s;
            height: 100%;
        }
        
        .contact-card:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-5px);
        }
        
        .contact-card .icon-wrap {
            width: 80px;
            height: 80px;
            background: var(--secondary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 2rem;
            color: white;
        }
        
        .contact-card h5 {
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--accent-color);
        }
        
        .contact-card a {
            color: white;
            text-decoration: none;
            font-size: 1.1rem;
            transition: color 0.3s;
            display: block;
        }
        
        .contact-card a:hover {
            color: var(--accent-color);
        }
        
        .contact-card p {
            color: rgba(255, 255, 255, 0.8);
            margin-top: 10px;
            font-size: 0.95rem;
        }
        
        /* Телефоны в карточке */
        .phone-item {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin: 8px 0;
            font-size: 1.15rem;
            font-weight: 600;
        }
        
        .phone-item a {
            display: inline-block;
        }
        
        .phone-item .icon {
            color: var(--accent-color);
            font-size: 1.2rem;
        }
        
        .address-text {
            font-size: 1.1rem;
            line-height: 1.6;
            color: white;
            margin-top: 15px;
        }
        
        .address-text strong {
            color: var(--accent-color);
            display: block;
            margin-bottom: 5px;
            font-size: 1.15rem;
        }
        
        /* FOOTER */
        footer {
            background: var(--dark-color);
            color: #b0bec5;
            padding: 30px 0;
            text-align: center;
        }
        
        footer .footer-brand {
            font-weight: 800;
            font-size: 1.3rem;
            color: white;
            margin-bottom: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        footer .footer-brand span {
            color: var(--secondary-color);
        }

        .footer-brand-text {
            color: white !important;
        }

        .footer-brand-text .accent {
            color: var(--secondary-color) !important;
        }

        .footer-logo-wrap {
            width: 46px;
            height: 46px;
            background: white;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .footer-logo {
            width: 34px;
            height: 34px;
            object-fit: contain;
        }
        
        footer a {
            color: var(--accent-color);
            text-decoration: none;
        }
        
        footer .footer-contacts {
            margin-top: 15px;
            font-size: 0.95rem;
        }
        
        footer .footer-contacts a {
            margin: 0 8px;
        }
        
        /* RESPONSIVE */
        @media (max-width: 768px) {
            .hero {
                min-height: auto;
                padding: 120px 0 70px;
            }
            .hero::before,
            .hero::after {
                display: none;
            }
            .hero h1 { font-size: 2rem; }
            .hero p.lead { font-size: 1.05rem; }
            .section-title h2 { font-size: 1.9rem; }
            section { padding: 60px 0; }
            .hero-badges { justify-content: center; }
            .navbar-brand {
                font-size: 1.1rem;
                gap: 9px;
            }
            .brand-logo {
                width: 44px;
                height: 44px;
            }
            .navbar-brand .brand-main {
                font-size: 1.1rem;
            }
            .phone-item {
                font-size: 1.05rem;
            }
        }
/* =========================================
   404 PAGE SPECIFIC STYLES
   ========================================= */
.error-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-bg), #e8f5e9);
    position: relative;
    overflow: hidden;
}

.error-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.error-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 134, 89, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.error-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.error-code {
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -5px;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.error-description {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 40px;
    line-height: 1.7;
}

.error-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.popular-links {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    margin-top: 30px;
}

.popular-links h4 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.popular-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-links-list a {
    display: inline-block;
    background: var(--light-bg);
    color: var(--dark-color);
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.popular-links-list a:hover {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .error-code {
        font-size: 6rem;
    }
    .error-title {
        font-size: 1.8rem;
    }
    .error-description {
        font-size: 1.05rem;
    }
    .popular-links {
        padding: 25px 20px;
    }
}

.err-btn-outline-custom {
    background: transparent;
    border: 2px solid #198754;
    padding: 12px 34px;
    font-weight: 600;
    border-radius: 50px;
    color: #198754;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}
        
.err-btn-outline-custom:hover {
    background: rgb(238, 238, 238);
    color: var(--primary-color);
}

/* Стили для баннера */
.banner-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #fff, var(--light-bg));
}
        
.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}        
        
.banner-image:hover {
    transform: scale(1.01);
}
        
@media (max-width: 768px) {
    .banner-section {
        padding: 30px 0;
    }
            
    .banner-image {
        border-radius: 15px;
    }
}

.banner-image {
    width: 100%;
    max-width: 100%; /* 👈 Добавь это */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(45, 134, 89, 0.15);
    display: block;
    transition: transform 0.3s;
    object-fit: cover; /* 👈 Если хочешь, чтобы картинка обрезалась красиво, а не сплющивалась */
}

/* И чуть улучшим адаптив для мобилок */
@media (max-width: 768px) {
    .banner-section {
        padding: 20px 0;
    }
    .banner-container {
        padding: 0 15px; /* 👈 Уменьшим отступы по бокам на мобилках */
    }
    .banner-image {
        border-radius: 15px;
        /* Если картинка очень высокая, можно ограничить высоту на мобилках */
        max-height: 300px; 
        object-fit: cover;
    }
}

/* Кнопка "Подробнее" в feature-box */
.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.feature-box p {
    flex-grow: 1;
}

.btn-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 26px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), #3da870);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    flex-shrink: 0;
}

.btn-details .btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.feature-box:hover .btn-details {
    background: linear-gradient(135deg, var(--secondary-color), #ffa366);
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 140, 66, 0.35);
}

.feature-box:hover .btn-arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .btn-details {
        padding: 9px 22px;
        font-size: 0.9rem;
    }
}

/* Кнопка "Наверх" */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.25);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--secondary-color, #3da870);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.35);
}

/* Класс, который будет добавляться через JS при прокрутке */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

/* Мобильная адаптация, чтобы кнопка не перекрывала важный контент */
@media (max-width: 576px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* =========================================
   СТИЛИ ДЛЯ АКТИВНОГО ПУНКТА МЕНЮ
   ========================================= */
.navbar .nav-link.active {
    font-weight: 700 !important; /* Делаем жирным */
    color: var(--primary-color) !important; /* Красим в фирменный зеленый цвет */
    position: relative;
}

/* черточка снизу для активного пункта */
.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--secondary-color); /* Оранжевая черточка */
    border-radius: 2px;
}