@import "reset.css";
@import "fonts.css";

/* 
    font-family: 'Gotham Pro', sans-serif;
*/

/* general */
html {
    min-height: 100vh;
    position: relative;
}
body {
    position: relative;
    min-height: 100vh;
    color: #000000;
    background-color: #fff;
    font-size: 18px;
    line-height: 1.39;
    font-family: "Gotham Pro", sans-serif;
}
.wrapper {
    position: relative;
    max-width: 1342px;
    margin: 0 auto;
    padding: 0 32px;
}
@media (max-width: 768px) {
    .open-menu {
        overflow: hidden;
    }
}

/* Typography */
.content {
    padding: 20px;
    width: 100%;
    max-width: 600px;
    display: block;
    margin: auto;
}
.main-title {
    font-weight: 700;
    font-size: 90px;
    line-height: 1;
}
.subtitle {
    font-size: 42px;
    padding: 6px 0 38px;
}
.title {
    font-weight: 700;
    font-size: 41px;
}
.visible-mob {
    display: none !important;
}
@media (max-width: 900px) {
    .visible-desctop {
        display: none !important;
    }
    .visible-mob {
        display: block !important;
    }
}
@media (max-width: 768px) {
    .main-title {
        font-size: 38px;
    }
    .subtitle {
        font-size: 20px;
        padding: 10px 0 14px;
    }
    .title {
        font-size: 24px;
    }
}

/* BTN */
.btn {
    position: relative;
    font-family: "Gotham Pro", sans-serif;
    padding: 18px 28px;
    margin: 0;
    transition: all 0.3s ease;
    background: #58e000;
    border-radius: 6px;
    border: none;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.02em;
    color: #000000;
    display: inline-block;
}
.btn:hover {
    background: #63fd00;
}
.btn:focus,
.btn:active {
    background: #54d500;
}
.btn--secondary {
    background: #a6caff;
}
.btn--secondary:hover {
    background: #c4dcff;
}
.btn--secondary:focus,
.btn--secondary:active {
    background: #87b8ff;
}
.btn-wrapper {
    display: flex;
    justify-content: space-between;
}
.btn-wrapper .btn {
    width: 100%;
    flex-basis: 47%;
    padding-left: 10px;
    padding-right: 10px;
}
@media (max-width: 768px) {
    .btn {
        font-size: 18px;
    }
}

/* popup */
.popup {
    position: fixed;
    bottom: 0;
    right: 0;
    background: #e0ecff;
    max-width: 1286px;
    padding: 86px 134px 65px 80px;
    z-index: 10;
    transition: all 0.3s linear;
    display: none;
}
.popup__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.popup__info {
    flex-basis: 61%;
    padding-right: 15px;
}
.popup .btn-wrapper {
    flex-basis: 347px;
    padding-bottom: 15px;
}
.popup a:not(.btn) {
    font-weight: 700;
    text-decoration: underline;
}
@media (max-width: 1286px) {
    .popup {
        padding: 20px;
    }
}
@media (max-width: 900px) {
    .popup__row {
        display: block;
    }
    .popup__info {
        padding-right: 0;
    }
    .popup .btn-wrapper {
        padding: 20px 0 0;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* HEADER */
.header {
    padding-top: 21px;
    background: #fff;
    z-index: 10;
    transition: all 0.3s linear;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
}
.header--fixed {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
}
.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.header__logo {
    max-width: 157px;
    margin-bottom: 37px;
}
@media (max-width: 900px) {
    .header {
        padding: 11px 0 21px;
    }
    .header__logo {
        margin-bottom: 0;
        position: relative;
        z-index: 30;
        max-width: 117px;
    }
}

/* menu */
.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu__item {
    font-weight: 700;
    font-size: 22px;
    color: #000000;
    margin-left: 57px;
    position: relative;
    padding-bottom: 38px;
}
.menu__item::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    height: 8px;
    background: #00b2ff;
    width: 0;
    transition: all 0.2s linear;
}
.menu__item:hover::before,
.menu__item.active::before {
    width: 100%;
    right: inherit;
    left: 0;
}
.btn-menu {
    display: none;
    position: relative;
    width: 40px;
    height: 21px;
    background: none;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    outline: none;
    border: none;
    position: relative;
    z-index: 30;
}
.btn-menu span {
    position: absolute;
    height: 3px;
    border-radius: 2pc;
    background-color: #000000;
    right: 0;
    transition: all 0.3s ease;
}
.btn-menu span:nth-child(1) {
    top: 0;
    width: 100%;
}
.btn-menu span:nth-child(2) {
    top: calc(50% - 2px);
    width: 25px;
}
.btn-menu span:nth-child(3) {
    bottom: 0;
    width: 33px;
}
.btn-menu.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}
.btn-menu.open span:nth-child(2) {
    transform: rotate(180deg);
    opacity: 0;
}
.btn-menu.open span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 8px;
    width: 100%;
}
@media (max-width: 900px) {
    .menu {
        position: fixed;
        background: #ffffff;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 25;
        text-align: center;
        display: block;
        transform: translateX(100%);
        transition: transform 0.5s ease;
        padding: 111px 20px 20px;
    }
    .menu.open {
        transform: none;
    }
    .menu__item {
        margin-left: 0;
        display: block;
        padding-bottom: 10px;
        max-width: fit-content;
        margin: 0 auto 24px;
    }
    .menu__item::before {
        height: 4px;
    }
    .btn-menu {
        display: block;
    }
}
@media (max-width: 768px) {
}

