/* Inter — локальные WOFF2 (те же подмножества, что отдаёт Google Fonts для Inter v20) */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter-greek-ext.woff2") format("woff2");
    unicode-range: U+1F00-1FFF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter-greek.woff2") format("woff2");
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter-vietnamese.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter-greek-ext.woff2") format("woff2");
    unicode-range: U+1F00-1FFF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter-greek.woff2") format("woff2");
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter-vietnamese.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter-greek-ext.woff2") format("woff2");
    unicode-range: U+1F00-1FFF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter-greek.woff2") format("woff2");
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter-vietnamese.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter-greek-ext.woff2") format("woff2");
    unicode-range: U+1F00-1FFF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter-greek.woff2") format("woff2");
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter-vietnamese.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/inter-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/inter-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/inter-greek-ext.woff2") format("woff2");
    unicode-range: U+1F00-1FFF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/inter-greek.woff2") format("woff2");
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/inter-vietnamese.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Р’С‹СЃРѕС‚Р° С€Р°РїРєРё (px) РґР»СЏ РѕС‚СЃС‚СѓРїР° РѕРІРµСЂР»РµСЏ РјРµРЅСЋ; РѕР±РЅРѕРІР»СЏРµС‚СЃСЏ РёР· script.js РЅР° в‰¤820px */
    --site-header-h: 92px;
    --bg: #07111f;
    --bg-soft: #0c1a2f;
    --panel: rgba(11, 23, 42, 0.78);
    --panel-strong: rgba(9, 18, 34, 0.92);
    --line: rgba(160, 189, 255, 0.16);
    --line-strong: rgba(160, 189, 255, 0.32);
    --text: #f3f7ff;
    --muted: #aab8d0;
    --accent: #6f7cff;
    --accent-2: #23d5d5;
    --accent-3: #ff7a59;
    --accent-4: #ffd166;
    --shadow: 0 24px 80px rgba(1, 8, 20, 0.46);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(111, 124, 255, 0.24), transparent 30%),
        radial-gradient(circle at top right, rgba(35, 213, 213, 0.16), transparent 28%),
        linear-gradient(180deg, #081120 0%, #091525 50%, #07111f 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: clip;
}

body.nav-open {
    overflow: hidden;
}

html:has(body.nav-open) {
    overflow: hidden;
    overscroll-behavior: none;
    height: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.page-shell {
    position: relative;
    overflow: clip;
    padding-inline-start: env(safe-area-inset-left, 0px);
    padding-inline-end: env(safe-area-inset-right, 0px);
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 56px 0;
}

.section-dark {
    background: linear-gradient(180deg, rgba(10, 19, 34, 0.2), rgba(10, 19, 34, 0.58));
}

.section-accent {
    padding-bottom: 88px;
}

.section-head {
    max-width: 780px;
    margin-bottom: 28px;
}

.section-head p,
.section-copy,
.hero-text,
.service-card p,
.product-preview-copy p,
.feature-row p,
.timeline-card p,
.catalog-card p,
.footer-meta p,
.lead-form span,
.bullet-list p,
.price-panel p {
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #c9d6ff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-3), var(--accent-2));
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    font-size: clamp(2.4rem, 5.2vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.page-home .hero h1 {
    font-size: clamp(2rem, 3.75vw, 3.2rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.22rem;
    line-height: 1.15;
    margin-bottom: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-3), var(--accent));
    color: #fff;
    box-shadow: 0 18px 40px rgba(111, 124, 255, 0.28);
}

.btn-secondary,
.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--text);
}

.btn-secondary:hover,
.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.26);
    box-shadow: 0 14px 32px rgba(5, 12, 24, 0.28);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #d6e0ff;
    font-weight: 600;
}
 
.product-preview-copy .text-link {
    margin-top: 14px;
}

.product-preview-copy .text-link::after {
    content: "";
    flex-shrink: 0;
    align-self: center;
    width: 7px;
    height: 7px;
    margin-left: 2px;
    border-right: 2px solid var(--accent-2);
    border-bottom: 2px solid var(--accent-2);
    box-sizing: border-box;
    transform: rotate(-45deg);
    opacity: 0.95;
}

