/* ==========================================================================
   AltControl — обновлённый дизайн
   ========================================================================== */

/* ---------- Шрифты (локально, только латиница и кириллица) ---------- */

@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap;
    src: url(../fonts/open-sans-cyrillic-400-normal.woff2) format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap;
    src: url(../fonts/open-sans-latin-400-normal.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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap;
    src: url(../fonts/open-sans-cyrillic-600-normal.woff2) format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap;
    src: url(../fonts/open-sans-latin-600-normal.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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap;
    src: url(../fonts/open-sans-cyrillic-700-normal.woff2) format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap;
    src: url(../fonts/open-sans-latin-700-normal.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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Roboto Slab"; font-style: normal; font-weight: 300; font-display: swap;
    src: url(../fonts/roboto-slab-cyrillic-300-normal.woff2) format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Slab"; font-style: normal; font-weight: 300; font-display: swap;
    src: url(../fonts/roboto-slab-latin-300-normal.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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Slab"; font-style: normal; font-weight: 400; font-display: swap;
    src: url(../fonts/roboto-slab-cyrillic-400-normal.woff2) format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Slab"; font-style: normal; font-weight: 400; font-display: swap;
    src: url(../fonts/roboto-slab-latin-400-normal.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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Slab"; font-style: normal; font-weight: 700; font-display: swap;
    src: url(../fonts/roboto-slab-cyrillic-700-normal.woff2) format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Slab"; font-style: normal; font-weight: 700; font-display: swap;
    src: url(../fonts/roboto-slab-latin-700-normal.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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Переменные ---------- */

:root {
    --brand: #0bcaf8;          /* фирменный голубой AltControl */
    --brand-600: #0284c7;      /* кнопки и ссылки — читаемый контраст с белым */
    --brand-700: #0369a1;
    --brand-50: #e8f9fe;
    --ink: #0f2733;
    --ink-2: #33474f;
    --muted: #5d6f77;
    --line: #dde7eb;
    --bg: #ffffff;
    --bg-soft: #f3f8fa;
    --yellow: #ffcc00;
    --green: #1f9d55;
    --red: #d64545;

    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(15, 39, 51, .06), 0 10px 30px rgba(15, 39, 51, .08);
    --shadow-lg: 0 2px 6px rgba(15, 39, 51, .08), 0 24px 60px rgba(15, 39, 51, .18);

    --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-head: "Roboto Slab", Georgia, serif;

    --header-h: 68px;
    --gutter: 16px;
}

@media (min-width: 768px) {
    :root { --gutter: 24px; }
}

/* ---------- База ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    font: 400 16px/1.6 var(--font);
    color: var(--ink-2);
    background: var(--bg);
    overflow-x: hidden;
}

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

a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0; font-weight: 400; }
h1 strong, h2 strong { font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 8px; top: -60px; z-index: 100;
    background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 8px; color: #fff; }

.accent { color: var(--brand-600); font-weight: 700; }
.nowrap { white-space: nowrap; }

.eyebrow {
    font: italic 400 15px/1.4 var(--font-head);
    color: var(--muted);
    margin: 0 0 10px;
}
.eyebrow::before {
    content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand); margin-right: 10px; vertical-align: middle; position: relative; top: -2px;
}
.eyebrow-light { color: rgba(255, 255, 255, .78); }

.logo-text { font-family: var(--font); font-weight: 700; color: var(--ink); white-space: nowrap; }
.logo-text b { color: var(--brand); }
.logo-text-light { color: #fff; font-size: 24px; }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Кнопки ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px;
    border: 1px solid transparent; border-radius: 10px;
    font: 600 16px/1.2 var(--font); text-decoration: none; text-align: center;
    cursor: pointer; transition: background-color .2s, box-shadow .2s, transform .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn .icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 6px 16px rgba(2, 132, 199, .28); }
.btn-primary:hover { background: var(--brand-700); color: #fff; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-50); color: var(--ink); }

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Шапка ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(15, 39, 51, .06); }

.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--muted); flex: none; }
.brand img { width: 120px; height: auto; }
.brand-tagline { display: none; font-size: 13px; line-height: 1.3; max-width: 120px; }

.site-nav { display: none; }

.header-contacts { display: none; }

.header-cta { margin-left: auto; }

.nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; margin-right: -8px;
    background: none; border: 0; border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню */
@media (max-width: 1023px) {
    .site-nav.is-open {
        display: flex; flex-direction: column;
        position: absolute; top: var(--header-h); left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 30px rgba(15, 39, 51, .12);
        padding: 8px var(--gutter) 16px;
    }
    .site-nav.is-open a {
        padding: 12px 0; border-bottom: 1px solid var(--line);
        color: var(--ink); text-decoration: none; font-weight: 600;
    }
    .site-nav.is-open a:last-child { border-bottom: 0; }
}

@media (max-width: 420px) {
    .header-cta { display: none; }
    .nav-toggle { margin-left: auto; }
}

@media (min-width: 640px) {
    .brand img { width: 136px; }
}

@media (min-width: 640px) and (max-width: 1023px), (min-width: 1320px) {
    .brand-tagline { display: block; }
}

@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .site-nav { display: flex; gap: 20px; margin-left: auto; }
    .site-nav a { color: var(--ink-2); text-decoration: none; white-space: nowrap; font-size: 15px; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
    .site-nav a:hover, .site-nav a.is-active { color: var(--ink); border-bottom-color: var(--brand); }
    .header-cta { margin-left: 0; }
}

@media (min-width: 1180px) {
    .header-contacts { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
    .header-phone { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
    .header-email { font-size: 13px; color: var(--muted); }
}

/* ---------- Первый экран ---------- */

.hero {
    position: relative; isolation: isolate;
    color: #fff;
    padding: 40px 0 56px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(100deg, rgba(10, 30, 40, .94) 0%, rgba(10, 30, 40, .86) 45%, rgba(10, 30, 40, .55) 100%),
        url(../img/slides/slide-3.jpg) center / cover no-repeat;
}
.hero-bg::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
    background: linear-gradient(90deg, var(--brand), #6ee7ff 50%, var(--yellow));
}

.hero-inner { display: grid; gap: 32px; align-items: center; }

.hero h1 { color: #fff; font-size: clamp(30px, 6vw, 50px); font-weight: 400; margin-bottom: 20px; }
.hero h1 .accent { color: var(--brand); }
.hero .lead { font-size: 17px; color: rgba(255, 255, 255, .85); max-width: 560px; }

.hero-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.hero-points li { position: relative; padding-left: 32px; font-weight: 600; }
.hero-points li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2733' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}

@media (min-width: 960px) {
    .hero { padding: 72px 0 88px; }
    .hero-inner { grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; }
}

/* ---------- Калькулятор ---------- */

.calc { color: var(--ink-2); padding: 24px 20px; box-shadow: var(--shadow-lg); }
@media (min-width: 480px) { .calc { padding: 28px; } }

.calc-title { font-size: 22px; font-weight: 700; margin-bottom: 16px; }

.calc-users label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 12px; }

.calc-users-row { display: flex; align-items: center; gap: 14px; }

.calc-number {
    width: 84px; flex: none;
    font: 700 26px/1 var(--font-head); color: var(--ink); text-align: center;
    padding: 8px 6px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft);
    -moz-appearance: textfield; appearance: textfield;
}
.calc-number::-webkit-outer-spin-button, .calc-number::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-number:focus { border-color: var(--brand); outline: none; background: #fff; }

.calc-range {
    --pct: 3%;
    flex: 1; min-width: 0; height: 28px; margin: 0; background: transparent;
    -webkit-appearance: none; appearance: none; cursor: pointer;
}
.calc-range::-webkit-slider-runnable-track {
    height: 8px; border-radius: 8px;
    background: linear-gradient(90deg, var(--brand) var(--pct), var(--line) var(--pct));
}
.calc-range::-moz-range-track { height: 8px; border-radius: 8px; background: var(--line); }
.calc-range::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--brand); }
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%;
    background: #fff; border: 3px solid var(--brand-600); box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.calc-range::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: #fff; border: 3px solid var(--brand-600); box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.calc-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin: 2px 98px 0 0; }

.calc-result {
    margin: 20px 0 14px; padding: 16px 18px;
    background: #fff8d6; border: 1px solid #ffe680; border-radius: var(--radius-sm);
}
.calc-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; color: var(--ink); }
.calc-total-label { font-size: 15px; color: var(--muted); }
.calc-total-value { font: 700 clamp(30px, 8vw, 38px)/1.1 var(--font-head); font-variant-numeric: tabular-nums; }
.calc-total-unit { font-weight: 600; }
.calc-per-user { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

.calc-note { font-size: 13px; line-height: 1.5; color: var(--muted); }

.calc-legal { font-size: 13px; line-height: 1.4; color: var(--muted); margin: 10px 0 0; text-align: center; }
.calc-legal.is-error { color: var(--red); }

/* ---------- Секции ---------- */

.section { padding: 64px 0; }
@media (min-width: 960px) { .section { padding: 96px 0; } }

.section-soft { background: var(--bg-soft); }

.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 4.4vw, 38px); }
@media (min-width: 960px) { .section-head { margin-bottom: 52px; } }

/* ---------- 7 причин ---------- */

.reasons { display: grid; gap: 16px; }
@media (min-width: 640px) { .reasons { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .reasons { grid-template-columns: repeat(3, 1fr); } }

.reason {
    position: relative; padding: 26px 24px 24px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.reason:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.reason h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.reason p { color: var(--muted); font-size: 15px; }

.reason-num {
    display: inline-block; margin-bottom: 14px;
    font: 700 15px/1 var(--font-head); color: var(--brand-600);
    padding: 7px 10px; border-radius: 8px; background: var(--brand-50);
}

.reason-photo {
    color: #fff; border: 0; min-height: 240px;
    display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(180deg, rgba(10, 30, 40, .1) 0%, rgba(10, 30, 40, .88) 75%), url(../img/slides/slide-7.jpg) center / cover;
}
.reason-photo h3 { color: #fff; }
.reason-photo p { color: rgba(255, 255, 255, .85); }
.reason-photo .reason-num { background: var(--brand); color: var(--ink); align-self: flex-start; }

.reason-dark { background: var(--ink); border-color: var(--ink); }
.reason-dark h3 { color: #fff; }
.reason-dark p { color: rgba(255, 255, 255, .78); }
.reason-dark .reason-num { background: rgba(11, 202, 248, .16); color: var(--brand); }
.reason-dark .btn { margin-top: 16px; }

@media (min-width: 640px) and (max-width: 1023px) { .reason-wide { grid-column: span 2; } }
@media (min-width: 1024px) {
    .reason-photo { grid-row: span 2; }
    .reason-wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr auto; column-gap: 24px; align-items: center; }
    .reason-wide .reason-num { grid-row: span 2; align-self: start; margin: 4px 0 0; }
    .reason-wide h3 { grid-column: 2; }
    .reason-wide p { grid-column: 2; }
    .reason-wide .btn { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
}

/* ---------- Сравнение ---------- */

.dialogs { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 768px) { .dialogs { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .dialogs { grid-template-columns: repeat(3, 1fr); } }

.dialog { display: flex; flex-direction: column; gap: 10px; }

.bubble { position: relative; margin: 0; padding: 14px 16px; border-radius: 16px; font-size: 15px; line-height: 1.5; max-width: 92%; }
.bubble .who { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.bubble-admin { background: #fff; color: var(--ink-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble-admin .who { color: #c2410c; }
.bubble-ac { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble-ac .who { color: var(--brand); }

.compare-table-wrap { padding: 8px 8px 24px; overflow-x: auto; }
@media (min-width: 768px) { .compare-table-wrap { padding: 16px 24px 32px; } }

.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.compare-table thead th { font-size: 15px; font-weight: 700; color: var(--ink); border-bottom-width: 2px; }
.compare-table thead th:nth-child(2) { background: var(--brand-50); border-radius: 10px 10px 0 0; }
.compare-table tbody th { text-align: left; font-weight: 400; color: var(--ink-2); }
.compare-table td { width: 22%; font-size: 0; }
.compare-table td:nth-child(2) { background: var(--brand-50); }
.compare-table tbody tr:last-child td:nth-child(2) { border-radius: 0 0 10px 10px; }
.compare-table td::before {
    content: ""; display: inline-block; width: 28px; height: 28px; border-radius: 50%;
    background: center / 16px no-repeat;
}
.compare-table td.yes::before {
    background-color: var(--green);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}
.compare-table td.no::before {
    background-color: #e9eef0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9aa1' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E");
}
@media (max-width: 479px) {
    .compare-table { font-size: 14px; }
    .compare-table th, .compare-table td { padding: 12px 6px; }
    .compare-table thead th { font-size: 13px; }
}

.compare-cta { text-align: center; margin-top: 24px; }

/* ---------- Этапы ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }

.step {
    position: relative; padding: 24px 22px 22px 76px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }
.step-num {
    position: absolute; left: 20px; top: 22px;
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    font: 700 18px/1 var(--font-head); color: #fff; background: var(--green);
}
.step-note { font: italic 400 14px/1.4 var(--font-head) !important; color: var(--ink) !important; margin-top: 12px; }
.step-note::before { content: "— "; color: var(--brand-600); }

@media (min-width: 1024px) {
    .steps { grid-template-columns: repeat(5, 1fr); gap: 20px; }
    .step { padding: 64px 8px 0 0; border: 0; background: transparent; }
    .step::before {
        content: ""; position: absolute; top: 20px; left: 52px; right: -8px; height: 2px;
        background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 14px);
    }
    .step:last-child::before { display: none; }
    .step-num { left: 0; top: 0; }
}

/* ---------- Технологии ---------- */

.section-brand {
    position: relative; isolation: isolate; color: #fff;
    background: linear-gradient(135deg, #035f8c 0%, #0789bd 55%, #0bb5e3 100%);
}
.section-brand::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
    background-image: radial-gradient(#fff 1.2px, transparent 1.2px);
    background-size: 22px 22px;
}
.section-brand h2 { color: #fff; }
.section-brand .eyebrow { color: rgba(255, 255, 255, .9); }
.section-brand .eyebrow::before { background: #fff; }

.tech { display: grid; gap: 16px; }
@media (min-width: 768px) { .tech { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.tech-card {
    padding: 26px 24px; border-radius: var(--radius);
    background: rgba(255, 255, 255, .96); color: var(--ink-2);
    box-shadow: 0 10px 30px rgba(3, 80, 110, .2);
}
.tech-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.tech-card p { font-size: 15px; color: var(--muted); }
.tech-icon {
    width: 48px; height: 48px; padding: 11px; margin-bottom: 18px; border-radius: 12px;
    background: var(--brand-50); fill: none; stroke: var(--brand-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Контакты и форма ---------- */

.contact { display: grid; gap: 32px; align-items: start; }
.contact-single { max-width: 760px; text-align: center; }
.contact-single .contact-list { justify-content: center; grid-template-columns: repeat(auto-fit, minmax(180px, auto)); gap: 16px 40px; }
.contact-single .contact-list li { display: flex; flex-direction: column; gap: 2px; align-items: center; }

.contact-copy h2 { font-size: clamp(26px, 4.4vw, 38px); margin-bottom: 18px; }
.contact-copy > p { font-size: 17px; }

.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: baseline; }
.contact-list span { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.contact-list a { font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--brand-600); }


/* ---------- Подвал ---------- */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 36px 0; font-size: 14px; }
.footer-inner { display: grid; gap: 20px; }
.footer-inner p { margin: 8px 0 0; }
.footer-contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-contacts a { color: #fff; text-decoration: none; }
.footer-contacts a:hover { color: var(--brand); }
@media (min-width: 768px) {
    .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
}
