/* =========================================================
   nanocoating — engineering / technical design system  v5
   ========================================================= */

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/IBMPlexMono-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/IBMPlexMono-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --max: 1220px;

    /* palette — dark engineering */
    --navy-950: #070f1c;
    --navy-900: #0b1626;
    --navy-800: #101f36;
    --navy-700: #16294a;
    --ink: #eaf1fa;
    --muted: #8fa3bd;
    --paper: #070f1c;
    --white: #0d1a30;
    --border: rgba(140, 172, 215, 0.18);
    --border-strong: rgba(140, 172, 215, 0.4);
    --line-dark: rgba(140, 172, 215, 0.16);

    --accent: #1f6bff;
    --cyan: #35cfee;
    --gold: #d4a017;

    --font: "IBM Plex Mono", "Consolas", monospace;
    --font-sans: var(--font);
    --font-mono: var(--font);

    --grid-light: linear-gradient(rgba(126, 168, 224, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(126, 168, 224, 0.08) 1px, transparent 1px);
    --grid-dark: linear-gradient(rgba(126, 168, 224, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(126, 168, 224, 0.07) 1px, transparent 1px);
}

* { box-sizing: border-box; }

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 2000;
    padding: 10px 14px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
}
.skip-link:focus {
    top: 12px;
    color: #fff;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
    overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
    line-height: 1.18;
    letter-spacing: 0;
    margin: 0 0 14px;
    font-weight: 600;
}

h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; }
h2 { font-size: clamp(25px, 3vw, 36px); }
h3 { font-size: 18px; }

p { margin: 0 0 12px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 22px;
}

.muted { color: var(--muted); }
.small { font-size: 13.5px; }

/* ------- mono technical labels ------- */

.mono-idx {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.sys-line {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 18px;
}

.sec-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 34px;
}

.sec-tag span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    padding: 0 6px;
    border: 1px solid rgba(140, 172, 215, 0.4);
    color: var(--cyan);
    font-weight: 600;
}

.sec-tag::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--line-dark), transparent);
}

.sec-tag-light { color: rgba(178, 199, 226, 0.75); }

/* ------- buttons ------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.btn:hover { text-decoration: none; }

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover { background: #0f56e6; border-color: #0f56e6; }

.btn-ghost {
    background: transparent;
    color: #dbe7f5;
    border-color: rgba(150, 182, 224, 0.45);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-dark {
    background: transparent;
    color: #eaf1fa;
    border-color: rgba(150, 182, 224, 0.45);
}
.btn-dark:hover { border-color: var(--cyan); color: var(--cyan); }

/* ------- header ------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(8, 15, 28, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-dark);
    color: #fff;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    height: 66px;
    min-width: 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    flex-shrink: 0;
}
.logo:hover { color: #fff; text-decoration: none; }
.logo svg { height: 42px; width: 42px; }

.logo-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1;
    min-width: 0;
}

.logo-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
}
.logo-name i {
    font-style: normal;
    font-weight: 400;
}

.logo-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8cf2ff;
}

.nav {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.nav a {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b9c8dc;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
}
.nav a:hover {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
    text-decoration: none;
}

.header-cta .btn { padding: 10px 18px; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 8px;
    margin-left: 0;
    background: transparent;
    border: 1px solid rgba(150, 182, 224, 0.4);
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    height: 2px;
    background: #dbe7f5;
}

/* ------- hero ------- */

.hero {
    position: relative;
    background: radial-gradient(1000px 520px at 78% -10%, rgba(31, 107, 255, 0.28), transparent 60%),
        radial-gradient(700px 420px at 8% 110%, rgba(53, 207, 238, 0.12), transparent 60%),
        var(--navy-950);
    background-blend-mode: normal;
    color: #eaf1fa;
    padding: 96px 0 104px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--grid-dark);
    background-size: 34px 34px;
    pointer-events: none;
}

.hero-frame { position: absolute; inset: 26px; pointer-events: none; }
.tick { position: absolute; width: 18px; height: 18px; border: 2px solid rgba(53, 207, 238, 0.55); }
.tick-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.tick-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.tick-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.tick-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 48px 56px;
    align-items: center;
}

