:root {
    --color-primary: #0f253e;
    --color-primary-dark: #091727;
    --color-primary-light: #18385c;
    --color-accent: #e05a1b;
    --color-accent-dark: #b8430b;
    --color-accent-light: #fff4ed;
    --color-accent-border: #fcd5c0;
    --color-text: #192330;
    --color-text-muted: #536479;
    --color-text-light: #8998ab;
    --color-border: #d6dfe9;
    --color-border-subtle: #e8eef5;
    --color-bg: #ffffff;
    --color-bg-alt: #f2f5f9;
    --color-bg-dark: #0a1522;
    --color-bg-card: #ffffff;
    --radius-sm: 3px;
    --radius: 4px;
    --radius-lg: 8px;
    --shadow-sm: 0 1px 3px rgba(10, 25, 45, 0.06);
    --shadow-md: 0 4px 16px rgba(10, 25, 45, 0.08);
    --shadow-lg: 0 10px 30px rgba(10, 25, 45, 0.12);
    --container: 1240px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SF Mono", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary-light); text-decoration: none; transition: color .15s; }
a:hover { color: var(--color-accent); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; color: var(--color-primary); font-weight: 700; letter-spacing: -0.2px; }
h1 { font-size: 36px; }
h2 { font-size: 26px; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 60px 0; }
.section--alt { background: var(--color-bg-alt); border-top: 1px solid var(--color-border-subtle); border-bottom: 1px solid var(--color-border-subtle); }
.section--tight { padding: 20px 0 32px; }

.section-title {
    font-size: 26px;
    margin-bottom: 28px;
    color: var(--color-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-accent);
    color: #fff;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
    text-decoration: none;
    letter-spacing: .2px;
}
.btn:hover { background: var(--color-accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--primary { background: var(--color-primary); }
.btn--primary:hover { background: var(--color-primary-dark); }
.btn--outline {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff;
}
.btn--outline:hover { background: #fff; color: var(--color-primary); border-color: #fff; }
.btn--outline-dark {
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
}
.btn--outline-dark:hover { border-color: var(--color-accent); color: var(--color-accent); background: #fff; }
.btn--sm { padding: 7px 16px; font-size: 13px; }

.topbar {
    background: var(--color-bg-dark);
    color: #9eb1c7;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.topbar__contacts {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.topbar__contacts a { color: #cbd7e6; }
.topbar__contacts a:hover { color: #fff; }
.topbar__contacts span { color: #cbd7e6; }
.topbar__note { color: #8fa2ba; }

.header {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 16px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}
.logo__mark {
    width: 44px; height: 44px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -.5px;
    border: 1px solid rgba(255,255,255,0.15);
}
.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.logo__img {
    height: 46px;
    width: auto;
    border-radius: var(--radius);
    object-fit: contain;
}
.footer__logo .logo__img {
    height: 40px;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: var(--radius-lg);
    box-sizing: content-box;
}
.logo__name { font-weight: 800; font-size: 18px; color: var(--color-primary); letter-spacing: -0.3px; }
.logo__tag { font-size: 11px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }

.header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
.header__phone {
    text-align: right;
    line-height: 1.25;
}
.header__phone strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
}
.header__phone strong a { color: var(--color-primary); }
.header__phone strong a:hover { color: var(--color-accent); }
.header__phone span { font-size: 12px; color: var(--color-text-muted); }

.nav {
    background: var(--color-primary);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.nav__list {
    display: flex;
    flex-wrap: wrap;
}
.nav__list > li { position: relative; }
.nav__list > li > a {
    display: block;
    padding: 13px 18px;
    color: #e2eaf4;
    font-size: 14px;
    font-weight: 500;
    transition: background .15s, color .15s;
}
.nav__list > li > a:hover,
.nav__list > li.active > a {
    background: var(--color-primary-dark);
    color: #fff;
}
.nav__submenu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 270px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s, transform .15s, visibility .15s;
    z-index: 20;
}
.nav__list > li:hover .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav__submenu a {
    display: block;
    padding: 10px 16px;
    color: var(--color-text);
    font-size: 13.5px;
    border-bottom: 1px solid var(--color-border-subtle);
}
.nav__submenu a:hover {
    background: var(--color-bg-alt);
    color: var(--color-accent);
}
.nav__submenu a:last-child { border-bottom: none; }
.nav__submenu-label {
    padding: 8px 16px 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    font-weight: 700;
    border-bottom: 1px solid var(--color-border-subtle);
}

.hero {
    background: var(--color-primary);
    color: #fff;
    padding: 64px 0 54px;
    position: relative;
}
.hero__inner {
    max-width: 780px;
}
.hero h1 {
    color: #fff;
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.hero p {
    font-size: 17px;
    line-height: 1.6;
    color: #c8d7e8;
    margin-bottom: 28px;
}
.hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.hero__highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__hl-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero__hl-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero__hl-desc {
    font-size: 12px;
    color: #9cb2c9;
    line-height: 1.4;
    margin: 0;
}

.dir-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.dir-split__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    color: inherit;
    transition: box-shadow .2s, transform .2s, border-color .2s;
    position: relative;
}
.dir-split__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
    color: inherit;
}
.dir-split__label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 10px;
}
.dir-split__card h3 { font-size: 21px; margin-bottom: 16px; color: var(--color-primary); }
.dir-split__list { margin-bottom: 24px; flex: 1; }
.dir-split__list li {
    padding: 9px 0 9px 18px;
    position: relative;
    font-size: 16px;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border-subtle);
}
.dir-split__list li:last-child { border-bottom: none; }
.dir-split__list li::before {
    content: "—";
    position: absolute;
    left: 0; top: 8px;
    color: var(--color-accent);
    font-weight: bold;
}
.dir-split__more {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .15s, gap .15s;
}
.dir-split__card:hover .dir-split__more { color: var(--color-accent); gap: 10px; }

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.category-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 18px;
    text-align: left;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.category-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    color: inherit;
}
.category-card__img {
    aspect-ratio: 4/3;
    background: #ffffff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border-subtle);
    margin-bottom: 14px;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.category-card__img img {
    width: 100%; height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}
.category-card:hover .category-card__img img { transform: scale(1.03); }
.category-card__img--empty {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
    padding: 12px;
}
.category-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--color-primary); }
.category-card p { font-size: 13px; color: var(--color-text-muted); margin: 0; line-height: 1.45; }

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.advantage {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    gap: 16px;
    transition: border-color .2s, box-shadow .2s;
}
.advantage:hover { border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.advantage__num {
    flex-shrink: 0;
    width: 42px; height: 42px;
    background: var(--color-bg-alt);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
    font-family: var(--font-mono);
}
.advantage h3 { font-size: 15.5px; margin-bottom: 6px; color: var(--color-primary); }
.advantage p { font-size: 13.5px; color: var(--color-text-muted); margin: 0; line-height: 1.5; }

.about-preview {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 32px;
    align-items: start;
}
.about-preview__img {
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.about-preview__img img { width: 100%; height: 100%; object-fit: contain; }

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.photo-grid__item {
    margin: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/2;
}
.photo-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: grayscale(1);
    transform: scale(1);
    transition: filter .3s ease-out, transform .3s ease-out;
}
.photo-grid__item:hover img,
.photo-grid__item:focus-within img {
    filter: grayscale(0);
    transform: scale(1.08);
}

.photo-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}
.photo-strip__item {
    margin: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/2;
}
.photo-strip__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .photo-grid__item img {
        transition: none;
    }
    .photo-grid__item:hover img,
    .photo-grid__item:focus-within img {
        transform: none;
    }
}

.callback {
    background: var(--color-primary);
    color: #fff;
    padding: 60px 0;
}
.callback__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}
.callback h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.callback p { color: #c4d7ea; font-size: 15px; line-height: 1.6; }
.callback__trust {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #9cb2c9;
}
.callback__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.callback__trust-item svg { width: 16px; height: 16px; fill: var(--color-accent); flex-shrink: 0; }

.callback__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #091727;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid #1a304a;
}
.callback__form input,
.callback__form textarea {
    padding: 12px 14px;
    border: 1px solid #233e5e;
    background: #0f253e;
    color: #fff;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .15s;
}
.callback__form input { min-height: 44px; }
.callback__form input::placeholder,
.callback__form textarea::placeholder { color: #8fa5bd; }
.callback__form input:focus,
.callback__form textarea:focus {
    border-color: var(--color-accent);
}
.callback__form textarea {
    grid-column: 1 / -1;
    min-height: 90px;
    resize: vertical;
}
.callback__form .btn { grid-column: 1 / -1; justify-content: center; position: relative; }
.callback__form .btn:disabled { opacity: 0.7; cursor: not-allowed; }
.callback__form .form-note {
    grid-column: 1 / -1;
    font-size: 11.5px;
    color: #8fa5bd;
    line-height: 1.4;
}
.form-feedback {
    grid-column: 1 / -1;
    display: none;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    animation: fadeIn .2s ease-out;
}
.form-feedback--success {
    display: block;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.form-feedback--error {
    display: block;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.messenger-chips {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.messenger-chips span {
    font-size: 12.5px;
    color: #c4d7ea;
}
.messenger-chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: transform .15s, opacity .15s;
}
.messenger-chip svg { width: 14px; height: 14px; fill: currentColor; }
.messenger-chip--tg { background: #0088cc; }
.messenger-chip--wa { background: #128c7e; }
.messenger-chip:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }

.footer {
    background: var(--color-bg-dark);
    color: #8da0b5;
    padding: 56px 0 0;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer a { color: #cbd7e6; }
.footer a:hover { color: #fff; }
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer h4 {
    color: #fff;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 18px;
}
.footer ul li { margin-bottom: 9px; font-size: 13.5px; }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: #728499;
}
.footer__logo { margin-bottom: 14px; }
.footer__logo .logo__name { color: #fff; }
.footer__logo .logo__tag { color: #8da0b5; }

.breadcrumbs {
    padding: 14px 0;
    font-size: 13px;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border-subtle);
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs span { margin: 0 8px; color: #b0c0d2; }

.page-header {
    padding: 36px 0 24px;
}
.page-header h1 { margin: 0; font-size: 32px; color: var(--color-primary); }
.page-header__lead {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 51.25rem;
    margin: 10px 0 0;
    line-height: 1.6;
}

.layout-aside {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
}
.sidebar {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px;
    align-self: start;
    position: sticky;
    top: 100px;
}
.sidebar h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--color-text-muted);
    margin: 0 0 10px;
    border-bottom: 1px solid var(--color-border-subtle);
    padding-bottom: 6px;
}
.sidebar ul li a {
    display: block;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 13.5px;
}
.sidebar ul li a:hover { background: var(--color-bg-alt); color: var(--color-accent); }
.sidebar ul li.active a { background: var(--color-primary); color: #fff; font-weight: 600; }
.sidebar__group { margin-bottom: 22px; }
.sidebar__group:last-child { margin-bottom: 0; }
.sidebar__cta {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}
.sidebar__cta strong { display: block; margin-bottom: 6px; font-size: 14.5px; color: var(--color-primary); }
.sidebar__cta p { font-size: 13px; color: var(--color-text-muted); line-height: 1.45; }

.content { min-width: 0; }
.content h2 {
    font-size: 22px;
    margin-top: 36px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border-subtle);
}
.content h2:first-child { margin-top: 0; }
.content__lead {
    font-size: 16px;
    line-height: 1.65;
    padding: 16px 20px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.check-list { margin-bottom: 1.2em; }
.check-list li {
    position: relative;
    padding: 6px 0 6px 24px;
    font-size: 14.5px;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 7px;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
.spec-item {
    display: flex;
    gap: 12px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px;
}
.spec-item > span {
    flex-shrink: 0;
    font-weight: 800;
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--color-accent);
    padding-top: 2px;
}
.spec-item strong { display: block; font-size: 14.5px; margin-bottom: 3px; color: var(--color-primary); }
.spec-item p { margin: 0; font-size: 13px; color: var(--color-text-muted); line-height: 1.4; }

.cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.cap {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    transition: border-color .2s, box-shadow .2s;
}
.cap:hover { border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.cap h3 { font-size: 15.5px; margin-bottom: 6px; color: var(--color-primary); }
.cap p { margin: 0; font-size: 13.5px; color: var(--color-text-muted); }

.steps {
    display: grid;
    gap: 14px;
}
.steps--wide { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.step > span {
    flex-shrink: 0;
    width: 32px; height: 32px;
    background: var(--color-bg-alt);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 13px;
    font-family: var(--font-mono);
}
.step strong { display: block; margin-bottom: 3px; font-size: 14.5px; color: var(--color-primary); }
.step p { margin: 0; font-size: 13px; color: var(--color-text-muted); line-height: 1.45; }

.figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 24px 0;
}
.figure { margin: 0; }
.figure img {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: contain;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    background: #ffffff;
}
.figure figcaption {
    font-size: 12.5px;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.prod-block {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
    padding: 28px 0;
    border-top: 1px solid var(--color-border);
    scroll-margin-top: 110px;
}
.prod-block:first-of-type { border-top: none; }
.prod-block__img {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--color-border);
}
.prod-block__img img { width: 100%; height: 100%; object-fit: contain; }
.prod-block__img--empty {
    display: grid;
    place-items: center;
    font-size: 13px;
    color: var(--color-text-muted);
}
.prod-block__body h2 { margin-top: 0; font-size: 20px; border-bottom: none; padding-bottom: 0; }
.prod-block__note {
    font-size: 13px;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin: 12px 0 0;
}

.callout {
    margin-top: 36px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--color-border);
}
.callout h3 { margin-bottom: 6px; color: var(--color-primary); font-size: 18px; }
.callout p { color: var(--color-text-muted); font-size: 14px; line-height: 1.5; margin-bottom: 16px; }

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 36px;
}
.contact-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
}
.contact-card h3 { font-size: 18px; margin-bottom: 16px; color: var(--color-primary); }
.contact-card ul li {
    padding: 9px 0;
    border-bottom: 1px solid var(--color-border-subtle);
    font-size: 14px;
}
.contact-card ul li:last-child { border-bottom: none; }
.contact-card strong { display: inline-block; min-width: 130px; color: var(--color-text-muted); font-weight: 600; }
.map-placeholder {
    background: var(--color-bg-alt);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
    aspect-ratio: 21/7;
    display: grid;
    place-items: center;
    color: var(--color-text-muted);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}
.map-embed {
    margin-top: 28px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}
.map-embed iframe { display: block; border: 0; }

/* Таблица «Распродажа» (rasprodazha.php) */
.sale-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-size: 15px;
}
.sale-table th {
    background: var(--color-primary);
    color: #fff;
    text-align: left;
    font-weight: 600;
    padding: 12px 16px;
    font-size: 14px;
    letter-spacing: .2px;
}
.sale-table td {
    padding: 12px 16px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text);
    vertical-align: top;
}
.sale-table tr:nth-child(even) td { background: var(--color-bg-alt); }
.sale-table td:last-child { white-space: nowrap; font-weight: 600; color: var(--color-primary); }
.sale-empty {
    background: var(--color-bg-alt);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 15px;
}

.article-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
    color: inherit;
}
.article-card__date {
    font-family: var(--font-mono);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--color-accent);
    font-weight: 700;
}
.article-card h3 { font-size: 16.5px; margin: 0; color: var(--color-primary); }
.article-card p { font-size: 13.5px; color: var(--color-text-muted); margin: 0; flex: 1; line-height: 1.45; }
.article-card__more { font-size: 13.5px; font-weight: 700; color: var(--color-primary); }

.empty-note { color: var(--color-text-muted); font-size: 15px; margin: 0; }

.content--narrow { max-width: 760px; }
.content--narrow h2 { font-size: 21px; }
.article__meta { color: var(--color-text-muted); font-size: 13.5px; margin: 8px 0 0; }
.article__back {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 12px 10px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.quick-contact {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    font-family: inherit;
}
.quick-contact__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    background: var(--color-primary);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .3px;
    outline: none;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.quick-contact__btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.quick-contact__btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.quick-contact__btn .icon-close { display: none; }
.quick-contact.active .quick-contact__btn .icon-chat { display: none; }
.quick-contact.active .quick-contact__btn .icon-close { display: block; }

.quick-contact__popup {
    position: absolute;
    bottom: 54px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}
.quick-contact.active .quick-contact__popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.quick-contact__header {
    background: var(--color-primary);
    color: #fff;
    padding: 14px 16px;
}
.quick-contact__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}
.quick-contact__subtitle {
    font-size: 12px;
    color: #9cb2c9;
    margin-top: 3px;
}
.quick-contact__body {
    padding: 14px;
    background: var(--color-bg-alt);
}
.quick-contact__channels {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.quick-contact__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
    transition: border-color .15s, background .15s, transform .15s;
}
.quick-contact__item:hover {
    background: #fff;
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
    transform: translateX(2px);
}
.quick-contact__icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.quick-contact__icon svg { width: 16px; height: 16px; }
.quick-contact__icon svg path { fill: #ffffff; }
.quick-contact__icon--tg { background: #0088cc; }
.quick-contact__icon--wa { background: #128c7e; }
.quick-contact__icon--phone { background: var(--color-primary); }
.quick-contact__icon--form { background: var(--color-accent); }

@media (max-width: 60rem) {
    .nav-toggle { display: flex; }
    .nav { display: none; }
    .nav.nav--open { display: block; padding: 6px 0 14px; }
    .nav__list { flex-direction: column; }
    .nav__list > li > a { min-height: 44px; display: flex; align-items: center; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav__submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.06);
        border-radius: var(--radius-sm);
        margin: 4px 12px 10px;
    }
    .nav__submenu-label { background: transparent; color: #9cb2c9; padding: 8px 12px 4px; }
    .nav__submenu a { min-height: 44px; display: flex; align-items: center; color: #e2eaf4; padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav__submenu a:hover { background: rgba(255,255,255,0.12); color: #fff; }
    .hero h1 { font-size: 32px; }
    .hero__highlights { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .dir-split { grid-template-columns: 1fr; }
    .prod-block { grid-template-columns: 1fr; gap: 18px; }
    .prod-block__img { max-width: 340px; }
    .header__inner { flex-wrap: wrap; gap: 16px; }
    .about-preview,
    .callback__inner,
    .contacts-grid { grid-template-columns: 1fr; gap: 24px; }
    .layout-aside { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .sidebar ul li a,
    .breadcrumbs a,
    .header__phone strong a,
    .topbar__contacts a,
    .contact-card ul li > a,
    .footer a { min-height: 44px; display: inline-flex; align-items: center; }
    .sidebar ul li a { display: flex; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .section { padding: 40px 0; }
    .footer__grid { grid-template-columns: 1fr; }
    .callback__form { grid-template-columns: 1fr; }
    .topbar { display: none; }
    .header__phone { text-align: left; }
    .header__phone span { display: none; }
    .header__actions { gap: 12px; flex-wrap: wrap; }
    .hero { padding: 44px 0 40px; }
    .hero h1 { font-size: 26px; }
    .hero__highlights { grid-template-columns: 1fr; }
    .figures { grid-template-columns: 1fr; }
    .prod-block__img { max-width: none; }
    .quick-contact__btn span { display: none; }
    .quick-contact__btn { padding: 12px; border-radius: 50%; width: 48px; height: 48px; justify-content: center; }
    .quick-contact__popup { right: 0; width: 290px; }
}
