/* Убери/закомментируй Google Fonts import, если переходишь полностью на локальные */
/* @import url(...); */

@font-face {
    font-family: "Gilroy";
    src: url("/public/fonts/Gilroy-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("/public/fonts/Gilroy-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("/public/fonts/Gilroy-Heavy.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("/public/fonts/Gilroy-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


:root {
    --bg: #eef3f8;
    --surface: #ffffff;
    --surface-2: #f3f7fc;
    --text: #18212d;
    --muted: #4e5f76;
    --brand: #0b6ea8;
    --brand-2: #0f8f77;
    --brand-3: #e47a23;
    --line: #d3deea;
    --radius: 12px;
}

* { box-sizing: border-box; }

* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

[hidden] { display: none !important; }

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(1000px 400px at 85% -10%, rgba(11, 110, 168, 0.12), transparent 60%),
        radial-gradient(800px 320px at -10% 10%, rgba(15, 143, 119, 0.08), transparent 60%),
        var(--bg);
    font-family: "Gilroy", "Segoe UI", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    overflow-x: clip;
}

html {
    overflow-x: clip;
}

.bg-shape { display: none; }

.container {
    width: min(1220px, 96vw);
    margin: 0 auto;
}

.header,
.footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 30;
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.logo {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.2px;
    line-height: 1.15;
    white-space: nowrap;
}

.logo img {
    display: block;
    width: clamp(190px, 18vw, 280px);
    height: auto;
    max-width: none;
}

.nowrap {
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.site-nav > a,
.site-nav > .mega-menu > summary,
.site-nav > .nav-group > summary {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 6px 9px;
    border-radius: 8px;
    border: 1px solid transparent;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.site-nav > a:hover,
.site-nav > .mega-menu > summary:hover,
.site-nav > .nav-group > summary:hover {
    background: #eef4fb;
    border-color: #d4e1f0;
    text-decoration: none;
}

.phone {
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    margin-left: 8px;
    padding-left: 10px;
    border-left: 1px solid var(--line);
    position: relative;
    z-index: 4;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-weight: 700;
    border-radius: 9px;
    padding: 7px 11px;
    cursor: pointer;
}

.nav-toggle:hover {
    background: #f5f8fc;
}

.nav-group {
    position: relative;
}

.nav-group > summary {
    list-style: none;
    cursor: pointer;
}

.nav-group > summary::-webkit-details-marker {
    display: none;
}

.nav-group-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: auto;
    min-width: 220px;
    max-width: min(320px, calc(100vw - 24px));
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(18, 27, 39, .12);
    padding: 8px;
    z-index: 45;
}

.nav-group[open] .nav-group-panel {
    display: grid;
    gap: 3px;
}

.site-nav > .nav-group:last-child .nav-group-panel {
    left: auto;
    right: 0;
}

.nav-group-panel a {
    color: #1f3043;
    padding: 6px 8px;
    border-radius: 7px;
    line-height: 1.3;
}

.nav-group-panel a:hover {
    background: #f1f6fc;
    text-decoration: none;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover { text-decoration: underline; }

main.container {
    display: grid;
    gap: 18px;
    margin-top: 14px;
}

.hero {
    background:
        linear-gradient(180deg, rgba(11, 110, 168, 0.05), rgba(11, 110, 168, 0.015)),
        var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 28px;
    box-shadow: 0 6px 16px rgba(15, 34, 56, 0.05);
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
    gap: 0;
    align-items: start;
    min-height: 100%;
}

.hero-content {
    min-width: 0;
    padding-right: 14px;
    position: relative;
    z-index: 3;
    max-width: 760px;
}

.hero-visual-mobile {
    display: none;
}

.hero-visual {
    margin: -26px -28px -26px -56px;
    border: 0;
    border-radius: 0 12px 12px 0;
    background: transparent;
    height: 520px;
    min-height: 520px;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
    position: relative;
    align-self: end;
}

.hero-visual::before {
    content: none;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    display: block;
    position: relative;
    z-index: 1;
    transform: translateX(-1px);
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.88) 18%,
        #000 30%,
        #000 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.88) 18%,
        #000 30%,
        #000 100%
    );
}

.hero h1 {
    margin: 0 0 14px;
    line-height: 1.14;
    letter-spacing: -0.35px;
    font-size: clamp(1.85rem, 3vw, 3rem);
    max-width: 19ch;
    text-wrap: balance;
}

.hero-h1-strong {
    font-weight: 900;
}

.hero p {
    margin: 0;
}

.tag {
    display: inline-flex;
    align-items: center;
    margin: 0 0 10px;
    transform: translate(-10px, -8px);
    color: #9f4f16;
    font-size: 0.9rem;
    font-weight: 700;
    background: #fff3e8;
    border: 1px solid #f1cda8;
    border-radius: 999px;
    padding: 5px 10px;
}

.hero-lead {
    margin: 0;
    color: #26384d;
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 66ch;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b6ea8, #0a5f91);
    color: #fff;
    padding: 10px 15px;
    border-radius: 11px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(12, 44, 73, 0.2);
}

.btn-secondary { background: #1e2a39; }

.btn:hover { text-decoration: none; filter: brightness(0.98); }

.btn-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #1d3650;
    padding: 8px 2px;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

.hero-kpi-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 14px 0 2px;
    max-width: 586px;
}

.hero-kpi {
    border: 1px solid #cfe0ef;
    border-radius: 12px;
    background: linear-gradient(180deg, #f9fcff, #ffffff);
    padding: 10px 12px;
    min-width: 0;
    max-width: 190px;
    width: 100%;
}

.hero-kpi strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.2;
    color: #0f2940;
}

.hero-kpi span {
    display: block;
    margin-top: 2px;
    font-size: 0.84rem;
    color: #50667f;
}

.hero-note {
    margin: 0;
    color: #4c6077;
    font-size: 0.9rem;
    line-height: 1.4;
}

.hero-toc {
    margin: 0;
    max-width: 100%;
}

.hero-toc-shell {
    border: 1px solid #cad9e8;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 6px 16px rgba(16, 35, 57, 0.05);
    padding: 14px 16px;
}

.hero-toc-title {
    margin: 0 0 6px;
    color: #3f5771;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-toc-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hero-toc-list a {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    border: 1px solid #cfe0ef;
    background: #f6faff;
    color: #1f3953;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
}

.hero-toc-list a:hover {
    background: #edf5ff;
    border-color: #b8d0e7;
    text-decoration: none;
}

@media (max-width: 1180px) {
    .hero-kpi-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 560px;
    }
}

.search {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
}

.section-search {
    margin: 8px 0 12px;
}

.breadcrumbs-shell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 8px 12px;
    font-size: 0.92rem;
}

