﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --main-color: #3A4454;
    --color-text: #545F66;
    --color-title: #1A6D7F;
    --bg-color: #F2F3F2;
    --main-font: "Noto Sans", sans-serif;
    --main-font-size: 16px;
    --main-line-height: 120%;
    --main-font-weight: 400;
}
* {
    line-height: var(--main-line-height);
}
body{
	margin: 0;
	padding: 0;
	font-family: var(--main-font);
	background: var(--bg-color);
	color: var(--main-color);
	font-size: var(--main-font-size);
	line-height: var(--main-line-height);
	font-weight: var(--main-font-weight);
    max-width: 100%;
    overflow: hidden;
    overflow-y: auto;
}
ul{
	margin: 0;
	list-style: none;
	padding: 0;
}
h1,h2,h3{
	margin: 0;
	display: block;
	padding: 0;
}
p{
	margin: 0;
}
article, aside, footer, header, hgroup, main, nav, section {
    display: block;
}
section{
	display: block;
}
*,
*:before,
*:after{
	box-sizing: border-box;
}
svg,
img{
    display: block;
	max-width: 100%;
	height: auto;
}
a{
    color: inherit;
    text-underline-offset: 3px;
    text-decoration: underline;
    transition: all 0.3s;
}
a:hover{
    text-decoration-color: transparent;
}

