/*------ Для блока block-header --------*/

.site-header {
    --_nav-h: 64px;
    --_top-h: 36px;
    --_drawer-w: min(340px, 90vw);
    --_ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --_t: 0.18s ease;
    --_dark: #212121;
    --_white: #ffffff;
    --_gray-1: #f4f6f9;
    --_gray-2: #e8eaed;
    --_text: #1e2228;
    --_text-2: #5a6170;
    --_text-3: #8f96a3;
    --_brand: var(--color_brand);
    --_brand-dark: color-mix(in srgb, var(--color_brand) 78%, #000);
    --_brand-light: color-mix(in srgb, var(--color_brand) 10%, #fff);

    position: sticky;
    top: 0;
    z-index: 900;
    width: 100%;
}

/* TOPBAR */
.topbar {
    background: var(--_dark);
    height: var(--_top-h);
    display: flex;
    align-items: center;
}

.topbar-inner {
    max-width: 1524px;
    margin: 0 auto;
    /*padding: 0 32px;*/
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
    transition: color var(--_t);
}

.topbar-item:hover {
    color: #fff;
}

.topbar-item svg {
    color: var(--_brand);
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.topbar-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
}

/* NAV BAR */
.nav-bar {
    background: var(--_white);
    border-bottom: 2.5px solid var(--_brand);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.nav-inner {
    max-width: 1524px;
    margin: 0 auto;
    /*padding: 0 32px;*/
    height: var(--_nav-h);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Логотип — 1 раз */
.logo {
    /*display: flex;*/
    align-items: center;
    flex-shrink: 0;
    margin-right: 32px;
}

.logo svg {
    width: 72px;
    height: auto;
    display: block;
}

.logo .text_brand {
    font-size: 16px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.logo .text_sc {
    display: flex;
    font-size: 12px;
    margin-top: 5px;
    line-height: 1;
}

.nav-panel {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

/* Элементы только для дравера */
.drawer-head {
    display: none;
}

.contact-block {
    display: none;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 2px;
    min-width: 0;
}

.nav-links>li {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 13px;
    font-size: 14px;
    font-weight: 500;
    color: var(--_text);
    border-radius: 8px;
    transition: background var(--_t), color var(--_t);
    white-space: nowrap;
    cursor: pointer;
}

.nav-link .chev {
    width: 12px;
    height: 12px;
    color: var(--_text-3);
    transition: transform var(--_t), color var(--_t);
    flex-shrink: 0;
}

.nav-links>li:hover>.nav-link,
.nav-links>li.open>.nav-link {
    background: var(--_brand-light);
    color: var(--_brand);
}

.nav-links>li:hover>.nav-link .chev,
.nav-links>li.open>.nav-link .chev {
    transform: rotate(180deg);
    color: var(--_brand);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--_white);
    border: 1px solid var(--_gray-2);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--_t), transform var(--_t), visibility var(--_t);
    z-index: 100;
}

.nav-links>li:hover .dropdown,
.nav-links>li.open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    font-size: 13.5px;
    color: var(--_text);
    border-radius: 8px;
    transition: background var(--_t), color var(--_t);
}

.dropdown a svg {
    width: 16px;
    height: 16px;
    color: var(--_brand);
    flex-shrink: 0;
}

.dropdown a:hover {
    background: var(--_brand-light);
    color: var(--_brand);
}

.dropdown-sep {
    height: 1px;
    background: var(--_gray-2);
    margin: 4px 8px;
}

.panel-cta {
    flex-shrink: 0;
    margin-left: 16px;
    background: var(--_brand);
    color: #fff;
    padding: 10px 20px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
    transition: background var(--_t), transform var(--_t), box-shadow var(--_t);
}

.panel-cta:hover {
    background: var(--_brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.panel-cta:active {
    transform: none;
    box-shadow: none;
}

/* Icon кнопки — скрыты по умолчанию, показываются на мобайле */
.icon-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    border: 1.5px solid var(--_gray-2);
    color: var(--_brand);
    background: var(--_white);
    transition: background var(--_t), border-color var(--_t);
    flex-shrink: 0;
    cursor: pointer;
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

.icon-btn:hover {
    background: var(--_brand-light);
    border-color: var(--_brand);
}

/* bar-actions — телефон + бургер, только мобайл */
.bar-actions {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 18, 28, 0.42);
    z-index: 910;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1023px) {
    .site-header {
        --_nav-h: 60px;
    }

    .topbar {
        display: none;
    }

    .nav-inner {
        padding: 0 20px;
        gap: 6px;
    }

    .logo {
        margin-right: 0;
    }

    .logo svg {
        width: 60px;
    }

    /* nav-panel → drawer */
    .nav-panel {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: var(--_drawer-w);
        flex-direction: column;
        align-items: stretch;
        background: var(--_white);
        z-index: 920;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.13);
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(100%);
        transition: transform 0.28s var(--_ease);
    }

    .nav-panel.open {
        transform: translateX(0);
    }

    /* Шапка дравера */
    .drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px 14px;
        border-bottom: 1px solid var(--_gray-2);
        flex-shrink: 0;
    }

    .drawer-head-title {
        font-size: 14px;
        font-weight: 600;
        color: var(--_dark);
    }

    .drawer-close-btn {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        border: 1.5px solid var(--_gray-2);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--_text-2);
        background: transparent;
        transition: background var(--_t);
        cursor: pointer;
    }

    .drawer-close-btn svg {
        width: 18px;
        height: 18px;
    }

    .drawer-close-btn:hover {
        background: var(--_gray-1);
    }

    /* Ссылки вертикально */
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        flex: none;
        padding: 8px 0;
    }

    .nav-links>li {
        position: static;
    }

    .nav-link {
        padding: 13px 22px;
        font-size: 15px;
        border-radius: 0;
        justify-content: space-between;
    }

    .nav-link .chev {
        transform: rotate(-90deg) !important;
    }

    .nav-links>li.open>.nav-link .chev {
        transform: rotate(0deg) !important;
    }

    .nav-links>li:hover>.nav-link,
    .nav-links>li.open>.nav-link {
        background: var(--_brand-light);
    }

    /* Dropdown → сабменю */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        border-top: 1px solid var(--_gray-2);
        border-bottom: 1px solid var(--_gray-2);
        background: var(--_gray-1);
        padding: 4px 0;
        display: none;
    }

    .nav-links>li.open .dropdown {
        display: block;
    }

    .dropdown a {
        padding: 11px 22px 11px 36px;
        border-radius: 0;
        font-size: 14px;
    }

    .dropdown a:hover {
        background: var(--_brand-light);
    }

    .dropdown-sep {
        margin: 4px 0;
    }

    /* Разделитель в дравере */
    .nav-divider {
        display: block;
        height: 1px;
        background: var(--_gray-2);
        margin: 6px 16px;
    }

    /* Контакты в низу дравера */
    .contact-block {
        display: block;
        padding: 16px 20px 8px;
        border-top: 1px solid var(--_gray-2);
        margin-top: auto;
        flex-shrink: 0;
    }

    .contact-block-label {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--_text-3);
        margin-bottom: 14px;
    }

    .contact-row {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
    }

    .contact-row svg {
        width: 18px;
        height: 18px;
        color: var(--_brand);
        flex-shrink: 0;
        margin-top: 1px;
    }

    .cr-main {
        font-size: 14px;
        font-weight: 600;
        color: var(--_text);
    }

    .cr-sub {
        font-size: 12px;
        color: var(--_text-3);
        margin-top: 2px;
    }

    /* CTA в дравере — полная ширина */
    .panel-cta {
        display: block;
        margin: 0 20px 24px;
        padding: 13px;
        font-size: 15px;
        text-align: center;
        border-radius: 10px;
        width: calc(100% - 40px);
        flex-shrink: 0;
    }

    /* bar-actions и icon-btn показываются */
    .bar-actions {
        display: flex;
    }

    .icon-btn {
        display: flex;
    }
}