.hero-copy {
    min-width: 0;
}

.hero h1 { margin-bottom: 18px; color: #fff; }
.hero h1 em {
    font-style: normal;
    color: var(--cyan);
}

.hero .lead {
    font-size: 18px;
    color: #b9c8dc;
    max-width: 52ch;
    margin: 0 0 30px;
}

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

.hero-spec {
    width: 100%;
    background: rgba(13, 26, 48, 0.85);
    border: 1px solid rgba(140, 172, 215, 0.28);
    box-shadow: 0 24px 60px rgba(3, 8, 18, 0.5);
}

.hero-spec-head {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan);
    padding: 13px 20px;
    border-bottom: 1px solid var(--line-dark);
}

.hero-spec dl { margin: 0; padding: 8px 20px 14px; }

.hero-spec dl div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line-dark);
}
.hero-spec dl div:last-child { border-bottom: 0; }

.hero-spec dt {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8fa3bd;
    flex: 0 1 auto;
}
.hero-spec dd {
    margin: 0;
    font-weight: 600;
    font-size: 14.5px;
    color: #eaf1fa;
    text-align: right;
    overflow-wrap: anywhere;
}

/* ------- sections ------- */

.section { padding: 84px 0; }

.section-head { max-width: 860px; margin-bottom: 40px; }
.section-head h2 {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.section-head p { color: var(--muted); font-size: 16.5px; }

.sec-num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    margin-top: 6px;
    border: 1px solid rgba(140, 172, 215, 0.45);
    color: var(--cyan);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.benefits, .parts, .productivity, .extra { background: var(--navy-950); }
.wear, .coatings { background: var(--navy-900); }
.wear { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.coatings { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }

/* ------- technical card (corner brackets) ------- */

.tcard {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.tcard::before,
.tcard::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--border-strong);
    transition: border-color 0.2s;
    pointer-events: none;
}
.tcard::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.tcard::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.tcard:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(3, 8, 18, 0.5);
}
.tcard:hover::before,
.tcard:hover::after { border-color: var(--accent); }

/* ------- benefits ------- */

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

.benefit { padding: 26px 24px 28px; }

.benefit-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.benefit-icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    padding: 10px;
    color: var(--cyan);
    border: 1px solid var(--border);
    background: linear-gradient(150deg, #16294a, #0d1a30);
}
.benefit-icon svg { width: 100%; height: 100%; }

.benefit h3 { margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ------- wear / test section ------- */

.wear-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: start;
}

.callout {
    font-weight: 600;
    padding: 14px 18px;
    border-left: 3px solid var(--accent);
    background: var(--paper);
    margin: 18px 0 24px;
}

.compare {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 20px 0 10px;
}

.compare-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.compare-label {
    font-size: 13px;
    line-height: 1.35;
    color: var(--muted);
}

.compare-item strong {
    font-family: var(--font-mono);
    font-size: 20px;
    color: var(--ink);
}

.compare-arrow {
    font-size: 26px;
    color: var(--border-strong);
    flex: 0 0 auto;
}

/* ------- image frame (grey technical frame) ------- */

.image-frame {
    position: relative;
    border: 1px solid var(--border-strong);
    background: #0a1524;
    background-image: var(--grid-dark);
    background-size: 22px 22px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 4px rgba(7, 15, 28, 0.55);
}

.image-frame img { max-height: 100%; object-fit: contain; }

.frame-caption {
    position: absolute;
    left: 10px;
    bottom: 8px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    background: rgba(8, 16, 30, 0.9);
    padding: 3px 8px;
    border: 1px solid var(--border);
}

/* ------- charts / spec tables ------- */

.chart-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 18px 18px 12px;
    min-width: 0;
}

.chart-title {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border);
}

.chart-card canvas { width: 100%; display: block; }

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 13.5px;
    background: var(--white);
    border: 1px solid var(--border);
}

.spec-table td {
    padding: 9px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.spec-table tr:last-child td { border-bottom: 0; }

.spec-table td:first-child {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    width: 1%;
    border-right: 1px solid var(--border);
    background: var(--paper);
}

.compare-swatches {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.compare-swatches span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 13.5px;
    line-height: 1.35;
}
.compare-swatches i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 auto;
}

