@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{

    scroll-behavior: smooth;
}
body{
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    min-width: 320px;
    background-image: url('imgs/bg.svg');
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
    background-color: #fdfdfd;
}

header{
    position: fixed;
    top: -80px; /* Прячем хедер */
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    color: #50A69E;
    text-align: center;
    line-height: 60px;
    transition: top 0.3s ease-in-out;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    z-index: 1;
    padding: 0 2.5%;
}
.header-cont{

    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1080px;
}
.hec-left{
    display: flex;
}

.hec-left > img{
    margin: 15px 0 ;
    height: 30px;
}
.hcli-item{
    display: flex;
    flex-direction: column;
    height: 60px;
}
.hc-right{
    display: flex;
    gap: 6px;
}
.hc-right > a{
    display: flex;
    border-radius: 15px;
    transition: 0.3s ease;
}

.hc-right > a:hover{
    opacity: 0.8;
}
.hc-right > a > img{
    height: 30px;
    border-radius: 15px;
}
.hc-center{
    display: flex;
    align-items: center;
    gap: 12px;
    color: #515151;
}

.hc-center > a{
    color: #747474;
    text-decoration: none;
    transition: 0.3s ease;
}

.hc-center > a:hover{
    color: #50A69E;
}
    


.block{
    padding: 2.5%;
}
.block-1{
    height: 100vh;
    background-image: url('imgs/block-1_bg.jpg');
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
    color: #fff;
    display: grid;
    grid-template-rows: 0.3fr 0.40fr 1fr 0.4fr;
    justify-items: center;
    font-family: 'Oswald', sans-serif;
}
.b1-logo-white{
    width: 16vw;
    /* margin: auto; */
    max-width: 60px;
}
.b1-main-text{
    text-align: center;
    font-weight: 400;
    font-size: 100px;
    line-height: 1.3;
}
.b1-main-top{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
    align-content: start;

    /* gap: 8px; */
}
.b1mt-1{
    margin: 0 0 16px 0;
}
.b1-main-top > div > a{
    font-family: 'Montserrat';
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    /* border: 2px solid rgba(255,255,255,0.25); */
    padding: 8px 16px;
    border-radius: 40px;
    transition: 0.2s ease;
}
.b1-main-top > div > a:hover{
    color: #000;
    background-color: #fff;
}

.b1mt-links-cont{
    display: flex;
    justify-content: center;
    margin: 32px 0 0 0;
    gap: 8px;
    transition: 0.2s ease;
}
.b1mt-links-cont > a > img{
    width: 50px;
}

.b1mt-links-cont > a{
    border-radius: 25px;
    width: 50px;
    height: 50px;
}
.b1mt-links-cont > a:hover{
    opacity: 0.8;
}


.b1-down{
    display: flex;
}
.b1-go-down-img{
    width: 50px;
    margin: auto 0 0  0;
}


.b-header-text{
    font-size: 50px;
    font-weight: 400;
    text-align: center;
    font-family: 'Oswald';
    text-transform: uppercase;
    color: #50A69E;
    margin:  32px 5% 48px 5%;
}
.width-1080{
    max-width: 1080px;
    margin: 0 auto;
}



.b1mt-undertxt{
    position: relative;


  color: #fff;
  text-align: center;


  border: none;
  border-radius: 40px;
  overflow: hidden; /* Чтобы анимация не выходила за границы */


    font-weight: 500;
    font-size: 16px;
    padding: 8px;
    margin: 0 5% ;
    font-family: 'Montserrat';
    background: #50A69E;

}
/* Линия для эффекта */
.b1mt-undertxt::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* Начинаем за границей кнопки */
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 80%,
    rgba(255, 255, 255, 0) 100%
  ); /* Линия с прозрачностью */
  transform: skewX(-20deg); /* Делаем линию наклонной */
  z-index: 1;
  animation: shine 2s infinite; /* Анимация бесконечная */
}

/* Анимация движения линии */
@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Текст кнопки поверх линии */
.b2r-2 span {
  position: relative;
  z-index: 2;
}