@media (max-width: 639px) {
    .site-header {
        --_nav-h: 56px;
    }

    .nav-inner {
        padding: 0 14px;
        gap: 6px;
    }

    .logo svg {
        width: 52px;
    }
}

@media (min-width: 1024px) {
    .nav-divider {
        display: none;
    }

    .contact-block {
        display: none !important;
    }

    .bar-actions {
        display: none;
    }

    /* CTA инлайн в конце nav-panel */
    .panel-cta {
        margin-left: 16px;
    }
}

/*------ Конец для блока block-header --------*/

/*------ Для блока block-index-category-3 --------*/

/* Стили для сетки карточек */
.box_new-card {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 0;
}

/* Базовый стиль для карточек — мобильная версия: 1 колонка */
.box_new-card .new-card-cat,
.box_new-card .new-card-cat-device {
    flex: 0 0 100%;
    box-sizing: border-box;
}

/* От 768px — две колонки */
@media (min-width: 768px) {

    .box_new-card .new-card-cat,
    .box_new-card .new-card-cat-device {
        flex-basis: 50%;
    }
}

/* От 992px — четыре колонки (исправлено с 25% на 33.333% если нужно 3 колонки) */
@media (min-width: 992px) {

    .box_new-card .new-card-cat,
    .box_new-card .new-card-cat-device {
        flex-basis: 25%;
    }

    .box_new-card .new-card-cat-device {
        flex-basis: 20%;
    }
}