.breadcrumbs-item {
    display: inline-flex;
    align-items: baseline;
    min-width: 0;
    max-width: 100%;
}

.breadcrumbs-item:not(:first-child)::before {
    content: "/";
    color: #9aa8bb;
    user-select: none;
    margin-right: 7px;
}

.breadcrumbs-current {
    color: #33475b;
    font-weight: 600;
}

section {
    background: var(--surface);
    border: 1px solid #cad9e8;
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: 0 6px 16px rgba(16, 35, 57, 0.05);
}

section h2 {
    margin: 0 0 12px;
    font-size: clamp(1.32rem, 1.6vw, 1.7rem);
    line-height: 1.25;
    letter-spacing: -0.25px;
    color: #132131;
}

.section-kicker {
    margin: 0 0 8px;
    color: #106ea8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

section h3 {
    margin: 14px 0 9px;
    font-size: 1.05rem;
}

section p { margin: 0 0 10px; color: #45586f; }
section p:last-child { margin-bottom: 0; }

.service-summary {
    margin-top: 14px;
}

.section-lead {
    max-width: 860px;
    color: #2a3d54;
    font-size: 1.04rem;
}

section > p,
section > ul,
section > ol,
section > .steps {
    max-width: 760px;
}

.hero p {
    max-width: 760px;
}

.hero-content p {
    max-width: 680px;
}

ul { margin: 0; padding-left: 20px; }
li + li { margin-top: 5px; }

.requisites-list {
    margin: 0;
    padding-left: 20px;
}

.requisites-list li {
    color: #2f445c;
    line-height: 1.4;
}

.requisites-list li strong {
    color: #18212d;
}

.compact-list {
    margin-top: 12px;
}

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

.card {
    display: block;
    background: #ffffff;
    border: 1px solid #d6e1ee;
    border-radius: 10px;
    padding: 13px 14px;
    min-height: 104px;
    transition: transform .14s ease, border-color .14s ease, background .14s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: #b8cee7;
    background: #fdfefe;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(18, 41, 67, 0.07);
}

.card--current {
    transform: translateY(-2px);
    border-color: #b8cee7;
    background: #fdfefe;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(18, 41, 67, 0.07);
}

.card--accent {
    border-color: #bfd4ea;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.card strong {
    display: block;
    color: var(--text);
    margin-bottom: 5px;
    line-height: 1.3;
    font-size: 1.02rem;
}

.card span {
    display: block;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.35;
}

.card span + span { margin-top: 4px; }

.city-directory {
    margin-top: 6px;
}

.city-capital {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #c5d9ee;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fcff, #ffffff);
    padding: 12px 14px;
}

.city-capital:hover {
    text-decoration: none;
    border-color: #aec8e2;
}

.city-capital strong {
    display: block;
    color: #1b2a3d;
    font-size: 1.06rem;
    line-height: 1.3;
}

.city-capital span {
    display: block;
    margin-top: 4px;
    color: #506279;
    font-size: 0.92rem;
}

.city-list {
    list-style: decimal;
    margin: 0;
    padding-left: 22px;
    columns: 3;
    column-gap: 24px;
}

.city-list li {
    break-inside: avoid;
    margin: 0 0 6px;
}

.city-list li + li {
    margin-top: 0;
}

.city-list-link {
    display: inline-block;
    color: #15324b;
    font-weight: 600;
    line-height: 1.35;
}

.city-list-link:hover {
    color: #0b6ea8;
}

.brands-directory {
    margin-top: 6px;
}

.brands-list {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 4;
    column-gap: 16px;
}

.brands-list li {
    break-inside: avoid;
    margin: 0 0 8px;
}

.brands-directory .brand-list-link {
    display: block;
    border: 1px solid #d7e3ef;
    border-radius: 9px;
    background: #fff;
    color: #203348;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.25;
    padding: 8px 10px;
    text-decoration: none;
}

.brands-directory .brand-list-link:hover {
    border-color: #b7cfe5;
    background: #f5faff;
    color: #0b6ea8;
    text-decoration: none;
}

.card-media {
    margin: -13px -14px 10px;
    border-bottom: 1px solid #e3ebf4;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #eef4fb;
}

.card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.docs-hero-block {
    display: grid;
    gap: 12px;
}

.docs-hero-media {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #eef4fb;
    aspect-ratio: 3 / 2;
}

.docs-hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.docs-gallery .docs-photo {
    margin: 0;
}

.docs-photo figcaption {
    margin-top: 4px;
    color: #45586f;
    font-size: 0.95rem;
    line-height: 1.45;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.geo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.geo-panel {
    border: 1px solid #c5d9ee;
    border-radius: 14px;
    padding: 14px 14px 12px;
    background: linear-gradient(180deg, #fafdff, #f3f8fe);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.geo-panel h3 {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 1.16rem;
    letter-spacing: -0.15px;
    color: #13273c;
}

.geo-count {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #b9d2e8;
    background: #ecf5ff;
    color: #2f4d69;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    padding: 5px 8px;
}

.geo-label {
    margin: 14px 0 8px;
    font-size: 0.86rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #35516f;
    font-weight: 800;
}

.text-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 8px;
}

.text-links a {
    display: inline-flex;
    align-items: center;
    color: #1a2e44;
    font-size: 0.93rem;
    text-decoration: none;
    border: 1px solid #d2e0ee;
    border-radius: 999px;
    background: #fff;
    line-height: 1.2;
    padding: 6px 10px;
    font-weight: 600;
}

.text-links a:hover {
    color: #0b6ea8;
    border-color: #9fc2e2;
    background: #f4f9ff;
    text-decoration: none;
}

.section-geo a.geo-link-all {
    font-weight: 700;
    color: #183854;
    border-color: #b8d0e6;
    background: #eef6ff;
}

.section-geo a.geo-link-all:hover {
    color: #0a5f91;
    border-color: #94b9db;
    background: #e7f1fd;
}

.metro-lines {
    display: grid;
    gap: 10px;
}

.metro-line p {
    margin: 0 0 4px;
    font-size: 0.94rem;
    font-weight: 800;
    color: #1d334a;
}

.geo-meta {
    margin: 12px 0 0;
    color: #4f6782;
    font-size: 0.86rem;
    font-weight: 600;
}

.section-geo {
    border-color: #b8d1e8;
    background:
        linear-gradient(180deg, rgba(11, 110, 168, 0.05), rgba(11, 110, 168, 0.015)),
        #ffffff;
    box-shadow: 0 10px 22px rgba(11, 44, 74, 0.08);
}

.section-geo .section-kicker {
    font-weight: 700;
}

.section-geo h2 {
    font-weight: 700;
}

.section-geo .section-lead {
    font-weight: 400;
}

.section-geo .geo-panel h3 {
    font-weight: 700;
}

.section-geo .geo-count {
    font-weight: 700;
}

.section-geo .geo-label {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.section-geo .text-links a {
    font-weight: 500;
}

.section-geo .metro-line p {
    font-weight: 700;
}

.section-geo .geo-meta {
    font-weight: 500;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: #223041;
    font-size: 0.88rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    align-items: start;
}

.brand-group {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 12px;
}

.brand-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.brand-group-title {
    margin: 0;
    color: var(--text);
    font-weight: 800;
    font-size: 0.96rem;
    line-height: 1.3;
}

.brand-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    border-radius: 999px;
    background: #eef4fb;
    border: 1px solid #d6e1ee;
    color: #355171;
    font-size: 0.8rem;
    font-weight: 700;
}

.brand-group-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 8px;
}

.brand-group-links-all {
    margin-top: 8px;
}

.brand-link {
    display: block;
    color: #1f3043;
    border-radius: 6px;
    padding: 3px 5px;
    line-height: 1.3;
    font-size: 0.9rem;
}

a.brand-link:hover {
    text-decoration: none;
    background: #eef4fb;
}

.brand-more {
    margin-top: 8px;
}

.brand-more summary {
    cursor: pointer;
    color: #0b6ea8;
    font-weight: 700;
    font-size: 0.9rem;
    list-style: none;
}

.brand-more summary::-webkit-details-marker {
    display: none;
}

.brand-more summary::before {
    content: "▸ ";
}

.brand-more[open] summary::before {
    content: "▾ ";
}

.brands-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 12px;
}

.brands-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 14px;
    align-items: stretch;
}

