: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 Regular', sans-serif;
}
@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: 1320px;
    width: 100%;
    margin: 0 auto;
}
/* Partnership */
.partnership__main {
    padding: 25px;
}
.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.title {
    align-self: flex-start;
    margin: 50px 0;
    font-size: calc(12px + 18 * (100vw / 1926));
    font-weight: 600;
}
.partnership__desc p {
    margin-top: 15px;
    font-weight: 400;
    font-size: calc(12px + 8 * (100vw / 1926));
    letter-spacing: 1px;
}
.partnership__desc p:nth-child(1) {
    margin-top: 0;
}
@media (max-width: 768px){
    .wrapper {
        text-align: center;
    }
    .title {
        align-self: center;
    }
}
@media (max-width: 500px) {
    .logo {
        align-self: flex-start;
    }
}
/* Advantages */
.partnership__advantages {
    margin-top: 50px;
}
.partnership__advantages-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.connect {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 120px;
}
.connect__logo {
    width: 210px;
}
.connect__form {
    max-width: 358px;
    width: 100%;
}
.connect__form h2 {
    font-size: calc(14px + 12 * (100vw / 1926));
}
.connect__form button {
    width: 100%;
    margin-top: 30px;
    padding: 15px;
    font-size: 18px;
    background: var(--black-color);
    color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}
