/* font-family: 'Exo 2', sans-serif;
font-family: 'Inter', sans-serif; */

:root {
    --background-color: #F9F9F9;
    --black-color: #050835;
    --primary-color: #0076C0;
    --primary-hover-color: #0467A4;
    --primary-light-color: #D6E8F9;
    --light-color: #fff;
    --accent-color: #F5C644;
    --accent-color-hover: #FCC01C;
    --catalog-background: #EFEFEF;
    --button-color: #F0F3FA;
    --menu-color: #FCFCFC;
    --main-margin: 24px;
    --animation-cubic: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--black-color);
    margin: 0;
    font-variant-numeric: lining-nums;
    box-sizing: border-box;
    background-color: var(--menu-color);
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    font-family: inherit;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    cursor: pointer;
}

ul, h1, h2, p, h3, h4, h5 {
    font-weight: 400;
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: var(--black-color);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
}

section {
    background-color: var(--menu-color);
}

/* HEADER */
.header {
    position: relative;
    background-color: var(--light-color);
    box-shadow: 0 4px 20px 0 #0508350D;
    z-index: 8;
    margin: auto;
    padding: 15px 56px;
    animation: header 1000ms var(--animation-cubic);
}

@keyframes header {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }

}


@media screen and (max-width: 1024px) {
    .header {
        padding: 15px;
    }
}

.icon-flexbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 8;
    background-color: var(--light-color);
}

.header-icons-flexbox {
    display: flex;
    gap: 28px;
    align-items: center;
}

.header-phone {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.header-phonebox-number {
    color: var(--primary-color);
    font-family: "Raleway";
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    opacity: 3;
    transition: opacity 250ms var(--animation-cubic);
    z-index: 2;
}

@media screen and (max-width: 1000px) {
    .header-phone {
        display: none;
    }

}


.icon-logo {
    width: 211px;
    height: 72px;
}

.header-nav-flexbox {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: 60px;
}

.header-ru {
    gap: 20px;
}

.header-link {
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0;
    text-align: left;
    cursor: pointer;
}

.header-link:hover {
    color: var(--primary-color);
}


@media screen and (max-width: 1512px) {
    .header-nav-flexbox {
        gap: 20px;
        margin-left: 30px;
    }
}

@media screen and (max-width: 1404px) {
    .header-ru {
        gap: 15px;
        margin-left: 15px;
    }
}


@media screen and (max-width: 1340px) {
    .header-nav-flexbox {
        display: none;
        margin-left: 0;
    }

    .header-link {
        display: none;
    }
}

.right-menu {
    display: flex;
    align-items: center;
}

.switch-language {
    width: 80px;
    height: 24px;
    display: flex;
    border-radius: 500px;
    border: 1px solid var(--black-color);
    align-items: center;
    justify-content: center;
    font-family: "Raleway";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-left: 80px;
    transition: opacity 250ms;
}

.switch {
    background-color: transparent;
    color: var(--black-color);
    width: 40px;
    border-radius: 500px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.switch-active {
    cursor: pointer;
    height: 100%;
    border-radius: 500px;
    color: var(--light-color);
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--black-color);
}

@media screen and (max-width: 1512px) {
    .switch-language {
        margin-left: 40px;
    }

}

@media screen and (max-width: 1000px) {
    .switch-language {
        display: none;
        margin-left: 0;
    }

}

.button-contact-us {
    margin-left: 40px;
    display: flex;
    width: 199px;
    height: 39px;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-align: center;
    font-family: "Raleway";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    background: var(--light-color);
    cursor: pointer;
}

.button-contact-us:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

@media screen and (max-width: 1368px) {
    .button-contact-us-ru {
        margin-left: 15px;
    }
}

@media screen and (max-width: 1000px) {
    .button-contact-us {
        display: none;
        margin-left: 0;
    }

}

.menu-btn {
    display: none;
    width: 56px;
    height: 26px;
    position: relative;
    z-index: 6;
    overflow: hidden;
}

.menu-btn span {
    width: 30px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-color);
    transition: all 0.5s;
}