.product-preview-copy .text-link:hover::after {
    border-color: #8eeeee;
} 
 
 
.glass-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Backdrop РЅР° РїСЃРµРІРґРѕСЌР»РµРјРµРЅС‚Рµ: РёРЅР°С‡Рµ blur РЅР° С€Р°РїРєРµ РґР°С‘С‚ containing block Рё В«СЃРїР»СЋС‰РёРІР°РµС‚В» position:fixed Сѓ .site-nav РґРѕ РІС‹СЃРѕС‚С‹ С…РµРґРµСЂР°. */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(5, 10, 20, 0.9), rgba(5, 10, 20, 0.52));
    backdrop-filter: blur(18px);
}

.site-header > .container {
    position: relative;
    z-index: 1;
}

.header-row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(255, 122, 89, 0.2), rgba(35, 213, 213, 0.22));
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position: center;
    transform: scale(1.52); */
    transform-origin: center center;
    display: block;
    
    object-position: center;
    transform: scale(1.52) translateY(2px);
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-name {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-tag {
    color: var(--muted);
    font-size: 0.85rem;
}

.site-nav {
    display: inline-flex;
    justify-content: center;
    gap: 12px;
}

.site-nav-links {
    display: contents;
}

.site-nav-aside {
    display: none;
}

.site-nav a {
    padding: 12px 14px;
    color: var(--muted);
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.header-trail {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.site-header .header-trail .header-trail-phone {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
}

.site-header .header-trail .header-trail-phone svg {
    width: 22px;
    height: 22px;
}

.messenger-icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.messenger-icons--footer .messenger-icon {
    width: 42px;
    height: 42px;
}

.messenger-icons--nav {
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
    box-sizing: border-box;
}

.messenger-icons--nav .messenger-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.messenger-icons--nav .messenger-icon svg {
    width: 22px;
    height: 22px;
}

.site-nav-aside .footer-messenger-label {
    margin-top: 0;
    margin-bottom: 6px;
}

.messenger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e8eeff;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.messenger-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.messenger-icon--max svg {
    transform: scale(0.88);
    transform-origin: center;
}

.messenger-icon:hover {
    transform: translateY(-2px);
    border-color: rgba(160, 189, 255, 0.35);
    box-shadow: 0 10px 28px rgba(5, 12, 24, 0.35);
}

.messenger-icon:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 2px;
}

.messenger-icon--telegram:hover {
    background: rgba(35, 213, 213, 0.16);
    color: #7af1e8;
}

.messenger-icon--vk:hover {
    background: rgba(0, 119, 255, 0.2);
    color: #9ecbff;
}

.messenger-icon--instagram:hover {
    background: rgba(255, 122, 89, 0.18);
    color: #ffc4b8;
}

.messenger-icon--whatsapp:hover {
    background: rgba(37, 211, 102, 0.16);
    color: #8ff0b4;
}

.messenger-icon--phone:hover {
    background: rgba(35, 213, 213, 0.18);
    color: #a8fff0;
}

.messenger-icons--footer {
    margin-top: 4px;
}

.footer-messenger-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 8px;
}

.contacts-messenger-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.contacts-messenger-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contacts-messenger-link:hover {
    transform: translateY(-3px);
    border-color: rgba(160, 189, 255, 0.35);
    box-shadow: 0 20px 50px rgba(1, 8, 20, 0.42);
}

.contacts-messenger-link:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}

.contacts-messenger-link .messenger-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.contacts-messenger-link .messenger-icon svg {
    width: 24px;
    height: 24px;
}

.contacts-messenger-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.contacts-messenger-name {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.contacts-messenger-hint {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--muted);
}

.contacts-messenger-block {
    margin-bottom: 36px;
}

.contacts-messenger-block h2 {
    margin-bottom: 20px;
}

.contacts-messenger-intro {
    max-width: 720px;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.65;
    color: var(--muted);
}

.menu-toggle {
    display: none;
    position: relative;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 14px;
    cursor: pointer;
    color: #f0f4ff;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(160, 189, 255, 0.22);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 10px 28px rgba(1, 8, 20, 0.35);
    backdrop-filter: blur(14px);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.menu-toggle:hover {
    border-color: rgba(160, 189, 255, 0.38);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 12px 32px rgba(1, 8, 20, 0.42);
}

.menu-toggle:active {
    transform: scale(0.96);
}

.menu-toggle:focus-visible {
    outline: 2px solid rgba(35, 213, 213, 0.65);
    outline-offset: 3px;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 122, 89, 0.95), rgba(111, 124, 255, 0.95), rgba(35, 213, 213, 0.9));
    transform-origin: center;
    transition:
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.22s ease;
}

