@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
    --dark-color: 0, 0, 0;
    --gray-color: 243, 243, 243;
    --light-color: 255, 255, 255;
    --primary-color: 0, 191, 0;
    --font-family: "Manrope", sans-serif;
    --anim: 0.4s ease;
}

body {
    font-family: var(--font-family);
    font-size: clamp(0.75rem, 0.631rem + 0.596vw, 1rem);
    color: rgb(var(--dark-color));
}

a, button {
    color: inherit;
}

a {
    transition: color var(--anim);
}

img, svg {
    max-width: 100%;
    height: auto;
}

svg {
    fill: currentColor;
    color: inherit;
}

.primary-color {
    color: rgb(var(--primary-color));
}

.bg-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -1;
}

.bg-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.button {
    background-color: rgb(var(--primary-color));
    color: rgb(var(--light-color));
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgb(var(--primary-color));
    text-transform: uppercase;
    transition: color var(--anim), background-color var(--anim);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.button::before {
    content: '';
    width: 8px;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(var(--light-color), 0.3);
    transform: translateY(-90px) rotate(25deg);
    animation: blinkLight 3s linear infinite;
}

@keyframes blinkLight {
    0% {
        opacity: 0;
        left: 0;
        transform: translateX(-10px) translateY(-90px) rotate(25deg);
    }

    40% {
        opacity: 0;
        transform: translateX(-10px) translateY(-90px) rotate(25deg);
        left: 0;
    }

    41% {
        opacity: 100%;
        left: 0;
        transform: translateX(-10px) translateY(-90px) rotate(25deg);
    }

    59% {
        opacity: 100%;
        left: 100%;
        transform: translateX(100%) translateY(-90px) rotate(25deg);
    }

    60% {
        opacity: 0;
    }

    100% {
        left: 100%;
        opacity: 0;
        transform: translateX(100%) translateY(-90px) rotate(25deg);
    }
}

.button:hover {
    background-color: rgb(var(--primary-color), 0.7);
}

.button--ymaps {
    background-color: transparent;
    border-color: #ff5b4d;
}

.button--ymaps:hover {
    color: rgb(var(--light-color))!important;
    background-color: #ff5b4d;
}

.burger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 36px;
    height: 36px;
    background-color: transparent;
    border: none;
    padding: 0;
}

.burger::after, .burger::before {
    content: '';
}

.burger::after, .burger::before, .burger__line {
    width: 100%;
    height: 3px;
    background-color: rgb(var(--light-color));
}

.title {
    font-size: clamp(1.125rem, 0.68rem + 2.224vw, 2.625rem);
    font-weight: 600;
    margin-bottom: clamp(0.75rem, 0.528rem + 1.112vw, 1.5rem);
}

.content {
    font-size: clamp(0.75rem, 0.602rem + 0.741vw, 1.25rem);
    line-height: 1.55;
    font-weight: 300;
}

.bg-gray {
    background-color: rgb(var(--gray-color));
}

.header {
    color: rgb(var(--light-color));
    background-color: rgb(var(--dark-color));
}

.logo {
    display: flex;
}

.header-phone {
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
}

.header-clock {
    opacity: 0.7;
}

.header-slogan {
    color: rgb(var(--primary-color));
    text-transform: uppercase;
    font-weight: 600;
}

.header-address {
    font-size: 14px;
}

.header-address a {
    text-decoration: none;
}

.header-address a:hover {
    color: rgb(var(--primary-color));
}

.header-phone:hover {
    color: rgb(var(--primary-color));
}

.menu-item__link:hover {
    background-color: rgb(var(--dark-color), 0.1);
}

.search-handler:hover {
    background-color: rgb(var(--dark-color), 0.1);
}

.menu {
    background-color: rgb(var(--primary-color));
    position: sticky;
    top: 0;
    z-index: 500;
}

.menu-list {
    display: flex;
    color: rgb(var(--light-color));
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    position: relative;
    width: 100%;
}

.search-handler {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.5rem, 0.352rem + 0.741vw, 1rem);
    background: none;
    border: none;
    border-left: 1px solid rgb(var(--light-color));
    border-right: 1px solid rgb(var(--light-color));
    color: rgb(var(--light-color));
    transition: background-color var(--anim);
}

.search-handler>svg {
    width: clamp(1.5rem, 1.352rem + 0.741vw, 2rem);
}

