:root {
    --tekst---belyy: #ffffff;
    --tekst-zagolovok: #201d26;
    --primary-blue-10: #3773ea;
    --t3eio: 0.3s ease-in-out;
}

body {
    background-color: #ffffff;
}

.wrapper {
    position: relative;
}

.main-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-height: 2100px;
    background-image: url("../img/main-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -1;
}

/* ========================== ГЛАВНЫЙ БЛОК ================================= */

.section-main {
    padding: 80px 0;
    height: calc(100vh - 213px);
}

.section-main__body {
}

.section-main__title {
    font-weight: 600;
    font-size: 64px;
    line-height: 1;
    letter-spacing: -0.01em;
    text-align: center;
    color: #20252c;
    margin: 0 auto;
    max-width: 970px;
    width: 100%;
}

.section-main__about {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto 0 auto;
    max-width: 500px;
    width: 100%;
    padding: 0 40px;
}

.section-main__about::before,
.section-main__about::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 36px;
    height: 64px;
    background-image: url("../img/icons/leaf.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 36px 64px;
}

.section-main__about::before {
    left: 0;
}

.section-main__about::after {
    right: 0;
    transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -moz-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
}

.section-main__about p {
    font-weight: 500;
    font-size: 22px;
    line-height: 1.18182;
    letter-spacing: -0.01em;
    text-align: center;
    color: #20252c;
    max-width: 400px;
    width: 100%;
}


/* ========================= /ГЛАВНЫЙ БЛОК ================================= */

/* ============================= РЕЙТИНГ =================================== */

.section-rating {
}

.section-rating__title {
    font-weight: 500;
    font-size: 40px;
    line-height: 1.2;
    color: var(--tekst-zagolovok);
    margin: 0 0 50px 0;
}

.section-rating__body {
}

.section-rating__header {
}

.section-rating__buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-rating__buttons .section-rating__button span {
    display: none;
}

.section-rating__button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #eee;
    border-radius: 56px;
    padding: 16px 20px;
    background-color: var(--tekst---belyy);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.22222;
    color: var(--tekst-zagolovok);
    transition: background-color var(--t3eio), color var(--t3eio),
    border-color var(--t3eio);
    -webkit-transition: background-color var(--t3eio), color var(--t3eio),
    border-color var(--t3eio);
    -moz-transition: background-color var(--t3eio), color var(--t3eio),
    border-color var(--t3eio);
    -ms-transition: background-color var(--t3eio), color var(--t3eio),
    border-color var(--t3eio);
    -o-transition: background-color var(--t3eio), color var(--t3eio),
    border-color var(--t3eio);
}

.section-rating__button:hover,
.section-rating__button.active {
    color: var(--tekst---belyy);
    border-color: var(--primary-blue-10);
    background-color: var(--primary-blue-10);
}

.section-rating__button.active {
    pointer-events: none;
    user-select: none;
}

.section-rating__content {
    margin: 30px 0 0 0;
}

.section-rating__list {
    display: flex;
    pointer-events: all;
    margin: 0;
    flex-direction: column;
}

@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);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }
}