.brands-segment {
    border: 1px solid #d7e3ef;
    border-radius: 10px;
    background: #fff;
    padding: 9px 10px 8px;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.brands-catalog--single {
    grid-template-columns: max-content !important;
    justify-content: start;
    align-items: start;
}

.brands-catalog--single .brands-segment {
    width: max-content;
    max-width: 100%;
    min-height: 0;
}

.brands-segment--single {
    min-height: 0 !important;
    height: auto;
    align-self: start;
}

.brands-segment--single .brands-segment-list {
    margin-bottom: 0;
}

.brands-catalog > .brands-segment:only-child {
    width: fit-content;
    max-width: 100%;
    justify-self: start;
    align-self: start;
}

.brands-segment:hover,
.brands-segment:focus-within {
    border-color: #bcd1e6;
    box-shadow: 0 8px 16px rgba(18, 41, 67, 0.08);
}

.brands-segment-title {
    margin: 0 0 7px;
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 700;
    color: #1b2c40;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.brands-segment-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 30px;
    margin-left: 0;
    padding: 1px 7px;
    border: 1px solid #bed1e3;
    border-radius: 999px;
    background: #edf5ff;
    color: #2f4c68;
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.1;
}

.brands-segment-list {
    display: grid;
    gap: 1px;
    margin-bottom: 10px;
}

.brands-segment-list .brand-search-extra {
    display: none !important;
}

.brands-catalog.brand-search-expanded .brands-segment-list .brand-search-extra {
    display: block !important;
}

.brands-catalog.brand-search-expanded .brands-segment-list .brand-search-extra.hidden-by-search {
    display: none !important;
}

.brands-show-all {
    align-self: flex-start;
    margin-top: auto;
    border: 1px solid #c9dced;
    background: #f4f9ff;
    color: #1d4f7b;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
}

.brands-show-all:hover {
    background: #eaf4ff;
    border-color: #b7d1e8;
}

.brands-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 180;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: auto;
    padding: 14px;
}

