/*Обнулення*/
@import url(reset.bb80470576010fca.css);
/* Шрифти */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url(../fonts/roboto-cyrillic-ext.bb80470576010fca.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url(../fonts/roboto-cyrillic.bb80470576010fca.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url(../fonts/roboto-latin-ext.bb80470576010fca.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url(../fonts/roboto-latin.bb80470576010fca.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}




:root {
    --bg_light: #f6f8fb;
    --bg_dark: #000000;
    --bg_white: #fff;
    --bg_button: #a00c2f;
    --bg_button-hov: #68031b;
    --br_button: #CDCDCD;
    --text_light: #fff;
    --text_dark: #000;
    --bg_hover: #CDCDCD;

    --white: #ffffff;
    --black: #000000;
    --gray: #1b416d;
    --light: #8d9cad;
}

body {
    background-color: var(--bg_light);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--text_dark);
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 26px;
    }
}

.wrapper {
    overflow: clip;
    max-width: 1920px;
    min-height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;

    position: relative;
    z-index: 10;

}

.wrapper>main {
    flex-grow: 1;
}

[class*="--margin"] {
    margin-bottom: 30px;
}

[class*="__container"] {
    max-width: 1270px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}




h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 3rem;
    text-shadow: 1px 0px 5px #000;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 3rem;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 2.125rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 2rem;
    letter-spacing: -0.8px;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.75rem;
    letter-spacing: -0.7px;
}

@media (max-width: 768px) {

    h1 {
        font-size: 1.75rem;
        line-height: 1.75rem;
        text-shadow: 4px -1px 3px #000;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 2.375rem;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 2rem;
    }


}


/*-------------- button --------------*/
.btn {
    display: block;
    width: 257px;
    height: 61px;
    border-radius: 48px;
    border: 0;
    text-transform: uppercase;
    text-align: center;
    font-weight: 500;
    font-size: 18px;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;

    position: relative;
    transition: all 0.5s ease-out;
}

@media (max-width: 768px) {
    .btn {
        width: 100%;
        max-width: 361px;
        height: 48px;
        border-radius: 48px;
    }
}

.black-btn {
    background-color: var(--bg_dark);
    color: var(--text_light);
}

.white-btn {
    background-color: var(--bg_white);
    color: var(--text_dark);
}

.btn:hover,
.btn:active {
    background-color: var(--bg_button-hov);
    color: var(--text_light);
    transform: scale(0.9);
}

.btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: var(--bg_button);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}



.subtitle {
    margin-bottom: 64px;
}

@media (max-width: 768px) {
    .subtitle {
        margin-bottom: 24px;
    }
}

/*  --- Logo ---- */
.logo_block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 800;
}

.logo_block span {
    font-size: 12px;
    line-height: 1.1;
}





/*=====================================*/

/* --------- header --------- */
#header {
    padding: 60px 0 0;
    margin: 0 auto;
    z-index: 2;
}

.header__logo {
    max-width: 192px;
    /*background: radial-gradient(ellipse at center, rgb(0 0 0) 15%, rgb(0 0 0 / 2%) 70%, rgb(255 255 255 / 0%) 100%);*/
}

.header__logo img {
    width: 100%;
}

@media (max-width: 768px) {
    #header {
        padding: 30px 0 0;
    }
}