/* Базовые стили карточки */
.new-card-cat,
.new-card-cat-device {
    position: relative;
}

.new-card-cat .text,
.new-card-cat-device .text {
    height: 80px;
}

.new-card-cat .text a,
.new-card-cat-device .text a {
    color: #666;
    font-size: 22px;
    line-height: 120%;
    font-weight: 600;
}

.new-card-cat .text a:hover,
.new-card-cat-device .text a:hover {
    color: var(--color_brand);
}

.bg-card {
    background-color: #f3f3f3;
    padding: 32px 28px;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    height: 286px;
    position: relative;
}

.bg-card:hover {
    border: 1px solid #7f8081;
}

.new-card-cat .content,
.new-card-cat-device .content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 100%;
}

.new-card-cat .content .left,
.new-card-cat-device .content .left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
}

.new-card-cat .content .left .li-div,
.new-card-cat-device .content .left .li-div {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-decoration: underline;
    text-decoration-style: solid;
    position: relative;
}

.new-card-cat .content .left .li-div:hover,
.new-card-cat-device .content .left .li-div:hover {
    text-decoration: none;
    cursor: pointer;
}

.new-card-cat .content .right,
.new-card-cat-device .content .right {
    position: relative;
    max-height: 172px;
    overflow: hidden;
    right: -14px;
}

.new-card-cat .content .right img,
.new-card-cat-device .content .right img {
    width: 170px;
    height: 170px;
    object-fit: contain;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 30px 0 0 0;
}

/* Стили для выпадающего меню */
.card-menu {
    display: none;
    position: absolute;
    top: 100%;
    background-color: white;
    padding: 24px;
    border-radius: 6px;
    z-index: 5;
    box-shadow: 0px 0px 10px 0px #00000033;
    max-height: 300px;
    overflow-y: auto;
}

.card-menu::-webkit-scrollbar {
    width: 4px;
}

.card-menu::-webkit-scrollbar-track {
    background: transparent;
}

.card-menu::-webkit-scrollbar-thumb {
    background-color: var(--color_brand);
    border-radius: 4px;
}

.card-menu::-webkit-scrollbar-thumb:hover {
    background-color: darken(var(--color_brand), 10%);
}

.li-div:hover .card-menu {
    display: block;
}

.poligon {
    position: absolute;
    top: -10px;
    width: 32px;
    height: 32px;
    left: 30px;
}

.card-menu ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.li-line {
    display: flex;
    width: 200px;
    font-family: Roboto;
    font-weight: 400;
    font-size: 18px;
    text-decoration: underline;
    text-decoration-style: solid;
}

.li-line:hover {
    text-decoration: none;
}

.triangle {
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    border-radius: 4px;
    position: absolute;
    top: -14px;
    left: 63px;
}

/* Псевдоэлементы для заголовков */
.title-before-1::before {
    content: "Услуги";
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-decoration: underline;
    text-decoration-style: solid;
    position: relative;
}

.title-before-2::before {
    content: "Модели";
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-decoration: underline;
    text-decoration-style: solid;
    position: relative;
}