.connect__form button:hover {
    background: var(--yellow-color);
    color: var(--black-color);
}
@media (max-width: 768px) {
    .connect {
        gap: 20px;
    }
    .connect__logo {
        width: 94px;
    }
    .connect__form button {
        padding: 14px;
        margin-top: 10px;
    }
}
.advantages {
    max-width: 1200px;
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.advantages__title {
    margin-bottom: 45px;
    font-size: calc(12px + 18 * (100vw / 1926));
}
.advantages__desc {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 90px
}
.advantages__desc-item {
    width: 240px;
    text-align: center;
}
.advantages__desc-item h3 {
    font-size: calc(14px + 8 * (100vw / 1926));
    margin-bottom: 15px;
    color: var(--yellow-color);
}
.advantages__desc-item p {
    font-size: calc(10px + 8 * (100vw / 1926));
    font-weight: 400;
}
@media (max-width: 790px) {
    .advantages__desc {
        max-width: 600px;
        width: 100%;
        overflow-y: hidden;
        flex-wrap: nowrap;
        gap: 70px;
        justify-content: stretch;
    }
    .advantages__desc::-webkit-scrollbar {
        width: 0;
    }
    .advantages__desc-item {
        width: 150px;
    }
    .advantages__desc-item p {
        white-space: nowrap;
    }
}
/* Connect Steps */
.connect__steps {
    margin-top: 50px;
}
.connect__steps-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}
.connect__steps-title {
    margin-bottom: 45px;
    font-size: calc(12px + 18 * (100vw / 1926));
}
.steps {
    display: flex;
    gap: 25px;
}
.steps .steps__item {
    max-width: 210px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.steps__item p {
    text-align: center;
    font-size: calc(10px + 8 * (100vw / 1926));
}
.circle {
    display: flex;
    padding-top: 20px;
    gap: 10px;
}
.circle span {
    display: block;
    background: var(--black-color);
    width: 5px;
    height: 5px;
    border-radius: 50%;
}
@media (max-width: 800px) {
    .steps {
        max-width: 600px;
        width: 100%;
        overflow-y: hidden;
    }
    .steps::-webkit-scrollbar {
        width: 0;
    }
    .steps .steps__item p {
        width: 95px;
    }
    .circle {
        gap: 5px;
    }
    .circle span:nth-child(4),
    .circle span:nth-child(5) {
        display: none;
    }
}
/* How Works */
.how__works {
    margin-top: 50px;
}
.how__works-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}
.how__works-title {
    margin-bottom: 45px;
    font-size: calc(12px + 18 * (100vw / 1926));
}
.how__works-steps {
    display: flex;
    gap: 50px;
}
.how__works-steps .steps__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}
.how__works-steps .steps__item p {
    width: 190px;
}
.how__works-steps .steps__item img {
    width: 90px;
    height: 100px;
}
.arrow span {
    display: block;
    width: 25px;
    height: 4px;
    border-radius: 2px;
    background: #EAEAEA;
}
.arrow {
    padding-top: 40px;
}
.arrow span:nth-child(1) {
    transform: rotate(225deg);
}
.arrow span:nth-child(2) {
    transform: rotate(-40deg);
    position: relative;
    top: 11px;
}
@media (max-width: 1240px) {
    .how__works-steps {
        gap: 20px;
    }
}
@media (max-width: 1000px) {
    .how__works-steps {
        max-width: 600px;
        width: 100%;
        overflow-y: hidden;
    }
    .how__works-steps::-webkit-scrollbar {
        width: 0;
    }
}
@media (max-width: 768px) {
    .how__works-steps .steps__item {
        gap: 35px;
    }
    .how__works-steps .steps__item img {
        width: 50px;
        height: 60px;
    }
    .how__works-steps .steps__item p {
        width: 130px;
    }
    .arrow {
        padding-top: 25px;
    }
}
/* Partners */
.partners {
    margin-top: 50px;
}
.partners-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}
.partners-title {
    margin-bottom: 45px;
    font-size: calc(12px + 18 * (100vw / 1926));
}
.partners__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 83px;
}
@media (max-width: 768px) {
    .partners-title {
        text-align: center;
    }
    .partners__items {
        gap: 50px;
        box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.05);
        border-radius: 10px;
        padding: 15px;
    }
    .partners__items img {
        width: 53px;
    }
    .partners__items .wide {
        width: 80px;
    }
    .partners__items img:nth-child(1) {
        order: 1;
    }
    .partners__items img:nth-child(2) {
        order: 2;
    }
    .partners__items img:nth-child(5) {
        order: 3;
    }
    .partners__items img:nth-child(4) {
        order: 4;
    }
    .partners__items img:nth-child(3) {
        order: 5;
    }
    .partners__items img:nth-child(14) {
        order: 6;
    }
    .partners__items img:nth-child(6) {
        order: 7;
    }
    .partners__items img:nth-child(10) {
        order: 8;
    }
    .partners__items img:nth-child(15) {
        order: 9;
    }
    .partners__items img:nth-child(9) {
        order: 10;
    }
    .partners__items img:nth-child(12) {
        order: 11;
    }
    .partners__items img:nth-child(8) {
        order: 12;
    }
    .partners__items img:nth-child(7) {
        order: 13;
    }
    .partners__items img:nth-child(11) {
        order: 14;
    }
    .partners__items img:nth-child(13) {
        order: 15;
    }
}
/* Form */
.partnership__advantages-form {
    margin: 115px 0;
}
.form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 50px;
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
}
.form-wrapper .logo {
    align-self: flex-start;
}
.form-wrapper .logo img {
    width: 153px;
}
.form-wrapper form {
    width: 100%;
    margin-top: 45px;
}
.form__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
}
.form__items label {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #6A6A6A;
}
.form__items input {
    border: 0;
    border-bottom: 2px solid #EAEAEA;
    width: 300px;
    outline: none;
    padding: 5px 0;
    font-size: calc(12px + 7 * (100vw / 1926));
    transition: all 0.3s ease-in-out;
}
.form__items input:focus {
    border-bottom: 2px solid var(--yellow-color);
}
.form__text {
    margin-top: 25px;
}
.form__text p {
    font-size: calc(10px + 5 * (100vw / 1926));
    font-weight: 400;
    margin-top: 20px;
}
.form-wrapper form button {
    float: right;
    margin-top: 25px;
    padding: 12px 24px;
    font-size: 16px;
    background: var(--black-color);
    color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}
.form-wrapper form button:hover {
    background: var(--yellow-color);
    color: black;
}
.form-wrapper h3 {
    margin-top: 45px;
    font-size: calc(14px + 10 * (100vw / 1926));
    font-weight: 600;
}
@media (max-width: 810px) {
    .form-wrapper {
        max-width: 550px;
    }
    .form__items {
        flex-wrap: initial;
        flex-direction: column;
        gap: 25px;
    }
    .form__items input {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .partnership__advantages-form {
        margin: 40px 0;
    }
    .form-wrapper {
        max-width: 335px;
        padding: 0;
        box-shadow: none;
        position: relative;
    }
    .form-wrapper .logo img {
        width: 50px;
    }
    .form-wrapper form {
        margin-top: 18px;
    }
    .form__text p {
        margin-top: 10px;
    }
    .form-wrapper h3 {
        position: absolute;
        bottom: 10px;
        left: 0;
    }
    .form-wrapper form button {
        font-size: 12px;
    }
}
/* 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;
    }
}