.socials {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-item svg path {
    fill: rgb(var(--primary-color));
}

.menu-item--current {
    background-color: rgb(var(--dark-color))
}

.submenu .menu-item--current {
    color: rgb(var(--light-color));
    background-color: rgb(var(--primary-color))
}

.menu-item__link {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 8px;
    padding: 12px;
    text-decoration: none;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    transition: background-color var(--anim)
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none
}

.menu-list>.menu-item>.submenu {
    max-height: calc(100vh - 200px);
    overflow-y: scroll;
    overflow-x: unset
}

.submenu .submenu {
    left: 100%;
    top: 0;
    display: block;
    position: static
}

.submenu-wrapper li.menu-item {
    width: 20%;
}

.submenu-wrapper {
    padding: 0;
    list-style: none;
    margin: 0;
    background-color: rgb(var(--light-color));
    color: rgb(var(--dark-color));
    font-size: 14px;
    gap: 0;
    display: flex
;
    flex-wrap: wrap;
}
.submenu .menu-item__link {
    padding: 12px
}

.menu-item--parent:hover>.submenu {
    display: block
}

.submenu .submenu .submenu-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
    flex-wrap: wrap
}

.submenu .submenu .menu-item__link {
    font-size: 12px
}

.menu-list>.menu-item--parent>.menu-item__link::after {
    background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_107_2)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.87761 14.2216C5.34315 12.6324 2.81088 12.5879 1.22163 14.1224C-0.367632 15.6569 -0.412058 18.1891 1.1224 19.7784L29.1224 48.7784C29.8762 49.5591 30.9148 50 32 50C33.0852 50 34.1238 49.5591 34.8776 48.7784L62.8776 19.7784C64.4121 18.1891 64.3676 15.6569 62.7784 14.1224C61.1891 12.5879 58.6569 12.6324 57.1224 14.2216L32 40.2412L6.87761 14.2216Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_107_2'%3E%3Crect width='64' height='64' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    content: '';
    width: 12px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.submenu-wrapper .menu-item--parent {
    width: 100%;
}

.submenu-accordion__item-content {
    display: none;
    border-left: 1px solid rgb(var(--dark-color),0.1);
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    width: 70%;
    height: auto;
    background-color: rgb(var(--light-color));
}

.submenu-accordion__item-link {
    padding: 12px;
    display: inline-flex;
    text-decoration: none;
}

.submenu-accordion__item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    position: relative;
}

.submenu-accordion__item:hover .submenu-accordion__item-content {
    display: flex;
}

.submenu-accordion__item-content ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.submenu-accordion__item-content ul li a {
    padding: 12px;
    display: inline-flex;
    text-decoration: none;
    height: 100%;
    width: 100%;
    align-items: center;
}

.submenu-accordion__item:not(:last-child) {
    border-bottom: 1px solid rgb(var(--dark-color), 0.1);
}

.submenu-accordion__item--parent > .submenu-accordion__item-link {
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
}

.submenu-accordion__item--parent > .submenu-accordion__item-link::after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2575_243)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.87761 14.2216C5.34315 12.6324 2.81088 12.5879 1.22163 14.1224C-0.367632 15.6569 -0.412058 18.1891 1.1224 19.7784L29.1224 48.7784C29.8762 49.5591 30.9148 50 32 50C33.0852 50 34.1238 49.5591 34.8776 48.7784L62.8776 19.7784C64.4121 18.1891 64.3676 15.6569 62.7784 14.1224C61.1891 12.5879 58.6569 12.6324 57.1224 14.2216L32 40.2412L6.87761 14.2216Z' fill='black'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2575_243'%3E%3Crect width='64' height='64' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 12px;
    height: 12px;
    display: block;
}

.hero-item {
    min-height: 500px;
    /*height: calc(100vh - 163px);*/
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: rgb(var(--light-color));
}

.hero-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(var(--dark-color), 0.7);
}

.hero-item__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 120%;
}

.hero-item__description {
    font-size: clamp(0.875rem, 0.801rem + 0.371vw, 1.125rem);
}