.brands-modal-overlay[hidden] {
    display: none !important;
}

.brands-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(12, 19, 30, 0.46);
}

.brands-modal-panel {
    position: relative;
    width: min(760px, calc(100vw - 24px));
    max-height: calc(100dvh - 48px);
    margin: clamp(8px, 6vh, 56px) 0;
    overflow: hidden;
    border: 1px solid #c7d9ea;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 46px rgba(14, 25, 39, 0.28);
    display: grid;
    grid-template-rows: auto 1fr;
}

.brands-modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #dfebf6;
}

.brands-modal-title {
    margin: 0;
    color: #1a3047;
    font-size: 1.03rem;
    font-weight: 700;
}

.brands-modal-close {
    width: 36px;
    height: 36px;
    border: 1px solid #cfdbe7;
    border-radius: 10px;
    background: #fff;
    color: #1f3043;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.brands-modal-content {
    overflow: auto;
    padding: 10px 12px 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2px 10px;
    align-content: start;
}

.brand-list-link {
    display: block;
    color: #203348;
    font-size: 0.88rem;
    line-height: 1.3;
    padding: 2px 6px;
    border-radius: 4px;
    text-decoration: none;
}

a.brand-list-link:hover {
    color: #0b6ea8;
    background: #f3f8fe;
    text-decoration: none;
}

.brand-segment-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d7e3ef;
    background: #f7fbff;
    color: #4a5f78;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 600;
}

.brands-flow-list {
    column-count: 4;
    column-gap: 12px;
}

.brands-flow-list-rest {
    margin-top: 10px;
}

.brand-flow-link {
    display: block;
    break-inside: avoid;
    border: 1px solid #dce6f0;
    border-radius: 9px;
    background: #fff;
    padding: 7px 9px;
    margin: 0 0 8px;
    text-decoration: none;
}

.brand-flow-name {
    display: block;
    color: #1c2c3f;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.2;
}

.brand-flow-segment {
    display: block;
    margin-top: 3px;
    color: #5f748d;
    font-size: 0.78rem;
    line-height: 1.2;
}

a.brand-flow-link:hover {
    border-color: #c2d4e6;
    background: #f8fbff;
    text-decoration: none;
}

.brands-expand {
    margin-top: 6px;
}

.brands-expand summary {
    cursor: pointer;
    color: #0b6ea8;
    font-weight: 700;
    font-size: 0.92rem;
    list-style: none;
}

.brands-expand summary::-webkit-details-marker {
    display: none;
}

.brands-expand summary::before {
    content: "▸ ";
}

.brands-expand[open] summary::before {
    content: "▾ ";
}

.more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
}

.section-show-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: #0b6ea8;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
}

button.section-show-all {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.section-show-all::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 11px solid currentColor;
    transform: translateY(1px);
}

.section-show-all:hover {
    text-decoration: none;
    color: #0a5f91;
}

