/* UI */

.intro-bg .intro_h1 {
    color: #fff;
}

.intro_ontitle_nav_hidden {
    display: none;
}

@media (max-width: 650px) {
    .intro_ontitle_nav {
        display: none;
    }

    .intro_ontitle_nav_hidden {
        display: block;
        padding-top: 100px;
    }

    .intro_ontitle_nav_hidden span {
        margin-left: 10px;
        color: #FFFFFF;
    }
}

/* INTRO */
.nav_link span {
    padding-left: 4px;
}

.call_stroke {
    transition: .2s linear;
}

.intro_inner_wide {
    margin-top: 96px;
    margin-left: 152px;
}

.intro_advantages {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    width: 50%;
    flex-wrap: wrap;
}
.intro_advantage {
    margin-top: 14px;
    display: flex;
    width: 50%;
    align-items: center;
    color: #fff;
}
.intro_advantage span {
    margin-left: 12px;
}
.intro_advantage svg {
    flex-shrink: 0;
}
.intro_swing_button {
    margin-top: 47px;
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid #fff;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.35);
}


.intro_inner_wide.visible {
    display: block;
    animation: open .5s linear;
}

.opening_types {
    position: absolute;
    bottom: 12px;
    right: 60px;

    display: flex;
    z-index: 2;
}
.opening_type {
    margin-right: 12px;
    background-color: #323232B2;
    border-radius: 6px;
    width: 114px;
    padding: 6px;

    cursor: pointer;

    transition: .2s linear;
}

.opening_type:hover {
    background-color: #fff;
}

.opening_type:hover .opening_type_svg svg {
    stroke: #000000;
}

.opening_type:nth-child(2):hover .opening_type_svg svg path {
    stroke: #000;
}

.opening_type:hover .opening_type_title {
    color: #000;
}
.opening_type_svg {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}
.opening_type_title {

    font-weight: 500;
    font-size: 16px;
    color: #fff;
    text-align: center;
}

@media (max-width: 749px) {
    .opening_types {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        justify-content: space-between;
        width: 90%;
    }
    .opening_type {
        width: 14%;
    }
    .opening_type_title {
        font-size: 12px;
    }

    .opening_type_svg {
        width: 100%;
    }

    .opening_type_svg svg {
        width: 100%;
    }
}

@media (max-width: 650px) {
    .opening_types {
        display: none;
    }
}

.intro_ontitle {
    font-size: 24px;
    font-weight: 200;
}
.intro_subtitle {
    margin-top: 14px;
    font-size: 24px;
    font-weight: 200;
}
.intro_button {
    margin-top: 64px;
    padding: 11px 45px;
}



@media (max-width: 1439px) {
    .about {
        display: block;
    }

    .intro_inner_wide {
        margin-top: 44px;
        margin-left: 92px;
        color: #fff;
    }

    .intro_sale {
        display: inline-block;
        border-radius: 6px;
        background-color: #8F1913;
        padding: 10px 16px;
        color: #fff;
    }
    .intro-bg .intro_h1 {
        font-weight: 200;
        font-size: 48px;
        width: 50%;
    }
    .intro-bg .intro_h1 span {
        font-weight: 500;
        font-size: 24px;
    }
    .intro-bg .intro_h1 b {
        font-weight: 800;
        font-size: 38px;
    }
    
    .intro_advantages {
        margin-top: 24px;
        display: flex;
        justify-content: space-between;
        width: 50%;
        flex-wrap: wrap;
    }
    .intro_advantage {
        margin-top: 14px;
        display: flex;
        width: 50%;
        align-items: center;
    }
    .intro_advantage span {
        margin-left: 12px;
    }
}
@media (max-width: 1023px) {
    .intro-bg .intro_h1 {
        width: 70%;
    }
}
@media (max-width: 749px) {
    .intro-bg .intro_h1 {
        font-size: 28px;
    }
}
.nav-toggle:focus {
	outline: 0;
}

.nav_logo img:nth-child(2) {
    display: none;
}
.opening-systems-bg {
    padding-bottom: 25px;
}
.opening-systems-bg .bg::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background: linear-gradient(rgba(0, 0, 0, 0.55) 25%, rgba(255, 255, 255, 0) 100%);
}
.opening-systems-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(100deg, rgba(0, 0, 0, 0.6) 30%, rgba(255, 255, 255, 0.1) 65%);
}

.intro-bg .intro_ontitle_nav span {
    color: #fff;
    margin-right: 5px;
    opacity: 0.9;	
}