/* ------- parts ------- */

.parts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.part-card {
    display: grid;
    grid-template-columns: 210px 1fr;
}
.part-card--text {
    grid-template-columns: 1fr;
}

.part-media {
    border: 0;
    border-right: 1px solid var(--border);
    box-shadow: none;
    padding: 20px;
}
.part-media img { max-height: 170px; }

.part-body { padding: 22px 24px 20px; display: flex; flex-direction: column; }
.part-body h3 { margin: 0 0 10px; }

.part-body ul {
    margin: 0 0 16px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 14.5px;
}
.part-body li { margin-bottom: 4px; }
.part-card--text .part-body ul { margin-bottom: 0; }

.part-spec {
    margin-top: auto;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.45;
    color: var(--ink);
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    white-space: pre-line;
}

/* ------- coatings ------- */

.coat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.coat-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    align-items: stretch;
}

.coat-media {
    border: 0;
    border-right: 1px solid var(--border);
    box-shadow: none;
    padding: 18px 14px;
    min-height: 250px;
}
.coat-media img {
    width: 100%;
    height: 214px;
    max-height: 214px;
    object-fit: contain;
}

.coat-body { padding: 20px 24px 22px; }

.coat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px 14px;
}
.coat-head h3 {
    font-family: var(--font-mono);
    font-size: 21px;
    letter-spacing: 0.02em;
    margin: 0;
    flex: 0 0 auto;
}

.coat-color {
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 7px;
    font-size: 12.5px;
    line-height: 1.25;
    color: var(--muted);
    text-align: right;
    margin-left: auto;
    max-width: 58%;
}
.coat-color i {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    margin-top: 1px;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.coat-sub {
    font-size: 13px;
    color: var(--muted);
    margin: 2px 0 10px;
}

.coat-body > p:not(.coat-sub):not(.coat-more) { font-size: 14px; color: var(--muted); }

.coat-more {
    margin: 16px 0 0;
    font-size: 13px;
}
.coat-more a {
    color: var(--cyan);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}
.coat-more a:hover { text-decoration: underline; }

.coat-points {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}
.coat-points li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 8px;
}
.coat-points li:last-child { margin-bottom: 0; }
.coat-points li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--ink);
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border);
    margin-top: 14px;
}

.stats div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 12px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats div:nth-child(2n) { border-right: 0; }
.stats div:nth-child(n + 3) { border-bottom: 0; }

.stats span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
}
.stats b { font-size: 15px; }

.coating-family {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    padding: 16px 20px;
    border: 1px dashed var(--border-strong);
    background: var(--paper);
}

.coating-family-label {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: 6px;
}

.coating-family span:not(.coating-family-label) {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    background: var(--white);
    border: 1px solid var(--border);
}

/* ------- productivity ------- */

.prod-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: start;
}

.chart-card .spec-table {
    margin-top: 12px;
    border: 0;
    background: transparent;
}