.gallery-item {
    display: flex;
    padding-bottom: 100%;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.gallery-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-item__image {
    width: 100%;
    margin-bottom: 24px;
}

.service-item__image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.service-item__name {
    width: 100%;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 12px;
    text-align: center;
    min-height: 74px;
}

.service-item__price {
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-item__time {
    text-align: center;
    width: 100%;
    margin-bottom: 24px;
}

.service-item__description {
    margin-bottom: 24px;
}

.consultate-block {
    position: relative;
    background-position: center;
    background-size: cover;
    color: rgb(var(--light-color));
}

.consultate-block::before {
    content: '';
    background-color: rgb(var(--dark-color), 0.7);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background-color: rgb(var(--gray-color));
    height: 100%;
    border-radius: 24px;
}

.advantage-item__position {
    background-color: rgb(var(--primary-color));
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    color: rgb(var(--light-color));
}

.advantage-item__caption {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.advantage-item__description {
    line-height: 1.55;
    font-weight: 300;
}

.yandex-link {
    text-decoration: none;
    border-bottom: 2px solid rgb(253, 222, 85);
}

.yandex-link span {
    color: rgb(255, 51, 51);
}

.review-item__content {
    padding: 36px;
    border-radius: 24px;
    background-color: rgb(var(--light-color));
    position: relative;
    margin-bottom: 28px;
    font-weight: 300;
    line-height: 1.55;
}

.review-item__name {
    font-weight: 600;
    padding-left: 36px;
}

.review-item__content::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0H100L0 100V0Z' fill='white'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    top: 100%;
    left: 36px;
    width: 24px;
    height: 24px;
}

.feedback {
    color: rgb(var(--light-color));
}

.feedback::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(var(--dark-color), 0.7);
}

.form-control, .form-control::placeholder {
    color: rgb(var(--light-color));
}

.form-control--dark, .form-control--dark::placeholder {
    color: rgb(var(--dark-color));
}

.footer {
    background-color: rgb(var(--dark-color));
    color: rgb(var(--light-color));
}

.footer a:hover {
    color: rgb(var(--primary-color));
}

.footer-title {
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu__link {
    text-decoration: none;
}

.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 56px;
}

.footer-contact__caption {
    font-weight: 600;
    margin-bottom: 8px;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgb(var(--light-color));
}

.search-handler svg:last-child {
    display: none;
}

.search-wrapper {
    display: none;
}

.search-handler svg {
    width: 24px;
    height: 24px;
}

.search--active .search-handler svg:first-child {
    display: none;
}

.search--active .search-handler svg:last-child {
    display: flex;
}

.search--active .search-wrapper {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 76px);
    height: 100%;
}

.search-form {
    display: flex;
    align-items: center;
    height: 100%;
}

.search-form__submit {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    width: clamp(2rem, 1.285rem + 3.577vw, 3.5rem);
    border: none;
    color: rgb(var(--dark-color));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px clamp(0.5rem, 0.262rem + 1.192vw, 1rem);
}

.search-form__submit svg {
    width: 100%;
    height: 100%;
}

.contacts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.contact-item {
    padding: 24px;
    background-color: rgb(var(--light-color));
    height: 100%;
}

.contact-item__value a {
    text-decoration: none;
}

.contact-item__caption {
    font-weight: 600;
}

.swiper-button-arrow {
    background-color: rgb(var(--dark-color));
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: rgb(var(--light-color));
    opacity: 0;
    transition: opacity var(--anim),visibility var(--anim);
    z-index: 21;
}

.swiper-button-arrow::after {
    font-size: 18px;
    font-weight: 600;
}

.brands-slider:hover .swiper-button-arrow {
    opacity: 1;
    visibility: visible;
}

.iframe-lazy {
    display: block;
    width: 100%;
    position: relative;
    padding-top: 56.25%;
    border-radius: 24px;
    overflow: hidden;
}

.iframe-lazy iframe,
.iframe-lazy object,
.iframe-lazy embed,
.iframe-lazy-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.iframe-lazy-link__button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92px;
    height: 63px;
}

.iframe-lazy-link__button svg {
    width: 100%;
    height: auto;
}

.iframe-lazy-link img {
    object-fit: cover;
}

.grecaptcha-badge {
    display: none!important;
}

.scroll-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    border: none;
    border-radius: 4px;
    background: rgb(var(--primary-color));
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.tpwidget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* overflow: hidden; */
    z-index: 999;
}

.tpwidget__button {
    padding: 12px;
    border: none;
    background: #43d854;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: white;
    position: relative;
}