/* --------- intro --------- */
#intro {
    background: radial-gradient(ellipse at center,
            #00000000 0%,
            #00000000 45%,
            #5ccbf375 100%),
        url(../images/intro_bg.bb80470576010fca.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    margin: -183px auto 0;
    padding: 260px 0 80px;

    color: var(--text_light);
}

.intro__container {
    height: calc(100vh - 220px - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 32px;
}

.intro__text {
    max-width: 640px;
}

.intro__text p {
    margin: 32px 0;
    max-width: 470px;
    text-shadow: 1px 0px 5px #000;
}

.intro__items {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.intro__item {
    text-align: center;
    padding: 0 10px;
}

.intro__item:nth-child(1) {
    width: 30%;
    text-align: start;
}

.intro__item:nth-child(3) {
    width: 30%;
    text-align: right;
}

.intro__item:nth-child(2) {
    width: 40%;
    border-left: 1px solid var(--bg_light);
    border-right: 1px solid var(--bg_light);
}

#intro .btn {
    margin: 0;
}

@media (max-width: 768px) {
    #intro {
        background: radial-gradient(ellipse at center,
                #00000000 0%,
                #00000000 45%,
                #5ccbf375 100%),
            url(../images/intro_bg.bb80470576010fca.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position-x: center;
        background-position-y: top;

        margin: -133px auto 0;
        padding: 130px 0 32px;
        color: var(--text_light);
    }

    .intro__container {
        justify-content: end;
        height: calc(100vh - 130px - 32px);
    }

    .intro__text p {
        margin: 20px 0 32px;
    }

    .intro__items {
        flex-direction: column;
    }

    .intro__item {
        padding: 0;
    }

    .intro__item:nth-child(1) {
        width: 100%;
        text-align: center;
        padding-bottom: 5px;
    }

    .intro__item:nth-child(3) {
        width: 100%;
        text-align: center;
        padding-top: 5px;
    }

    .intro__item:nth-child(2) {
        width: 100%;
        border-left: 0;
        border-right: 0;
        padding: 5px 0;
        position: relative;
    }

    .intro__item:nth-child(2)::before,
    .intro__item:nth-child(2):after {
        content: '';
        width: 56px;
        height: 1px;
        background-color: var(--bg_light);
        position: absolute;
    }

    .intro__item:nth-child(2)::before {
        top: 0;
        left: calc(50% - 28px);
    }

    .intro__item:nth-child(2):after {
        bottom: 0;
        right: calc(50% - 28px);
    }

    #intro .btn {
        margin: 0 auto;
    }
}






/* --------- where-live --------- */
#where-live {
    padding: 104px 0 0;
}

.where-live__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 64px;
}

.where-live__cards {
    max-width: 648px;
    letter-spacing: -0.6px;
}

.where-live__card {
    padding: 16px 24px;
    margin-bottom: 24px;
}



.where-live__card:nth-child(4) {
    margin-bottom: 0;
}

.where-live__img {
    min-width: 300px;
    max-width: 552px;
}

.where-live__img img {
    width: 100%;
}

#where-live .btn {
    width: 312px;
}

@media (max-width: 768px) {
    #where-live {
        padding: 64px 0 0;
    }

    .where-live__content {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .where-live__card {
        padding: 16px;
    }

    #where-live .btn {
        width: 100%;
    }
}





/* --------- how --------- */
#how {

    background-color: var(--gray);
    color: var(--text_light);
}

.how__container {
    padding: 0;
}

.how_inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
}

.block_text,
.block_img {
    width: 50%;
}

.block_text {
    padding: 104px 32px;
}

.block_img {
    background-image: url(../images/how.bb80470576010fca.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: 0 0 0 0;
}



@media (max-width: 768px) {
    .how_inner {
        flex-wrap: wrap;
    }

    .block_text,
    .block_img {
        width: 100%;
    }

    .block_img {
        min-height: 500px;
        background-position: top;
    }
}



/* --------- advantages --------- */
.advantages {
    padding: 104px 0;
}

.advantages__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
    gap: 30px;
}

.advantages_item {
    padding: 30px 16px;
    max-width: 47%;
}

