@font-face {
    font-family: "Onest-Regular";
    font-weight: 400;
    font-display: swap;
    src: local(Onest-Regular),
        url(../fonts/OnestRegular1602-hint.ttf)
}

@font-face {
    font-family: "Onest-Medium";
    font-weight: 500;
    font-display: swap;
    src: local(Onest-Medium), url(../fonts/OnestMedium1602-hint.ttf)
}

@font-face {
    font-family: "Onest-Bold";
    font-weight: 700;
    font-display: swap;
    src: local(Onest-Bold), url(../fonts/OnestBold1602-hint.ttf)
}

body {
    background-color: #F5F5F5;
    color: #171717;
    font-family: "Onest-Regular";
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    row-gap: 48px;
}

.h2__title,
.h3__title {
    font-family: "Onest-Medium";
    font-weight: 500;
}

.h2__title {
    font-size: 26px;
    padding-bottom: 12px;
}

.h3__title {
    font-size: 20px;
}


.btn__main {
    font-family: "Onest-Medium";
    font-weight: 500;
    font-size: 16px;
    border-radius: 50px;
    background-color: #4DD486;
    text-transform: uppercase;
    padding: 12px 24px;
    display: inline-block;
    line-height: normal;
}

.btn__in {
    padding: 12px 37px;
    border-radius: 50px;
    border: 1px solid #B4B5BC;
    color: #B4B5BC;
    font-family: "Onest-Medium";
    font-weight: 500;
    font-size: 16px;
    margin: 0 12px 0 24px;
}

.block-shadow {
    -webkit-box-shadow: 0px 0px 8px 0px rgba(28, 36, 45, 0.12);
    box-shadow: 0px 0px 8px 0px rgba(28, 36, 45, 0.12);
}

.header__logo {
    line-height: normal;
}

.logo__mob {
    display: none;
}

.header {
    background-color: #000000;
}

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__menu-block,
.header__control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.btn-control__block {
    display: flex;
    gap: 12px;
    margin-right: 8px;
}

.header__menu-block {
    margin-right: auto;
    margin-left: 50px;
}

.header__menu {
    display: flex;
    gap: 12px;
}

.header__menu-link {
    color: #B4B5BC;
    font-family: "Onest-Medium";
    font-weight: 500;
    font-size: 12px;
}

.header__menu-link.active {
    color: #2FB668;
}

.burger-menu,
.burger__button-mob,
.btn__link-mob,
.btn-control__block {
    display: none;
}

.burger__button-mob {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* Banner */

.banner {
    max-width: 1200px;
    margin: 20px auto 48px;
    border-radius: 12px;
    overflow: hidden
}

.banner-img__item {
    position: relative;
    padding-bottom: 27%;
    top: 0;
    left: 0;
    display: none;
}

ul.banner-img__list li,
ul.banner-img__list {
    margin-bottom: 0;
    margin-left: 0;
}

.banner-img__list li.active {
    display: block;
}

.banner__text {
    font-family: "Onest-Bold";
    font-weight: 700;
    font-size: 30px;
    color: #FFFFFF;
    margin-bottom: 24px;
    max-width: 600px;
}

.banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner__text-inner {
    position: absolute;
    top: 36px;
    left: 0;
    width: 100%;
    padding: 0 30px;
}

.banner-img img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 320 */
    /* 1080 */
}

/* Banner */

/* Text block */

.text-block__content {
    padding: 0 16px 20px 16px;
    border-radius: 12px;
}

.text-block__content-title {
    padding: 20px 0 12px;
}

.text-block__content p {
    margin: 4px 0;
}

.text-block__content-button {
    font-family: "Onest-Medium";
    font-weight: 500;
    color: #676767;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.text-block__content-hidden {
    display: none;
}

.inline-display {
    display: inline;
}

.toggle-icon {
    transition: transform .3s ease-out;
}

.rotate--90 {
    margin-left: 4px;
    transform: rotate(180deg);
}

/* Text block */

/* Articles block  */

.articles__block {
    border-radius: 12px;
}

.block-gradient {
    background: linear-gradient(to right, rgba(130, 191, 255, 1), rgba(229, 249, 255, 1));
}

.articles__header-wrapper {
    padding: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #141B2E;
    border-radius: 12px;
}

.articles__header-wrapper img {
    transform: rotate(180deg);
}

.articles__header-wrapper img.open {
    transform: rotate(0deg);
}