/* Медиа-запросы для адаптива */
@media (max-width: 992px) {
    .bg-card {
        padding: 12px;
        height: 190px;
    }

    .new-card-cat .content .right,
    .new-card-cat-device .content .right {
        right: 0px;
        top: 0;
        max-height: 128px;
    }

    .new-card-cat .text,
    .new-card-cat-device .text {
        height: 50px;
    }

    .new-card-cat .text a,
    .new-card-cat-device .text a {
        font-size: 22px;
    }

    .new-card-cat .content .right img,
    .new-card-cat-device .content .right img {
        margin-top: 0;
        width: 100%;
        object-fit: contain;
    }

    .new-card-cat .content .left,
    .new-card-cat-device .content .left {
        padding-top: 16px;
    }

    .new-card-cat .content .left .li-div,
    .new-card-cat-device .content .left .li-div {
        font-size: 16px;
    }
}

/* Стили для консультационного баннера */
:root {
    --cbg: #ff6a00;
    --ctext: #ffffff;
    --caccent: #ffe9bf;
    --cbtn-border: #ffffff;
}

.consult-banner {
    background: var(--color_brand);
    color: var(--ctext);
    padding: 24px 32px;
    border-radius: 16px;
}

.consult-banner__inner {
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.consult-banner__title {
    margin: 0 0 0px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: white;
}

.consult-banner__accent {
    font-style: italic;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    color: var(--caccent);
    white-space: nowrap;
}

.consult-banner__accent i[tooltip] {
    border-bottom: none;
}

.consult-banner__bottom {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

a.consult-banner__phone-number {
    color: white;
    font-size: 22px;
    font-weight: 700;
    transition: all 0.3s;
}

a.consult-banner__phone-number:hover {
    color: #282828;
}

.consult-banner__btn {
    padding: 12px 28px;
    border-radius: 4px;
    border: 2px solid var(--cbtn-border);
    background: transparent;
    color: var(--ctext);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.consult-banner__btn:hover {
    background: #ffffff;
    color: var(--color_brand);
}

.consult-banner__left {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.consult-banner__right {
    flex-shrink: 0;
}

.consult-banner__icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 2px solid #ffe9bf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    position: relative;
}

/* Стили для таблицы услуг */
.service-table {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 20px;
}

.service-table__item {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid #e3e5eb;
    background-color: #ffffff;
    color: #111827;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.service-table__icon {
    font-size: 20px;
    flex-shrink: 0;
}

.service-table__title {
    font-weight: 600;
    font-size: 17px;
}

.service-table__info {
    margin-left: auto;
    font-size: 18px;
    color: #6b7280;
}

.service-table__info--accent {
    color: var(--color_brand);
    font-weight: 500;
}

/* Общие медиа-запросы */
@media (max-width: 1399px) {
    .consult-banner__left {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 1024px) {
    .service-table {
        gap: 12px;
    }

    .service-table__item {
        flex: 1 1 calc(50% - 12px);
        padding: 14px 18px;
    }
}

@media (max-width: 992px) {
    .consult-banner__title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .consult-banner {
        padding: 20px 16px;
    }

    .consult-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .consult-banner__title {
        font-size: 18px;
    }

    .consult-banner__phone-number {
        font-size: 20px;
    }

    .consult-banner__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .consult-banner__btn {
        width: 100%;
        text-align: center;
    }

    .consult-banner__right {
        position: absolute;
        top: 16px;
        right: 16px;
    }

    .consult-banner__phone {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .service-table {
        flex-direction: column;
    }

    .service-table__item {
        flex: 1 1 100%;
        padding: 12px 16px;
    }

    .service-table__title {
        font-size: 15px;
    }

    .service-table__info {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .consult-banner__title {
        font-size: 16px;
    }

    .consult-banner__phone-number {
        font-size: 18px;
    }
}

/*------ Конец для блока block-index-category-3 --------*/

/*------ Блок о выезде ремонта техники на дому --------*/
.kbt-repair {
    padding: 60px 20px;
    font-family: Roboto, sans-serif;
    color: #000;
    margin-top: 100px;
    margin-bottom: 100px;
}

.kbt-repair__inner {
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
}

.kbt-repair__left,
.kbt-repair__right {
    flex: 1 1 0;
}

.kbt-repair__title {
    font-size: 45px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 60px;
}

.kbt-repair__title span {
    color: var(--color_brand);
}

.kbt-repair__bottom {
    display: flex;
    gap: 60px;
}

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

.kbt-repair__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    position: relative;
}

.kbt-repair__number {
    font-size: 56px;
    font-weight: 700;
    color: var(--color_brand);
}

.kbt-repair__text {
    font-size: 16px;
    line-height: 1.4;
    max-width: 277px;
}

.kbt-repair__subtitle {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 24px;
}

.kbt-repair__desc {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    max-width: 520px;
}

/* ====== Адаптив ====== */

/* планшет */
@media (max-width: 992px) {
    .kbt-repair__inner {
        flex-direction: column;
        gap: 24px;
    }

    .kbt-repair__title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .kbt-repair__bottom {
        gap: 40px;
    }

    .kbt-repair__subtitle {
        font-size: 24px;
    }

    .kbt-repair {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

/* мобильный */
@media (max-width: 600px) {
    .kbt-repair {
        padding: 40px 16px;
    }

    .kbt-repair__title {
        font-size: 26px;
    }

    .kbt-repair__bottom {
        flex-direction: column;
        gap: 24px;
    }

    .kbt-repair__icon {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }

    .kbt-repair__number {
        font-size: 40px;
    }

    .kbt-repair__subtitle {
        font-size: 20px;
    }

    .kbt-repair__desc {
        font-size: 14px;
    }
}

.kbt-repair__icon--clock svg,
.svg-map svg {
    fill: var(--color_brand);
}

.svg-map {
    margin-bottom: 20px;
}

.svg-map svg {
    width: 80px;
    height: 80px;
}

@media (max-width: 768px) {
    .svg-map svg {
        width: 50px;
        height: 50px;
    }
}

/*------ Коцнец блока о выезде ремонта техники на дому --------*/

/*------ Блок block-metro --------*/

:where([class^="ri-"])::before {
    content: "\f3c2";
}

.line-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #a0a1a2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    margin: 0 8px 20px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background-color: bisque;
}

.line-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.line-icon.active {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-width: 6px;
}

.station-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95),
            rgba(248, 250, 252, 0.95));
    border-radius: 16px;
    border: 2px solid #e2e8f0;
}

.station-item {
    padding: 12px 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.station-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.metro-container {
    margin: 40px auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    border-radius: 20px;
    /* min-height: 100vh; */
}

.metro-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9),
            rgba(248, 250, 252, 0.8));
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.lines-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95),
            rgba(248, 250, 252, 0.9));
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.line-info {
    display: none;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98),
            rgba(248, 250, 252, 0.95));
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid transparent;
}

