* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pontano Sans', sans-serif;
    background-color: #f9f7f2;
    color: #1F0735;
    font-size: 1rem; /* Базовый размер шрифта */
}

header {
    position: fixed;
    height: 6.25rem; /* 100px */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #A8E551;
    display: flex;
    align-items: center;
    font-family: Poppins, sans-serif;
    padding: 0 2.5rem; /* 40px */
    z-index: 15;
}

header .logo {
    position: absolute;
}

header .logo a {
    display: inline-block; /* Чтобы ссылка правильно оборачивала изображение */
}

header .logo img {
    width: 15.625rem; /* 250px */
    padding-left: 9.375rem; /* 150px */
    z-index: 10;
}

nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 7rem; /* 50px */
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    text-decoration: none;
    color: #1F0735;
    font-size: 1rem; /* 16px */
}

nav ul li a.active {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25rem; /* 4px */
    text-decoration-color: #1F0735;
}

.header-button {
    position: absolute;
    right: 5rem; /* 40px */
}

.header-button .button {
    display: inline-block;
    padding: 0.625rem 1.25rem; /* 10px 20px */
    background-color: #7EB033;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 1rem; /* 4px */
    font-size: 1rem;
    transition: background-color 0.3s;
}

.header-button .button:hover {
     background: #6DAF50;
     transform: translateY(-3px);
     box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.intro-section {
    position: relative;
    height: 53vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #A8E551 0%, #dbd829 50%, #51bb41 100%);
    margin-top: 5rem;
    overflow: hidden;
}

/* Анимированный волновой эффект */
.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.1) 0%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0.1) 100%);
    animation: waveAnimation 8s linear infinite;
    transform: translateX(-50%);
}

/* Плавающие частицы */
.intro-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.3) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.2) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.4) 3px, transparent 3px),
        radial-gradient(circle at 60% 20%, rgba(255,255,255,0.3) 2px, transparent 2px);
    background-size: 200px 200px, 150px 150px, 250px 250px, 180px 180px;
    animation: floatParticles 20s linear infinite;
}

/* Анимация волны */
@keyframes waveAnimation {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

/* Анимация частиц */
@keyframes floatParticles {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 200px 200px, 150px 150px, 250px 250px, 180px 180px;
    }
}

/* Дополнительный эффект мерцания */
@keyframes shimmer {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .intro-section::before {
        animation-duration: 12s;
    }
    
    .intro-section::after {
        background-size: 100px 100px, 75px 75px, 125px 125px, 90px 90px;
        animation-duration: 30s;
    }
}

.truck-animation {
    position: absolute;
    bottom: 20%;
    width: 100%;
    height: 100px;
}

/* Общие стили для грузовиков */
.truck {
    position: absolute;
    width: 220px;
    height: auto;
    animation: truckMove 10s linear infinite;
}

/* Позиционирование грузовиков с задержкой */
.truck-1 {
    left: -220px;
    animation-delay: 0s;
}

.truck-2 {
    left: -220px;
    animation-delay: 3s; /* Задержка для второго грузовика */
}

.truck-3 {
    left: -220px;
    animation-delay: 6s; /* Задержка для третьего грузовика */
}

@keyframes truckMove {
    0% {
        transform: translateX(-220px);
    }
    100% {
        transform: translateX(calc(100vw + 220px));
    }
}


.intro-text {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-top: -80px;
    padding: 20px;
}

.intro-text h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 3rem;
    color: #FFFFFF;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    animation: textFadeIn 1.5s ease-out;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.values-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Times New Roman', serif;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 70px;
    color: #1F0735;
    font-weight: 600;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #DEE297, #64A6CE, #DEE297);
    border-radius: 3px;
}

.value-block {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 40px;
    position: relative;
}


.value-image {
    flex: 1;
    position: relative;
    z-index: 2;
}


.value-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

      .value-image.tilted img {
            transform: rotate(-11deg);
        }

        .value-image img:hover {
            transform: scale(1.05) rotate(-8deg);
        }

        .value-image.tilted-right img:hover {
            transform: scale(1.05) rotate(8deg);
        }

        .value-content {
            flex: 1;
        }
.value-content.fixed-width {
    flex: 0 0 50%;
    max-width: 600px;
    padding-right: 40px;
}

.value-image.movable-image {
    margin-left: auto;
    padding-left: 280px;
}