body.nav-open .menu-toggle {
    border-color: rgba(35, 213, 213, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 0 0 1px rgba(35, 213, 213, 0.12),
        0 12px 32px rgba(1, 8, 20, 0.45);
}

body.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.15);
}

body.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
    .menu-toggle,
    .menu-toggle span,
    .menu-close {
        transition-duration: 0.01ms;
    }

    .menu-toggle:active,
    .menu-close:active {
        transform: none;
    }
}

.menu-close {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 14px;
    cursor: pointer;
    color: #f0f4ff;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(160, 189, 255, 0.28);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 10px 28px rgba(1, 8, 20, 0.35);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.menu-close:hover {
    border-color: rgba(255, 122, 89, 0.45);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.18), rgba(255, 122, 89, 0.08));
}

.menu-close:active {
    transform: scale(0.96);
}

.menu-close:focus-visible {
    outline: 2px solid rgba(35, 213, 213, 0.65);
    outline-offset: 3px;
}

.menu-close svg {
    display: block;
    width: 22px;
    height: 22px;
}

.hero {
    padding-top: 72px;
}

.hero-grid,
.page-hero-grid,
.cta-grid,
.split-grid,
.product-layout {
    display: grid;
    gap: 28px;
}

.hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

.hero-grid > *,
.page-hero-grid > *,
.hero-visual,
.hero-copy,
.split-grid > *,
.cta-grid > *,
.footer-grid > *,
.product-preview {
    min-width: 0;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 720px;
    margin-top: 20px;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.metric-card,
.stat-card,
.spec-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
}

.metric-card strong,
.stat-card strong,
.price-panel strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.6rem;
}

.hero-visual {
    position: relative;
}