.articles__items-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease-in-out;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.articles__items-wrapper.show {
    max-height: 1000px;
}

.articles-item {
    display: flex;
    flex: 0 0 50%;
    align-items: center;
    padding: 12px;
    border-radius: 4px;
    transition: all .3s ease-out;
}

.articles-item:hover {
    background: #e9e9e9;
}

.articles-item__img {
    margin-right: 12px;
}

.articles-item-title {
    color: #676767;
}

/* Articles block  */

/* Text noblock  */

.text-noblock__content {
    padding: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
}

.btn__link-content {
    margin: 24px auto 0;
}

/* Text noblock  */

/* Content info  */
.content-info__inner {
    border-radius: 12px;
    background-color: #FFF;
}

.content-info__row {
    display: flex;
    font-family: "Onest-Medium";
    font-weight: 500;
    font-size: 14px;
    border-top: 1px solid #F5F5F5;
    margin: 0 16px;
}

.content-info__row:first-child {
    border-top: none;
}

.content-info__block-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-info__name-title {
    font-family: "Onest-Bold";
    font-weight: 700;
    font-size: 14px;
}

.content-info__name,
.content-info__desc {
    padding: 10px 3px;
    flex: 0 0 50%;
}

.content-info__text {
    padding: 20px 16px;
    font-size: 16px;
}

.content-info__text-list {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.content-info__text-item {
    list-style: auto;
    margin-left: 30px;
}

/* Content info  */

/* FAQ Review*/
.faq-content,
.review-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.faq-item,
.review-item {
    cursor: pointer;
    border-radius: 10px !important;
}

.faq-item-header-wrapper,
.review-item-header-wrapper {
    transition: opacity .3s ease-out;
    padding: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
}

.faq-item-1 {
    background: linear-gradient(to right, rgba(130, 191, 255, 1), rgba(229, 249, 255, 1))
}

.faq-item-2 {
    background: linear-gradient(to right, rgba(255, 177, 149, 1), rgba(255, 243, 241, 1))
}

.faq-item-3 {
    background: linear-gradient(to right, rgba(173, 243, 253, 1), rgba(224, 252, 255, 1))
}

.faq-item-4 {
    background: linear-gradient(to right, rgba(212, 190, 255, 1), rgba(247, 238, 255, 1))
}

.faq-item-5 {
    background: linear-gradient(to right, rgba(126, 251, 119, 1), rgba(235, 255, 229, 1))
}

.faq-item-6 {
    background: linear-gradient(to right, rgba(255, 207, 66, 1), rgba(255, 246, 215, 1))
}

.faq-item__title {
    font-family: "Onest-Medium";
    font-weight: 500;
    font-size: 16px;
}

.faq-item-content,
.review-item-content {
    padding: 12px 16px 16px;
}

.faq-item-content-hidden.open,
.review-item-content-hidden.open {
    display: block;
}

.faq-item-content-hidden,
.review-item-content-hidden {
    display: none;
}

.rotate-180 {
    transform: rotate(180deg);
}

.faq-content {
    row-gap: 12px;
}

.faq-pagination,
.review-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-pagination-prev-button:disabled,
.faq-pagination-next-button:disabled,
.review-pagination-prev-button:disabled,
.review-pagination-next-button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.faq-pagination-prev-button,
.faq-pagination-next-button,
.review-pagination-prev-button,
.review-pagination-next-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #fff;
    -webkit-box-shadow: 0px 0px 10px 2px rgba(103, 103, 103, 0.3);
    -moz-box-shadow: 0px 0px 10px 2px rgba(103, 103, 103, 0.3);
    box-shadow: 0px 0px 10px 2px rgba(103, 103, 103, 0.3);
}

.faq-pagination-prev-button img,
.review-pagination-prev-button img {
    z-index: 2;
    transform: rotate(90deg);
}

.faq-pagination-next-button img,
.review-pagination-next-button img {
    z-index: 2;
    transform: rotate(270deg);
}

.faq-pagination-label,
.review-pagination-label {
    font-family: "Onest-Bold";
    font-weight: 700;
    font-size: 16px;
    width: 90px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0;
}