@media (max-width: 1023px) {
    .nav {
        display:none;
    }
    .nav_logo svg {
        width: 170px;
    }
    .intro_ontitle {
        font-size: 24px;
    }
    .intro_inner_wide {
        margin-left: 0;
        margin-top: 8px;
    }
    .intro_subtitle {
        font-size: 14px;
        font-weight: 400;
    }
    .navigation_slides {
        display: block;
        position: absolute;
        top: 50%;
        right: 4px;
        left: auto;
        bottom: auto;
        transform: translate(0, -50%);
        width: min-content;
    }
    .navigation_slide {
        display: block;
        margin-bottom: 12px;
        padding: 0;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #fff;
        transition: .4s linear;
    }
    .navigation_slide.active {
        padding: 0;
        background-color: #5D130F;
        transition: .4s linear;
    }
    /* .container {
        padding: 0 25px;
        max-width: 100%;
    } */
}
@media(max-width: 749px) {
    /* .container {
        padding: 0 12px;
    } */
    .intro-bg .intro_h1 {
        font-size: 28px;
    }
}
@media (max-width: 390px) {
    .nav_hide_search {
        margin-left: 10px;
    }
    .nav_hide_basket {
        margin-left: 10px;
    }
}
@media (max-width: 627px) {
    .navigation_slides {
        top: 25%;
    }
    .nav_logo {
        width: 50%;
    }
}
@media (max-width: 360px) {
    .nav_logo svg,
    .nav_logo img {
        width: calc(100vw - 190px);
    }
}


@media (max-width: 1439px) {
    .intro_inner_wide {
        margin-left: 92px;
        margin-top: 40px;
    }

    .intro_advantages {
        width: 70%;
    }
}
@media (max-width: 1023px) {
    .intro_inner_wide {
        margin-left: 23px;
    }
}
@media (max-width: 749px) {
    .intro_advantages {
        width: 100%;
    }
}
@media (max-width: 650px) {
    .intro {
        height: auto;
        padding-bottom: 66px;
    }
    .intro_inner_wide {
        margin-left: 0;
    
    }
    .intro_ontitle_nav {
        opacity: 0;
    }
    .intro-bg .intro_h1  {
        font-size: 24px;
    }
    .intro_advantage {
        margin-top: 16px;
        width: 100%;
        
    }
    .intro_advantage { 
        margin-top: 16px;
    }
}

/*opening systems*/

.opening_system {
    margin-top: 82px;
    display: flex;
    justify-content: space-between;
    align-items:stretch;
    color: #1D1D21;
}
.opening_system_description {
    width: 49.6%;
    font-size: 18px;
    position: relative;
}

.opening_system_description .kontur {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 102%;
    object-fit: contain;
}

.container:nth-child(3) .opening_system_description .kontur {
    bottom: -8px;
}
.container:nth-child(5) .opening_system_description .kontur {
    bottom: -4px;
}

.container:nth-child(6) .opening_system_description .kontur {
    bottom: -6px;
}
.container:nth-child(7) .opening_system_description .kontur {
    bottom: -8px;
}

@media (max-width: 1439px) {
    .opening_system_description .kontur {
        width: 150%;
        left: -45%;
    }
}

@media (max-width: 1023px) {
    .opening_system_description .kontur {
        left: -35%;
        height: 168px;
    }
}

@media (max-width: 749px) {
    .opening_system_description .kontur {
        left: -30%;
        height: 120px;
    }
}

@media (max-width: 650px) {
    .opening_system_description .kontur {
        display: none;
    }

    .opening_system {
        margin-top: 55px;
    }
}
.opening_system_title {
    font-weight: 600;
    font-size: 28px;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0;
}
.opening_system_text {
    margin-top: 8px;
    font-weight: 400;

}
.opening_system_advantages {
    margin-top: 25px;
    font-weight: 500;
}
.opening_system_ul {
    margin-top: 0;
}
.opening_system_perfect {
    margin-top: 25px;
}
.opening_system_perfect span {
    font-weight: 500;
}
.opening_system_button {
    display: flex;
    align-items: center;
    margin-top: 25px;
    border: 1px solid #7D7D7D;
    border-radius: 10px;
    padding: 10px 22px;
}
.opening_system_button svg { 
    margin-left: 10px;
    fill: black;
    transition: .2s;
}
.opening_system_button:hover svg { 
    margin-left: 10px;
    fill: #fff;
}
.opening_system_with-margins .opening_system_button {
    margin-bottom: 30px;
}
.opening_system_gif {
    width: 49.6%;
    height: 480px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.opening_system_gif img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}
