/*============================ СТИЛИ С САЙТА (ОНИ УЖЕ ЕСТЬ НА САЙТЕ!) ============================*/
.linksblock__item {
    border-top: 1px solid #e5e5e5;
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
    padding: 20px 70px 24px 0px;
    margin-top: -1px;
    transition: all 400ms ease;
    color: #201d26;
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    -ms-user-select: none;
    user-select: none;
}

.linksblock__item:last-child {
    border-bottom: 1px solid #e5e5e5;
}

.linksblock__descr {
    font-weight: normal;
    font-size: 20px;
    line-height: 24px;
    color: #989898;
    margin-top: 14px;
}

.linksblock__item span {
    position: relative;
    display: block;
    transition: transform 450ms ease;
}

.linksblock__item[href] {
    cursor: pointer;
}

.linksblock__item[href]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 400ms ease;
    transform: translateY(170px) rotate(-15deg);
    opacity: 0;
    background-color: #3773ea;
}

.linksblock__item[href]::after {
    content: "";
    display: block;
    position: absolute;
    right: 20px;
    top: 22px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMjYiIHZpZXdCb3g9IjAgMCAyNiAyNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik0xIDI1TDI1IDFNMjUgMVYxOU0yNiAxTDcgMSIgc3Ryb2tlPSIjMzYzNDNDIiBzdHJva2Utd2lkdGg9IjIiLz4NCjwvc3ZnPg0K);
    transition: all 400ms ease;
}

.linksblock__item[href]:hover {
    z-index: 1;
    color: #fff;
}

.linksblock__item[href]:hover .linksblock__name,
.linksblock__item[href]:hover .linksblock__descr {
    z-index: 1;
    color: #fff;
}

.linksblock__item[href]:hover span {
    transform: translateX(20px);
}

.linksblock__item[href]:hover::before {
    transform: none;
    opacity: 1;
}

.linksblock__item[href]:hover::after {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMjYiIHZpZXdCb3g9IjAgMCAyNiAyNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCgk8cGF0aCBkPSJNMSAyNUwyNSAxTTI1IDFWMTlNMjYgMUw3IDEiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIyIi8+DQo8L3N2Zz4NCg==);
}

.stage-work__items {
    display: flex;
    flex-direction: column;
}

.stage-work__item {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 20px 44px 1fr;
    grid-template-columns: 20px 1fr;
    -ms-grid-rows: max-content 10px max-content;
    grid-template-rows: max-content max-content;
    grid-gap: 10px 44px;
    max-width: 813px;
}

.stage-work__item > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.stage-work__item > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

.stage-work__item > *:nth-child(3) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
}

.stage-work__item > *:nth-child(4) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
}

.stage-work__item:last-child {
    grid-row-gap: 0 !important;
}

.stage-work__item:last-child .stage-work__line {
    opacity: 0;
}

/*.stage-work__item:last-child .stage-work__desc {*/
/*    display: none*/
/*}*/

.stage-work__num {
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 130%;
    text-align: center;
    color: #3773ea;
    padding-top: 3px;
}

.stage-work__title {
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
    color: #242424;
}

.stage-work__desc {
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 145%;
    color: #59575f;
    margin-bottom: 60px;
}

.stage-work__line {
    text-align: center;
    margin-bottom: 10px;
}

.stage-work__progress {
    border-left: 1px solid #e5e5e5;
    height: 100%;
    display: inline-block;
}

.secAdvantages__items {
    display: flex;
    justify-content: space-evenly;
}

.secAdvantages__items > div {
    max-width: 30%;
}

.secAdvantages__item {
    text-align: center;
}

.secAdvantages__item-img {
    width: 97px;
    height: 70px;
}

.secAdvantages .gridblock__row {
    grid-template-columns: 1fr 360px;
    align-items: center;
}

.fly-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 200ms ease;
}

.fly-form3 {
    display: none;
}
.fly-form2 {
    opacity: 0;
}
/*============================ /СТИЛИ С САЙТА (ОНИ УЖЕ ЕСТЬ НА САЙТЕ!) ============================*/
.section__partners-main {
    padding: 0 0 100px 0;
}

.section__partners-main .page__subtitle {
    max-width: 620px;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.33;
}

.section__partners-main .butblue {
    display: block;
}

.section__partners-main-mobile {
    display: none;
    max-width: 382px;
    max-height: 382px;
    margin: 0 auto 20px;
}

.section__partners-main-mobile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partners-page-title {
    color: #201d26;
    text-align: center;
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}
.become-partners {
    padding: 140px 0 100px 0;
}

.become-partners__wrap {
}

.become-partners__title {
}