.hero-scene {
    position: relative;
    min-height: 540px;
    border-radius: 36px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 209, 102, 0.18), transparent 24%),
        radial-gradient(circle at 80% 15%, rgba(35, 213, 213, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(17, 31, 56, 0.9), rgba(8, 15, 30, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-render {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-badge {
    position: absolute;
    right: 28px;
    bottom: 26px;
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(8, 15, 30, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge span {
    color: var(--accent-2);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero-glow {
    position: absolute;
    z-index: 0;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.42;
}

.hero-glow-a {
    top: 120px;
    left: -120px;
    background: rgba(255, 122, 89, 0.34);
}

.hero-glow-b {
    top: 180px;
    right: -120px;
    background: rgba(35, 213, 213, 0.2);
}

.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
    padding: 26px;
}

.icon-shell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 122, 89, 0.18), rgba(35, 213, 213, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-shell svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

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

.product-preview-grid--categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-preview-grid--categories .visual-card {
    min-height: 220px;
}

@media (max-width: 1240px) {
    .product-preview-grid--categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.product-preview,
.catalog-card {
    overflow: hidden;
}

.product-preview-copy,
.catalog-card-copy {
    padding: 24px;
}

.visual-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-card-large {
    min-height: 420px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.96;
}

.visual-label {
    position: absolute;
    left: 24px;
    top: 22px;
    z-index: 3;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(6, 11, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.visual-loft {
    background: linear-gradient(135deg, #10192f 0%, #1e2a49 48%, #ff7a59 160%);
}

.visual-wood {
    background: linear-gradient(135deg, #1c233d 0%, #47311f 38%, #d99b4a 100%);
}

.visual-glass {
    background: linear-gradient(135deg, #0c1f35 0%, #264c76 52%, #7de2ff 125%);
}

.visual-spiral {
    background: linear-gradient(135deg, #140f26 0%, #54306a 52%, #ff8e5d 130%);
}

.visual-mono {
    background: linear-gradient(135deg, #10192f 0%, #2c3d62 48%, #23d5d5 130%);
}

.visual-gallery {
    background: linear-gradient(135deg, #20142b 0%, #5b245c 46%, #ffd166 130%);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.catalog-card-top,
.tag-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-card-top {
    justify-content: space-between;
    margin-bottom: 14px;
}

.catalog-card-top h2 {
    font-size: 1.22rem;
    line-height: 1.15;
    margin-bottom: 0;
    letter-spacing: normal;
}

.tag-row {
    margin: 18px 0 22px;
}

.tag-row span,
.chip,
.price-tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-row span,
.chip {
    background: rgba(255, 255, 255, 0.05);
    color: #dce6ff;
    font-size: 0.92rem;
}

.price-tag {
    background: rgba(255, 122, 89, 0.12);
    color: #fff;
    font-weight: 700;
}

.split-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
}

.page-about .split-grid {
    gap: 36px;
}

.feature-stack {
    display: grid;
    gap: 16px;
}

.feature-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    padding: 24px;
}

.feature-row strong,
.timeline-card span {
    color: var(--accent-4);
    font-size: 1.8rem;
    line-height: 1;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.timeline-card {
    padding: 24px;
}

.page-about .timeline-card {
    display: grid;
    gap: 12px;
}

.product-layout {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
}

.cta-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: stretch;
}

.cta-intro {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
    min-width: 0;
}

.cta-intro-lead {
    flex-shrink: 0;
    margin-bottom: 24px;
}

.cta-intro .contacts-info {
    margin-top: auto;
    flex-shrink: 0;
}

.cta-grid > .lead-form {
    height: 100%;
    align-self: stretch;
}

.cta-intro .contact-card .messenger-icons {
    flex-wrap: wrap;
}

.lead-form {
    padding: 28px;
    display: grid;
    gap: 16px;
}

.lead-form h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 4px;
}

.lead-form label {
    display: grid;
    gap: 10px;
}

.lead-form label span,
.lead-form-field--select > label span {
    color: #dce6ff;
    font-size: 0.95rem;
}

.lead-form label.has-error span,
.lead-form-field--select.has-error > label span {
    color: #ffb2a4;
}

.lead-form-field--select {
    display: grid;
    gap: 10px;
}

.lead-form input,
.lead-form textarea,
.lead-form-select__trigger {
    width: 100%;
    min-height: 54px;
    padding: 16px 18px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.lead-form textarea {
    min-height: 118px;
    resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form-select__trigger:focus,
.lead-form-select__trigger:hover {
    border-color: rgba(111, 124, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.lead-form input.is-invalid,
.lead-form textarea.is-invalid,
.lead-form-select:has(.lead-form-select__native.is-invalid) .lead-form-select__trigger {
    border-color: rgba(255, 122, 89, 0.72);
    background: rgba(255, 122, 89, 0.08);
}

.lead-form input.is-valid,
.lead-form textarea.is-valid,
.lead-form-select:has(.lead-form-select__native.is-valid) .lead-form-select__trigger {
    border-color: rgba(35, 213, 213, 0.55);
}

.lead-form-select {
    position: relative;
    width: 100%;
}

.lead-form-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-align: left;
    font: inherit;
    cursor: pointer;
    color: var(--text);
    padding-right: 44px;
}

.lead-form-select__trigger:focus-visible {
    outline: 2px solid rgba(35, 213, 213, 0.65);
    outline-offset: 2px;
}

.lead-form-select__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lead-form-select__trigger::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin: 0;
    border-right: 2px solid rgba(220, 230, 255, 0.75);
    border-bottom: 2px solid rgba(220, 230, 255, 0.75);
    border-top: none;
    border-left: none;
    box-sizing: border-box;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: 50% 50%;
    transition: transform 0.2s ease;
    pointer-events: none;
}

.lead-form-select.is-open .lead-form-select__trigger::after {
    transform: translateY(-50%) rotate(-135deg);
}

.lead-form-select__list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 50;
    margin: 0;
    padding: 8px;
    list-style: none;
    max-height: min(280px, 52vh);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 16px;
    border: 1px solid rgba(160, 189, 255, 0.2);
    background: linear-gradient(165deg, rgba(12, 24, 45, 0.98), rgba(7, 15, 28, 0.98));
    box-shadow:
        0 20px 48px rgba(1, 8, 20, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lead-form-select__list[hidden] {
    display: none !important;
}

.lead-form-select__list:not([hidden]) {
    display: block;
}

.lead-form-select__list [role="option"] {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #e8eeff;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.lead-form-select__list [role="option"][aria-selected="true"] {
    background: rgba(111, 124, 255, 0.22);
    color: #fff;
}

.lead-form-select__list [role="option"]:hover,
.lead-form-select__list [role="option"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.lead-form-select__native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.field-error,
.form-note,
.form-message {
    font-size: 0.92rem;
}

.form-note {
    color: var(--muted);
    line-height: 1.5;
}

.field-error {
    color: #ffb2a4;
    min-height: 1.2em;
}

.form-message {
    min-height: 1.4em;
    color: #dfe7ff;
}

.form-message.is-success {
    color: #7af1d6;
}

.form-message.is-error {
    color: #ffb2a4;
}

.page-hero {
    padding-top: 68px;
}

.page-hero .container {
    min-width: 0;
    max-width: 100%;
}

.page-hero h1,
.page-hero .section-copy {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.page-hero-grid {
    min-width: 0;
    grid-template-columns: 1fr minmax(0, 420px);
    align-items: center;
}

.page-about .page-hero-grid {
    align-items: stretch;
}

.page-about .page-hero h1 {
    margin-bottom: 24px;
}

.page-contact .page-hero h1 {
    margin-bottom: 24px;
}

.page-catalog .page-hero h1 {
    margin-bottom: 24px;
}

.page-contact .contacts-lead {
    max-width: 720px;
    margin-top: 8px;
}

.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.contacts-info {
    display: grid;
    gap: 16px;
}

.contact-card {
    padding: 24px 26px;
    display: grid;
    gap: 10px;
}

.contact-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-2);
}

.contact-value {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

a.contact-value:hover {
    color: var(--accent-2);
}

.contact-value-text {
    margin: 0;
    line-height: 1.35;
}

.contact-hint {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--muted);
}

.contacts-aside .lead-form h2 {
    margin-top: 4px;
}

.page-about .section-head {
    margin-bottom: 32px;
}

.page-about .section-head p,
.page-about .section-copy,
.page-about .product-preview-copy p,
.page-about .timeline-card p,
.page-about .feature-row p {
    max-width: 760px;
    line-height: 1.72;
}

.section-head-left {
    margin-bottom: 24px;
}

.stat-cluster,
.chip-cloud {
    display: grid;
    gap: 14px;
}

.chip-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    max-width: 100%;
}

.chip-cloud .chip {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    justify-content: flex-start;
    text-align: left;
}

.product-page-hero.section {
    padding-bottom: 0;
}

.product-page-hero .section-copy {
    margin-top: 15px;
}

.product-legacy-hint {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.page-product .product-page-hero #product-title {
    margin-bottom: 24px;
}

.product-page-hero .price-panel {
    padding: 28px;
}

.product-layout {
    grid-template-columns: 1.08fr 0.92fr;
}

.product-visual-panel,
.product-feature-panel {
    padding: 22px;
}

.page-about .product-preview-copy {
    display: grid;
    gap: 10px;
}

.product-side {
    display: grid;
    gap: 18px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.spec-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.92rem;
}

.bullet-list {
    display: grid;
    gap: 14px;
}

.bullet-item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    align-items: start;
}

.bullet-item::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
    box-shadow: 0 0 0 6px rgba(255, 122, 89, 0.12);
}

.site-footer {
    padding: 24px 0 42px;
}

.production-showcase {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: center;
}

.production-copy {
    display: grid;
    gap: 20px;
}

.production-points {
    display: grid;
    gap: 16px;
}

.production-point {
    padding: 22px 24px;
}

.production-point strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.production-point p {
    color: var(--muted);
    line-height: 1.68;
}

.production-media {
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

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

.production-badge {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(8, 15, 30, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.production-badge span {
    color: var(--accent-2);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow);
}

.footer-meta {
    display: grid;
    gap: 10px;
}

.footer-meta a {
    color: #e6edff;
    overflow-wrap: anywhere;
}

.footer-meta a:hover {
    color: var(--accent-2);
}

.brand-footer {
    align-items: flex-start;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 40;
    min-width: 280px;
    max-width: 420px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(8, 15, 30, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    /* Р”РІР° СЂСЏРґР°: Р±СЂРµРЅРґ + CTA РІ РїРµСЂРІРѕРј, РЅР°РІРёРіР°С†РёСЏ РЅР° РІСЃСЋ С€РёСЂРёРЅСѓ РІРѕ РІС‚РѕСЂРѕРј (РёРЅР°С‡Рµ auto-placement Р»РѕРјР°РµС‚ С€Р°РїРєСѓ РјРµР¶РґСѓ 1080 Рё 820). */
    .header-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: 16px;
        row-gap: 12px;
    }

    .header-row .brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .header-row .header-trail {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .header-row .site-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .catalog-grid,
    .card-grid-4,
    .product-preview-grid,
    .timeline-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .hero-grid,
    .page-hero-grid,
    .cta-grid,
    .split-grid,
    .contacts-layout,
    .production-showcase,
    .product-layout {
        grid-template-columns: 1fr;
    }

    .page-hero .chip-cloud {
        grid-template-columns: 1fr;
    }

    .product-preview-grid--categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-metrics {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (max-width: 720px) {
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .product-preview-grid:not(.product-preview-grid--categories) {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 820px) {
    /*
     РџСЂРё lock scroll (body position:fixed + top:-scrollY) В«РѕРєРЅРѕВ» РІРёРґРёРјРѕСЃС‚Рё СЃРјРµС‰Р°РµС‚СЃСЏ РїРѕ РґРѕРєСѓРјРµРЅС‚Сѓ,
     Р° sticky-С€Р°РїРєР° РѕСЃС‚Р°С‘С‚СЃСЏ РїСЂРёРІСЏР·Р°РЅРЅРѕР№ Рє СЃС‚Р°СЂРѕРјСѓ scrollport вЂ” РІРёР·СѓР°Р»СЊРЅРѕ СѓРµР·Р¶Р°РµС‚ РІРІРµСЂС….
     РџСЂРё РѕС‚РєСЂС‹С‚РѕРј РјРµРЅСЋ С„РёРєСЃРёСЂСѓРµРј С€Р°РїРєСѓ Рє viewport.
    */
    body.nav-open .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        z-index: 80;
        box-sizing: border-box;
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
    }

    /* РљР°Рє Сѓ РѕРІРµСЂР»РµСЏ РјРµРЅСЋ: РѕРґРёРЅР°РєРѕРІС‹Р№ РѕС‚СЃС‚СѓРї СЃРІРµСЂС…Сѓ СЃ РІС‹СЂРµР·РѕРј вЂ” РёРЅР°С‡Рµ Р»РѕРіРѕ/РєРЅРѕРїРєР° РІ РјРµРЅСЋ В«РїСЂРѕРІР°Р»РёРІР°СЋС‚СЃСЏВ» РЅРёР¶Рµ С€Р°РїРєРё. */
    .site-header {
        padding-top: calc(16px + env(safe-area-inset-top, 0px));
        padding-bottom: 16px;
    }

    .site-header .btn-ghost {
        display: none;
    }

    .site-header .brand-copy {
        display: none;
    }

    .site-header .header-trail .header-trail-phone {
        display: inline-flex;
    }

    .menu-toggle {
        display: flex;
    }

    .header-row {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto;
    }

    .header-row .site-nav {
        grid-column: unset;
        grid-row: unset;
        width: auto;
        min-width: unset;
        justify-content: unset;
        flex-wrap: unset;
        row-gap: unset;
    }

    .header-row .brand {
        grid-column: 1;
        grid-row: 1;
    }

    .header-row .header-trail {
        grid-column: 2;
        grid-row: 1;
    }

    /* РќР° в‰¤820px СѓР±РёСЂР°РµРј display:contents Сѓ СЃСЃС‹Р»РѕРє вЂ” РёРЅР°С‡Рµ min-width:flex РЅРµ СЃР¶РёРјР°РµС‚ РїСѓРЅРєС‚С‹ Рё РѕРЅРё СѓРµР·Р¶Р°СЋС‚ Р·Р° СЌРєСЂР°РЅ. */
    .site-nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        gap: 4px;
    }

    .site-nav-links a {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }

    /* РљРЅРѕРїРєР° Р·Р°РєСЂС‹С‚РёСЏ РІ С‚РѕР№ Р¶Рµ СЏС‡РµР№РєРµ, С‡С‚Рѕ Рё Р±СѓСЂРіРµСЂ вЂ” Р±РµР· СЃРґРІРёРіР° РїСЂРё РѕС‚РєСЂС‹С‚РёРё */
    .header-trail .menu-close {
        display: none;
    }

    body.nav-open .header-trail .menu-close {
        display: flex;
    }

    body.nav-open .header-trail .menu-toggle {
        display: none;
    }

    /* .site-nav вЂ” СЃРѕСЃРµРґ РІ .header-row СЃ z-index:70 Рё РЅР° РІРµСЃСЊ СЌРєСЂР°РЅ; РёРЅР°С‡Рµ РїРµСЂРµРєСЂС‹РІР°РµС‚ Р»РѕРіРѕ Рё РєРЅРѕРїРєСѓ */
    body.nav-open .header-row .brand,
    body.nav-open .header-row .header-trail {
        position: relative;
        z-index: 75;
    }

    .site-nav {
        display: none;
        position: fixed;
        /* top:0 + padding-top: С€Р°РїРєР° СЂРёСЃСѓРµС‚СЃСЏ РїРѕРІРµСЂС… (z-index РІС‹С€Рµ) вЂ” Р±РµР· С‰РµР»Рё РёР·вЂ‘Р·Р° РїРѕРіСЂРµС€РЅРѕСЃС‚Рё --site-header-h */
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 70;
        box-sizing: border-box;
        flex-direction: column;
        align-items: stretch;
        align-content: flex-start;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding:
            var(--site-header-h, 92px)
            max(16px, env(safe-area-inset-right, 0px))
            max(24px, env(safe-area-inset-bottom, 0px))
            max(16px, env(safe-area-inset-left, 0px));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: none;
        border-radius: 0;
        background: linear-gradient(165deg, #0c182d 0%, #070f1c 45%, #040810 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

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

    body.nav-open .site-nav-links a {
        color: #eef3ff;
        font-weight: 600;
        font-size: clamp(0.98rem, 3.8vw, 1.06rem);
        letter-spacing: -0.01em;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.14);
    }

    body.nav-open .site-nav-links a:hover,
    body.nav-open .site-nav-links a:focus-visible {
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(160, 189, 255, 0.35);
    }

    body.nav-open .site-nav-links a.is-active {
        color: #fff;
        background: rgba(111, 124, 255, 0.28);
        border-color: rgba(111, 124, 255, 0.5);
    }

    body.nav-open .site-nav-aside {
        display: flex;
        flex-direction: column;
        gap: 12px;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        margin-top: 16px;
        padding-top: 20px;
        border-top: 1px solid var(--line);
        flex: 0 1 auto;
    }

    body.nav-open .site-nav-aside .messenger-icons--nav {
        max-width: 100%;
        justify-content: flex-start;
        row-gap: 10px;
    }

    body.nav-open .site-nav-aside .messenger-icons--nav .messenger-icon {
        flex-shrink: 0;
    }

    .site-nav a {
        border-radius: 16px;
        padding: 14px 16px;
    }

    .hero-grid,
    .page-hero-grid,
    .cta-grid,
    .split-grid,
    .contacts-layout,
    .production-showcase,
    .product-layout,
    .catalog-grid,
    .card-grid-4,
    .product-preview-grid,
    .product-preview-grid--categories,
    .timeline-grid,
    .footer-grid,
    .hero-metrics,
    .chip-cloud,
    .contacts-messenger-grid {
        grid-template-columns: 1fr;
    }

    .hero-scene {
        min-height: min(52vw, 380px);
    }

    .production-media {
        min-height: 380px;
    }

    .hero {
        padding-top: 42px;
    }

    .section-head {
        margin-bottom: 22px;
    }

    .feature-row {
        grid-template-columns: 54px 1fr;
    }

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

    h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .page-home .hero h1 {
        font-size: clamp(1.95rem, 7vw, 2.75rem);
        line-height: 1.08;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-badge {
        right: 16px;
        bottom: 16px;
        left: auto;
        max-width: calc(100% - 32px);
        padding: 14px 16px;
    }

    .hero-badge strong {
        font-size: 0.88rem;
        line-height: 1.25;
    }
}

@media (max-width: 560px) {
    .section {
        padding: 42px 0;
    }

    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .site-nav {
        padding-right: max(12px, env(safe-area-inset-right, 0px));
        padding-left: max(12px, env(safe-area-inset-left, 0px));
    }

    .brand-tag {
        display: none;
    }

    .brand-name {
        font-size: 0.98rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-metrics {
        gap: 12px;
    }

    .metric-card,
    .stat-card,
    .spec-card {
        padding: 16px;
        border-radius: 18px;
    }

    .visual-card {
        min-height: 220px;
    }

    .visual-card-large {
        min-height: 320px;
    }

    .production-badge {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 16px 18px;
    }

    .lead-form,
    .price-panel,
    .product-feature-panel,
    .product-visual-panel,
    .footer-grid {
        padding: 20px;
    }

    .toast {
        left: 12px;
        right: 12px;
        bottom: 12px;
        min-width: 0;
        max-width: none;
    }
}