.opening_system_gif video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.opening_system_with-margins .opening_system_gif {
    margin-top: auto;
}
@media (max-width: 1023px) {
    .opening_system_gif {
        height: auto;
    }

    .opening_system_title {
        font-size: 24px;
    }
    .opening_system_text {
        font-size: 16px;
    }

    .opening_system_advantages {
        font-size: 16px;
    }

    .opening_system_ul {
        font-size: 16px;
    }

    .opening_system_perfect {
        font-size: 16px;
    }

    .opening_system_button {
        font-size: 18px;
    }

    .opening_system {
        align-items: stretch;
    }

    .opening_system_description {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}


@media (max-width: 749px) {
    .opening_system_gif video {
        position: static;
        height: 260px;
        top: auto;
        bottom: 0;
        border-radius: 10px;
        margin-top: 18px;
    }

    .opening_system_gif {
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: static;
    }

    .opening_system_description .opening_system_text {
        display: none;
    }

    .opening_system_text {
        margin-top: 0;
        font-size: 14px;
    }

    .opening_system_title {
        font-size: 22px;
    }

    .opening_system_advantages {
        font-size: 14px;
    }

    .opening_system_ul {
        font-size: 14px;
    }

    .opening_system_perfect {
        font-size: 14px;
    }

    .opening_system_button {
        font-size: 18px;
    }

    .opening_system {
        align-items: stretch;
    }

    .opening_system_description {
        display: flex;
        flex-direction: column;
        justify-content: start;
    }

}

.opening_system_gif .opening_system_title {
    display: none;
}

@media (max-width: 650px) {
    .opening_system_text {
        display: none;
    }

    .opening_system_description .opening_system_text {
        display: block;
    }

    .opening_system {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    .opening_system_description .opening_system_title {
        display: none;
    }

    .opening_system_gif .opening_system_title {
        display: block;
    }
    

    .opening_system_description {
        width: 100%;
    }

    .opening_system_gif {
        width: 100%;
    }

    .opening_system_text {
        margin-top: 12px;
    }

    .opening_system_button {
        width: 100%;
    }
    
}

/* comprehensiveSolutions */
.comprehensiveSolutions_slider .container {
    position: relative;
}
.comprehensiveSolutions_slider .comprehensiveSolutions_title {
   font-size: 48px;
   font-weight: 400;
   width: 45%;
   margin-top: 0;
}
.comprehensiveSolutions_subtitle {
    font-weight: 200;
    width: 40%;
    color: #000;
}
.comprehensiveSolutions_text {
    display: flex;
    justify-content: space-between;
}

.comprehensiveSolutions_items {
    
    margin-top: 40px;
    display: flex;
    height: 320px;
    overflow-x: scroll;
    overflow-y: visible;
}

.comprehensiveSolutions .container::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -0px;
    width: 15%;
    height: 2px;
    background-color: #F3F2F3;
    z-index: 100;
}

.comprehensiveSolutions_items_with_scrollbar::-webkit-scrollbar {
    margin-top: 35px;
    height: 2px;
   
    background-color: #B5B5B5;
}

.comprehensiveSolutions_items_with_scrollbar::-webkit-scrollbar-thumb {
    background-color: #1D1D21;
}

.comprehensiveSolutions_items_with_scrollbar .comprehensiveSolutions_items::-webkit-scrollbar-button {
    display: none;
}

.comprehensiveSolutions_items_arrows {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateY(50%);
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 101;
}

@media (max-width: 700px) {
    .comprehensiveSolutions_items_arrows {
        width: 25%;
    }

    .comprehensiveSolutions .container::after {
        width: 25%;
    }
}

@media (max-width: 490px) {
    .comprehensiveSolutions_items {
        height: 220px;
    }
}
.comprehensiveSolutions_items_left_arrow {
    background-color: transparent;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;

    transition: .2s linear;
}

.comprehensiveSolutions_items_left_arrow:hover {
    background-color: #fff;
}

.comprehensiveSolutions_items_right_arrow {
    margin-left: 12px;
    background-color: transparent;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;

    transition: .2s linear;
}

.comprehensiveSolutions_items_right_arrow:hover {
    background-color: #fff;
}

.comprehensiveSolutions_slider .comprehensiveSolutions_item {
    margin-right: 20px;
    height: 284px;
    min-width: 426px;
}

.comprehensiveSolutions_item_text {
    color: #fff;
}

@media (max-width: 490px) {
    .comprehensiveSolutions_slider .comprehensiveSolutions_item {
        width: 80%;
        min-width: 250px;
        height: auto;
    }
}

@media (max-width: 627px) {
    .comprehensiveSolutions_slider {
        padding-top: 42px;
        margin-top: 0;
    }
    .comprehensiveSolutions_slider .comprehensiveSolutions_title {
        font-size: 20px;
        font-weight: 500;
        width: 70%;
    }
}
@media (max-width: 1023px) {
    .comprehensiveSolutions_slider .comprehensiveSolutions_title {
        font-size: 34px;
    }
}
/*LOWER NAV*/
@media(max-width: 1023px) {
    .lower_nav {
        /* display: block; */
    }
}


@media (max-width: 749px) {
    .video-container {
        position: relative;
        /* max-width: 800px; */
        /* margin: 0 auto; */
        /* background: #000; */
        /* border-radius: 8px; */
        /* overflow: hidden; */
        /* box-shadow: 0 4px 20px rgba(0,0,0,0.3); */
    }
    .video-poster {
        margin-top: 18px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 8px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: opacity 0.3s ease;
        z-index: 2;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
    
    .video-poster.hidden {
        opacity: 0;
        pointer-events: none;
    }
    
    .play-button {
        width: 80px;
        height: 80px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    
    .play-button:hover {
        background: rgba(255, 255, 255, 1);
        transform: scale(1.1);
    }
    
    .play-icon {
        width: 0;
        height: 0;
        border-left: 25px solid #333;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        margin-left: 5px;
    }
    
    /* Стили для мобильных устройств */
    @media (max-width: 768px) {
        .play-button {
            width: 60px;
            height: 60px;
        }
        
        .play-icon {
            border-left-width: 20px;
            border-top-width: 12px;
            border-bottom-width: 12px;
        }
    }
}
