:root {
    --yellow-color: #FFD53F;
    --black-color: #060606;
    --grey-color: #404040;
    --white-color: #ffff;
    --color-frame: #6f664a;
    --border-radius: 43px;
    --font-size: 8px;
    --border-radius-s: 15px;
}
/* Medium */
@font-face {
    font-family: 'Gilroy Medium';
    src: url("../assets/fonts/gilroy-medium.ttf");
}
/* Regular */
@font-face {
    font-family: 'Gilroy Regular';
    src: url("../assets/fonts/Gilroy-Regular.ttf");
}
/* Semibold */
@font-face {
    font-family: 'Gilroy Semibold';
    src: url("../assets/fonts/gilroy-semibold.ttf");
}
/* Thin */
@font-face {
    font-family: 'Gilroy Thin';
    src: url("../assets/fonts/Gilroy-Thin.ttf");
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Gilroy Medium', sans-serif;
    background: var(--black-color);
}
@media (max-width: 600px) {
    body, html {
        overflow-x: hidden;
    }
}
a {
    text-decoration: none;
    cursor: pointer;
}
button {
    outline: none;
    border: 0;
    cursor: pointer;
}
li {
    list-style: none;
}
.container {
    max-width: 1722px;
    width: 100%;
    margin: 0 auto;
}
/* Main Block */
.train__main {
    background: url("../assets/train_main.png") no-repeat center;
    background-size: cover;
    width: 100%;
    height: 712px;
    position: relative;
    padding: 25px;
}
.train__gradient {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 98.67%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.logo {
    display: flex;
    justify-content: center;
    position: relative;
}
.title {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: center;
    font-family: 'Gilroy Medium', sans-serif;
    position: relative;
}
.train__main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.title h1 {
    font-weight: 600;
    font-size: calc(32px + 27 * (100vw / 1926));
}
.link__app {
    padding: 15px 25px;
    border-radius: 30px;
    background: var(--yellow-color);
    font-family: 'Gilroy Semibold', sans-serif;
    color: var(--black-color);
    font-size: 18px;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.3s ease-in-out;
}
.link__app:hover {
    background: var(--grey-color);
    color: var(--white-color);
}
@media (max-width: 685px) {
    .link__app {
        font-size: 14px;
    }
}
@media (max-width: 500px) {
    .train__main {
        background: url("../assets/train_main_mobile.png") no-repeat top;
        background-size: cover;
        height: 515px;
    }
    .train__gradient {
        background: radial-gradient(100% 100% at 50% 0%, rgba(5, 5, 5, 0.45) 0%, rgba(5, 5, 5, 0.315) 100%);
        mix-blend-mode: multiply;
    }
    .logo {
        justify-content: flex-start;
    }
    .train__main-wrapper {
        align-items: flex-start;
        margin-top: 50px;
    }
    .title {
        align-items: start;
    }
}
@media (max-width: 380px) {
    .link__app {
        padding: 10px 20px;
        font-size: 11px;
    }
}
/* Train Order */
.train__order {
    padding: 50px 50px 200px;
    background: #ffffff;
}
.train__order-title {
    font-size: calc(22px + 20 * (100vw / 1926));
    font-weight: 400;
    text-align: center;
    margin-bottom: 25px;
}
.train__order-wrapper {
    display: flex;
    justify-content: center;
    gap: 25px;
    background: #ffffff;
}
.train__order-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 387px;
}
.train__order-item img {
    width: 75%;
}
.train__order-item:nth-child(even) {
    position: relative;
    top: 150px;
}
.train__order-item h3 {
    font-weight: 700;
    font-size: 118px;
    color: var(--yellow-color);
}
.train__order-item span {
    width: 30px;
    height: 30px;
    background: var(--yellow-color);
    border-radius: 50%;
}
.train__order-item p {
    font-weight: 400;
    font-size: calc(17px + 15 * (100vw / 1926));
    color: var(--black-color);
    text-align: center;
}
@media (max-width: 1560px) {
    .train__order-wrapper {
        flex-wrap: wrap;
    }
    .train__order-item:nth-child(even) {
        top: 0;
    }
}
@media (max-width: 500px) {
    .train__order {
        padding: 50px 50px 0;
    }
    .train__order-wrapper {
        padding: 50px 0px;
    }
    .train__order-title {
        margin-bottom: 0;
    }
    .train__order-item h3 {
        order: 1;
        font-weight: 700;
        font-size: 64px;
    }
    .train__order-item p {
        order: 2;
        font-weight: 400;
        font-size: 17px;
    }
    .train__order-item img {
        order: 3;
    }
    .train__order-item span {
        display: none;
    }
}
/* Partners Block */
.partners {
    display: flex;
    justify-content: space-between;
    padding: 40px 40px 0;
    height: 810px;
    gap: 65px;
    color: #ffffff;
}
.partners__block {
    background: url("../assets/phone.png") no-repeat center bottom;
    background-size: cover;
    height: 921px;
    width: 100%;
    display: block;
    position: relative;
    top: -150px;
}
@media (max-width: 1600px) {
    .partners {
        height: 640px;
    }
    .partners__block {
        height: 750px;
    }
}
@media (max-width: 1320px) {
    .partners {
        height: 540px;
    }
    .partners__block {
        height: 650px;
    }
}
@media (max-width: 1250px) {
    .partners {
        height: auto;
        flex-direction: column;
        padding: 40px 25px 0;
        align-items: center;
    }
    .partners__block {
        top: 0;
        height: 550px;
        background-size: contain;
        order: 2;
        width: 600px;
    }
}
.item:nth-child(1) {
    display: inline-block;
    background: url("../assets/вкусвилл.png") no-repeat;
    background-size: contain;
    width: 154px;
    height: 154px;
    position: absolute;
    left: 7%;
    top: 23.5%;
}
.item:nth-child(2) {
    display: inline-block;
    background: url("../assets/farfor.png") no-repeat;
    background-size: contain;
    width: 244px;
    height: 244px;
    position: absolute;
    left: 73%;
    top: 6%;
}
.item:nth-child(3) {
    display: inline-block;
    background: url("../assets/папа_джонс.png") no-repeat;
    background-size: contain;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 57%;
    left: 0;
}
.item:nth-child(4) {
    display: inline-block;
    background: url("../assets/муму.png") no-repeat;
    background-size: contain;
    width: 220px;
    height: 220px;
    position: absolute;
    left: 70%;
    top: 45%;
}
@media (max-width: 1320px) {
    .item:nth-child(1) {
        height: 120px;
    }
    .item:nth-child(2) {
        height: 180px;
    }
    .item:nth-child(3) {
        height: 140px;
    }
    .item:nth-child(4) {
        height: 150px;
    }
}
@media (max-width: 800px) {
    .item:nth-child(2) {
        left: 65%;
    }
}
@media (max-width: 750px) {
    .item:nth-child(1) {
        width: 81px;
        height: 81px;
        top: 36%;
        left: 10%;
    }
    .item:nth-child(2) {
        width: 121px;
        height: 121px;
        left: 68%;
        top: 18%;
    }
    .item:nth-child(3) {
        width: 101px;
        height: 101px;
        left: 5%;
        top: 68%;
    }
    .item:nth-child(4) {
        width: 110px;
        height: 110px;
        left: 65%;
        top: 57%;
    }
    .partners__block {
        width: 480px;
        height: 470px;
    }
    .partners {
        gap: 30px;
    }
}
.partners__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Gilroy Medium', sans-serif;
    margin-left: 80px;
}
.partners__text h2 {
    font-style: normal;
    font-weight: 600;
    font-size: calc(23px + 47 * (100vw / 1926));
    margin-top: 134px;
}
.partners__text h3, h4 {
    font-weight: 400;
    font-size: calc(13px + 16 * (100vw / 1926));
    margin-top: 25px;
}
.partners__text a {
    font-weight: 500;
    font-size: calc(12px + 7 * (100vw / 1926));
    color: var(--yellow-color);
    margin-top: 10px;
}
@media (max-width: 1320px) {
    .partners__text h2 {
        margin-top: 55px;
    }
}
@media (max-width: 1250px) {
    .partners__text {
        align-items: center;
        margin-left: 0;
    }
    .partners__text h2 {
        margin-top: 25px;
        text-align: center;
    }
    .partners__text h3, h4 {
        text-align: center;
        width: 480px;
    }
}
@media (max-width: 550px) {
    .partners__text h2 {
        font-size: calc(23px + 78 * (100vw / 1926));
    }
    .partners__text h3, h4 {
        width: 335px;
        margin-top: 9px;
    }
    .partners__block {
        width: 360px;
        height: 377px;
        background-size: cover;
    }
    .item:nth-child(1) {
        width: 67px;
        height: 81px;
        top: 36%;
        left: 6%;
    }
    .item:nth-child(2) {
        width: 102px;
        left: 72%;
    }
    .item:nth-child(3) {
        width: 85px;
        left: 0;
        top: 70%;
    }
    .item:nth-child(4) {
        width: 94px;
        left: 68%;
        top: 58%;
    }
}
@media (max-width: 380px) {
    .partners__text h3, h4 {
        width: 300px;
        margin-top: 9px;
    }
    .item:nth-child(2) {
        left: 65%;
    }
    .item:nth-child(3) {
        left: 5%;
    }
}
/* Form */
.form {
    background: #ffffff;
    padding: 125px;
}
.form__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.form__text h2 {
    font-weight: 600;
    font-size: calc(39px + 31 * (100vw / 1926));
}
.form__text p {
    font-weight: 400;
    font-size: calc(17px + 15 * (100vw / 1926));
    margin-top: 20px;
}
.form form {
    display: flex;
    flex-direction: column;
    gap: 76px;
    width: 660px;
}
.form form input {
    border: 0;
    outline: none;
    text-align: center;
    border-bottom: 2px solid black;
    font-size: calc(24px + 12 * (100vw / 1926));
    font-weight: 400;
    padding: 0 0 18px;
}
.form form input::placeholder {
    color: var(--black-color);
}
.form__btn {
    padding: 34px;
    font-size: calc(24px + 12 * (100vw / 1926));
    background: var(--black-color);
    color: #ffffff;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}
.form__btn:hover {
    background: var(--yellow-color);
    color: var(--black-color);
}
@media (max-width: 1050px) {
    .form__wrapper {
        flex-direction: column;
    }
    .form__text {
        text-align: center;
    }
    .form form {
        width: 356px;
    }
}
@media (max-width: 420px) {
    .form {
        padding: 40px 0;
    }
}
/* Footer */
footer {
    background: var(--black-color);
    padding-top: 30px;
    background-image: url("../assets/footer-img.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
}
.footer__block {
    margin: 0 40px;
    padding: 58px 0 37px;
}
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Gilroy Regular';
}
.footer_shadow {
    display: none;
}
.footer p {
    font-weight: 400;
    font-size: calc(13px + 8 * (100vw / 1926));
    white-space: nowrap;
    color: var(--white-color);
    line-height: 24px;
    letter-spacing: 1.6px;
}
.footer__wrapper {
    display: flex;
    gap: 65px;
    position: relative;
    justify-content: space-between;
}
.footer__socials {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer_menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, 40px);
    gap: 50px;
    column-gap: 75px;
    padding-left: 50px;
}
.footer_menu li:nth-child(12) {
    grid-column: 2;
    grid-row: 5/8;
    align-items: baseline;
}
.footer_menu li:nth-child(1) {
    order: 1;
}
.footer_menu li:nth-child(2) {
    order: 2;
}
.footer_menu li:nth-child(3) {
    order: 3;
}
.footer_menu li:nth-child(4) {
    order: 4;
}
.footer_menu li:nth-child(5) {
    order: 5;
}
.footer_menu li:nth-child(6) {
    order: 8;
}
.footer_menu li:nth-child(7) {
    order: 7;
}
.footer_menu li:nth-child(8) {
    order: 9;
}
.footer_menu li:nth-child(9) {
    order: 10;
}
.footer_menu li:nth-child(10) {
    order: 6;
}
.footer_menu li:nth-child(11) {
    order: 11;
}
.footer_menu li:nth-child(12) {
    order: 12;
}
.footer_menu-item {
    display: flex;
    gap: 36px;
}
.footer_menu-item div {
    display: flex;
    gap: 20px;
    color: var(--white-color);
    align-items: center;
    font-size: 30px;
}
.footer_menu li {
    display: flex;
    align-items: center;
}
.footer_menu li a {
    font-weight: 400;
    font-size: calc(18px + 12 * (100vw / 1926));
    color: #ffffff;
    white-space: nowrap;
    text-align: center;
}
.footer_contacts {
    position: absolute;
    right: 0;
    bottom: -70px;
}
.footer_contacts a {
    color: #ffffff;
    font-weight: 400;
    font-size: calc(15px + 12 * (100vw / 1926));
    white-space: nowrap;
}
.footer_contacts ul {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.contacts {
    display: flex;
    align-items: center;
    gap: 40px;
}
.contacts .contacts_tel {
    font-weight: 400;
    font-size: calc(20px + 12 * (100vw / 1926));
    color: var(--yellow-color);
    white-space: nowrap;
}
.social_contacts {
    display: flex;
    gap: 20px;
}
.social_contacts a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--yellow-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--black-color);
    font-weight: bold;
}
.footer_menu-lastItem p {
    text-align: center;
    font-size: 32px;
    line-height: 36px;
}
@media (max-width: 1640px) {
    .footer_menu {
        padding-left: 30px;
    }
}