.section-accent {
    border-color: #c8d9ec;
    background: linear-gradient(180deg, #f9fcff, #ffffff);
}

.kpi-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.kpi-card {
    border: 1px solid #c9dced;
    border-radius: 10px;
    background: #f8fbff;
    padding: 10px 12px;
}

.kpi-card strong {
    display: block;
    font-size: 1.1rem;
    color: #0f3550;
    line-height: 1.2;
}

.kpi-card span {
    display: block;
    margin-top: 3px;
    color: #4b6076;
    font-size: 0.88rem;
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.quick-card {
    border: 1px solid #cfe0ef;
    border-radius: 11px;
    background: #fff;
    padding: 13px 14px;
}

.quick-card strong {
    display: block;
    margin-bottom: 6px;
    color: #13283e;
    font-size: 1.02rem;
}

.quick-card p {
    margin: 0 0 8px;
    color: #47607b;
    font-size: 0.93rem;
    line-height: 1.4;
}

.quick-card a {
    font-size: 0.92rem;
    font-weight: 700;
}

.cta-inline {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.cta-inline span {
    color: var(--muted);
    font-weight: 600;
}

.steps {
    margin: 0;
    padding-left: 22px;
    display: grid;
    gap: 5px;
}

.answer-box {
    background: #ecf5ff;
    border: 1px solid #d0e1f3;
    border-radius: 10px;
    padding: 10px 12px;
}

.table-wrap {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: auto;
    background: #fff;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    table-layout: fixed;
}

.price-table.price-table--nowrap {
    min-width: 760px;
}

.price-table th,
.price-table td {
    text-align: left;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    line-height: 1.45;
}

.price-table th {
    background: #f4f8fc;
    font-size: 0.9rem;
    font-weight: 700;
}

.price-table th:nth-child(1),
.price-table td:nth-child(1) {
    width: 46%;
}

.price-table th:nth-child(2),
.price-table td:nth-child(2),
.price-table td.price-cell {
    width: 18%;
    white-space: nowrap;
}

.price-table th:nth-child(3),
.price-table td:nth-child(3) {
    width: 36%;
}

.price-table td:nth-child(1) {
    font-weight: 700;
    color: #1b2a3c;
}

.price-table td.price-cell {
    font-weight: 700;
    color: #162636;
}

.price-table td:nth-child(3) {
    color: #4f627b;
}

.price-table.price-table--nowrap th:nth-child(2),
.price-table.price-table--nowrap td:nth-child(2),
.price-table.price-table--nowrap td.price-cell {
    width: 1%;
    white-space: nowrap;
}

.faq {
    display: grid;
    gap: 7px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    padding: 9px 11px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
}

.faq-item p {
    color: var(--muted);
    margin: 8px 0 2px;
}

.section-expand {
    margin-top: 10px;
}

.section-expand summary {
    cursor: pointer;
    color: #0b6ea8;
    font-weight: 700;
    list-style: none;
}

.section-expand summary::-webkit-details-marker {
    display: none;
}

.section-expand summary::before {
    content: "▸ ";
}

.section-expand[open] summary::before {
    content: "▾ ";
}

.section-expand-grid {
    margin-top: 10px;
}

.mega-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.mega-menu summary {
    list-style: none;
    cursor: pointer;
}

.mega-menu summary::-webkit-details-marker { display: none; }

.mega-panel {
    position: fixed;
    top: 78px;
    left: 50%;
    transform: translateX(-50%);
    width: min(980px, calc(100vw - 24px));
    max-height: calc(100dvh - 94px);
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 16px 34px rgba(18, 27, 39, .14);
    display: none;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 14px;
    z-index: 50;
}

.mega-menu[open] .mega-panel {
    display: grid;
}

.mega-col {
    display: grid;
    gap: 2px;
    align-content: start;
}

.mega-title {
    margin: 0 0 6px;
    font-weight: 800;
    color: var(--text);
}

.mega-col a {
    padding: 6px 6px;
    border-radius: 6px;
    color: #1f3043;
    line-height: 1.32;
    white-space: normal;
    word-break: break-word;
    font-weight: 500;
}

.mega-col a:hover {
    text-decoration: none;
    background: #f1f6fc;
}

.footer {
    margin: 6px auto 18px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--muted);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-hubs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 6px 8px;
    margin-bottom: 1px;
}

.hub-col {
    display: grid;
    gap: 5px;
    align-content: start;
}

.hub-title {
    margin: 0;
    font-weight: 700;
    color: var(--text);
}

.hub-col a {
    font-size: 0.86rem;
    line-height: 1.14;
    padding: 0;
}

.footer p { margin: 0; }
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 0.92rem;
    line-height: 1.15;
}
.hidden-by-search { display: none !important; }
.hidden-by-lazy { display: none !important; }

.list-controls {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.list-show-more {
    min-width: 180px;
}

.sticky-call {
    display: none;
}

.back-to-top {
    position: fixed;
    right: 14px;
    bottom: 18px;
    z-index: 82;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #bed0e3;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #173047;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(20, 40, 62, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #f4f9ff;
}

@media (prefers-reduced-motion: no-preference) {
    main.container > section {
        animation: fadeInUp .26s ease both;
    }
}

@keyframes fadeInUp {
    from { opacity: .001; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
    .header {
        grid-template-columns: auto 1fr auto auto;
        row-gap: 8px;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        grid-column: 1 / -1;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding-top: 4px;
        border-top: 1px solid var(--line);
    }

    .header.nav-open .site-nav {
        display: flex;
    }

    .site-nav > a,
    .site-nav > .mega-menu > summary,
    .site-nav > .nav-group > summary {
        width: 100%;
        background: #f8fbff;
        border: 1px solid var(--line);
    }

    .phone {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        font-size: 0.95rem;
    }

    .mega-panel {
        position: static;
        transform: none;
        width: 100%;
        max-height: none;
        grid-template-columns: 1fr 1fr;
        margin-top: 6px;
    }

    .nav-group-panel {
        position: static;
        min-width: 0;
        box-shadow: none;
        margin-top: 4px;
    }
}

@media (max-width: 860px) {
    .container { width: min(1180px, 96vw); }
    .header {
        position: static;
        margin-top: 6px;
        padding: 8px 10px;
    }

    .split { grid-template-columns: 1fr; }
    .geo-layout { grid-template-columns: 1fr; }
    .brand-group-links { grid-template-columns: 1fr; }
    .brands-catalog { grid-template-columns: 1fr 1fr; }

    .footer-hubs { grid-template-columns: 1fr 1fr; }

    .sticky-call {
        display: inline-flex;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 80;
        align-items: center;
        justify-content: center;
        padding: 12px 14px;
        border-radius: 12px;
        background: linear-gradient(135deg, #0b6ea8, #0a5f91);
        color: #fff;
        font-weight: 700;
        box-shadow: 0 14px 24px rgba(12, 35, 59, 0.28);
    }

    .sticky-call:hover {
        text-decoration: none;
    }

    .back-to-top {
        right: 10px;
        bottom: 84px;
    }

    body {
        padding-bottom: 68px;
    }

    .hero {
        padding: 0;
        max-width: 100%;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual-mobile {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        height: min(520px, 100%);
        margin: 0;
        border: 0;
        border-radius: 0;
        overflow: hidden;
        background: transparent;
        z-index: 1;
        pointer-events: none;
    }

    .hero-visual-mobile::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            90deg,
            rgba(246, 250, 255, 1) 0%,
            rgba(246, 250, 255, 0.98) 62%,
            rgba(246, 250, 255, 0.72) 78%,
            rgba(246, 250, 255, 0.24) 90%,
            rgba(246, 250, 255, 0) 100%
        );
    }

    .hero-visual-mobile img {
        position: absolute;
        top: 0;
        right: -56%;
        bottom: auto;
        width: 128%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
        object-position: 100% center;
        transform: none;
        display: block;
        opacity: 0.92;
        -webkit-mask-image:
            linear-gradient(to right, transparent 0%, transparent 64%, rgba(0, 0, 0, 0.12) 74%, rgba(0, 0, 0, 0.52) 86%, #000 95%),
            linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
        mask-image:
            linear-gradient(to right, transparent 0%, transparent 64%, rgba(0, 0, 0, 0.12) 74%, rgba(0, 0, 0, 0.52) 86%, #000 95%),
            linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
    }

    .hero-visual {
        display: none;
    }

    .hero {
        position: relative;
        isolation: isolate;
    }

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
        background:
            linear-gradient(90deg, rgba(246, 250, 255, 1) 0%, rgba(246, 250, 255, 0.96) 60%, rgba(246, 250, 255, 0.74) 78%, rgba(246, 250, 255, 0.28) 92%, rgba(246, 250, 255, 0.12) 100%),
            linear-gradient(180deg, rgba(246, 250, 255, 0.9) 0%, rgba(246, 250, 255, 0.78) 34%, rgba(246, 250, 255, 0.92) 62%, rgba(246, 250, 255, 1) 100%);
    }

    .hero-content {
        position: relative;
        isolation: isolate;
        z-index: 4;
        max-width: none;
        padding: 26px 28px;
    }

    .hero-content > *:not(.hero-visual-mobile) {
        position: relative;
        z-index: 3;
    }

    .hero-visual-mobile {
        z-index: -1;
    }

    .hero h1 {
        font-size: clamp(1.7rem, 7.2vw, 2.4rem);
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .hero-lead {
        font-size: 1.02rem;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .hero-toc {
        margin: 0;
    }

    .hero-toc-list a {
        font-size: 0.79rem;
        padding: 5px 8px;
    }

    .hero-kpi-strip {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 8px;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .city-list {
        columns: 2;
    }

    .brands-list {
        columns: 3;
    }

    .table-wrap {
        max-width: 100%;
        overflow: hidden;
    }

    .hero,
    .hero-content,
    section,
    .breadcrumbs-shell {
        min-width: 0;
    }

    .price-table {
        min-width: 0;
        width: 100%;
        table-layout: auto;
    }

    .price-table thead {
        display: none;
    }

    .price-table tbody,
    .price-table tr,
    .price-table td {
        display: block;
        width: 100%;
    }

    .price-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "name price"
            "note note";
        gap: 8px 12px;
        padding: 12px;
        border-bottom: 1px solid var(--line);
    }

    .price-table tbody tr:last-child {
        border-bottom: 0;
    }

    .price-table td {
        padding: 0;
        border-bottom: 0;
        width: auto;
        word-break: normal;
        overflow-wrap: normal;
        font-size: 0.94rem;
        line-height: 1.35;
    }

    .price-table th:nth-child(1),
    .price-table th:nth-child(2),
    .price-table th:nth-child(3),
    .price-table td:nth-child(1),
    .price-table td:nth-child(2),
    .price-table td:nth-child(3),
    .price-table td.price-cell {
        width: auto;
        max-width: none;
    }

    .price-table td:nth-child(1) {
        grid-area: name;
        font-weight: 600;
    }

    .price-table td:nth-child(2),
    .price-table td.price-cell {
        grid-area: price;
        text-align: right;
        white-space: nowrap;
        word-break: normal;
        font-weight: 700;
    }

    .price-table td:nth-child(3) {
        grid-area: note;
        color: var(--muted);
        font-size: 0.88rem;
        line-height: 1.4;
    }

    .price-table.price-table--nowrap {
        min-width: 0;
    }
}

@media (max-width: 760px) {
    .price-table tr {
        grid-template-columns: 1fr;
        grid-template-areas:
            "name"
            "price"
            "note";
        gap: 7px;
    }

    .price-table td:nth-child(2),
    .price-table td.price-cell {
        text-align: left;
    }
}

@media (max-width: 620px) {
    .header {
        grid-template-columns: 1fr auto;
    }

    .phone {
        grid-column: 1 / -1;
        font-size: 0.92rem;
    }

    .nav-toggle {
        justify-self: end;
    }

    .city-list {
        columns: 1;
    }

    .brands-list {
        columns: 2;
    }

    .footer-hubs {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .footer-links {
        gap: 6px 10px;
    }

    .back-to-top {
        right: 8px;
        bottom: 82px;
        min-height: 38px;
        font-size: 0.78rem;
        padding: 7px 10px;
    }

    .price-table th,
    .price-table td {
        font-size: 0.88rem;
        line-height: 1.3;
    }

    .price-table td:nth-child(3) {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .price-table td.price-cell {
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    .brands-list {
        columns: 1;
    }
}

/* Modern header + overlay menu */
.header {
    grid-template-columns: auto auto 1fr auto;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(19, 33, 50, 0.08);
    background: rgba(255, 255, 255, 0.93);
}

.menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 48px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #bed0e3;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
    color: #162131;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 5px 14px rgba(17, 38, 63, 0.08);
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.menu-trigger:hover {
    background: #f8fbff;
    border-color: #a9c1d8;
    box-shadow: 0 8px 18px rgba(17, 38, 63, 0.12);
}

.menu-trigger-icon {
    width: 20px;
    height: 2.5px;
    border-radius: 3px;
    background: currentColor;
    position: relative;
    display: inline-block;
}

.menu-trigger-icon::before,
.menu-trigger-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2.5px;
    border-radius: 3px;
    background: currentColor;
}

.menu-trigger-icon::before { top: -6.5px; }
.menu-trigger-icon::after { top: 6.5px; }

.logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    height: auto;
    overflow: visible;
}

.logo img {
    width: auto;
    height: 48px;
    max-width: 290px;
    transform: none;
    object-fit: contain;
    object-position: left center;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    min-width: 0;
}

.header-nav a {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 10px;
    border-radius: 10px;
    color: #1f2d3e;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.header-nav a:hover {
    background: #edf4fb;
    text-decoration: none;
}

.phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    padding-left: 12px;
    border-left: 1px solid #d4e0ec;
    font-size: 1rem;
    font-weight: 700;
    color: #1a2737;
    line-height: 1;
    white-space: nowrap;
}

.phone-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf5fc;
    border: 1px solid #d4e2f1;
    color: #0b6ea8;
    flex: 0 0 24px;
}

.phone-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    display: block;
}

.phone-label {
    display: inline-block;
    font-weight: 700;
}

@media (max-width: 1360px) {
    .header {
        gap: 8px;
        padding: 9px 10px;
    }

    .logo img {
        height: 44px;
        max-width: 260px;
    }

    .menu-trigger {
        min-width: 46px;
        height: 42px;
        padding: 0 10px;
    }

    .header-nav a {
        padding: 0 8px;
        font-size: 0.91rem;
    }

    .phone {
        font-size: 0.95rem;
        gap: 6px;
    }
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    align-items: start;
    padding-top: 14px;
}

.menu-overlay[hidden] {
    display: none !important;
}

.menu-overlay-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(12, 19, 30, 0.42);
    cursor: pointer;
}

.menu-drawer {
    position: relative;
    background: #fff;
    border: 1px solid #d9e3ee;
    border-radius: 22px;
    box-shadow: 0 24px 56px rgba(14, 25, 39, 0.26);
    max-height: calc(100dvh - 28px);
    overflow: auto;
    padding: 20px 22px 24px;
}

.menu-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2eaf2;
}

.menu-close {
    width: 40px;
    height: 40px;
    border: 1px solid #cfdbe7;
    border-radius: 12px;
    background: #fff;
    font-size: 1.9rem;
    line-height: 1;
    color: #1f3043;
    cursor: pointer;
}

.menu-close:hover {
    background: #f5f9fd;
}

.menu-drawer-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
}

.menu-rail {
    display: grid;
    align-content: start;
    gap: 8px;
    border-right: 1px solid #e2eaf2;
    padding-right: 16px;
}

.menu-rail a {
    display: block;
    padding: 7px 10px;
    border-radius: 9px;
    color: #1c2a3a;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
}

.menu-rail a:hover {
    background: #eef5fc;
}

.menu-rail-cta {
    margin-top: 8px;
    text-align: center;
    background: #0b6ea8;
    color: #fff !important;
}

.menu-rail-cta:hover {
    background: #0a5f91 !important;
}

.menu-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 18px;
}