.b2-main{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;

}
.b2m-1{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.b2-main > div > a{
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
    cursor: pointer;
    border-radius: 16px;
    transition: 0.2s ease;
}
.b2-main > div > a:hover{
    transform: scale(1.015);
}
.b2-main > div > a > img{
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.b2m-item-right{
    border-radius: 16px;
    border: 2px solid #50A69E;
}
.b2-main > .b2m-item-right > img{
    border-radius: 16px;
    height: 100%;
}
.b2mil-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Montserrat',sans-serif;
    font-weight: 500;
    color: #fff;
}
.b2m-item-right{
    display: flex;
    flex-direction: column;
}





.b3-main{
    display: flex;
    gap: 8px;
    flex-direction: row;
    /* grid-auto-flow: row dense; */
    /* direction: rtl; */
    text-align: left;
}
.b3-main-rev{
    flex-direction: row-reverse;
}
.b3-main-mrgtop{
    margin-top: 128px;
}
.b3m-left{
    width: 45%;
    margin: auto 5% auto 5%;

}

.b3m-right{
    width: 50%;
}
.b3m-right > img{
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 0 16px rgba(0,0,0,0.1);
}
.b3ml-header{
    font-size: 40px;
    font-weight: 700;
    color: #50A69E;
    text-align: left;
    direction: none;
}
.b3ml-text{
    margin: 16px 0 0 0;
    font-size: 16px;
    font-weight: 400;
    color: #515151;
    line-height: 1.5;
}

.b3ml-links{
    display: flex;
    gap: 8px;
    margin: 16px 0 0 0;
}
.b3ml-links > a{
    border-radius: 22px;
    cursor: pointer;
transition: 0.3s ease;
}
.b3ml-links > a:hover{
    opacity: 0.8;
}
.b3ml-links > a >img{
    height: 44px;
    box-shadow: 0 0 12px rgba(20, 20, 20, 0.1);
    border-radius: 22px;
}

.block-full-width{
    width: 100%;
}
.bfw-white{
    margin: 64px 0 ;
    background: #fff;
    box-shadow: 0 0 20px rgba(20, 20, 20, 0.05);
}

.b4-main{
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 16px; */
    width: 100%;
    margin-bottom:  96px ;
}
.b4-main-wrap{
    flex-wrap: wrap;
    row-gap: 56px;
}
.b4-main > img{
    width: 45%;
    margin: 0 2.5%;
    border-radius: 16px;
}
.b4m-item{
    width: 45%;
    margin: 0 2.5%;
}



.b4mi-links{
    display: flex;
    gap: 8px;
    margin: 16px 0 0 0;
}
.b4mi-links > a{
    border-radius: 22px;
    cursor: pointer;
transition: 0.3s ease;
}
.b4mi-links > a:hover{
    opacity: 0.8;
}
.b4mi-links > a >img{
    height: 44px;
    box-shadow: 0 0 12px rgba(20, 20, 20, 0.1);
    border-radius: 22px;
}
.b4m-item{

}


.b6-main {
    width: 100%;
    display: grid;
    /* grid-template-columns: 767fr 32fr 280fr; */
    grid-template-columns: 2.4fr 0.1fr 0.875fr;
}

.b6-main > div{

}

.b6-main > div > img,
.b6-main > div > video {
    width: 100%;
    border-radius: 16px;
}





.b7-main{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.b7-item{
    background: #fff;
    border-radius: 16px ;
    display: flex;
    border: 1.5px solid rgba(71,146,139,0.3);
}

.b7-item > img{
    width: 150px;
    height: 150px;
    border-radius: 16px;
}
.b7i-inner{
    padding: 16px;

}
.b7ii-header{
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}
.b7ii-text{
    color: #515151;
    margin: 12px 0 0 0;
    font-weight: 400;
}
.b7ii-links{
    margin: 12px 0 0 0;
    display: inline-block;
    transition: 0.3s ease;
}
.b7ii-links > img{
    height: 30px;
}
.b7ii-links:hover{
    opacity: 0.7;
}
.b6-btns{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.b6-btns > a{
    margin: 32px 0 0 0;
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgba(20, 20, 20, 0.05);
    border-radius: 22px;
}
.b6-btns > a:hover{
    opacity: 0.8;
}
.b6-btns > a >img{
    height: 44px;
    border-radius: 22px;
}


footer{
    width: 100%;
    background: #50A69E;
}

.footer-cont{
    display: flex;
    padding: 16px;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,0.8);
}
.footer-cont > a{
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: 0.3s ease;
}
.footer-cont > a:hover{
    color: rgba(255,255,255,1);
}


.b8-main{
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

.b8-main > a{
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgba(20, 20, 20, 0.05);
    border-radius: 28px;
}
.b8-main > a:hover{
    opacity: 0.8;
}
.b8-main > a >img{
    height: 56px;
    border-radius: 28px;
}
.block-8{
    margin:  0 0 64px 0;
}

@media (max-width: 768px) {
    .hc-center{
        display: none;
    }
    .b1-logo-white{
        margin: auto;
    }
    .b2-main{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 743px) {
    .b2-main{
        width: 90%;
        margin: 0 5%;
    }
    .b7-main{
        gap: 12px;
    }
    .b4-main-wrap{
        row-gap: 24px;
    }
    .b4-main{
        flex-direction: column;
        gap: 16px;
    }
    .b6-main{
        grid-template-columns: 1fr;
        gap: 8px;
        width: 90%;
        margin: 0 5%;
    }
    .b6-btns{
        flex-direction: column;
        margin: 16px 0 0 0;
    }
    .b6-btns > a{
        margin: 0px 0 0 0 ;
    }
    .b7-main{
        grid-template-columns: 1fr;
        width: 90%;
        margin: 0 5%;
    }
    .b3-main{
        flex-direction: column-reverse  ;
        gap:32px   ;
    }
    .b3m-right{
        width: 90%;
    }
    .b3m-right > img{
        margin: 0 5%;
    }
    .b3m-left{
        width: 80%;
        margin: 0 10%;
    }
    .b4-main > img{
        width: 90%;
        margin: 0 5%;
    }
    .b4m-item{
        width: 80%;
        margin: 0 10%;
    }
    .b3-main-mrgtop{
        margin-top: 96px;
    }
    .footer-cont{
        font-size: 12px;
    }
}


.br_414{
    display: none;
}




@media (max-width: 414px) {

.b1-main-top > div > a{
    padding: 8px 12px;
    font-size: 12px;
}
    .br_414{
        display: block;
    }
    .b-header-text{
        font-size: 44px;
    }
    .b3ml-header{
        font-size: 36px;
    }
    .footer-cont{
        font-size: 12px;
    }
    .b1-main-text{
        font-size: 80px;
    }

    .b3ml-links > a >img{
        height: 36px;
    }

    .b6-btns > a >img{
        height: 36px;
    }

    .b4mi-links > a >img{
        height: 36px;
    }
    .b7-item > img{
        width: 100px;
        height: 100px;
    }
    .b7ii-text{
        margin: 4px 0 0 0;
    }
    .b7i-inner{
        padding: 8px;
    }
    .b7ii-header{
        font-size: 14px;
    }
    .b7ii-text{
        font-size: 12px;
    }

}




.fade {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.6s ease-out;
}

.fade.visible {
    opacity: 1;
    transform: translateY(0);
    transition: 0.6s ease-out;
}