.become-partners__items {
    margin: 52px 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.become-partners__item {
    padding: 32px;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: #f8f9fb;
}

.become-partners__item-icon {
    margin: 0 0 64px 0;
}

.become-partners__item-text {
    margin: auto 0 0 0;
}

.become-partners__item-icon img {
    width: 32px;
    height: 32px;
}

.become-partners__item-title {
    margin: 0 0 16px 0;
    max-width: 400px;
}

.become-partners__item-description {
    font-weight: 500;
    line-height: 1.22;
}

.how-it-work {
}

.how-it-work__wrap {
}

.how-it-work__title {
}

.how-it-work__items {
    margin: 52px 0 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.how-it-work__item {
    padding: 24px;
    border-radius: 12px;
    background: #f8f9fb;
}

.how-it-work__item-icon {
    margin: 0 0 64px 0;
}

.how-it-work__item-icon img {
    width: 32px;
    height: 32px;
}

.how-it-work__item-title {
    color: #201d26;
    font-weight: 500;
    line-height: 1.22;
}

.awards {
    padding: 100px 0 50px;
}

.awards__wrap {
}

.awards__title {
    margin: 0 auto;
    max-width: 860px;
}

.awards__items {
    margin: 52px 0 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.awards__item {
    padding: 32px 24px;
    border-radius: 12px;
    background: #f8f9fb;
}

.awards__item-percent {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25;
}

.awards__item-text {
    color: #59575f;
    font-weight: 500;
    line-height: 1.22;
}

.awards__item-image {
    max-width: 372px;
    margin: 0 auto;
}

.awards__item-image img {
}

.partners-list {
}

.partners-list__wrap {
}

.partners-list__title {
    margin: 0 0 52px 0;
}

.partners-list__table-body {
    padding: 80px 0;
    border-radius: 12px;
    background: #f8f9fb;
    margin: 0 40px;
}

.partners-list__table {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    border-radius: 12px;
    background: #fff;
    box-shadow:
        0px 12px 27px 0px rgba(182, 179, 188, 0.06),
        0px 50px 50px 0px rgba(182, 179, 188, 0.05),
        0px 112px 67px 0px rgba(182, 179, 188, 0.03),
        0px 200px 80px 0px rgba(182, 179, 188, 0.01),
        0px 312px 87px 0px rgba(182, 179, 188, 0),
        0px 0px 64px 0px rgba(182, 179, 188, 0.02);
    padding: 24px;
    border-spacing: 0;
}

.partners-list__table tr {
    display: grid;
    grid-template-columns: 90px 570px 125px;
    padding: 16px 0;
    gap: 20px;
}

.partners-list__table tbody tr {
    padding: 28px 0;
}

.partners-list__table tbody tr > td:nth-child(1) {
    color: #a6afba;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25;
}

.partners-list__table tbody tr > td:nth-child(2),
.partners-list__table tbody tr > td:nth-child(3) {
    color: #201d26;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.22;
}

.partners-list__table tr:not(:last-child) {
    border-bottom: 2px solid #eee;
}
.partners-list__table thead {
    display: block;
    border-bottom: 2px solid #eee;
}
.partners-list__table thead th {
    text-align: left;
    color: rgba(152, 152, 152, 0.7);
    font-variant-numeric: lining-nums tabular-nums;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.33;
    letter-spacing: 0.48px;
    text-transform: uppercase;
}

.advantages {
}

.advantages__wrap {
}

.advantages__title {
}

.advantages__items {
    margin: 52px 0 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.advantages__item {
    border-radius: 12px;
    background: #f8f9fb;
    padding: 32px;
}

.advantages__item-title {
    color: #201d26;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.16;
    margin: 0 0 16px 0;
}

.advantages__item-text {
    height: 66px;
    margin: 0 0 16px 0;
    font-weight: 500;
}

.advantages__item-image {
    display: flex;
    justify-content: center;
}

.advantages__item-image img {
    max-width: 540px;
    width: 100%;
}

.registration {
}

.registration__wrap {
    border-radius: 12px;
    background: #f8f9fb;
    margin: 0 32px;
    padding: 80px 0;
}

.registration__form-body {
    position: relative;
}

.registration__form {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0px 8px 24px 0px rgba(182, 179, 188, 0.12);
    padding: 48px 40px;
    z-index: 3;
}

.registration__form .form__title {
    color: #201d26;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25;
}

.registration__form .form__input {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    padding: 18px;
    outline: none;
    transition: all 200ms ease;
}

.registration__form button[type="submit"] {
    margin: 20px 0 0 0;
    width: 100%;
    padding: 20px 90px;
}

.form__footer {
    margin: 16px 0 0 0;
    color: #989898;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.23;
}

.form__footer a {
    color: #787878;
}

.registration__form-bg-left,
.registration__form-bg-right {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 560px;
    height: 520px;
    z-index: 0;
    pointer-events: none;
}

.registration__form-bg-left {
    left: 0;
}

.registration__form-bg-right {
    right: 0;
}

.partners-question {
}

.partners-question__wrap {
}

.partners-question__title {
}

.partners-question__items {
    margin: 52px auto 0 auto;
    max-width: 860px;
}

.partners-question .linksblock__item {
    border: none;
    cursor: pointer;
    padding: 24px 50px 24px 0;
}

.partners-question .linksblock__item:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.partners-question .linksblock__item span {
    position: relative;
    display: block;
    transition: transform 450ms ease;
}

.partners-question .linksblock__item::after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    padding: 7px;
    top: 25px;
    width: 22px;
    height: 22px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: 26px;
    background-position: center;
    background-image: url(./images/icons/partners-plus.svg);
    transition: all 400ms ease;
    border-radius: 32px;
    border: 2px solid #eee;
}

.partners-question .linksblock__item::before {
    display: none;
}

.partners-question .linksblock__item::after {
    transform: rotate(180deg);
}

.partners-question .linksblock__item.act::after {
    transform: rotate(0deg);
}

/* .partners-question .linksblock__item.act::before {
    transform: rotate(0deg);
} */

.partners-question .linksblock__item span {
    font-size: 22px;
}

.partners-question .linksblock__item p {
    margin: 18px 0;
    font-size: 20px;
    line-height: 1.33;
    font-weight: 400;
}

.become-partners-form {
}

.become-partners-form__title {
}
.become-partners-form__body {
    padding: 0 110px;
}
.become-partners-form__form {
    max-width: 530px;
    margin: 0 0 0 auto;
}
.become-partners-form__form button[type="submit"] {
    margin: 24px 0 0 0;
    padding: 20px;
    width: 100%;
}

.become-partners-form__form .form__input + .form__input {
    margin-top: 20px;
}

.partners-services {
}
.partners-services__wrap {
}
.partners-services__title {
    margin: 0 0 52px 0;
}

.partners-services .switcher-block {
    margin: 0 auto;
}

.switcher-block {
}
.switcher-header {
    display: flex;
    margin: 0 auto 32px auto;
}
.switcher-buttons {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    margin: 0 auto;
}
.switcher-buttons::-webkit-scrollbar {
    width: 0;
}
.switcher-button {
    cursor: pointer;
    border-radius: 56px;
    border: 2px solid #eee;
    background-color: #fff;
    color: #201d26;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.22;
    /*122.222%*/
    padding: 16px 20px;
    white-space: nowrap;
    transition:
        background-color 0.3s ease-in-out,
        border 0.3s ease-in-out,
        color 0.3s ease-in-out;
    -webkit-transition:
        background-color 0.3s ease-in-out,
        border 0.3s ease-in-out,
        color 0.3s ease-in-out;
    -moz-transition:
        background-color 0.3s ease-in-out,
        border 0.3s ease-in-out,
        color 0.3s ease-in-out;
    -ms-transition:
        background-color 0.3s ease-in-out,
        border 0.3s ease-in-out,
        color 0.3s ease-in-out;
    -o-transition:
        background-color 0.3s ease-in-out,
        border 0.3s ease-in-out,
        color 0.3s ease-in-out;
}
.switcher-button:hover {
    color: #fff;
    background-color: #3773ea;
    border: 2px solid #3773ea;
}
.switcher-button.active {
    color: #fff;
    background-color: #3773ea;
    border: 2px solid #3773ea;
}
.switcher-content {
}
.switcher-content-block {
    display: none;
    pointer-events: none;
    animation: fadeOutFromBlock 0.5s ease-in-out;
}
.switcher-content-block > a {
    text-decoration: none;
}
.switcher-content-block.active {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    animation: fadeInFromNone 0.5s ease-in-out;
    animation-fill-mode: forwards;
    pointer-events: all;
}

@keyframes fadeInFromNone {
    0% {
        opacity: 0;
        transform: translateY(20px);
        -webkit-transform: translateY(20px);
        -moz-transform: translateY(20px);
        -ms-transform: translateY(20px);
        -o-transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutFromBlock {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.service-link {
    border-radius: 12px;
    background: #f8f9fb;
}
.service-link__body {
    padding: 24px 24px 0px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.service-link__title {
    max-width: 260px;
    color: #201d26;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.22;
}
.service-link__images {
    position: relative;
    margin: 12px 0 0 0;
    max-height: 262px;
    height: 262px;
}
.service-link__images img {
    margin: 0 auto;
    max-width: 262px;
    max-height: 262px;
    height: 100%;
    width: 100%;
}

.service-link__images .service-link__images-img:nth-child(1){
    opacity: 1;
    visibility: visible;
}

.service-link__images .service-link__images-img:nth-child(2){
    opacity: 0;
    visibility: hidden;
}

.service-link__images.active .service-link__images-img:nth-child(2){
    opacity: 1;
    visibility: visible;
}

.service-link__images-img:nth-child(1),
.service-link__images-img:nth-child(2) {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity ease-in-out 0.3s, visibility ease-in-out 0.3s;
}

@media (max-width: 1200px) {
    .switcher-content-block.active {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1100px) {
    .partners-list__table tr {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
    .partners-list__table thead tr > th:nth-child(1) {
        display: none;
    }
    .partners-list__table tbody tr > td:nth-child(1) {
        display: none;
    }
}

@media (max-width: 1000px) {
    .how-it-work__items {
        grid-template-columns: repeat(2, 1fr);
    }
    .become-partners-form .gridblock__text {
        padding-right: 0;
    }
    .become-partners-form__title {
        text-align: center !important;
        margin: 0 0 40px 0;
    }
    .become-partners-form__form {
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .advantages__items {
        margin: 40px 0 0 0;
        grid-template-columns: 1fr;
    }
    .advantages__item-text {
        height: auto;
    }
    .switcher-content-block.active {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .section__partners-main-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    .awards__items {
        grid-template-columns: 1fr;
    }
    .become-partners__items {
        grid-template-columns: 1fr;
    }
    .how-it-work__items {
        grid-template-columns: 1fr;
    }
    .partners-list {
        background: #f8f9fb;
        padding: 56px 0;
    }
    .partners-list__table-body {
        padding: 0;
        border-radius: 0;
        margin: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
    }
    .partners-list__table-body .container {
        padding: 0 16px;
    }
    .partners-page-title {
        text-align: left;
        font-size: 30px;
    }
    .partners-list__table tbody tr > td:nth-child(2),
    .partners-list__table tbody tr > td:nth-child(3) {
        font-size: 16px;
    }
    .partners-list__table tr {
        padding: 24px 0;
    }
    .registration__wrap {
        border-radius: 0;
        margin: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
    }
    .registration__form-bg-left,
    .registration__form-bg-right {
        display: none;
    }
    .registration__form {
        padding: 40px 24px;
    }
    .registration__form .form__title {
        font-size: 24px;
        margin: 0 0 40px 0;
    }
    .become-partners-form__body {
        padding: 0;
    }
    .partners-question .linksblock__item span {
        font-size: 20px;
    }
}

@media (max-width: 650px) {
    .become-partners__item-title {
        font-size: 20px;
    }
    .become-partners__item-description {
        font-size: 16px;
    }
    .become-partners__item {
        padding: 24px 20px;
    }
    .how-it-work__item {
        padding: 24px 20px;
    }
}

@media (max-width: 600px) {
    .section__partners-main .butblue {
        margin: 0 auto;
        max-width: 350px;
        width: 100%;
    }
    .switcher-content-block.active {
        display: flex;
        align-items: stretch;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
    }
    .switcher-content-block.active::-webkit-scrollbar {
        width: 0;
        height: 0;
    }
    .switcher-content-block.active > a {
        flex: 0 0 310px;
    }
    .become-partners {
        padding: 100px 0 150px 0;
    }
    .how-it-work {
        padding: 30px 0 100px 0;
    }
    .how-it-work__items {
        margin: 42px 0 0 0;
        gap: 16px;
    }
    .awards__item-percent {
        font-size: 30px;
    }
    .awards__item {
        padding: 24px 20px;
    }
    .partners-list__title {
        text-align: center !important;
    }
    .partners-list {
        margin: 130px 0;
    }
    .advantages__items {
        gap: 16px;
    }
    .registration__wrap {
        margin: 100px 0;
    }
    .switcher-button {
        font-size: 16px;
        padding: 12px 16px;
    }
    .partners-services__title {
        margin: 0 0 42px 0;
    }
    .switcher-header {
        margin: 0 auto 15px auto;
    }
    .become-partners-form {
        padding: 100px 0;
    }
}

@media (max-width: 450px) {
    .partners__page-wrap .container {
        padding: 0 16px;
    }
    .section__partners-main .page__title {
        font-size: 36px;
        line-height: 1.11;
    }
    .section__partners-main .page__subtitle {
        font-size: 18px;
    }
    .partners-question .linksblock__item p {
        font-size: 16px;
    }
}