.mark {
    display: inline;
    background: #1a4a9c;
    color: #fff;
    font-weight: 600;
    padding: 1px 8px 2px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.prod-num {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.15em;
    white-space: nowrap;
}

.productivity .chart-title {
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.productivity .spec-table td:first-child {
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    white-space: normal;
}

/* ------- process (dark continues) ------- */

.process {
    background: var(--navy-900);
    color: #dbe6f4;
    border-top: 1px solid var(--line-dark);
}

.process .section-head h2 { color: #fff; }
.process .section-head p { color: #9fb2ca; }

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 22px 22px 20px;
    background: rgba(13, 26, 48, 0.75);
    border: 1px solid var(--line-dark);
    border-top: 2px solid rgba(53, 207, 238, 0.45);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--cyan);
}
.step-num::before { content: "этап · "; color: #6f83a0; }

.step h3 { color: #fff; margin: 0 0 6px; font-size: 16.5px; }
.step p { color: #9fb2ca; font-size: 13.5px; margin: 0; }

.lead-time {
    margin-top: 26px;
    padding: 16px 22px;
    border: 1px dashed rgba(140, 172, 215, 0.35);
    color: #b9c8dc;
    font-size: 15px;
}
.lead-time .mono-idx {
    color: var(--cyan);
    font-size: 13px;
    margin-right: 10px;
}

/* ------- extra / lab ------- */

.extra { background: var(--navy-900); }

.extra-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 52px;
    align-items: center;
}

.bullets p {
    padding-left: 18px;
    border-left: 2px solid var(--accent);
    color: var(--muted);
}

.kpi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 26px 0 30px;
}

.kpi-item {
    padding: 16px 16px 14px;
    background: var(--white);
    border: 1px solid var(--border);
}

.kpi-item b {
    display: block;
    font-family: var(--font-mono);
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 4px;
}
.kpi-item span { font-size: 12.5px; color: var(--muted); }

.extra-visual {
    min-height: 0;
    overflow: visible;
    padding: 28px 28px 42px;
    align-self: stretch;
}
.extra-visual img {
    max-height: none;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ------- contact (dark) ------- */

.contact {
    background: radial-gradient(900px 500px at 85% 10%, rgba(31, 107, 255, 0.22), transparent 60%),
        var(--navy-950);
    color: #dbe6f4;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--grid-dark);
    background-size: 34px 34px;
    pointer-events: none;
}

.contact .container { position: relative; }

.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: #9fb2ca; margin-bottom: 0; }

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.contact-mail {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    width: 100%;
    overflow-wrap: anywhere;
    padding: 18px 22px;
    background: rgba(13, 26, 48, 0.85);
    border: 1px solid rgba(140, 172, 215, 0.28);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}
a.contact-mail:hover {
    border-color: var(--cyan);
    color: #fff;
    text-decoration: none;
}
.contact-mail span {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 18px;
    align-items: start;
}

.panel-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 18px;
}

.contact-card {
    background: rgba(13, 26, 48, 0.8);
    border: 1px solid var(--line-dark);
    padding: 26px;
    min-width: 0;
}

.contact-list { margin: 0 0 20px; }

.contact-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line-dark);
}

.contact-list dt {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8fa3bd;
}
.contact-list dd { margin: 0; font-weight: 600; color: #eaf1fa; }

.contact-hint {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 14px 16px;
    border: 1px dashed rgba(53, 207, 238, 0.4);
}
.contact-hint .mono-idx { color: var(--cyan); padding-top: 2px; }
.contact-hint p { margin: 0; font-size: 13.5px; color: #b9c8dc; }
.contact-hint strong { color: #eaf1fa; }

/* ------- form ------- */

.form-card {
    background: rgba(13, 26, 48, 0.8);
    border: 1px solid var(--line-dark);
    padding: 26px;
    color: #dbe6f4;
    min-width: 0;
}

.form-card h3 { font-size: 22px; color: #fff; }
.form-card > p { color: #9fb2ca; margin-bottom: 20px; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8fa3bd;
    min-width: 0;
}

.form-grid .full { grid-column: 1 / -1; }

input, select, textarea {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--ink);
    padding: 11px 12px;
    border: 1px solid var(--border-strong);
    border-radius: 0;
    background: var(--white);
    min-width: 0;
    width: 100%;
}

.form-card input,
.form-card select,
.form-card textarea {
    color: #eaf1fa;
    background: rgba(8, 16, 30, 0.75);
    border-color: rgba(140, 172, 215, 0.28);
}

.form-card input::placeholder,
.form-card textarea::placeholder {
    color: #6f83a0;
}

.form-card option {
    background: #101f36;
    color: #eaf1fa;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(31, 107, 255, 0.15);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(53, 207, 238, 0.18);
}

.form-card .is-invalid,
.form-card .is-invalid:focus {
    border-color: #d3382f;
    box-shadow: 0 0 0 3px rgba(211, 56, 47, 0.18);
}

.field-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    font-family: var(--font);
    color: #ff8a82;
}

.form-check .field-error {
    flex: 1 1 100%;
    margin: 0 0 0 28px;
}

textarea { min-height: 110px; resize: vertical; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.captcha-row {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 12px 14px;
    align-items: end;
    margin: 16px 0 4px;
}
.captcha-row img {
    display: block;
    width: 188px;
    height: 58px;
    border: 1px solid var(--border-strong);
    background: #0b1626;
    image-rendering: auto;
}
.captcha-row .captcha-refresh {
    height: 58px;
    padding: 0 14px;
    white-space: nowrap;
}
.captcha-row label {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8fa3bd;
}

.form-status {
    font-size: 14px;
    min-height: 20px;
    margin: 14px 0 10px;
    font-family: var(--font-mono);
}
.form-status.ok { color: #1aa05a; }
.form-status.err { color: #d3382f; white-space: pre-line; }

/* ------- footer ------- */

.site-footer {
    background: var(--navy-950);
    border-top: 1px solid var(--line-dark);
    color: #8fa3bd;
    padding: 22px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
}

.site-footer a { color: #b9c8dc; }
.site-footer a:hover { color: var(--cyan); }

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}
.footer-legal a {
    font-size: 11.5px;
    letter-spacing: 0.04em;
    text-transform: none;
}

.footer-pd {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line-dark);
}
.footer-pd p {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.55;
    color: #7e93ad;
    max-width: 920px;
}

.form-grid .file-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8fa3bd;
    min-width: 0;
}
.file-field .file-hint {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    color: #8fa3bd;
    font-weight: 400;
}
.file-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 10px;
    margin-top: 8px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}
.file-previews[hidden] { display: none; }
.file-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid rgba(140, 172, 215, 0.28);
    background: rgba(8, 16, 30, 0.75);
}
.file-card-thumb {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0b1626;
}
.file-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.file-card-ext {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--cyan);
}
.file-card-meta {
    padding: 8px;
    font-size: 11px;
    line-height: 1.3;
    color: #9fb2ca;
}
.file-card-meta strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: #eaf1fa;
}
.file-card-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid rgba(150, 182, 224, 0.45);
    background: rgba(7, 15, 28, 0.88);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.file-card-remove:hover {
    border-color: #d3382f;
    color: #ff8d86;
}
.form-card input[type="file"] {
    padding: 8px;
    width: 100%;
}