/* intro */
.intro {
    padding-top: 100px;
}
.intro__wrapper {
    background: url(../images/intro.jpg) no-repeat center/cover;
    padding: 102px 79px;
    min-height: 615px;
}
@media (max-width: 768px) {
    .intro {
        padding-top: 65px;
    }
    .intro__wrapper {
        margin: 0 -32px;
        background-image: url(../images/intro-mob.jpg);
        padding: 25px 32px;
        min-height: 362px;
    }
}

/* about-us */
.about-us {
    padding-top: 79px;
}
.about-us__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 50px;
    margin: 0 -15px;
}
.about-us__row:last-child {
    padding-bottom: 0;
}
.about-us__col {
    padding: 0 15px;
}
.about-us__col--left {
    order: 0;
    flex-basis: 54%;
}
.about-us__col--right {
    order: 1;
    flex-basis: 50%;
}
.about-us__text-sm {
    font-size: 16px;
    line-height: 1.55;
}
.about-us__col p {
    padding-bottom: 10px;
}
.about-us__col p ~ .btn {
    margin-top: 27px;
}
.about-us__col--right.about-us__col--pic .about-us__pic {
    margin-left: auto;
}
.about-us .title {
    padding-top: 17px;
    padding-bottom: 27px;
}
@media (max-width: 1240px) {
    .about-us__row {
        align-items: center;
    }
}
@media (max-width: 900px) {
    .about-us__row {
        flex-wrap: wrap;
        padding-bottom: 18px !important;
    }
    .about-us__col {
        flex-basis: 100%;
    }
    .about-us__col--pic {
        padding-top: 5px;
    }
    .about-us__pic {
        margin: 0 auto;
    }
    .about-us__col--left,
    .about-us__col--right.about-us__text-sm {
        order: 0;
    }
    .about-us__col--right,
    .about-us__col--left.about-us__col--pic {
        order: 1;
    }
    .about-us__col .btn {
        margin: 27px auto 0;
        max-width: 400px;
    }
}
@media (max-width: 768px) {
    .about-us {
        padding-top: 27px;
    }
    .about-us .title {
        padding-bottom: 15px;
    }
}