.tpwidget__button::before,
.tpwidget__button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #43d854;
    transform-origin: center;
    transform-box: fill-box;
    animation: flyBorder1 6s linear infinite;
}

.tpwidget__button::after {
    animation: flyBorder2 3s linear infinite;
    border: 1px solid #43d854;
}

@keyframes flyBorder1 {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0;
        transform: scale(2);
    }

    99% {
        opacity: 0;
    }
}

@keyframes flyBorder2 {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0;
        transform: scale(2);
    }

    99% {
        opacity: 0;
    }
}

.tpwidget__button svg {
    fill: currentColor;
    color: inherit;
    animation: rotateWidgetSvg 3s linear infinite;
}

@keyframes rotateWidgetSvg {

    0%,
    100% {
        transform: scaleX(0) scaleY(0.5);
    }

    50% {
        transform: scaleX(1) scaleY(1)
    }
}

.tpwidget__button-icon--opened {
    display: none;
}

.tpwidget__button--open svg,
.tpwidget__button--open::before,
.tpwidget__button--open::after {
    animation: none;
}

.tpwidget__button--open .tpwidget__button-icon--opened {
    display: block;
    width: 24px;
    height: 24px;
}

.tpwidget__button--open .tpwidget__button-icon--closed {
    display: none;
}

.tpwidget__list {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.tpwidget__list--open {
    display: flex;
}

.tpwidget__list svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    color: white;
}

.tpwidget__list>* {
    width: 64px;
    height: 64px;
    background-color: #43d854;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.hide-text {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.hide-text::after {
    bottom: 0;
    left: 0;
    content: '';
    position: absolute;
    width: 100%;
    height: 100px;
    background: linear-gradient(0deg, #ffffff, transparent);
}

.bg-gray .hide-text::after {
    background: linear-gradient(0deg, rgb(var(--gray-color)), transparent);
}

.hide-text--active {
    height: auto;
}

.hide-text--active::after {
    display: none;
}

.about-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.about-advantage {
    padding: 16px;
    border: 1px solid rgb(0,0,0,0.1);
    text-align: center;
}

.about-advantage__icon {
    margin-bottom: 8px;
}

.quiz-item {
    display: none;
}

.quiz-item--active {
    display: block;
}

.quiz-item__answers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.quiz-item__answer {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 0 auto;
    width: 200px;
}

.quiz-item__answer input {
    display: none;
}

.quiz-item__answer-checkbox {
    display: none;
}

.quiz-item__answer-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    border: 1px solid rgb(0,0,0,0.1);
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
}

.quiz-item__answer input:checked ~ .quiz-item__answer-caption {
    border-color: rgb(var(--primary-color));
}

.quiz-item__button {
    flex: 1 0 auto;
}

.quiz-wrapper .notice {
    width: 100%;
    height: 100%;
    padding: 24px;
    border: 1px solid rgb(var(--primary-color));
    text-align: center;
    border-radius: 8px;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
}

.category-tags__link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid;
    transition: color var(--anim);
}

.category-tags__link:hover {
    color: rgb(var(--primary-color));
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.accordion__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px;
    border: 1px solid rgb(var(--primary-color));
    border-radius: 4px;
    background: none;
}

.accordion__icon {
    rotate: -90deg;
    width: 12px;
    height: 12px;
}

.accordion__caption {
    text-align: start;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.accordion__item--active .accordion__caption {
    -webkit-line-clamp: none;
}

.accordion__descr {
    display: none;
}

.accordion__item--active .accordion__icon {
    rotate: 0deg;
}

.accordion__item--active .accordion__descr {
    display: block;
    padding: 24px;
}

.accordion__descr>*:last-child {
    margin-bottom: 0;
}

.accordion__item--active .accordion__button {
    background-color: rgb(var(--primary-color));
    color: rgb(var(--light-color));
    border-color: rgb(var(--primary-color));
}

.picture-image {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 70%;
}

.picture-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-item .picture-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.article-item__name {
    font-weight: 600;
    text-decoration: none;
}

.article-item {
    text-decoration: none;
}

.tabs__panel {
    display: none;
}

.tabs__panel--active {
    display: block;
}

td, th {
    padding: 12px;
    border: 1px solid lightgray;
}

table {
    width: 100%;
    margin: 24px 0;
}

.tabs__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid lightgray;
    background-color: transparent;
    font-size: 16px;
}