.cab-files {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}
.cab-file {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 140px;
    padding: 8px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    font-size: 12px;
}
.cab-file img {
    width: 100%;
    height: 88px;
    object-fit: cover;
    background: #0b1626;
}
.cab-file span {
    word-break: break-word;
    line-height: 1.3;
}
.cab-file small { color: var(--muted); }

.form-checks {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.form-check {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-family: var(--font);
    font-size: 13.5px;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    color: #b9c8dc;
}
.form-check input,
.form-card .form-check input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    padding: 0;
    flex: 0 0 auto;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
    box-shadow: none;
}
.form-check a { color: var(--cyan); }
.form-check a:hover { text-decoration: underline; }

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 80;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    max-width: 920px;
    margin: 0 auto;
    padding: 16px 18px;
    background: #101f36;
    border: 1px solid var(--border-strong);
    color: #dbe6f4;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p {
    margin: 0;
    flex: 1 1 280px;
    font-size: 13.5px;
    line-height: 1.45;
}
.cookie-banner a { color: var(--cyan); }
.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cookie-banner .btn { padding: 10px 16px; font-size: 11.5px; }
body.has-cookie-banner .to-top { bottom: 110px; }

.legal-page { padding-top: 48px; padding-bottom: 64px; }
.legal-wrap { max-width: 820px; }
.legal-wrap h1 {
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.2;
    margin: 8px 0 28px;
}
.legal-wrap h2 {
    font-size: 18px;
    line-height: 1.35;
    margin: 28px 0 10px;
}
.legal-wrap p {
    color: var(--muted);
    margin: 0 0 12px;
    line-height: 1.65;
    overflow-wrap: break-word;
}
.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 16px;
}
.crumbs a { color: var(--cyan); }
.seo-layout {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.seo-page .sys-line {
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.seo-page h1 {
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.22;
    letter-spacing: 0;
    margin: 8px 0 18px;
}
.seo-page h2 {
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: 0;
    margin: 28px 0 12px;
}
.seo-page p {
    color: #e4ecf6;
    font-size: 16px;
    letter-spacing: 0;
    margin: 0 0 14px;
    line-height: 1.65;
    max-width: none;
}
.seo-coat {
    display: flex;
    align-items: stretch;
    margin: 22px 0 32px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
}
.seo-figure {
    margin: 0;
    flex: 0 0 248px;
    width: 248px;
    align-self: stretch;
    padding: 18px 14px 16px;
    background-color: #07111c;
    background-image:
        linear-gradient(rgba(140, 180, 230, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140, 180, 230, 0.18) 1px, transparent 1px);
    background-size: 20px 20px;
    background-repeat: repeat;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    min-height: 0;
}
.seo-figure img {
    display: block;
    width: auto;
    max-width: 210px;
    height: auto;
    max-height: 240px;
    flex: 0 0 auto;
    object-fit: contain;
}
.seo-figure figcaption {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
    line-height: 1.4;
    max-width: 220px;
    flex: 0 0 auto;
}
.seo-spec-panel {
    flex: 1 1 auto;
    min-width: 0;
    background: var(--white);
}
.seo-spec {
    margin: 0;
    border: 0;
    width: 100%;
}
.js-ready .seo-coat .reveal {
    opacity: 1;
    transform: none;
    transition: none;
}
.seo-spec caption {
    caption-side: top;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 14px 16px 4px;
}
.seo-spec td { padding: 9px 16px; }
.seo-spec td:first-child {
    letter-spacing: 0.02em;
}
.seo-related {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 28px 0 8px;
}
.seo-related a {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--cyan);
}
.seo-cta { margin-top: 28px; }
.legal-body .menu-toggle { margin-left: auto; }

.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(53, 207, 238, 0.45);
    background: rgba(13, 26, 48, 0.92);
    color: var(--cyan);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: opacity 0.2s, transform 0.2s, border-color 0.2s, background 0.2s;
}
.to-top[hidden] { display: none; }
.to-top svg { width: 22px; height: 22px; }
.to-top:hover {
    border-color: var(--cyan);
    background: var(--navy-700);
    color: #fff;
}