.container{
    max-width: 1232px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
header{
    border-bottom: 1px solid rgba(26, 109, 127, 0.40);
    z-index: 10;
    position: relative;
}
.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.header__content{
    display: flex;
    align-items: center;
    gap: 88px;
}
.header__btns{
    display: flex;
    align-items: center;
    gap: 22px;
}
.header__phone{
    border-radius: 44px;
    border: 1px solid rgba(26, 109, 127, 0.40);
    color: var(--color-title);
    font-size: 16px;
    line-height: 140%;
    padding: 10px 20px;
    text-decoration: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.btn{
    color: var(--main-color);
    font-family: var(--main-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    border-radius: 44px;
    background: #C2E812;
    border: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}
.btn:hover{
    background: rgba(194, 232, 18, 0.50);
}
.header__nav>ul{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 68px;
    justify-content: space-between;
}
.header__nav ul li{
    position: relative;
}
.sub-menu{
    position: absolute;
    top: 100%;
    padding: 14px 0;
    width: 254px;
    transition: all 0.3s;
}
.sub-menu:before{
    content: '';
    display: block;
    position: absolute;
    left: -6px;
    top: 8px;
    width: calc(100% + 12px);
    height: calc(100% - 16px);
    border: 1px solid rgba(163, 168, 169, 0.40);
    background: #F2F3F2;
    border-radius: 16px;
}
.header__nav ul li a{
    color: var(--color-title);
    font-size: 16px;
    line-height: 140%;
    text-decoration: none;
    display: block;
}
.header__nav>ul>li>a{
    padding: 29px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.header__nav>ul>li>a:before{
    content: '';
    display: block;
    position: absolute;
    top: calc(100% - 1px);
    background: #C2E812;
    left: 0;
    width: 100%;
    border-radius: 5px;
    height: 3px;
    opacity: 0;
    transition: all 0.3s;
}
.header__nav>ul>li.menu-item-has-children:hover>a:before,
.header__nav>ul>li>a:hover:before{
    opacity: 1;
}
.header__nav>ul>li>a span{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all 0.3s;
}
.header__nav ul .sub-menu li a{
    color: var(--color-title);
    padding: 10px 10px;
    border-radius: 10px;
}
.sub-menu li a:hover{
    background: rgba(56, 134, 151, 0.16);
}

.hero-title{
    color: var(--main-color);
    text-align: center;
    font-size: 72px;
    font-weight: 400;
}
.hero{
    position: relative;
    padding: 120px 0;
    display: flex;
    flex-direction: column;
    gap: 44px;
    align-items: center;
}
.hero__btn{
    min-width: 172px;
}
.hero:before{
    content: '';
    display: block;
    position: absolute;
    opacity: 0.56;
    background: linear-gradient(90deg, rgba(194, 232, 18, 0.80) 0%, rgba(113, 198, 219, 0.80) 100%);
    filter: blur(99px);
    max-width: 912px;
    width: 100%;
    height: 393px;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.hero-section{
    position: relative;
}
.mob-m{
    display: none;
}

.title{
    color: var(--main-color);
    text-align: center;
    font-size: 52px;
    font-weight: 400;
    line-height: 110%;
}
.partners-section{
    border-top: 1px solid rgba(26, 109, 127, 0.40);
}
.partners{
    padding: 60px 0;
}
.partners-box{
    gap: 44px;
    padding-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.partners-box__item{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 calc((100% - (44px * 4)) / 5); 
}
.breadcrumb{
    display: flex;
    align-items: center;
    align-self: flex-start;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 5px 0;
}
.breadcrumb a{
    text-decoration-color: transparent;
    color: var(--main-color);
}
.breadcrumb a:hover{
    text-decoration-color: inherit;
}
.breadcrumb li{
    display: flex;
    align-items: center;
    color: var(--color-title);
}
.breadcrumb li svg{
    margin: 0 4px;
}
.hero-inner{
    padding: 40px 0 120px;
    gap: 0;
}
.hero__desc{
    color: var(--color-title);
    font-size: 24px;
    letter-spacing: -0.47px;
    max-width: 705px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 34px;
}
.hero-inner .hero-title{
    padding-top: 80px;
}
.hero-invers:before{
    transform: translate(-50%, -50%) rotateY(180deg);
    top: calc(50% + 50px);
}
.partners-box--big{
    gap: 84px;
}
.partners-box--big .partners-box__item{
    max-width: 330px;
    flex: unset;
}
.partners-box--big .partners-box__item img{
    width: 100%;
}
.btn span:nth-child(2){
    display: none;
}
.hero--wide .hero__desc{
    max-width: 992px;
}
.hero-title--small{
    font-size: 57px;
}

@media all and (min-width: 992px){
    .sub-menu{
        pointer-events: none;
        opacity: 0;
        transform: translateY(-10px);
    }
    .menu-item-has-children:hover .sub-menu{
        pointer-events: unset;
        opacity: 1;
        transform: translateY(0px);
    }
    .header__nav>ul>li>a:hover span{
        transform: rotateX(180deg);
    }
}

@media all and (max-width: 1232px){
    .hero-title{
        font-size: clamp(36px, 5.8vw, 72px);
    }
    .header__nav>ul{
        gap: clamp(24px, 5.5vw, 68px);
    }
    .header__content{
        gap: clamp(24px, 5.5vw, 68px);
    }
    .title{
        font-size: clamp(28px, 4.2vw, 52px);
    }
    .partners-box__item{
        flex: 0 1 calc((100% - (clamp(20px, 3.5vw, 44px) * 4)) / 5);
    }
    .partners-box{
        gap: clamp(20px, 3.5vw, 44px);
        padding-top: clamp(20px, 3.2vw, 40px);
    }
    
}

@media all and (max-width: 992px){
    .open-m{
        overflow: hidden;
    }
    .mob-m{
        display: flex;
        width: 24px;
        height: 24px;
        border: none;
        background: none;
        margin: 0;
        padding: 0;
        cursor: pointer;
        position: relative;
    }
    .mob-m svg{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s;
    }
    .open-m .mob-m svg:first-child,
    .mob-m svg:last-child{
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    .open-m .mob-m svg:last-child{
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    .over-bg {
		z-index: 9;
		position: fixed;
		bottom: 0;
		background: rgb(242 243 242 / 72%);
		right: 0;
		top: 0;
		display: block;
		left: 0;
	}
    header{
        background: var(--bg-color);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
    .header__content{
        position: absolute;
        left: 0;
        width: 100%;
        top: 61px;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 16px;
        gap: 4px;
        max-height: calc(100vh - 60px);
        overflow: hidden;
        overflow-y: auto;
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
        transition: all 0.3s;
    }
    .open-m .header__content{
        opacity: 1;
        pointer-events: unset;
        transform: translateY(0);
    }
    .logo{
        height: 36px;
    }
    .logo img{
        max-height: 100%;
    }
    .header{
        padding: 12px 0;
    }
    .sub-menu{
        position: relative;
        top: 0;
        padding: 0;
        width: 100%;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
    }
    .active+.sub-menu{
        padding: 6px;
        max-height: 1000px;
        opacity: 1;
        pointer-events: unset;
    }
    .menu-item-has-children a.active span{
        transform: rotateX(180deg);
    }
    .sub-menu:before{
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }
    .header__nav>ul>li>a{
        padding: 9px 12px;
    }
    .header__nav>ul>li>a:before{
        display: none;
    }
    .header__nav>ul{
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }
    .header__nav ul li,
    .header__nav{
        width: 100%;
    }
    .header__btns{
        gap: 12px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
    body{
        padding-top: 60px;
    }
    
    .open-m header{
        background: white;
    }
    .partners-box--big .partners-box__item{
        flex: 0 1 calc((100% - (clamp(20px, 3.5vw, 44px) * 2)) / 3);
    }
}

@media all and (max-width: 568px){
    .hero__btn{
        width: 100%;
    }
    .hero{
        gap: 40px;
        padding: 100px 0 80px;
    }
    .header__btns{
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .hero:before{
        max-width: 429px;
        height: 198px;
        filter: blur(50px);
    }
    .hero-inner:before{
        top: 210px;
    }
    .partners-box--big .partners-box__item,
    .partners-box__item {
        flex: 0 1 calc((100% - 20px) / 2);
    }
    .partners{
        padding: 40px 0;
    }
    .partners-box__item img{
        max-width: 138px;
        width: 100%;
    }
    .btn span.pc{
        display: none;
    }
    .btn span:nth-child(2){
        display: block;
    }
}