.menu-btn span:nth-of-type(2) {
    top: calc(50% - 5px);
}

.menu-btn span:nth-of-type(3) {
    top: calc(50% + 5px);
}

.menu-btn.active span:nth-of-type(1) {
    display: none;
}

.menu-btn.active span:nth-of-type(2) {
    top: 50%;
    transform: translate(-50%, 0%) rotate(45deg);
}

.menu-btn.active span:nth-of-type(3) {
    top: 50%;
    transform: translate(-50%, 0%) rotate(-45deg);
}

.hidden {
    overflow: hidden;
}

.menu {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--menu-color);
    transform: translateY(-100%);
    transition: transform 0.5s;
    padding: 30px 0;
    overflow: hidden;
}

.menu.active {
    transform: translateY(0);
    z-index: 6;
    top: 104px;
    position: absolute;
    height: 100vh;
    padding-bottom: 100px;
    overflow: hidden;
}

.menu_active {
    display: none;
}

.menu li {
    list-style-type: none;
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
}

.menu li:hover {
    color: var(--primary-color);
}

.hide {
    display: none !important;
}

@media screen and (max-width: 1340px) {
    .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        gap: 28px;
    }

    .menu-btn {
        display: block;
        margin-left: 20px;
    }
}

@media screen and (max-width: 1000px) {
    .hide {
        display: flex;
        flex-direction: column;
    }

    .switch-language {
        flex-direction: row;
    }


    .menu_active {
        display: flex;
    }


}

@media screen and (max-width: 740px) {
    .menu {
        background: var(--light-color);
    }
}

/* HEADER_END */
/* CONTAINER */
.container {
    margin: 0 auto;
    width: min(1400px, 100%);
    box-sizing: border-box;
}


/* CONTAINER_END */

/* MAIN */
.main {
    padding: 15px 56px;
    margin-top: 45px;
}

.main-row {
    display: flex;
    animation: main-row 2000ms var(--animation-cubic);
}

@keyframes main-row {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }

}

.main-left {
    margin-top: 30px;
    max-width: 680px;
}

.main-title {
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
}

.main-primary {
    color: var(--primary-color);
    font-size: 70px;
    font-style: italic;
    font-weight: 800;
    line-height: 110%; /* 77px */
    text-transform: uppercase;
}

.main-subtitle {
    margin-top: 20px;
    max-width: 500px;
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 27px */
}

.main-subtitle-text {
    font-weight: 600;
}

.main-button-row {
    margin-top: 50px;
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-button {
    display: flex;
    width: 250px;
    height: 50px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    font-family: "Raleway";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    position: relative;
    z-index: 3;
}

.main-button-tooltip {
    background: var(--black-color);
    color: var(--light-color);
    text-align: center;
    font-family: "Raleway";
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    position: absolute;
    z-index: 1;
    transform: translateY(0);
    transition: transform 0.5s;
    display: inline-flex;
    padding: 4px 11px;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.main-button:hover {
    background-color: var(--primary-hover-color);
    box-shadow: 0 10px 20px 0 rgba(5, 8, 53, 0.10);
}

.main-button-row:hover {
    .main-button-tooltip {
        transform: translateY(-160%);
        transition: transform 0.5s;
    }
}

.main-img {
    background-image: url("../images/map.gif");
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
    animation: main-img 2000ms var(--animation-cubic);
}

@keyframes main-img {
    0% {
        transform: translateX(195%);
    }
    100% {
        transform: translateX(0);
    }
}

.main-right {
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    width: 100%;
    height: 100%;
    animation: main-right 2000ms var(--animation-cubic);
    min-width: 640px;
    min-height: 430px;
}

@keyframes main-right {
    0% {
        transform: translateX(1000%);
    }
    100% {
        transform: translateX(0);
    }

}

.items-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 20px;
    animation: items-wrap 1000ms var(--animation-cubic);
    background: var(--background-color);
    height: 80px;
}

@keyframes items-wrap {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

.items-wrap:before,
.items-wrap:after {
    content: "";
    height: 100%;
    top: 0;
    width: 10%;
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.items-wrap:before {
    left: 0;
}

.items-wrap:after {
    right: 0;
}

.items {
    flex-shrink: 0;
    display: flex;
    gap: 20px;
    justify-content: space-around;
    min-width: 100%;
}

.marquee {
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 20px));
    }
}