/* ------- admin ------- */

.admin-body {
    background: var(--paper);
    color: var(--ink);
}

.admin-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 22px 80px;
}

.admin-back {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-login {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 26px;
}

.admin-login label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.admin-login input,
.admin-login button {
    color-scheme: dark;
}

.admin-login input {
    color: var(--ink);
    background: rgba(8, 16, 30, 0.75);
    border-color: var(--border);
}

code { color: var(--cyan); }

.admin-meta { color: var(--muted); }
.form-error { color: #d3382f; font-weight: 600; }

.admin-list { display: flex; flex-direction: column; gap: 14px; }

.admin-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    padding: 18px 20px;
}

.admin-card header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.admin-card time {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
}
.admin-card p { margin: 4px 0; font-size: 14.5px; }

.cab-shell {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 100vh;
}
.cab-side {
    background: var(--navy-950);
    border-right: 1px solid var(--line-dark);
    padding: 28px 18px;
}
.cab-brand {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 24px;
    color: #eaf1fa;
}
.cab-brand span { color: var(--cyan); }
.cab-nav { display: flex; flex-direction: column; gap: 4px; }
.cab-nav a {
    color: var(--muted);
    padding: 10px 12px;
    border: 1px solid transparent;
}
.cab-nav a:hover,
.cab-nav a.is-on {
    color: #fff;
    text-decoration: none;
    border-color: var(--line-dark);
    background: rgba(13, 26, 48, 0.8);
}
.cab-side-meta {
    margin-top: 36px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}
.cab-main {
    padding: 36px 32px 80px;
    max-width: 1080px;
}
.cab-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 28px;
}
.cab-stats article {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 18px;
}
.cab-stats b {
    display: block;
    font-size: 28px;
    font-family: var(--font-mono);
    color: var(--cyan);
}
.cab-flash {
    border: 1px solid var(--border);
    padding: 12px 14px;
    margin-bottom: 18px;
}
.cab-flash.ok { border-color: rgba(53, 207, 238, 0.45); }
.cab-flash.err { border-color: #d3382f; color: #ff8b84; }
.cab-form .form-grid { margin-bottom: 16px; }
.cab-block {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 16px 18px 20px;
    margin: 0 0 16px;
}
.cab-block summary {
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 12px;
}
.cab-item {
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: 14px;
}
.cab-row { align-items: end; margin-bottom: 8px; }
.cab-del {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-sans);
    color: var(--muted);
}
.cab-del input { width: auto; }
.cab-upload {
    display: grid;
    gap: 8px;
    margin: 10px 0 16px;
    font-size: 13px;
    color: var(--muted);
}
.cab-upload img {
    max-height: 120px;
    max-width: 220px;
    object-fit: contain;
    background: #0a1524;
    border: 1px solid var(--border);
    padding: 8px;
}
.cab-lead-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.cab-lead-actions form {
    display: flex;
    gap: 8px;
    align-items: center;
}
.cab-lead-actions select { width: auto; min-width: 140px; }
.cab-form h3 { margin: 18px 0 10px; font-size: 16px; }