.line-info.active {
    display: block;
}

.line-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    padding: 20px;
    border-radius: 16px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background-color: #9e9e9e;
}

.search-container {
    max-width: 600px;
    margin: 0 auto 40px auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 60px;
    border: 3px solid #e2e8f0;
    border-radius: 16px;
    font-size: 18px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 20px;
}

.number-indicator {
    position: absolute;
    top: -15px;
    right: -10px;
    background: white;
    color: #374151;
    border: 3px solid #a0a1a2;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

.icon-metro {
    width: 41px;
    height: 41px;
}

.icon-box-metro {
    background-color: #9e9e9e;
}

/*------ Конец блока block-metro --------*/

.index-single-price {
    padding-top: 40px;
}

/* #btn-show-model-card::after {
    content: "Показать всё";
    font-size: 16px;
} */
/* @media (max-width: 992px) {
} */

/*------ Для блока header-1 --------*/
/*
.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:visible {
    visibility: visible;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1 !important;
}

.group:hover .group-hover\:visible {
    visibility: visible !important;
}

#old_header {
    display: none;
}


.page-index {
    padding-top: 64px;
}

#new_header .logo {
    width: 185px;
}

#new_header .logo img {
    max-height: 55px;
}


main {
    padding-top: 64px;
}

@media (min-width: 1024px) {
    #new_header .header-pc {
        display: block;
    }

    #new_header .header-mob {
        display: none;
    }
}

@media (max-width: 1024px) {
    #new_header .header-pc {
        display: none;
    }

    #new_header .header-mob {
        display: block;
    }

    main {
        padding-top: 60px !important;
    }

    #new_header .logo {
        width: 96px;
    }

    .select-menu-city {
        max-height: 210px;
        overflow-y: auto;
    }
}

#services-submenu {
    max-height: 204px;
    overflow-y: auto;
}

.logo .text_brand {
    font-size: 16px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.logo .text_sc {
    display: flex;
    font-size: 12px;
    margin-top: 5px;
    line-height: 1;
}

#city_box {
    max-height: 200px;
    overflow-y: auto;
}

/*------ Конец для блока header-1 --------*/