.main-marquee {
    display: flex;
    align-items: center;
    transition: all 0.1s ease-in-out;
}

.main-marquee-img {
    width: 40px;
    height: 40px;
}

.main-marquee-text {
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

@media screen and (max-width: 1351px) {
    .main-title {
        font-size: 30px;
    }

    .main-primary {
        font-size: 50px;
    }

    .main-subtitle {
        font-size: 15px;
    }

}

@media screen and (max-width: 1200px) {
    .main {

        padding: 0 15px;

    }

    .main-right {
        min-width: 542px;
        min-height: 352px;
    }

}

@media screen and (max-width: 1010px) {
    .main-title {
        font-size: 20px;
    }

    .main-primary {
        font-size: 30px;
    }

    .main-subtitle {
        font-size: 10px;
    }

    .main-right {
        min-width: 450px;
        min-height: 310px;
    }

}

@media screen and (max-width: 740px) {
    .main {
        display: block;
        padding: 15px;
        margin-top: 30px;
    }

    .main-left {
        margin-top: 0;
    }

    .main-title {
        font-size: 30px;
        text-align: center;
    }

    .main-primary {
        font-size: 60px;
    }

    .main-subtitle {
        font-size: 20px;
        text-align: center;
    }

    .main-right {
        min-width: 381px;
        min-height: 266px;
    }

    .main-row {
        display: block;
    }

    .main-button-row {
        margin: 50px auto;
    }

}

/* MAIN_END */

/* SECTION_RAIL */
.rail {
    background-image: url("../images/rail.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 478px;
    position: relative;
    z-index: 3;
}

@media screen and (max-width: 735px) {
    .rail {
        height: 285px;
    }
}


/* SECTION_RAIL_END */

/* ADVANTAGES */
.advantages {
    margin-top: 120px;
    display: flex;
    padding: 0 56px;
    justify-content: space-between;
}

.advantages-title {
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 400px;
    visibility: hidden;
}

.advantages-title span {
    color: var(--primary-color);
    font-family: "Raleway";
    font-size: 40px;
    font-style: italic;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
}

.advantages-title._active {
    animation: advantages-title 2000ms;
    visibility: visible;
}

@keyframes advantages-title {
    0% {
        transform: translateX(-200%);
    }
    100% {
        transform: translateX(0);
    }
}

.advantages-img {
    margin-top: 150px;
    background-image: url("../images/od.svg");
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    width: 540px;
    height: 429px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
}

.advantages-img-text {
    color: var(--primary-color);
    font-family: "Raleway";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    width: 250px;
    visibility: hidden;
}

.advantages-img-text._active {
    animation: advantages-img-text 2000ms;
    visibility: visible;
}

@keyframes advantages-img-text {
    0% {
        transform: translateX(-800%);
    }
    100% {
        transform: translateX(0);
    }
}

.advantages-info {
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
            "news control"
             "analytics formats";
    gap: 40px;
    margin-left: 20px;
}

.advantages-info-img {
    width: 60px;
    height: 60px;
}

.advantages-news {
    grid-area: news;
    visibility: hidden;
}

.advantages-news._active {
    animation: advantages-news 2000ms;
    visibility: visible;
}

@keyframes advantages-news {
    0% {
        transform: translateY(800%);
    }
    100% {
        transform: translateY(0);
    }
}

.advantages-control {
    grid-area: control;
    visibility: hidden;
}

.advantages-control._active {
    animation: advantages-control 2000ms;
    visibility: visible;
}

@keyframes advantages-control {
    0% {
        transform: translateY(1600%);
    }
    100% {
        transform: translateY(0);
    }
}

.advantages-analytics {
    grid-area: analytics;
    visibility: hidden;
}

.advantages-analytics._active {
    animation: advantages-analytics 2000ms;
    visibility: visible;
}

@keyframes advantages-analytics {
    0% {
        transform: translateY(800%);
    }
    100% {
        transform: translateY(0);
    }
}

.advantages-formats {
    grid-area: formats;
    visibility: hidden;
}

.advantages-formats._active {
    animation: advantages-formats 2000ms;
    visibility: visible;
}

@keyframes advantages-formats {
    0% {
        transform: translateY(1600%);
    }
    100% {
        transform: translateY(0);
    }
}

.advantages-info-p {
    margin-top: 40px;
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}


.advantages-info-sub {
    margin-top: 10px;
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 27px */
}

.advantages-img-small {
    display: none;
}

@media screen and (max-width: 1530px) {
    .advantages-img {
        width: 440px;
        height: 349px;
    }

    .advantages-info-p {
        font-size: 18px;
    }

    .advantages-info-sub {
        font-size: 12px;
    }

    .advantages-title {
        max-width: 440px;
        font-size: 30px;
    }

    .advantages-title span {
        font-size: 30px;
    }
}

@media screen and (max-width: 1250px) {
    .advantages {
        padding: 0 15px;
    }

    .advantages-info {
        gap: 20px;
    }

    .advantages-info-p {
        font-size: 18px;
    }

    .advantages-info-sub {
        font-size: 12px;
    }

    .advantages-title {
        max-width: 300px;
        font-size: 30px;
    }

    .advantages-title span {
        font-size: 30px;
    }

    .advantages-img {
        width: 300px;
        height: 250px;
    }

    .advantages-img-text {
        font-size: 12px;
        max-width: 200px;
    }

    .advantages-info-img {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 735px) {
    .advantages {
        display: block;
    }

    .advantages-title {
        max-width: 100%;
        text-align: center;
        margin: auto;

    }

    .advantages-info {
        grid-template-columns: 1fr;
        grid-template-areas:
            "news"
            "control"
             "analytics"
            "formats";
        gap: 20px;
    }

    .advantages-img {
        display: none;
    }

    .advantages-img-small {
        margin-top: 80px;
        background-image: url("../images/od.svg");
        background-repeat: no-repeat;
        background-position: left;
        background-size: cover;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 300px;
        height: 250px;
    }

    .advantages-news {
        display: flex;
        align-items: center;
    }

    .advantages-control {
        display: flex;
        align-items: center;
    }

    .advantages-analytics {
        display: flex;
        align-items: center;
    }

    .advantages-formats {
        display: flex;
        align-items: center;
    }

    .ml20 {
        margin-left: 20px;
    }

}

/* ADVANTAGES_END */

/* TRAIN */
.trains-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 20px;
    height: 100%;
    background-color: transparent;
    margin-top: 135px;
}

.trains-wrap:before,
.trains-wrap:after {
    content: "";
    height: 100%;
    top: 0;
    width: 10%;
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.trains-wrap:before {
    left: 0;
}

.trains-wrap:after {
    right: 0;
}

.trains {
    flex-shrink: 0;
    display: flex;
    gap: 20px;
    justify-content: space-around;
    min-width: 100%;
}

.marquee {
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 20px));
    }
}