.block-title__user {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-item__title {
    font-family: "Onest-Bold";
    font-weight: 700;
    font-size: 16px;
}

.review-item__data {
    font-family: "Onest-Regular";
    font-weight: 400;
    font-size: 14px;
}

.review-content {
    row-gap: 8px;
}

.review-item__item {
    padding: 24px 16px;
}

.review-item__top-title,
.review-item__rating-list,
.review-item__block-title {
    display: flex;
}

.review-item__top-title {
    margin-bottom: 16px;
    align-items: center;
    justify-content: space-between;
}

.review-item__block-title {
    gap: 8px;
}

.review-item__btn-more {
    margin-top: 16px;
}

/* FAQ Review*/

/* Footer */
.footer {
    padding: 44px 0;
    background-color: #000000;
}

.footer-first__inner {
    display: flex;
    gap: 80px;
}

.footer-first__items:last-child {
    margin-left: auto;
    margin-right: 69px;
}

.footer__name-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__title {
    font-family: "Onest-Bold";
    font-weight: 700;
    font-size: 12px;
    color: #FFF;
}

.footer__list {
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__link {
    color: #B4B5BC;
    font-family: "Onest-Medium";
    font-weight: 500;
    font-size: 10px;
}

.footer__list-contact .footer__item {
    background-color: #141414;
    width: 180px;
    border-radius: 8px;
}

.footer__list-contact a {
    padding: 8px;
    width: 100%;
}

.footer__list-contact .footer__link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.list-contact__image {
    display: flex;
    background-color: #373737;
    border-radius: 50%;
    width: 28px;
    height: 28px;
}

.list-contact__img {
    margin: auto;
}

.footer__list-subscription {
    display: flex;
    width: 24px;
    height: 24px;
    background-color: #373737;
    border-radius: 6px;
}

.footer__separator {
    padding-top: 24px;
}

.footer-slider__list {
    padding-top: 8px;
    display: flex;
    gap: 8px;
    max-width: 100%;
    overflow: auto;
}

.footer-slider__list::-webkit-scrollbar {
    display: none;
}

.footer-slider__item {
    display: flex;
    background-color: #141414;
    min-width: 160px;
    height: 80px;
    border-radius: 8px;
    padding-top: 6px;

}

.footer-slider__img {
    margin: auto;
}

.footer-fourth {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__lang-text {
    font-family: "Onest-Regular";
    font-weight: 400;
    font-size: 8px;
    color: #FFF;
    margin-right: 6px;
}

.choose-lang {
    position: relative;
    cursor: pointer;
}

.footer-lang .choose-lang-button {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease-out;
    background-color: #141414;
    border-radius: 6px;
    padding: 6px;

}

.footer-lang .choose-lang-list {
    border-radius: 8px;
    width: 232px;
    padding: 16px;
    bottom: 32px;
    right: 6px;
    transform-origin: bottom right;
}

.footer-lang .choose-lang-list {
    position: absolute;
    background-color: #141414;
    visibility: hidden;
    transform: scale(0);
    transition: transform 0.3s ease-out;
    z-index: 1000;
}

.footer-lang .choose-lang-list li {
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.choose-lang-box {
    display: flex;
    gap: 8px;
    width: 100%;
    padding: 9px 16px;
    background-color: #000000;
    align-items: center;
}

.choose-lang__country {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.choose-lang__eng {
    font-family: "Onest-Bold";
    font-weight: 700;
    font-size: 12px;
    color: #FFF;
}

.choose-lang__ru {
    font-family: "Onest-Regular";
    font-weight: 400;
    font-size: 8px;
    color: #FFF;
}

.choose-lang-list.show {
    visibility: visible;
    transform: scale(1);
}

.choose-lang__item {
    margin: 1px 0;
}

.footer-lang.choose-lang__item:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.choose-lang-box.active {
    background-color: #262626;
}

.choose-lang-box.active::after {
    content: '';
    background-image: url(../img/icons/galka_icon.svg);
    width: 24px;
    height: 24px;
    margin-left: auto;
}

.footer__list {
    display: flex;
}

.footer__list.active {
    display: flex;
}

.footer__name-block img {
    display: none;
}

/* Footer */

/* 404 */
.nopage {
    padding: 140px 0;
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 0 auto;
}

.nopage__text-block {
    width: 275px;
}

.nopage__title {
    font-family: "Onest-Medium";
    font-weight: 500;
    font-size: 26px;
}

.nopage__desc {
    font-family: "Onest-Regular";
    font-weight: 400;
    font-size: 14px;
    padding: 16px 0 24px;
}

.nopage__btn {
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid #000000;
}

/* 404 */

@media(max-width:1025px) {
    .banner-img__item {
        padding-bottom: 38%;
    }

    .banner__text {
        font-size: 27px;
    }

    .header__wrapper {
        flex-wrap: wrap;
    }

    .header__logo,
    .header__menu-block {
        padding-left: 8px;
    }

    .logo__desc,
    .btn__link-desk,
    .btn__in,
    .btn__user {
        display: none;
    }

    .logo__mob,
    .btn__link-mob,
    .burger__button-mob {
        display: block;
    }

    .btn-control__block {
        display: flex;
    }

    .header__control {
        margin-left: auto;
        padding-right: 8px;
    }

    .container {
        padding: 0 8px;
    }

    .container__mob {
        padding: 0;
    }

    .header__menu-block {
        order: 8;
        width: 100%;
        background-color: #fff;
        margin: 0;
        -webkit-box-shadow: 0px 0px 8px 0px rgba(28, 36, 45, 0.12);
        box-shadow: 0px 0px 8px 0px rgba(28, 36, 45, 0.12);
    }

    .nav-menu__burger-mob {
        display: flex;
        flex-direction: column;
    }

    .header-lang {
        margin-top: auto;
    }

    .burger-menu {
        max-width: 100%;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        backdrop-filter: blur(10px);
        position: fixed;
        right: 0;
        top: 0;
        bottom: 0;
        left: 100%;
        z-index: 999;
        transition: .5s;
    }

    .burger-menu.active {
        transition: .5s;
        left: 0;
    }

    .nav-menu__burger-mob {
        max-width: 300px;
        width: 100%;
        background: #fff;
        height: 100vh;
        border-radius: 16px 0 0 16px;
        padding: 28px 24px;
    }

    .close-menu-btn {
        margin-left: auto;
    }

    .nav-menu__desc {
        display: flex;
        flex-direction: column;
        row-gap: 16px;
    }

    .nav-menu__name {
        font-family: "Onest-Medium";
        font-weight: 500;
        font-size: 16px;
        color: #4DD486;
        padding-top: 32px;
    }

    .header-lang .choose-lang-list {
        display: none;
        position: absolute;
        flex-direction: column;
        border-radius: 8px;
        width: 200px;
        bottom: 40px;
    }

    .nav-menu__link {
        font-family: "Onest-Bold";
        font-weight: 700;
        font-size: 12px;
    }

    .choose-lang-list.show {
        display: flex;
        flex-direction: column;
    }

    .header-lang .choose-lang-button {
        display: inline-block;
        background: linear-gradient(to right, rgba(130, 191, 255, 1), rgba(229, 249, 255, 1));
        padding: 6px 8px;
        border-radius: 6px;
    }

    .choose-lang-list-2 {
        background-color: #F5F5F5;
        padding: 16px;
    }

    .header-lang .choose-lang-box {
        background-color: #fff;
    }

    .header-lang .choose-lang-box.active {
        background-color: #F5F5F5;
    }

    .header-lang .choose-lang__eng,
    .header-lang .choose-lang__ru {
        color: #000000;
    }

    .nopage {
        flex-direction: column-reverse;
    }

    .nopage__text-block {
        text-align: center;
    }

    .nopage__img {
        width: 100%;
    }
}

@media(max-width:669px) {
    .banner-img__item {
        padding-bottom: 60%;
    }

    .banner__text {
        font-size: 23px;
    }

    .footer-first__inner {
        flex-direction: column;
        gap: 4px;
    }

    .footer__name-block img {
        display: block;
    }

    .footer-first__items {
        border-radius: 8px;
        background-color: #141414;
    }

    .footer__name-block {
        padding: 16px 8px;
    }

    .footer-first__items:last-child {
        margin: 0;
    }

    .footer__list {
        display: none;
        border-top: 1px solid #1C212E;
        padding: 12px 8px 16px 8px;
    }

    .footer__list-contact .footer__item {
        background-color: #262626;
    }

    .header__menu {
        max-width: 500px;
        overflow: auto;
        white-space: nowrap;
    }

    .header__menu::-webkit-scrollbar {
        display: none;
    }

    .banner__text-inner {
        top: 12px;
        padding: 0 18px;
    }
}

@media(max-width:360px) {
    .banner__text {
        font-size: 20px;
        margin: 0 auto 24px;
    }

    .articles__items-wrapper {
        flex-direction: column;
    }
}