.section-rating__item {
    margin: 0;
    padding: 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-rating__item:not(:last-child) {
    border-bottom: 1px solid #e1e5eb;
}

.section-rating__item-icon {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-rating__item-icon svg {
    max-width: 40px;
    max-height: 40px;
    width: 100%;
    height: 100%;
}

.section-rating__item-icon.gold svg {
    fill: #fdce01;
}

.section-rating__item-icon.silver svg {
    fill: #c6c4c5;
}

.section-rating__item-icon.bronze svg {
    fill: #e2a676;
}

.section-rating__item-icon.pink svg {
    fill: #fb00ff;
}

.section-rating__item-value {
    font-weight: 500;
    font-size: 22px;
    line-height: 1.09091;
    letter-spacing: -0.01em;
    color: var(--tekst-zagolovok);
    white-space: nowrap;
}

.section-rating__item-about {
    flex: 1 1 auto;
    margin: 0 0 0 8px;
}

.section-rating__item-about p {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.22222;
    color: var(--tekst-zagolovok);
}

.section-rating__item-date {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.33333;
    letter-spacing: -0.01em;
    color: #c6ced6;
    margin: 0 0 0 auto;
}

/* ============================ /РЕЙТИНГ =================================== */

/* ========================== УСЛУГИ ================================= */
.partners-services-main {
}

.partners-services-main .partners-page-title {
    text-align: left;
}

.partners-services-main .switcher-buttons {
    margin: 0;
}

/* ========================= /УСЛУГИ ================================= */

/* ======================= КАРТА САЙТА =============================== */

.sitemap {
    padding: 80px 0 200px;
}

@media (max-width: 650px) {
    .sitemap {
        padding: 20px 0 100px;
    }
}

.sitemap__title {
    margin: 0 0 56px 0;
}

@media (max-width: 650px) {
    .sitemap__title {
        margin: 0 0 30px 0;
    }
}

.sitemap__content {
}

.sitemap__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sitemap__list li {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.35;
    color: var(--tekst-zagolovok);
    margin: 0;
    padding: 0;
}

@media (max-width: 650px) {
    .sitemap__list li {
        font-size: 16px;
    }
}

.sitemap__list li a {
    display: inline-block;
}

.sitemap__list li:not(:first-child) {
    padding: 0 0 0 16px;
}

/* ======================= /КАРТА САЙТА =============================== */

/* ========================== FOOTER ================================= */

.footer {
}

.footer--new {
    display: flex;
    flex-direction: column;
    padding: 0 0 50px 0;
    background-color: var(--tekst-zagolovok);
}

.footer__wrap {
}

.footer__top {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__top-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.footer__top-left {
    display: flex;
    flex-direction: column;
}

.footer__top-mail {
    font-weight: 500;
    font-size: 32px;
    line-height: 1.25;
    color: var(--tekst---belyy);
}

.footer__top-phone {
    margin: 8px 0 0 0;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.25;
    color: var(--tekst---belyy);
}

.footer__top-address {
    margin: 20px 0 0 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.5);
    max-width: 310px;
    width: 100%;
}

.footer__top-right {
    margin: 14px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.footer__top-right-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer__top-link {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.22222;
    color: var(--tekst---belyy);
    white-space: nowrap;
}

.footer__middle {
    padding-block: 80px;

    @media (max-width: 900px) {
        padding-block: 40px;
    }
}

.footer__middle-body {
}

.footer__middle-nav {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.footer__middle-nav-category {
}

.footer__middle-nav-header {
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.22222;
    color: rgba(255, 255, 255, 0.5);
    padding: 20px 0;
    pointer-events: none;
}

.footer__middle-nav-header::after {
    display: none;
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto 0;
    background-image: url("../img/icons/arrow.svg");
    background-repeat: no-repeat;
    background-size: 16px 16px;
}

.footer__middle-nav-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.footer__middle-nav-list {
    padding: 0;
    margin: 0;
}

.footer__middle-nav-list li {
    padding: 0;
    margin: 0;
}

.footer__middle-nav-list li:not(:last-child) {
    margin: 0 0 16px 0;
}

.footer__middle-nav-link {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.25;
    color: var(--tekst---belyy);
}

.footer__bottom {
    padding-block: 60px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    @media (max-width: 1250px) {
        padding-block: 10px 30px;
    }
}

.footer__bottom-body {
    display: grid;
    grid-template-columns: 455px 380px 250px;
    gap: 15px;
    justify-content: space-between;

    @media (max-width: 1250px) {
        grid-template-columns: 300px 380px 250px;
    }

    @media (max-width: 1090px) {
        justify-content: flex-start;
        grid-template-columns: 300px 100px;
        grid-template-areas:
            "footer-bottom-policy footer-bottom-map"
            "footer-bottom-about footer-bottom-about";
    }

    @media (max-width: 670px) {
        grid-template-columns: 1fr;
        grid-template-areas:
            "footer-bottom-map"
            "footer-bottom-policy"
            "footer-bottom-about";
    }
}

.footer__bottom-about,
.footer__bottom-policy,
.footer__bottom-map {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.14286;
    color: rgba(255, 255, 255, 0.4);
}

.footer__bottom-about {
    @media (max-width: 1090px) {
        grid-area: footer-bottom-about;
    }
}

.footer__bottom-policy {
    @media (max-width: 1090px) {
        grid-area: footer-bottom-policy;
    }
}

.footer__bottom-map {
    text-align: right;

    @media (max-width: 1090px) {
        grid-area: footer-bottom-map;
        text-align: left;
    }
}

.footer__information {
    padding-block: 40px 40px;
}

.footer__information-body {
    display: grid;
    grid-template-columns: 455px 380px 250px;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;

    @media (max-width: 1250px) {
        grid-template-columns: 300px 380px 250px;
    }

    @media (max-width: 1090px) {
        justify-content: flex-start;
        grid-template-columns: 1fr 1fr 250px;
        grid-template-areas:
            "footer-inform-col1 footer-inform-col2 footer-inform-col3";
    }

    @media (max-width: 900px) {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "footer-inform-col1 footer-inform-col3"
            "footer-inform-col2 footer-inform-col2";
    }

    @media (max-width: 670px) {
        grid-template-columns: 1fr;
        grid-template-areas:
            "footer-inform-col1"
            "footer-inform-col2"
            "footer-inform-col3";
    }
}

.footer__information-col {

    &:nth-child(1) {
        text-align: left;

        @media (max-width: 1090px) {
            grid-area: footer-inform-col1;
        }
    }

    &:nth-child(2) {
        text-align: left;
        display: flex;
        flex-direction: column;
        gap: 6px;

        @media (max-width: 1090px) {
            grid-area: footer-inform-col2;
        }
    }

    &:nth-child(3) {
        text-align: right;

        @media (max-width: 1090px) {
            grid-area: footer-inform-col3;
        }

        @media (max-width: 670px) {
            text-align: left;
        }
    }

    p {
        font-weight: 400;
        font-size: 14px;
        line-height: 1.42857;
        color: rgba(255, 255, 255, 0.5);
        margin: 0;
    }

    a {
        font-weight: 400;
        font-size: 14px;
        line-height: 1.42857;
        color: rgba(255, 255, 255, 0.5);
    }

}

.footer__information-collapse {
}

.footer__collapse {
    display: flex;
    flex-direction: column;
    gap: 7px;

    .footer__collapse-item {


        &.active {

            .footer__collapse-label-icon {
                transform: rotate(180deg);
            }

            .footer__collapse-data {
                opacity: 1;
                visibility: visible;
                pointer-events: all;
            }
        }

        &:hover {

            @media (min-width: 768px) {
                .footer__collapse-label-icon {
                    transform: rotate(180deg);
                }
            }
        }
    }

    .footer__collapse-label {
        cursor: pointer;
        position: relative;
        display: inline-block;
        font-weight: 400;
        font-size: 14px;
        line-height: 1.14286;
        color: rgba(255, 255, 255, 0.4);
        padding-block: 5px;

        @media (max-width: 670px) {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 30px;
        }
    }

    .footer__collapse-label-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-size: 10px 10px;
        width: 10px;
        height: 10px;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='10' height='7' viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 1L5 5L9 1' stroke='white' stroke-opacity='0.4' stroke-width='1.5' /%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: center;
        margin-left: 5px;
        transition: transform .3s ease-in-out;
    }

    .footer__collapse-data {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height .3s ease-in-out, opacity .3s ease-in-out, visibility .3s ease-in-out;
    }

    .footer__collapse-content {

        ul {
            padding-top: 5px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 0;


            li {
                padding-left: 0;
                margin-bottom: 0;
                font-weight: 400;
                font-size: 14px;
                line-height: 1.14286;
                color: rgba(255, 255, 255, 0.4);

            }
        }
    }
}

/* ========================= /FOOTER ================================= */

@media (max-width: 1250px) {
    .section-main {
        height: calc(100vh - 155px);
    }
}

@media (max-width: 1200px) {
    .footer__middle-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .footer__middle-nav-category {
        flex: 0 1 32%;
    }

    .footer__top-right {
        margin: 0;
        flex-direction: row;
        gap: 30px;
    }

    .footer__top-right-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .footer__top-body {
        flex-direction: column;
        gap: 48px;
    }

    .footer__top-right {
        width: 100%;
    }

    .footer__top-right-row {
        flex: 0 1 48%;
    }

    .footer__middle-nav-category {
        flex: 0 1 48%;
    }
}

@media (max-width: 768px) {
    .section-main__title {
        font-size: 32px;
    }

    .section-rating__title {
        font-size: 30px;
    }

    .section-main__about p,
    .section-rating__button,
    .section-rating__item-value,
    .section-rating__item-about p {
        font-size: 16px;
    }

    .section-rating__item-date {
        font-size: 14px;
    }
}

@media (max-width: 650px) {
    .section-main {
        height: auto;
    }
}

@media (max-width: 564px) {
    .mobile-hide-block {
        display: none;
    }

    .section-rating__item-icon {
        flex: 0 0 24px;
    }

    .section-rating__item-icon svg {
        max-width: 24px;
        max-height: 24px;
    }

    .section-rating__item {
        flex-wrap: wrap;
        gap: 8px;
    }

    .section-rating__buttons .section-rating__button {
        flex: 1;
    }

    .section-rating__buttons .section-rating__button span {
        display: block;
    }

    .section-rating__item-date {
        flex: 1 1 50%;
        text-align: right;
        margin: 0;
    }

    .section-rating__item-about {
        margin: 0 0 0 32px;
        order: 4;
    }

    .footer__top-mail,
    .footer__top-phone {
        font-size: 30px;
    }

    .footer__top-address {
        margin: 16px 0 0 0;
    }

    .footer__top {
        padding: 80px 0 48px;
    }

    .footer__top-right {
        flex-direction: column;
        gap: 24px;
    }

    .footer__middle {
        padding: 24px 0 48px;
    }

    .footer__middle-nav-category {
        flex: 1 1 100%;
    }

    .footer__middle-nav-header {
        pointer-events: all;
    }

    .footer__middle-nav-header::after {
        display: block;
    }

    .footer__bottom-body {
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: flex-start;
    }
}