.train-marquee {
    display: flex;
    align-items: center;
    background-image: url("../images/1-train.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100px;
}

@media screen and (max-width: 1590px) {
    .train-marquee {
        height: 79px;
    }
}

@media screen and (max-width: 1275px) {
    .train-marquee {
        height: 67px;
    }
}

@media screen and (max-width: 1100px) {
    .train-marquee {
        height: 57px;
    }
}

@media screen and (max-width: 1000px) {
    .trains-wrap {
        margin-top: 70px;
    }

    .train-marquee {
        height: 51px;
    }
}

@media screen and (max-width: 800px) {
    .trains-wrap {
        margin-top: 30px;
    }

    .train-marquee {
        background-image: url("../images/1-trainn-small.png");
        height: 50px;

    }
}

@media screen and (max-width: 735px) {

    .train-marquee {
        background-image: url("../images/1-trainn-small.png");
        height: 50px;

    }
}

@media screen and (max-width: 500px) {
    .trains-wrap {
        margin-top: 0;
    }

    .train-marquee {
        height: 36px;
    }
}

@media screen and (max-width: 430px) {
    .train-marquee {
        height: 30px;
    }
}

/* TRAIN_END */
.hr {
    height: 80px;
    width: 100%;
    background-color: var(--background-color);
}

/* FOR_WHO */
.for-who {
    margin-top: 120px;
    overflow: hidden;
    position: relative;
    z-index: 3;
    background: transparent;
}

.for-who-title {
    color: var(--black-color);
    text-align: center;
    font-family: "Raleway";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    visibility: hidden;
}

.for-who-title span {
    color: var(--primary-color);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
}

.for-who-title._active {
    animation: for-who-title 2000ms;
    visibility: visible;
}

@keyframes for-who-title {
    0% {
        transform: translateY(1600%);
    }
    100% {
        transform: translateY(0);
    }
}

.for-who-buttons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    visibility: hidden;
}