.cab-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 22px;
}
.cab-tabs a {
    color: var(--muted);
    padding: 8px 12px;
    border: 1px solid var(--border);
}
.cab-tabs a.is-on,
.cab-tabs a:hover {
    color: #fff;
    text-decoration: none;
    border-color: var(--cyan);
}
.cab-repeat { margin: 22px 0; }
.cab-repeat-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.cab-repeat-head h3 { margin: 0; }
.cab-card {
    background: rgba(13, 26, 48, 0.55);
    border: 1px solid var(--border);
    padding: 14px 16px 8px;
    margin-bottom: 12px;
}
.cab-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.cab-card-head strong { color: #eaf1fa; }
.cab-remove { color: #ff8b84 !important; border-color: rgba(211, 56, 47, 0.45) !important; }
.cab-pair {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
    position: relative;
}
.cab-pair [data-item-title] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.cab-check {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-sans);
    color: var(--ink);
}
.cab-check input { width: auto; }
.cab-savebar {
    position: sticky;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 14px 0 8px;
    background: linear-gradient(transparent, var(--paper) 30%);
}
.cab-savebar span { color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
    .cab-shell { grid-template-columns: 1fr; }
    .cab-side { border-right: 0; border-bottom: 1px solid var(--line-dark); }
    .cab-nav { flex-direction: row; flex-wrap: wrap; }
    .cab-stats { grid-template-columns: 1fr; }
    .cab-main { padding: 24px 18px 60px; }
    .cab-pair { grid-template-columns: 1fr; }
    .cab-repeat-head { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   responsive
   ========================================================= */

@media (max-width: 1080px) {
    .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .parts-grid { grid-template-columns: 1fr; }
    .coat-grid { grid-template-columns: 1fr; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-spec { max-width: 460px; }
    .hero { padding: 72px 0 80px; }
}

@media (max-width: 900px) {
    .wear-grid, .prod-grid, .extra-grid { grid-template-columns: 1fr; gap: 36px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .coat-card, .part-card { grid-template-columns: 1fr; }
    .seo-coat { flex-direction: column; }
    .seo-figure {
        flex: none;
        width: 100%;
        min-height: 220px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
    .coat-media, .part-media {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
    .coat-media { min-height: 200px; }

    .menu-toggle { display: flex; flex-shrink: 0; }
    .logo-tag { display: none; }
    .header-inner { gap: 10px; }
    .header-cta { margin-left: auto; flex-shrink: 0; }
    .header-cta .btn {
        white-space: normal;
        max-width: 7.6rem;
        padding: 7px 8px;
        font-size: 10.5px;
        line-height: 1.2;
        text-align: center;
        letter-spacing: 0.06em;
    }
    .nav {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--navy-950);
        border-bottom: 1px solid var(--line-dark);
        padding: 8px 22px 16px;
        margin-left: 0;
        z-index: 70;
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
}

@media (max-width: 620px) {
    .container { padding: 0 16px; }
    .section { padding: 52px 0; }
    .hero { padding: 48px 0 56px; }
    .hero-frame { inset: 14px; }
    .hero .lead { font-size: 16px; }
    .hero-spec { max-width: none; }
    .hero-spec dl div {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .hero-spec dd { text-align: left; }

    .section-head { margin-bottom: 28px; }
    .section-head h2 { gap: 12px; }
    .sec-num { margin-top: 4px; min-width: 38px; height: 28px; }

    .benefit-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .kpi { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .captcha-row { grid-template-columns: 1fr; }
    .captcha-row .captcha-refresh { height: 42px; width: fit-content; }

    .part-media img { max-height: 140px; }
    .coat-media img {
        height: 180px;
        max-height: 180px;
    }

    .compare { flex-direction: column; align-items: stretch; }
    .compare-arrow { transform: rotate(90deg); align-self: center; }

    .contact-hint { grid-template-columns: 1fr; gap: 6px; }
    .contact-mail { font-size: 18px; padding: 16px 18px; }

    .spec-table, .spec-table tbody, .spec-table tr, .spec-table td {
        display: block;
        width: 100%;
    }
    .spec-table td:first-child {
        white-space: normal;
        width: auto;
        border-right: 0;
        padding-bottom: 2px;
    }
    .spec-table td {
        padding: 8px 14px;
    }

    input, select, textarea { font-size: 16px; }

    .header-inner { gap: 8px; }
    .logo { gap: 8px; min-width: 0; }
    .logo svg { height: 32px; width: 32px; }
    .logo-name { font-size: 16px; }
    .logo-copy { min-width: 0; }
    .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }

    .legal-page { padding: 28px 0 48px; }
    .legal-wrap h1 {
        font-size: 22px;
        margin: 4px 0 18px;
    }
    .legal-wrap h2 {
        font-size: 16px;
        margin: 22px 0 8px;
    }
    .legal-wrap p { font-size: 15px; }
    .legal-body .sys-line {
        font-size: 11px;
        letter-spacing: 0.08em;
        margin-bottom: 12px;
    }
    .seo-page h1 { font-size: 22px; margin: 4px 0 16px; }
    .seo-page h2 { font-size: 16px; margin: 22px 0 8px; }
    .seo-page p { font-size: 15px; line-height: 1.65; }
    .seo-coat {
        flex-direction: column;
        margin: 20px 0 28px;
    }
    .seo-figure {
        flex: none;
        width: 100%;
        min-height: 200px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
        padding: 20px 16px;
    }
    .seo-figure img { max-height: 180px; }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .footer-legal {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .footer-pd p {
        font-size: 12px;
        overflow-wrap: break-word;
    }

    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        gap: 12px;
    }
    .cookie-banner p { flex: 1 1 auto; font-size: 13px; }
    .cookie-banner-actions { flex-direction: column; }
    .cookie-banner .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    body.has-cookie-banner .to-top { bottom: 200px; }
}

/* =========================================================
   motion — engineering, not decorative
   ========================================================= */

.logo .nc-beams {
    animation: beam-flow 1.6s linear infinite;
}

.logo .nc-ion {
    transform-box: fill-box;
    transform-origin: center;
    animation: ion-fall 2.4s ease-in-out infinite;
}
.logo .nc-ion:nth-child(2) { animation-delay: 0.4s; }
.logo .nc-ion:nth-child(3) { animation-delay: 0.9s; }
.logo .nc-ion:nth-child(4) { animation-delay: 1.4s; }

.js-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-ready .reveal.is-in {
    opacity: 1;
    transform: none;
}

html.is-weak {
    scroll-behavior: auto;
}

html.is-weak .logo .nc-beams,
html.is-weak .logo .nc-ion,
html.is-weak .hero-copy,
html.is-weak .hero-spec {
    animation: none !important;
}

html.is-weak.js-ready .reveal,
html.is-weak .hero-copy,
html.is-weak .hero-spec {
    opacity: 1;
    transform: none;
}

html.is-weak.js-ready .reveal {
    transition: none;
}

html.is-weak .tcard {
    transition: none;
}

.hero-copy,
.hero-spec {
    animation: hero-in 0.7s ease both;
}

@keyframes hero-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@keyframes beam-flow {
    to { stroke-dashoffset: -16; }
}

@keyframes ion-fall {
    0%, 100% { transform: translateY(0); opacity: 1; }
    55% { transform: translateY(8px); opacity: 0.2; }
}