.menu-col {
    display: grid;
    align-content: start;
    gap: 4px;
}

.menu-col-title {
    margin: 0 0 4px;
    color: #116da8;
    font-size: 1.24rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.menu-col a {
    display: block;
    padding: 7px 8px;
    border-radius: 8px;
    color: #1f3043;
    line-height: 1.28;
    font-size: 1.03rem;
}

.menu-col a:hover {
    text-decoration: none;
    background: #f1f6fc;
}

body.menu-open {
    overflow: hidden;
}

body.brands-modal-open {
    overflow: hidden;
}

@media (max-width: 1180px) {
    .header {
        grid-template-columns: auto auto 1fr;
    }

    .header-nav {
        display: none;
    }

    .phone {
        justify-self: end;
    }

    .menu-drawer-grid {
        grid-template-columns: 220px 1fr;
    }
}

@media (max-width: 860px) {
    .header {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding: 9px 11px;
        gap: 8px;
        align-items: center;
    }

    .logo {
        font-size: 1.65rem;
    }

    .header .logo img {
        width: auto;
        height: 44px;
        max-width: 240px;
        transform: none;
    }

    .phone {
        grid-column: auto;
        justify-self: end;
        align-self: center;
        border-left: 0;
        padding-left: 0;
        margin-left: 0;
        font-size: 0.9rem;
        gap: 6px;
    }

    .phone-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .menu-overlay {
        padding-top: 8px;
    }

    .menu-drawer {
        padding: 12px 12px 16px;
        border-radius: 14px;
        max-height: calc(100dvh - 16px);
    }

    .menu-drawer-top {
        margin-bottom: 10px;
    }

    .menu-drawer-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .menu-rail {
        border-right: 0;
        border-bottom: 1px solid #e2eaf2;
        padding-right: 0;
        padding-bottom: 10px;
    }

    .menu-columns {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

@media (max-width: 620px) {
    .breadcrumbs {
        align-items: center;
        flex-wrap: nowrap;
        gap: 6px;
        padding: 10px 12px;
        font-size: 0.89rem;
        line-height: 1.25;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        max-width: 100%;
    }

    .breadcrumbs::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .breadcrumbs-item {
        display: inline-flex;
        align-items: baseline;
        flex: 0 0 auto;
    }

    .breadcrumbs-item:not(:first-child)::before {
        margin: 0 6px;
    }

    .header {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .menu-trigger {
        padding: 0;
        gap: 0;
        min-width: 44px;
        height: 42px;
        justify-content: center;
    }

    .menu-trigger-label {
        display: none;
    }

    .logo {
        font-size: 1.45rem;
        min-width: 0;
    }

    .header .logo img {
        width: auto;
        height: 36px;
        max-width: 100%;
        transform: none;
    }

    .hero-visual-mobile {
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        height: min(460px, 100%);
    }

    .hero-content {
        max-width: none;
        padding: 22px 20px;
    }

    .tag {
        max-width: 100%;
        white-space: nowrap;
        font-size: clamp(0.58rem, 2.4vw, 0.74rem);
        line-height: 1.15;
        letter-spacing: -0.01em;
        padding: 3px 8px;
        transform: translate(-4px, -5px);
    }

    .phone {
        grid-column: auto;
        justify-self: end;
        font-size: clamp(0.76rem, 2.7vw, 0.83rem);
        line-height: 1;
        gap: 5px;
    }

    .phone-icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .phone-icon svg {
        width: 12px;
        height: 12px;
    }

    .menu-columns {
        grid-template-columns: 1fr;
    }

    .brands-catalog { grid-template-columns: 1fr; }

    .brands-modal-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .header {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        gap: 7px;
        padding: 8px 8px;
    }

    .menu-trigger {
        min-width: 40px;
        height: 40px;
    }

    .header .logo img {
        height: 32px;
    }

    .phone {
        grid-column: auto;
        justify-self: end;
        margin-top: 0;
        font-size: clamp(0.68rem, 3.1vw, 0.75rem);
        gap: 4px;
    }

    .phone-icon {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .phone-icon svg {
        width: 11px;
        height: 11px;
    }
}

@media (max-width: 360px) {
    .header {
        gap: 6px;
    }

    .header .logo img {
        height: 30px;
    }

    .phone {
        font-size: 0.68rem;
    }

    .phone-icon {
        display: none;
    }
}

@media (max-width: 620px) {
    .chips-mobile-list {
        display: grid;
        gap: 8px;
    }

    .chips-mobile-list .chip {
        display: block;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--brand);
        font-size: 0.95rem;
        line-height: 1.35;
        text-decoration: underline;
    }
}