.handwritten {
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 1.8rem;
    color: #1F0735; 
    margin-bottom: 20px;
    display: inline-block;
     text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
   background: linear-gradient(135deg, #3A0CA3 0%, #1F0735 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    padding: 0 10px;
}


.value-text {
    font-family: 'Pontano Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #1F0735;
    padding-left: 20px;
    border-left: 5px solid #DEE297;
    position: relative;
}

.results-section {
            padding: 40px 20px;
            background-color: #f9f7f2;
            position: relative;
            overflow: hidden;
        }
        
        .results-container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }
        
        .section-title {
            font-family: 'Pontano Sans', sans-serif;
            font-size: 1.7rem;
            text-align: center;
            margin-bottom: 60px;
            color: #1F0735;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(to right, #DEE297, #64A6CE);
        }
        
        .results-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .result-item {
            text-align: center;
            padding: 20px;
        }
        
        .number {
            font-family: 'Pacifico', sans-serif;
            font-size: 5rem;
            font-weight: 500;
            color: #1F0735;
            margin-bottom: 20px;
            line-height: 1;
        }
        
        .number-text {
            font-family: 'Pontano Sans', sans-serif;
            font-size: 1.5rem;
            color: #1F0735;
        }
        
        
        
        .floating-image {
            position: absolute;
            z-index: 1;
        }
        
        .floating-image.top {
            top: 0;
            right: 350px;
            width: 220px;
        }
        
       .floating-image.bottom {
    left: 1350px;
    width: 50px;
    transform: rotate(15deg);
    animation: floatBounce 8s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(255, 182, 193, 0.8)); /* Светло-розовая тень */
    transition: all 0.5s ease;
}

@keyframes floatBounce {
    0%, 100% {
        transform: rotate(15deg) translateY(0) translateX(0);
        opacity: 0.9;
    }
    20% {
        transform: rotate(10deg) translateY(-25px) translateX(-15px);
    }
    40% {
        transform: rotate(20deg) translateY(5px) translateX(15px);
    }
    60% {
        transform: rotate(10deg) translateY(-15px) translateX(-5px);
        opacity: 1;
    }
    80% {
        transform: rotate(18deg) translateY(10px) translateX(8px);
    }
}

.floating-image.bottom:hover {
    animation-play-state: paused;
    transform: scale(1.25) rotate(15deg);
    filter: 
        drop-shadow(0 0 15px rgba(255, 182, 193, 1)) /* Усиленная розовая тень */
        brightness(1.1);
    z-index: 10;
}
       
.running-text-container {
            width: 100%;
            overflow: hidden;
            background-color: #f9f7f2;
            padding: 20px 0;
            margin-top: 30px;
        }
        
        .running-text {
            display: inline-block;
            white-space: nowrap;
            animation: runText 15s linear infinite;
            font-size: 3rem;
            color: #1F0735;
            font-family: Pontano Sans;
        }
        
        @keyframes runText {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100vw); }
        }

   .social-section {
        padding: 80px 20px;
        background-color: #f9f7f2;
    }
    
    .container {
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .media-grid {
        display: flex;
        align-items: center;
        gap: 60px;
    }
    
    .media-items {
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        position: relative;
    }
    
    .media-item {
        width: calc(50% - 10px);
        position: relative;
        display: block;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }
    
    .media-preview {
        width: 100%;
        height: 350px;
        object-fit:contain;
        display: block;
        transition: transform 0.3s ease;
    }
    
    .media-caption {
        position: absolute;
        bottom: -50px;
        left: 0;
        width: 100%;
        padding: 10px;
        background: rgba(0,0,0,0.7);
        color: white;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .media-item:hover .media-caption {
        bottom: 0;
    }
    
    .media-item:hover .media-preview {
        transform: scale(1.05);
    }
    
    .social-content {
        flex: 0 0 300px;
        display: flex;
        flex-direction: column;
        justify-content: center;
         font-family: 'Pontano Sans', sans-serif;
    }
    
    .social-title {
        font-size: 2rem;
        color: #1F0735;
        margin-bottom: 15px;
    }
    
    .social-subtitle {
        font-size: 1.3rem;
        color: #1F0735;
        margin-bottom: 30px;
    }
    
    .instagram-link {
        display: inline-block;
        font-size: 1.3rem;
        width: 250px;
        padding: 15px 30px;
        background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
        color: white;
        text-decoration: none;
        border-radius: 25px;
         font-family: 'Pontano Sans', sans-serif;
        transition: transform 0.3s ease;
    }
    
    .instagram-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
   footer {
    background-color: #7FC263;
    height: 14rem; /* 250px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Poppins, sans-serif;
}

footer .logo img {
    width: 18.75rem; /* 300px */
    padding-left: 11.875rem; /* 190px */
}

footer nav {
    justify-content: center;
}

footer nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 6.25rem; /* 100px */
}

footer nav ul li {
    display: inline-block;
}

footer nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem; /* 16px */
    font-family: Poppins, sans-serif;
}

footer .social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 1.25rem; /* 20px */
    padding-right: 11.875rem; /* 190px */
}

footer .social-icons a img {
    width: 2.5rem; /* 40px */
    height: auto;
}

footer .social-icons a:hover img {
    transform: scale(1.1);
}

/* Скрываем мобильное меню на десктопе */
.mobile-menu-btn,
.mobile-menu {
    display: none;
}