.advantages__img {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.advantages__img img {
    width: 100%;
}

.advantages__text h2 {
    margin-bottom: 14px;
    font-weight: 500;
    font-size: 28px;
    line-height: 32px;
}

@media (max-width: 768px) {
    .advantages_item {
        padding: 16px;
        max-width: 100%;
    }
}




/* --------- footer --------- */
#footer {
    padding: 40px 0;
    background: var(--gray);
    color: var(--text_light);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer__logo {
    max-width: 192px;
}

.footer__logo img {
    width: 100%;
}

.footer__info,
.footer__info h2 {
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
}


@media (max-width: 520px) {
    .footer__content {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}





/* ------- Modals ------- */
.modal {
    display: none;
}

.modal.active {
    display: block;
}

.modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* плавний скрол на iOS */

    background: radial-gradient(ellipse at center,
            #00000000 0%,
            #00000000 45%,
            #5ccbf375 100%),
        url(../images/intro_bg.bb80470576010fca.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    color: var(--text_light);
    padding: 60px 0;
    z-index: 9999;
}

.modal>div {
    width: 100%;
}

.modal__logo {
    max-width: 192px;
    margin: 0 auto;
}

.modal__logo img {
    width: 100%;
}

.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;

    background: #5F5F5F30;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0px 1px 1px #9ea9b7;
    margin: 40px 0 0;
    border-radius: 16px;
}

@media (max-width: 520px) {
    .modal {
        background: radial-gradient(ellipse at center,
                #00000000 0%,
                #00000000 45%,
                #5ccbf375 100%),
            url(../images/intro_bg.bb80470576010fca.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position-x: center;
        color: var(--text_light);
        padding: 40px 0 100px;
    }

    .modal__logo {
        max-width: 190px;
    }

    .modal-content {
        gap: 20px;
        margin: 34px 0 0;
    }
}





/* ------- Modal-window #1 ------- */
.modal-countries__wrapper {
    padding: 40px 16px;
    text-align: center;
}

.modal-countries__subtitle {
    font-size: 28px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 20px;
}

.modal-countries__list {
    max-width: 470px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: start;
    gap: 20px;
    margin: 48px auto 64px;
}

.custom-checkbox {
    width: 45%;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 16px;
}

.custom-checkbox input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;

    width: 24px;
    height: 24px;

    background: rgba(239, 239, 239, 0.41);
    /*border: 1px solid #999;*/
    border-radius: 6px;

    cursor: pointer;
    position: relative;
}

/* Стан checked */
.custom-checkbox input[type="radio"]:checked {
    background: var(--bg_hover);
}

.custom-checkbox input[type="radio"]:checked::after {
    content: "✔";
    position: absolute;
    font-size: 16px;
    color: var(--text_dark);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    z-index: 10;
}

@media (max-width: 520px) {
    .modal-countries__wrapper {
        padding: 40px 16px;
        text-align: center;
    }

    .modal-countries__text {
        text-align: start;
    }

    .modal-countries__subtitle {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .modal-countries__list {
        max-width: 100%;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 10px;
        margin: 20px auto 40px;
    }

    .custom-checkbox {
        width: 70%;
        display: flex;
        justify-content: start;
        align-items: center;
        gap: 10px;
    }

}








/* ------- Modal-window #2 ------- */
.modal-resources__content {
    padding: 40px 68px 20px;
}

.modal-resources__text {
    font-size: 24px;
    line-height: 32px;
    text-align: center;
}

.modal-resources__swiper {
    width: 100%;
    display: block;
    margin: 0 auto;
}

.swiper-wrapper {
    align-items: stretch;
    padding: 0 0 50px;
}

.swiper-slide {
    height: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    background: var(--bg_white);
    color: var(--text_dark);
    border-radius: 8px;
    padding: 16px;
}

.slide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.slide__img {
    width: calc(100% + 34px);
    border-radius: 8px;
    overflow: hidden;
    margin: -16px -16px 0;
}

.slide__img img {
    width: 100%;
    border-radius: 8px;
}

.slide__text {
    flex-grow: 1;
    padding: 28px 0 0;
}

.slide__text h6 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.slide__sum {
    background: #0000001a;
    width: 100%;
    height: 48px;
    border-radius: 48px;
    margin: 16px 0 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-resources .black-btn {
    width: 100%;
    height: 48px;
}

.swiper-pagination-bullet {
    background: #ffffff33;
    height: 16px;
    opacity: 1;
    width: 16px;
    margin: 12px;
}

.swiper-pagination-bullet-active {
    background: var(--bg_white);
    width: 19px;
    height: 19px;
}

@media (max-width: 768px) {
    .modal-resources__content {
        padding: 20px 16px;
    }

    .modal-resources__text {
        font-size: 18px;
        line-height: 26px;
        text-align: start;
    }

    .modal-resources .black-btn {
        max-width: 100%;
    }
}




/* ------- Modal-window #3 ------- */
.modal-registration__content {
    padding: 40px 16px;
}

.modal-registration__text {
    max-width: 560px;
    font-size: 24px;
    line-height: 32px;
    text-align: center;

}

.leadform-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 16px 30px 16px;
    box-sizing: border-box;
}

.leadform {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-family: Arial, sans-serif;
}

.leadform input {
    width: 100%;
    padding: 10px;
    color: black;
    border: 1px solid #ccc;
    background: white;
    font-size: 16px;
    box-sizing: border-box;
}

.leadform input:focus {
    border-color: #ff0000;
    outline: none;
}

.leadform button:not(.iti__selected-country) {
    width: 100%;
    color: white;
    padding: 12px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.leadform button:not(.iti__selected-country):hover {
    filter: brightness(70%);
}

.leadform {
    max-width: 400px !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.leadform input {
    border-radius: 32px !important;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.4);
}

.leadform button:not(.iti__selected-country) {
    border-radius: 48px !important;
    background: #2f281c !important;
}

.leadform .warning {
    color: #fff !important;
}

@media (max-width: 768px) {
    .modal-registration__text {
        max-width: 100%;
        font-size: 18px;
        line-height: 26px;
        text-align: start;
    }

}


/*=====================================================*/