                                                /*hero*/
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

.hero-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-container {
    max-width: 700px;
    margin: 0;
    width: 100%;
    flex: 1 1 auto;
    min-width: 280px;
}

.hero-carousel {
    position: relative;
    flex-shrink: 0;
    width: 420px;
    overflow: hidden;
}

.hero-carousel-inner {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    will-change: transform;
}

.hero-card {
    flex: 0 0 200px;
    width: 200px;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.hero-carousel-arrow-left {
    left: 10px;
}

.hero-carousel-arrow-right {
    right: 10px;
}

.hero-carousel-arrow svg {
    width: 22px;
    height: 22px;
}

.hero-carousel-arrow svg path {
    stroke: #FFFFFF;
    stroke-width: 2;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

                                            /* Адаптивность */

@media (max-width: 1200px) {
    .hero-wrapper {
        gap: 40px;
    }
    
    .hero-carousel {
        width: 380px;
    }
    
    .hero-card {
        flex: 0 0 180px;
        width: 180px;
        height: 270px;
    }
    
    .hero-carousel-arrow-left {
        left: 8px;
    }
    
    .hero-carousel-arrow-right {
        right: 8px;
    }
}

@media (max-width: 1050px) {
    .hero-wrapper {
        gap: 30px;
    }
    
    .hero-carousel {
        width: 340px;
    }
    
    .hero-card {
        flex: 0 0 160px;
        width: 160px;
        height: 240px;
    }
    
    .hero-carousel-arrow-left {
        left: 5px;
    }
    
    .hero-carousel-arrow-right {
        right: 5px;
    }
}


@media (max-width: 900px) {
    .hero {
        padding: 0 20px 40px;
    }
    
    .hero-wrapper {
        flex-direction: column;
        gap: 50px;
    }
    
    .hero-container {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-container p {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-carousel {
        width: 380px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-card {
        flex: 0 0 180px;
        width: 180px;
        height: 270px;
    }
    
    .hero-carousel-arrow-left {
        left: 5px;
    }
    
    .hero-carousel-arrow-right {
        right: 5px;
    }
}

/* Мобильные устройства */
@media (max-width: 550px) {
    .hero-carousel {
        max-width: 340px;
    }
    
    .hero-card {
        flex: 0 0 150px;
        width: 150px;
        height: 225px;
    }
    
    .hero-carousel-arrow {
        width: 36px;
        height: 36px;
    }
    
    .hero-carousel-arrow svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0 15px 40px;
    }
    
    .hero-container {
        text-align: left;
    }
    
    .hero-inf {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .hero-buttons .button {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-PrivacyPolicy {
        font-size: 12px;
    }
    
    .hero-carousel {
        max-width: 320px;
    }
    
    .hero-card {
        flex: 0 0 140px;
        width: 140px;
        height: 210px;
    }
    
    .hero-carousel-arrow {
        width: 32px;
        height: 32px;
    }
    
    .hero-carousel-arrow svg {
        width: 16px;
        height: 16px;
    }
}