@media (max-width: 1050px) {
    .footer__wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer_menu {
        grid-template: 1fr 1fr 1fr / repeat(2, 1fr);
        grid-template-columns: none;
        grid-auto-flow: row;
        align-items: center;
        justify-items: center;
    }
    .footer_contacts {
        position: relative;
        right: 0;
        bottom: 0;
    }
    .footer_contacts ul {
        align-items: center;
    }
    .contacts {
        flex-direction: column;
    }
}
@media (max-width: 550px) {
    footer {
        background-image: url("../assets/footer-img-mobile.png");
        background-repeat: no-repeat;
        background-position: center 1150px;
        position: relative;
        overflow: hidden;
    }
    .footer_shadow {
        display: block;
        position: absolute;
        bottom: -35px;
        left: -18%;
        width: 150%;
        height: 245px;
        filter: blur(36px);
        background: #484746;
    }
    .footer__block {
        margin: 0 15px;
    }
    .footer_logo img {
        width: 128px;
    }
    .footer__wrapper {
        gap: 24px;
    }
    .footer_menu {
        gap: 26px;
    }
    .footer_menu-item {
        gap: 15px;
    }
    .footer_contacts ul {
        gap: 25px;
    }
    .social_contacts {
        gap: 14px;
    }
    .footer p {
        margin-top: 15px;
    }
    .footer_menu li:nth-child(11) {
        order: 12 !important;
    }
    .footer_menu li:nth-child(12) {
        order: 11 !important;
    }
    .footer_menu-lastItem {
        margin-right: 125px;
    }
    .footer_menu-lastItem img {
        height: 150px;
    }
}
@media (max-width: 1480px) {
    .footer__wrapper {
        gap: 20px;
    }
}
@media (max-width: 1350px) {
    .footer_menu {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        padding-left: 0;
    }
    .footer__wrapper {
        gap: 40px;
    }
    .footer_menu li:nth-child(1) {
        order: 1;
    }
    .footer_menu li:nth-child(2) {
        order: 10;
    }
    .footer_menu li:nth-child(3) {
        order: 2;
    }
    .footer_menu li:nth-child(4) {
        order: 9;
    }
    .footer_menu li:nth-child(5) {
        order: 3;
    }
    .footer_menu li:nth-child(6) {
        order: 10;
    }
    .footer_menu li:nth-child(7) {
        order: 4;
    }
    .footer_menu li:nth-child(8) {
        order: 5;
    }
    .footer_menu li:nth-child(9) {
        order: 6;
    }
    .footer_menu li:nth-child(10) {
        order: 8;
    }
    .footer_menu li:nth-child(11) {
        order: 11;
    }
    .footer_menu li:nth-child(12) {
        order: 12;
    }
    .footer p {
        margin-top: 30px;
    }
}
@media (max-width: 800px) {
    .footer_menu-lastItem p {
        font-size: 20px;
        line-height: 24px;
    }
    .footer p {
        margin-top: 20px;
        z-index: 2;
    }
    .item-logo {
        width: 120px;
    }
    .footer_menu-item span {
        font-size: 20px;
    }
    .footer_menu li:nth-child(10) {
        margin: 0;
        padding: 0 10px;
    }
    .footer__socials {
        align-items: center;
    }
    .footer_socials a {
        text-decoration: none;
        cursor: pointer;
        display: flex;
        justify-content: center;
    }
}
@media (max-width: 395px) {
    footer {
        background-position: center 1170px;
    }
    .footer_menu {
        display: flex;
        flex-direction: column;
        column-gap: 130px;
        margin-top: 30px;
    }

    .footer_menu li a {
        font-size: 18px;
        font-weight: 400;
        line-height: 19.86px;
        text-align: left;
    }
    .footer p {
        font-size: 16px;
        letter-spacing: 0;
    }
    .footer_menu-item {
        gap: 8px;
    }
    .item-logo {
        width: 105px;
    }
    .footer_menu li:nth-child(10) {
        margin: 0;
        padding: 0 10px;
    }
}
@media (max-width: 360px) {
    footer {
        background-position: center 1170px;
    }
}