.tabs__nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    gap: 4px;
}

.tabs__nav-btn--active {
    background-color: rgb(var(--primary-color));
    color: rgb(var(--light-color));
    border-color: transparent;
}

.modal-title {
    font-size: 24px;
}

.calculator-items .choices {
    margin-bottom: 0;
}

.calculator-items .choices__inner .choices__item.choices__item--selectable {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.widget-navi {
    position: fixed;
    bottom: 100px;
    left: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.widget-navi img {
    width: 40px;
    height: 40px;
}

.city-item {
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
    font-weight: 600;
    transition: color var(--anim), background-color var(--anim);
}

.city-item:hover {
    background-color: rgb(var(--primary-color));
    color: rgb(var(--light-color));
}

.fast-links {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 100;
}

.fast-link {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 8px;
    border: none;
    background-color: red;
    color: white;
    gap: 0;
    max-width: 90px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    transition: transform var(--anim), background-color var(--anim);
}

.fast-link__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 41px;
    flex: 0 0 auto;
}

.fast-link__icon svg {
    width: 100%;
    height: 100%;
}

.fast-link__caption {
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 8px;
    font-size: 12px;
}

.fast-link:hover {
    background-color: rgb(var(--dark-color));
    transform: translateX(0);
}

@media (min-width: 992px) {
    .services-slider__wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 36px 24px;
    }

    .advantages-slider__wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 12px;
    }

   .gallery-slider__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(17.5rem, -31.247rem + 78.624vw, 23.5rem), 1fr));
    gap: clamp(0.75rem, -1.078rem + 2.948vw, 1.5rem);
}

    .reviews-slider__wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(clamp(23.75rem, -0.623rem + 39.312vw, 33.75rem), 1fr));
        gap: 36px 24px;
    }
}

@media (max-width: 1399px) {
    .submenu {
        width: 1116px;
    }
    
    .menu-item__link {
        font-size: 12px;
    }
}

@media (max-width: 1199px) {
    .submenu {
        width: 936px;
    }
    
    .menu-item__link {
        gap: 4px;
        padding: 8px;
    }
    
    .menu-list>.menu-item--parent>.menu-item__link::after {
        width: 8px;
        height: 8px;
    }
    
    .header-address {
        font-size: 12px;
    }
    
    .header-phone {
        font-size: 16px;
    }
}

.cookie-warning {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    right: auto !important;
    top: auto !important;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 380px !important;
    max-width: calc(100% - 40px);
    padding: 20px;
    box-sizing: border-box;
    background-color: #444444;
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 9999;
}

.cookie-warning--active {
    display: flex !important;
}

.cookie-warning__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: white;
}

.cookie-warning__text a,
.cookie-warning__read {
    color: white !important;
    text-decoration: underline;
}

.cookie-warning__apply {
    padding: 8px 24px;
    border-radius: 8px;
    margin: 15px 0 0;
    background-color: rgb(var(--primary-color));
    color: white;
    border: none;
    cursor: pointer;
}

@media (max-width: 480px) {
    .cookie-warning {
        left: 10px !important;
        bottom: 10px !important;
        width: calc(100% - 20px) !important;
    }
}
   
.header__info_item.rate.yandex {
    padding-left: 30px;
    font-weight: 400;
    text-decoration: none;
    margin-left: 15px;
}

.header__info_item.rate.yandex:before {
    width: 26px;
    background-image: url(/assets/img/yandex.webp)
}
.header__info_item {
    position: relative;
    padding-left: 29px;
    float: left;
    font: 300 14px/1 Roboto,sans-serif;
    color: white;
}

.header__info_item:before {
    display: block;
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 20px;
    height: 20px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain
}
.form-control:focus {
    background: white!important;
}
.button--header {
    padding: 10px 24px;
}
.header-buttons {
    display: flex;
    gap: 8px;
    padding: 4px 0;
}
.button-header--mob {
    /* margin-left: auto; */
    padding: 12px 32px!important;
    /* align-self: center; */
    /* border: 1px solid white; */
    font-size: 12px!important;
}

.hidden {
    display: none !important;
}


a.max__icon svg {
    max-width: 30px;
    max-height: 30px;
    width: 100%;
    height: 100%;
    fill: #fff;
}
a.max__icon svg path {
    fill:#fff;
}