/* results */
.results {
    padding: 117px 0 40px;
    position: relative;
    overflow: hidden;
}
.results__item {
    width: 100%;
    max-width: 875px;
    height: 312px;
    background: #e0ecff;
    margin-bottom: 60px;
    position: relative;
    padding: 60px 0 60px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.results__item--right {
    margin-left: auto;
    padding-right: 50px;
    padding-left: 0;
}
.results__pic-block {
    position: relative;
    margin: auto;
}
.results__info {
    flex-basis: 60%;
}
.results__title {
    font-weight: 700;
    font-size: 24px;
    padding-bottom: 18px;
}
.results__pic-block {
    position: relative;
    z-index: 1;
}
.results__decor-outher {
    width: 166px;
    height: 166px;
    border-radius: 100%;
    background: #00b2ff;
    position: absolute;
    z-index: -1;
}
.results__decor-inner {
    width: 72px;
    height: 72px;
    border-radius: 100%;
    background: #ffe713;
    position: absolute;
    z-index: -1;
}
.results__item--right .results__pic-block {
    order: 0;
}
.results__item--right .results__info {
    order: 1;
}
.results .title {
    text-align: center;
    padding-bottom: 57px;
}
.results__item span {
    color: #00b2ff;
    font-weight: 700;
}
.results .btn {
    position: absolute;
    bottom: 0;
}
.results__item--1 .results__decor-outher {
    bottom: 44px;
    right: -102px;
}
.results__item--1 .results__decor-inner {
    top: 8px;
    left: -12px;
}
.results__item--2 .results__decor-outher {
    top: -23px;
    left: -62px;
}
.results__item--2 .results__decor-inner {
    bottom: 0;
    left: -8px;
}
.results__item--3 .results__decor-outher {
    top: 56px;
    right: -52px;
}
.results__item--3 .results__decor-inner {
    top: -18px;
    left: -26px;
}
.results__item--4 .results__decor-outher {
    top: -40px;
    left: 12px;
}
.results__item--4 .results__decor-inner {
    bottom: -19px;
    right: -22px;
}
.results__item--5 .results__decor-outher {
    bottom: -33px;
    right: -76px;
}
.results__item--5 .results__decor-inner {
    bottom: -2px;
    left: -16px;
}
.results__item--6 .results__decor-outher {
    top: 68px;
    left: -71px;
}
.results__item--6 .results__decor-inner {
    bottom: -17px;
    right: -21px;
}
@media (max-width: 1250px) {
    .results .btn {
        position: relative;
        margin: -20px auto 0;
        width: 100%;
        max-width: 400px;
        display: block;
    }
}
@media (max-width: 768px) {
    .results {
        padding: 27px 0 55px;
    }
    .results__item {
        padding: 38px 20px 34px;
        flex-wrap: wrap;
        height: auto;
        margin-bottom: 35px;
    }
    .results__info {
        flex-basis: 100%;
        order: 1;
    }
    .results__pic-block {
        flex-basis: 100%;
        order: 0;
    }
    .results__pic {
        max-width: 95px;
        max-height: 80px;
    }
    .results__decor-outher {
        width: 166px;
        height: 166px;
    }
    .results__title {
        font-size: 20px;
        padding: 34px 0 18px;
    }
    .results .title {
        text-align: left;
        padding-bottom: 41px;
    }
    .results__item--1 .results__decor-outher {
        bottom: inherit;
        right: -60px;
        top: -43px;
    }
    .results__item--1 .results__decor-inner {
        top: 19px;
        left: -6px;
        width: 38px;
        height: 38px;
    }
    .results__item--2 .results__decor-outher {
        left: -91px;
    }
    .results__item--2 .results__decor-inner {
        bottom: -6px;
        left: 0px;
        width: 50px;
        height: 50px;
    }
    .results__item--3 .results__decor-outher {
        top: -17px;
        right: -61px;
    }
    .results__item--3 .results__decor-inner {
        top: -4px;
        left: -14px;
        width: 48px;
        height: 48px;
    }
    .results__item--4 .results__decor-outher {
        top: -24px;
        left: -89px;
    }
    .results__item--4 .results__decor-inner {
        bottom: -7px;
        right: inherit;
        left: 40px;
        width: 41px;
        height: 41px;
    }
    .results__item--5 .results__decor-outher {
        bottom: inherit;
        right: -60px;
        top: -19px;
    }
    .results__item--5 .results__decor-inner {
        bottom: 3px;
        left: -9px;
        width: 45px;
        height: 45px;
    }
    .results__item--6 .results__decor-outher {
        top: -25px;
        left: -90px;
    }
    .results__item--6 .results__decor-inner {
        bottom: -15px;
        right: inherit;
        width: 42px;
        height: 42px;
        left: 44px;
    }
}

/* contact */
.contact {
    padding-bottom: 102px;
}
.contact__wrapper {
    background: #00b2ff;
    padding: 94px 78px 100px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.contact__col--right {
    flex-basis: 54%;
}
.contact__col--left {
    flex-basis: 40%;
}
.contact__title {
    color: #fff;
    font-weight: 700;
    font-size: 70px;
    padding-bottom: 10px;
}
.contact__subtitle {
    font-size: 40px;
    color: #fff;
}
@media (max-width: 1280px) {
    .contact__wrapper {
        padding: 40px 40px 60px;
    }
    .contact__title {
        font-size: 50px;
    }
    .contact__subtitle {
        font-size: 40px;
    }
}
@media (max-width: 950px) {
    .contact__subtitle {
        font-size: 21px;
    }
}
@media (max-width: 768px) {
    .contact {
        padding-bottom: 55px;
    }
    .contact__wrapper {
        padding: 28px 20px 40px;
        display: block;
        margin: 0 -20px;
    }
    .contact__title {
        font-size: 34px;
        padding-bottom: 0;
    }
}

/* legal */
.legal {
    font-size: 14px;
    line-height: 1.4;
    padding: 145px 0 100px;
}
.legal__wrapper {
    max-width: 914px;
}
.legal h1 {
    font-weight: 700;
    font-size: 60px;
    padding-bottom: 52px;
}
.legal h2 {
    font-weight: 700;
    font-size: 24px;
    padding: 10px 0 15px;
}
.legal h3 {
    font-weight: 700;
    padding-bottom: 15px;
}
.legal p {
    padding-bottom: 16px;
}
.legal a {
    color: #00b2ff;
    text-decoration: underline;
    font-weight: 700;
}
.legal i {
    font-style: italic;
}
.legal ol,
.legal ul {
    padding-left: 20px;
    padding-bottom: 10px;
}
.legal li {
    padding-bottom: 10px;
}
.legal ul li {
    list-style-type: disc;
}
.legal ol li {
    list-style-type: decimal;
}
.legal .font-bold {
    font-weight: 700;
    font-size: 24px;
    padding-bottom: 5px;
}
.legal .padding-top {
    padding-top: 21px;
}
.legal .text-right {
    text-align: right;
}
@media (max-width: 768px) {
    .legal {
        font-size: 16px;
        line-height: 1.6;
        padding: 79px 0 36px;
    }
    .legal .font-bold {
        font-size: 18px;
        padding-bottom: 0;
    }
    .legal h1 {
        font-size: 30px;
        padding-bottom: 15px;
    }
    .legal h2 {
        padding: 18px 0 16px;
    }
    .legal li {
        padding-bottom: 4px;
    }
    .legal ol,
    .legal ul {
        padding-left: 25px;
    }
}

/* footer */
.footer {
    background: #e0ecff;
    padding: 55px 0;
}
.footer__wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.footer__copy {
    margin-right: auto;
}
.footer__link {
    margin-left: 20px;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .footer {
        padding: 43px 0;
    }
    .footer__wrapper {
        display: block;
        text-align: center;
    }
    .footer__copy {
        padding-bottom: 20px;
    }
}

/* form */
.form {
    padding-top: 31px;
    position: relative;
}
.form__note {
    font-size: 15px;
    position: absolute;
    bottom: -3px;
    right: 0;
}
.form__row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
}
.form__col {
    flex-basis: 48%;
}
.form__item {
    position: relative;
    width: 100%;
    padding-bottom: 25px;
}
.form__control {
    width: 100%;
    height: 50px;
    background: #e0ecff;
    border: 1px solid #000000;
    outline: none;
    padding: 14px;
    font-family: "Gotham Pro", sans-serif;
    font-size: 18px;
    color: #000;
}
textarea.form__control {
    height: 110px;
}
.form__row .btn {
    margin-left: auto;
    display: block;
    margin-top: 25px;
}
.has-error .form__control {
    border-color: #c62400;
}
.alert-msg {
    position: absolute;
    bottom: 5px;
    left: 0;
    font-weight: 700;
    font-size: 15px;
    color: #c62400;
    display: block;
    opacity: 0;
    transition: all 0.3s linear;
}
.has-error .alert-msg {
    opacity: 1;
}
.form__captcha {
    width: 100%;
    max-width: 100%;
}
@media (max-width: 950px) {
    .form__row {
        display: block;
    }
    .form__item {
        padding-bottom: 15px;
    }
    .form__note {
        bottom: -4px;
    }
    .has-error .form__note {
        bottom: -18px;
    }
    .alert-msg {
        bottom: -1px;
    }
    .form__captcha {
        padding-top: 22px;
    }
}
@media (max-width: 768px) {
    .form {
        padding-top: 24px;
    }
    .form__row .btn {
        width: 100%;
        display: block;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* modal */
.modal-backdrop {
    z-index: 11 !important;
    background: rgba(0, 178, 255, 0.4);
    backdrop-filter: blur(4px);
}
.modal .modal-dialog {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 20px;
}
.modal .modal-content {
    padding: 42px 22px 53px;
    background-color: #fff;
    color: #2c1f28;
    border-radius: 0;
    border: none;
    text-align: center;
    max-width: 465px;
    width: 100%;
}
.modal .img {
    margin: 0 auto 7px;
    width: 72px;
    height: 72px;
    border-radius: 100%;
    background: #ffe713;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal .modal-title {
    font-weight: 700;
    font-size: 32px;
    padding-bottom: 8px;
}
.modal .btn {
    width: 100%;
    max-width: 154px;
    margin-top: 30px;
}