.for-who-buttons._active {
    animation: for-who-buttons 3000ms;
    visibility: visible;
}

@keyframes for-who-buttons {
    0% {
        transform: translateY(2400%);
    }
    100% {
        transform: translateY(0);
    }
}

.for-who-button {
    box-sizing: border-box;
    display: flex;
    height: 60px;
    padding: 26px 20px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 500px;
    background: var(--background-color);
    color: var(--black-color);
    text-align: center;
    font-family: "Raleway";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 27px */
}

.for-who-button-img {
    display: none;
}

.for-who-button:hover {
    color: var(--primary-color);
    margin-left: -16px;
    margin-right: -16px;
}

.for-who-button:hover .for-who-button-img {
    display: block;
    margin-left: 10px;
}

.for-who-graphic {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

.for-who-graphic._active {
    animation: for-who-graphic 3000ms;
    visibility: visible;
}

@keyframes for-who-graphic {
    0% {
        transform: translateY(3000%);
    }
    100% {
        transform: translateY(0);
    }
}

.for-who-graphic-img {
    width: 761px;
    height: 455px;
    border-radius: 10px;
    position: relative;
    z-index: 3;
}

.for-who-graphic-button {
    margin-top: 50px;
    display: flex;
    width: 249px;
    height: 50px;
    justify-content: center;
    align-items: center;
    color: #FFF;
    text-align: center;
    font-family: "Raleway";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 10px;

}

.for-who-graphic-button:hover {
    background: var(--primary-hover-color);
}

@media screen and (max-width: 1000px) {
    .for-who-graphic-img {
        width: 700px;
        height: 455px;
    }
}

@media screen and (max-width: 740px) {

    .for-who-graphic-img {
        width: 498px;
        height: 337px;
    }
}

@media screen and (max-width: 550px) {
    .for-who {
        padding: 0 15px;
    }

    .for-who-title {
        font-size: 30px;
    }

    .for-who-graphic-img {
        width: 398px;
        height: 237px;
    }
}

.for-who-bg {
    z-index: 1;
    position: relative;
    margin-top: -410px;
}

.border-i {
    display: block;
    margin-left: 400px;
    height: 671px;
    border: 80px var(--background-color);
    border-style: solid none none solid;
    border-radius: 100px 0;
}

@media screen and (max-width: 1750px) {
    .border-i {
        margin-left: 300px;
    }
}

@media screen and (max-width: 1546px) {
    .border-i {
        margin-left: 200px;
    }
}


@media screen and (max-width: 1345px) {
    .border-i {
        margin-left: 100px;
    }
}

@media screen and (max-width: 1130px) {
    .for-who-bg {
        display: none;
    }
}

/* FOR_WHO_END */
/* HOW_WORK */
.how-work {
    margin-top: -215px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 4;
    background: transparent;
    overflow: hidden;
    visibility: hidden;
}

.how-work._active {
    animation: how-work 2000ms;
    visibility: visible;
}

.how-work-ru {
    margin-top: -240px;
}

@keyframes how-work {
    0% {
        transform: translateY(600%);
    }
    100% {
        transform: translateY(0);
    }
}

.how-work-title {
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.switch-how-works {
    margin-top: 20px;
    width: 434px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 500px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.switch-how-work {
    width: 217px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.switch-how-work-active {
    cursor: pointer;
    height: 100%;
    border-radius: 500px;
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}

.how-work-agree-yes {
    display: block;
    margin-top: 40px;
}

.how-work-agree-no {
    margin-top: 40px;
}

.how-work-subtitle {
    text-align: center;
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 27px */
    padding: 15px;
}

.how-work-subtitle span {
    font-weight: 600;
}

.how-work-agree-row {
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    background-color: var(--light-color);
    box-shadow: 10px 10px 40px 0 rgba(5, 8, 53, 0.10);
    transition: background-color 3s;
}

.how-work-agree-row-active {
    background-color: var(--primary-light-color);
}

.how-work-agree-img {
    padding: 40px 70px;
    box-sizing: border-box;
    min-width: 740px;
}

.how-work-agree-button {
    width: 100%;
    height: 80px;
    border-radius: 0 0 10px 10px;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    color: var(--light-color);
    align-items: center;
    font-family: "Raleway";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.how-work-agree-button:hover {
    background: var(--primary-hover-color);
}

.how-work-steps {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

.how-work-step {
    width: 100%;
    height: 126px;
    border-radius: 10px;
    background-color: var(--light-color);
    box-shadow: 10px 10px 40px 0 rgba(5, 8, 53, 0.10);
    font-family: "Raleway";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 27px */
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 40px;
    transition: background-color 3s;
}

.how-work-step-active {
    background-color: var(--primary-light-color);
}

.how-work-step span {
    margin-right: 10px;
    display: flex;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-weight: 700;
    background: rgba(214, 232, 249, 0.3);
    border-radius: 100px;
}

.how-work-step p {
    color: var(--black-color);
    max-width: 300px;
}

@media screen and (max-width: 1438px) {
    .how-work-agree-img {
        min-width: 740px;
    }

    .how-work-step {
        width: 100%;
        height: 126px;
        font-size: 16px;
        padding: 20px;
    }
}

@media screen and (max-width: 1130px) {
    .how-work {
        margin-top: 120px;
    }

    .how-work-agree-img {
        padding: 20px 40px;
    }
}


@media screen and (max-width: 740px) {
    .how-work {
        margin-top: 120px;
    }

    .how-work-agree-img {
        padding: 20px 40px;
        min-width: 300px;
    }

    .how-work-steps {
        flex-direction: column;
    }

    .how-work-step p {
        max-width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .switch-how-works {
        width: 400px;
    }

    .switch-how-work {
        width: 200px;
    }

    .how-work-title {
        font-size: 30px;
    }
}

/* HOW_WORK_END */
/* PARTNERS */

.partners {
    margin-top: 120px;
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
    z-index: 5;
    overflow: hidden;
    visibility: hidden;
}

.partners._active {
    animation: partners 2000ms;
    visibility: visible;
}

@keyframes partners {
    0% {
        transform: translateY(600%);
    }
    100% {
        transform: translateY(0);
    }
}

.partner-title {
    color: var(--black-color);
    text-align: center;
    font-family: "Raleway";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.partner-title span {
    color: var(--primary-color);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
}

.partner-items {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.partner-item {
    height: 200px;
    width: 335px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.partner-item-img {
    height: 200px;
    width: 335px;
    background: var(--light-color);
}


.partner-item-info {
    box-sizing: border-box;
    padding: 20px;
    display: none;
    height: 201px;
    width: 335px;
    background: var(--light-color);

}


.partner-item:hover .partner-item-img {
    display: none;
    transition: display 3s;
}

.partner-item:hover .partner-item-info {
    display: block;
    box-shadow: 10px 10px 40px 0 rgba(5, 8, 53, 0.10);
    transition: display 3s;
}

.partner-item-info span {
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.partner-item-info p {
    margin-top: 10px;
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
}

.partner-item-button {
    display: flex;
    width: 250px;
    height: 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    background: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    font-family: "Raleway";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
}

.partner-item-button:hover {
    background: var(--primary-hover-color);
}


/* PARTNERS_END */
/* CONTACTS */
.contacts {
    display: flex;
    justify-content: space-between;
    margin-top: 120px;
    margin-bottom: 120px;
    background-image: url("../images/globe.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 700px;
    position: relative;
    z-index: 6;
    overflow: hidden;
    padding-left: 15px;
    padding-right: 15px;
}

.contacts-title {
    max-width: 540px;
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
}

.contacts-title span {
    position: relative;
    z-index: 2;
}

.contacts-title-arrow {
    width: 46px;
    height: 13px;
    position: absolute;
    z-index: 1;
    margin-left: 197px;
    margin-top: 115px;

}

.arrow-ru {
    margin-left: 315px;
}

.contacts-left {
    visibility: hidden;
}

.contacts-left._active {
    animation: contacts-left 2000ms;
    visibility: visible;
}

@keyframes contacts-left {
    0% {
        transform: translateX(-600%);
    }
    100% {
        transform: translateX(0);
    }
}

.contacts-left-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.mt40 {
    margin-top: 40px;
}

.contacts-left-info a {
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 27px */
}

.contacts-left-info a:hover {
    color: var(--primary-color);
}

.contact-left-img {
    margin-right: 10px;
}

.contact-form {
    width: 572px;
    height: 596px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--primary-light-color);
    padding: 50px 93px;
    box-sizing: border-box;
    visibility: hidden;
}

.contact-form._active {
    animation: contact-form 2000ms;
    visibility: visible;
}

@keyframes contact-form {
    0% {
        transform: translateY(600%);
    }
    100% {
        transform: translateY(0);
    }
}

.contact-form-title {
    color: var(--black-color);
    text-align: center;
    font-family: "Raleway";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 27px */
}

.contact-form-input {
    margin-top: 20px;
    width: 378px;
    height: 50px;
    border-radius: 10px;
    background: var(--light-color);
    box-sizing: border-box;
    border: none;
    padding: 10px;
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;

}

.contact-form-input:hover,
.contact-form-input:focus {
    border: none !important;
    outline: none;
}

.contact-form-input::placeholder {
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    opacity: 0.2;
    text-align: start;
}

.input-area {
    height: 160px;
    resize: none;
}

.contact-form-button {
    margin-top: 20px;
    display: flex;
    width: 378px;
    height: 50px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    font-family: "Raleway";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.contact-form-button:hover {
    background: var(--primary-hover-color);
}

.contact-form-rules {
    margin-top: 10px;
    color: var(--black-color);
    text-align: center;
    font-family: "Raleway";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 18px */
}

.contact-form-rules a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-form-agree {
    width: 572px;
    height: 596px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--primary-light-color);
    padding: 50px 80px;
    box-sizing: border-box;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media screen and (max-width: 1200px) {
    .contacts-title {
        max-width: 420px;
    }
}

@media screen and (max-width: 1200px) {
    .contacts-title {
        max-width: 420px;
    }

    .contacts-title-arrow {
        margin-top: 163px;

    }
}

@media screen and (max-width: 1028px) {
    .contact-form {
        width: 472px;
        height: 550px;
        padding: 30px 73px;
    }

    .contact-form-agree {
        width: 472px;
        height: 550px;
        padding: 30px 73px;
        text-align: center;
    }

    .contact-form-input {
        width: 326px;
    }

    .contact-form-button {
        width: 326px;
    }
}

@media screen and (max-width: 1028px) {
    .contact-form {
        width: 386px;
        height: 550px;
        padding: 20px 30px;
    }

    .contact-form-agree {
        width: 386px;
        height: 550px;
        padding: 20px 30px;
    }

    .modal2-subtitle {
        text-align: center;
    }

    .contacts-title {
        max-width: 330px;
    }

    .contacts-title-arrow {
        margin-top: 210px;
        margin-left: 145px;

    }

    .arrow-ru {
        margin-left: 120px;
        margin-top: 210px;
    }

    .contacts-title-ru {
        max-width: 328px;
    }

}

@media screen and (max-width: 750px) {
    .contacts {
        flex-direction: column;
        height: 100%;
        background-position: top;
    }

    .contact-form {
        width: 100%;
        height: 570px;
        padding: 30px 50px;
        margin-top: 51px;
    }

    .contact-form-agree {
        width: 100%;
        height: 570px;
        padding: 30px 50px;
        margin-top: 51px;
    }

    .contact-form-input {
        width: 100%;
    }

    .contact-form-button {
        width: 100%;
    }

    .contacts-title {
        max-width: 100%
    }

    .contacts-title-arrow {
        display: none;

    }

}

/* CONTACTS_END */
/* FOOTER */
.footer {
    margin: 0 auto;
    height: 300px;
    background: var(--black-color);
    padding: 60px 0 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 8;
    position: relative;
    overflow: hidden;
}

.footer-logo {
    width: 243px;
    height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.footer-link {
    color: var(--light-color);
    font-family: "Raleway";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-rules {
    margin-top: 60px;
    color: var(--light-color);
    text-align: center;
    font-family: "Raleway";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    opacity: 0.5;
}

@media screen and (max-width: 900px) {
    .footer-links {
        gap: 20px;
    }
}

@media screen and (max-width: 750px) {
    .footer {
        height: 100%;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}

.visibility {
    visibility: visible;
}

.menu-button-cross {
    width: 31px;
    height: 31px;
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.overlay {
    /* Скрываем подложку  */
    /*
    opacity: 0;
    visibility: hidden;
    */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 20;
    transition: .3s all;
}


/* Стили для модальных окон */

.modal {
    /* Скрываем окна  */

    /*
    opacity: 0;
    visibility: hidden;
*/

    /*  Установаем ширину окна  */
    width: 572px;
    height: 596px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--primary-light-color);
    padding: 50px 93px;
    box-sizing: border-box;

    /*  Центрируем и задаем z-index */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30; /* Должен быть выше чем у подложки*/

    /*  Побочные стили   */
    box-shadow: 0 3px 10px -.5px rgba(0, 0, 0, .2);

    transition: 0.3s all;
}

.agree-modal {
    /* Скрываем окна  */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*
    opacity: 0;
    visibility: hidden;
    */
    /*  Установаем ширину окна  */
    width: 572px;
    height: 302px;
    flex-shrink: 0;
    box-sizing: border-box;
    background: rgba(219, 249, 214, 1);
    padding: 54px 78px;
    /*  Центрируем и задаем z-index */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30; /* Должен быть выше чем у подложки*/
    /*  Побочные стили   */
    box-shadow: 0 3px 10px -.5px rgba(0, 0, 0, .2);
    transition: 0.3s all;
}

@media screen and (max-width: 1028px) {
    .modal {
        width: 386px;
        height: 550px;
        padding: 20px 30px;
    }

    .agree-modal {
        width: 386px;
        height: 550px;
        padding: 30px 50px;

    }
}

@media screen and (max-width: 750px) {
    .modal {
        width: 400px;
        height: 570px;
        padding: 30px 50px;

    }

    .agree-modal {
        width: 400px;
        height: 302px;
        padding: 30px 50px;

    }
}

@media screen and (max-width: 415px) {
    .modal {
        width: 350px;
        height: 600px;
        padding: 30px 50px;

    }

    .agree-modal {
        width: 350px;
        height: 302px;
        padding: 30px 50px;

    }
}

.modal2-img {

}

.modal2-title {
    margin-top: 22px;
    color: var(--black-color);
    text-align: center;
    font-family: "Raleway";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 170%; /* 40.8px */
}

.modal2-subtitle {
    color: var(--black-color);
    font-family: "Raleway";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
}

/* Стили для активных классов подложки и окна */

.modal.active,
.overlay.active {
    opacity: 1;
    visibility: visible;
}


/* Стили для кнопки закрытия */

.modal__cross {
    width: 31px;
    height: 31px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* FOOTER_END */


.border-red {
    border:1px solid red;
}

[x-cloak] { display: none !important; }
