/* =========================================================
   БЗМ Тех - минималистичный дизайн v4
   - Светлая основа, деловая типографика
   - Минимум свечений, тонкие тени
   - Цвета бренда как акценты, не как заливка
   ========================================================= */

:root {
    /* ===== АКЦЕНТЫ ИЗ ЛОГОТИПА ===== */
    --c-orange: #F39C3E;
    --c-blue: #2D8FD0;
    --c-green: #5BAE57;

    /* ===== СВЕТЛЫЕ ОТТЕНКИ ===== */
    --c-bg: #FFFFFF;
    --c-bg-soft: #FBFBFD;
    --c-bg-section: #F5F5F7;
    --c-bg-dark: #1D1D1F;
    --c-bg-dark-soft: #2C2C2E;

    --c-text: #1D1D1F;
    --c-text-muted: #6E6E73;
    --c-text-dim: #86868B;
    --c-text-on-dark: #F5F5F7;
    --c-text-on-dark-muted: #A1A1A6;

    --c-border: #D2D2D7;
    --c-border-soft: #E5E5EA;
    --c-border-strong: #86868B;

    --c-link: #0071E3;
    --c-link-hover: #0077ED;
    --c-danger: #E11D48;
    --c-success: #34C759;

    /* Тонкие тени */
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 8px 28px rgba(0,0,0,0.08);
    --shadow-button: 0 1px 2px rgba(0,0,0,0.06);

    /* Шрифты - SF Pro inspired */
    --f-display: 'Inter', BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    --f-body: 'Inter', BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
    --f-mono: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;

    --container: 1320px;
    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --radius-pill: 980px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== БАЗА ========== */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Фон холста задаёт html: body прозрачен, чтобы под контентом
       был виден анимированный слой .page-bg (z-index: -1) */
    background: var(--c-bg);
}

body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 17px;
    line-height: 1.5;
    color: var(--c-text);
    background: transparent;
    overflow-x: hidden;
    letter-spacing: -0.011em;
}

img, svg { max-width: 100%; height: auto; display: block; }
a {
    color: var(--c-link);
    text-decoration: none;
    transition: color 0.2s var(--ease-smooth);
}
a:hover { color: var(--c-link-hover); }

h1, h2, h3, h4, h5 {
    font-family: var(--f-display);
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 0.5em;
    letter-spacing: -0.022em;
    color: var(--c-text);
}

p { margin: 0 0 1em; color: var(--c-text-muted); }

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

@media (min-width: 1024px) {
    .container { padding: 0 32px; }
}

/* ========== ЗАЩИТА ========== */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
input, textarea, [contenteditable] {
    -webkit-user-select: text;
    user-select: text;
}
img { -webkit-user-drag: none; pointer-events: none; }

/* ========== КНОПКИ ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--f-body);
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s var(--ease-smooth);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--c-link);
    color: white;
    box-shadow: var(--shadow-button);
}
.btn-primary:hover {
    background: var(--c-link-hover);
    color: white;
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--c-bg-dark);
    color: white;
}
.btn-dark:hover {
    background: var(--c-bg-dark-soft);
    color: white;
    transform: translateY(-1px);
}

.btn-orange {
    background: var(--c-orange);
    color: white;
}
.btn-orange:hover {
    background: #E08A2C;
    color: white;
    transform: translateY(-1px);
}

.btn-success {
    background: var(--c-success);
    color: white;
}
.btn-success:hover {
    background: #30B452;
    color: white;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--c-text);
    border: 1px solid var(--c-border);
}
.btn-ghost:hover {
    background: var(--c-bg-soft);
    border-color: var(--c-border-strong);
}

.btn-link {
    background: transparent;
    color: var(--c-link);
    padding: 0;
}
.btn-link:hover { text-decoration: underline; }

.btn-large { padding: 16px 32px; font-size: 16px; }
.btn-small { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform 0.25s var(--ease-smooth); display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* ========== АНИМИРОВАННЫЙ ФОН СТРАНИЦЫ ========== */
/* Только transform-анимации без blur-фильтров: мягкость пятен дают
   radial-gradient'ы, поэтому слой почти ничего не стоит GPU */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.page-bg-blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}
.page-bg-blob-1 {
    width: 680px; height: 680px;
    left: -220px; top: -180px;
    background: radial-gradient(circle closest-side, rgba(243, 156, 62, 0.10), transparent);
    animation: bg-drift-1 44s ease-in-out infinite alternate;
}
.page-bg-blob-2 {
    width: 760px; height: 760px;
    right: -280px; top: 22%;
    background: radial-gradient(circle closest-side, rgba(45, 143, 208, 0.10), transparent);
    animation: bg-drift-2 52s ease-in-out infinite alternate;
}
.page-bg-blob-3 {
    width: 620px; height: 620px;
    left: 8%; bottom: -260px;
    background: radial-gradient(circle closest-side, rgba(91, 174, 87, 0.09), transparent);
    animation: bg-drift-3 48s ease-in-out infinite alternate;
}
@keyframes bg-drift-1 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(90px, 70px) scale(1.12); }
}
@keyframes bg-drift-2 {
    from { transform: translate(0, 0) scale(1.08); }
    to   { transform: translate(-110px, -60px) scale(0.96); }
}
@keyframes bg-drift-3 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(70px, -80px) scale(1.1); }
}

/* Кольца и точки - едва заметная «жизнь» на полях страницы */
.page-bg-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(45, 143, 208, 0.12);
    will-change: transform;
}
.page-bg-ring-1 {
    width: 140px; height: 140px;
    right: 6%; top: 12%;
    animation: bg-bob 13s ease-in-out infinite alternate;
}
.page-bg-ring-2 {
    width: 90px; height: 90px;
    left: 4%; top: 58%;
    border-color: rgba(243, 156, 62, 0.13);
    animation: bg-bob 17s ease-in-out infinite alternate-reverse;
}
.page-bg-dot {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    will-change: transform;
}
.page-bg-dot-1 { left: 12%; top: 24%; background: rgba(45, 143, 208, 0.18); animation: bg-bob 11s ease-in-out infinite alternate; }
.page-bg-dot-2 { right: 10%; top: 70%; background: rgba(91, 174, 87, 0.18); animation: bg-bob 15s ease-in-out infinite alternate-reverse; }
.page-bg-dot-3 { left: 46%; top: 86%; background: rgba(243, 156, 62, 0.16); animation: bg-bob 19s ease-in-out infinite alternate; }

@keyframes bg-bob {
    from { transform: translate(0, -18px); }
    to   { transform: translate(12px, 18px); }
}

/* На телефоне крупные пятна занимают весь экран - приглушаем и упрощаем */
@media (max-width: 767px) {
    .page-bg-blob { opacity: 0.7; }
    .page-bg-ring, .page-bg-dot { display: none; }
}

/* ========== HEADER ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.82);
    /* blur(10px) вместо 20px: backdrop-filter пересчитывается на каждый кадр
       прокрутки и на Linux сильно роняет FPS */
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: background 0.3s var(--ease-smooth);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-text);
    flex-shrink: 0;
}
.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.4s var(--ease-smooth);
}
.brand:hover .brand-logo { transform: rotate(-5deg); }

.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.022em;
    white-space: nowrap;
}
.brand-title .b { color: var(--c-blue); }
.brand-title .z { color: var(--c-orange); }
.brand-title .m { color: var(--c-green); }

.brand-tagline {
    font-size: 10px;
    color: var(--c-text-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 2px;
    white-space: nowrap;
    font-weight: 500;
}

.main-nav {
    display: flex;
    gap: 0;
    margin-left: 40px;
    flex: 1;
}
.main-nav a {
    color: var(--c-text);
    font-weight: 400;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s var(--ease-smooth), background 0.2s var(--ease-smooth);
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.main-nav a:hover {
    color: var(--c-link);
    background: rgba(0, 0, 0, 0.04);
}

/* ---- Выпадающее подменю (пункт «Услуги»): категории → услуги ----
   Открытием управляет JS (классы .open) - никаких «зависших» hover-состояний.
   :focus-within оставлен для навигации с клавиатуры. */
.nav-drop { position: relative; }
.nav-drop-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.nav-drop-chevron {
    width: 14px;
    height: 14px;
    flex: none;
    transition: transform 0.15s var(--ease-smooth);
}
.nav-drop.open .nav-drop-chevron,
.nav-drop:focus-within .nav-drop-chevron { transform: rotate(180deg); }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.15s var(--ease-smooth), transform 0.15s var(--ease-smooth),
                visibility 0s linear 0.15s;
    z-index: 200;
}
/* Невидимый «мостик» между пунктом меню и панелью, чтобы hover не обрывался */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}
.nav-drop.open > .nav-dropdown,
.nav-drop:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.15s var(--ease-smooth), transform 0.15s var(--ease-smooth);
}
.nav-dropdown a {
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: normal;
}
.nav-dropdown a:hover { background: var(--c-bg-soft); color: var(--c-link); }
.nav-dropdown-all {
    margin-top: 4px;
    border-top: 1px solid var(--c-border-soft);
    border-radius: 0 0 8px 8px;
    font-weight: 500;
    color: var(--c-link);
}

/* Строка категории внутри списка */
.nav-cat { position: relative; }
.nav-cat-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    background: transparent;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    color: var(--c-text);
    text-align: left;
    cursor: pointer;
}
.nav-cat.open > .nav-cat-toggle,
.nav-cat:focus-within > .nav-cat-toggle,
.nav-cat-toggle:hover { background: var(--c-bg-soft); color: var(--c-link); }
.nav-cat-arrow {
    width: 13px;
    height: 13px;
    flex: none;
    opacity: 0.55;
    transition: transform 0.15s var(--ease-smooth);
}

/* Второй уровень: услуги выбранной категории (выезжает вбок) */
.nav-cat-panel {
    position: absolute;
    top: -6px;
    left: calc(100% + 6px);
    min-width: 300px;
    display: flex;
    flex-direction: column;
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(4px);
    transition: opacity 0.15s var(--ease-smooth), transform 0.15s var(--ease-smooth),
                visibility 0s linear 0.15s;
    z-index: 210;
}
/* Невидимый «мостик» через зазор между колонками, чтобы hover не обрывался */
.nav-cat-panel::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -8px;
    width: 8px;
}
.nav-cat.open > .nav-cat-panel,
.nav-cat:focus-within > .nav-cat-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 0.15s var(--ease-smooth), transform 0.15s var(--ease-smooth);
}
/* Если справа не хватает места, JS вешает .flip - панель открывается влево */
.nav-cat.flip > .nav-cat-panel {
    left: auto;
    right: calc(100% + 6px);
    transform: translateX(-4px);
}
.nav-cat.flip > .nav-cat-panel::before { left: auto; right: -8px; }
.nav-cat.flip.open > .nav-cat-panel,
.nav-cat.flip:focus-within > .nav-cat-panel { transform: translateX(0); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.phone-group {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--c-bg-soft);
    border-radius: var(--radius-pill);
    border: 1px solid var(--c-border-soft);
}
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--c-text);
    font-weight: 500;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    letter-spacing: -0.01em;
    transition: color 0.2s var(--ease-smooth);
}
.header-phone:hover { color: var(--c-link); }
.phone-divider {
    color: var(--c-border-strong);
    font-size: 11px;
    user-select: none;
}
.phone-icon {
    display: inline-block;
    font-size: 12px;
    opacity: 0.7;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--c-text);
    transition: all 0.3s var(--ease-smooth);
    border-radius: 2px;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    background: var(--c-bg);
}

/* Фоновые слои hero */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

/* Анимированный градиент */
.hero-gradient {
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 20% 30%, rgba(243, 156, 62, 0.18), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(45, 143, 208, 0.18), transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(91, 174, 87, 0.14), transparent 50%);
    animation: gradient-drift 14s ease-in-out infinite;
    will-change: transform;
}

@keyframes gradient-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(5%, 3%) scale(1.06); }
    50% { transform: translate(-3%, 5%) scale(0.96); }
    75% { transform: translate(4%, -4%) scale(1.04); }
}

/* Декоративные мягкие плавающие фигуры */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    /* 44px вместо 60px: на слабых GPU (Linux) большой blur заметно тормозит */
    filter: blur(44px);
    opacity: 0.55;
    will-change: transform;
}
.hero-shape-1 {
    width: 380px; height: 380px;
    background: var(--c-orange);
    top: -120px;
    left: -100px;
    animation: shape-float-1 16s ease-in-out infinite;
}
.hero-shape-2 {
    width: 460px; height: 460px;
    background: var(--c-blue);
    bottom: -160px;
    right: -120px;
    animation: shape-float-2 18s ease-in-out infinite;
}
.hero-shape-3 {
    width: 280px; height: 280px;
    background: var(--c-green);
    top: 40%;
    left: 55%;
    opacity: 0.35;
    animation: shape-float-3 22s ease-in-out infinite;
}

@keyframes shape-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, 60px) scale(1.12); }
    66% { transform: translate(40px, 120px) scale(0.95); }
}
@keyframes shape-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-70px, -40px) scale(1.1); }
}
@keyframes shape-float-3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(40px, -60px); }
    66% { transform: translate(-30px, 40px); }
}

/* Когда hero вне экрана, фоновые анимации ставятся на паузу (класс из JS) */
.hero.bg-paused .hero-gradient,
.hero.bg-paused .hero-shape {
    animation-play-state: paused;
}

/* Параллакс-слои (управляются админкой) */
.parallax-stage {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.parallax-layer {
    position: absolute;
    will-change: transform;
    /* Без transition: transform обновляется из JS каждый кадр,
       и переход с ним конфликтует - на Linux слои дёргались */
    pointer-events: none;
}
.parallax-layer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    -webkit-user-drag: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-content { animation: fade-up 1s var(--ease-smooth) both; }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius-pill);
    font-size: 13px;
    color: var(--c-text-muted);
    font-weight: 500;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--c-green);
    box-shadow: 0 0 8px rgba(91, 174, 87, 0.5);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.15); }
}

.hero-title {
    font-size: clamp(40px, 7vw, 80px);
    margin: 0 0 24px;
    line-height: 1.05;
    letter-spacing: -0.032em;
    font-weight: 700;
}

.hero-accent {
    background: linear-gradient(135deg, var(--c-orange) 0%, var(--c-blue) 50%, var(--c-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--c-text-muted);
    margin: 0 auto 36px;
    max-width: 680px;
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: -0.015em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fade-up 1s var(--ease-smooth) 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 64px;
    justify-content: center;
    padding-top: 36px;
    border-top: 1px solid var(--c-border-soft);
    animation: fade-up 1s var(--ease-smooth) 0.4s both;
    flex-wrap: wrap;
}
.stat-value {
    font-family: var(--f-display);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    color: var(--c-text);
    letter-spacing: -0.025em;
}
.stat:nth-child(1) .stat-value { color: var(--c-orange); }
.stat:nth-child(2) .stat-value { color: var(--c-blue); }
.stat:nth-child(3) .stat-value { color: var(--c-green); }

.stat-label {
    font-size: 14px;
    color: var(--c-text-muted);
    margin-top: 8px;
    font-weight: 500;
}

/* === Hero-визуал - вместо куба деловая мозаика плиток === */
.hero-tiles {
    position: relative;
    max-width: 1000px;
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    animation: fade-up 1s var(--ease-smooth) 0.3s both;
}

.tile {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius);
    padding: 24px;
    text-align: left;
    transition: all 0.3s var(--ease-smooth);
    overflow: hidden;
    position: relative;
}
.tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.tile-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}
.tile.t-orange .tile-icon { background: rgba(243, 156, 62, 0.12); color: var(--c-orange); }
.tile.t-blue .tile-icon { background: rgba(45, 143, 208, 0.12); color: var(--c-blue); }
.tile.t-green .tile-icon { background: rgba(91, 174, 87, 0.12); color: var(--c-green); }
.tile.t-dark .tile-icon { background: rgba(29, 29, 31, 0.08); color: var(--c-bg-dark); }

.tile-num {
    font-family: var(--f-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1;
    margin-bottom: 6px;
    color: var(--c-text);
}
.tile-label {
    font-size: 13px;
    color: var(--c-text-muted);
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.tile-wide { grid-column: span 2; }
.tile-feature {
    background: var(--c-bg-dark);
    color: var(--c-text-on-dark);
    border-color: var(--c-bg-dark);
}
.tile-feature h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: white;
    font-weight: 600;
}
.tile-feature p { color: var(--c-text-on-dark-muted); font-size: 14px; margin: 0; }

/* ===== Продуктовые плитки в hero ===== */
.tile-product {
    text-decoration: none;
    color: var(--c-text);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.tile-product:hover { color: var(--c-text); }

.tile-product.tile-wide {
    background: linear-gradient(135deg, var(--c-bg-dark) 0%, #2C2C2E 100%);
    color: white;
    border-color: transparent;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
}
.tile-product.tile-wide:hover { color: white; }
.tile-product.tile-wide::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(243,156,62,0.25), transparent 60%);
    pointer-events: none;
    transition: transform 0.6s var(--ease-smooth);
}
.tile-product.tile-wide:hover::before {
    transform: scale(1.15) translate(-20px, 20px);
}
.tile-product-icon {
    width: 80px; height: 80px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    color: var(--c-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.tile-product-icon svg { width: 40px; height: 40px; }

/* Фото готовой работы: фон всей широкой плитки. Слева гасится тёмным
   градиентом под текст, справа остаётся широкий читаемый кусок скриншота */
.tile-product-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.tile-product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
    transition: transform 0.5s var(--ease-smooth);
}
.tile-product.tile-wide:hover .tile-product-photo img { transform: scale(1.04); }
.tile-product-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        #17171A 0%,
        rgba(23, 23, 26, 0.94) 40%,
        rgba(23, 23, 26, 0.55) 68%,
        rgba(23, 23, 26, 0.12) 100%);
    pointer-events: none;
}
/* Текст не заезжает на видимую часть фото */
.tile-product.tile-wide.has-photo .tile-product-content { max-width: 62%; }
.tile-product-content { position: relative; z-index: 1; }
.tile-product-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius-pill);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
    margin-bottom: 8px;
}
.tile-product.tile-wide h3 {
    font-size: 26px;
    margin-bottom: 6px;
    color: white;
    font-weight: 700;
    letter-spacing: -0.022em;
}
.tile-product.tile-wide p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    margin: 0 0 8px;
    line-height: 1.45;
}
.tile-product-link {
    font-size: 13px;
    color: var(--c-orange);
    font-weight: 500;
}

/* Маленькие продуктовые плитки */
.tile-product:not(.tile-wide):not(.tile-cta-final) {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border-soft);
}
.tile-product:not(.tile-wide):not(.tile-cta-final):hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}
.tile-product-icon-sm {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.tile-product-icon-sm svg { width: 20px; height: 20px; }
.tile-product-icon-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.t-product-monitor .tile-product-icon-sm { background: rgba(91,174,87,0.12); color: var(--c-green); }
.t-product-network .tile-product-icon-sm { background: rgba(45,143,208,0.12); color: var(--c-blue); }
.t-product-bitrix .tile-product-icon-sm { background: rgba(243,156,62,0.12); color: var(--c-orange); }

.tile-product-title-sm {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: -0.012em;
    color: var(--c-text);
}
.tile-product-desc {
    font-size: 12.5px;
    color: var(--c-text-muted);
    margin: 0;
    line-height: 1.45;
}

/* CTA-плитка финальная: компактная карточка, не растягивается
   на высоту ряда - центрируется по вертикали в своей ячейке */
.tile-cta-final {
    background: linear-gradient(135deg, var(--c-link), #4FB3E8) !important;
    color: white !important;
    border-color: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    align-self: center;
    width: 100%;
    padding: 28px 24px;
}
.tile-cta-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,113,227,0.35);
    color: white !important;
}
.tile-cta-content { position: relative; }
.tile-cta-final h3 {
    font-size: 17px;
    color: white;
    margin-bottom: 4px;
    font-weight: 600;
}
.tile-cta-final p {
    color: rgba(255,255,255,0.85);
    font-size: 12.5px;
    margin: 0 0 8px;
}
.tile-cta-arrow {
    font-size: 22px;
    font-weight: 300;
    color: white;
    display: inline-block;
    transition: transform 0.3s var(--ease-smooth);
}
.tile-cta-final:hover .tile-cta-arrow { transform: translateX(6px); }

/* ========== СЕКЦИИ ========== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-soft {
    position: relative;
    background: var(--c-bg-soft);
    overflow: hidden;
}
/* Цветные «пятна света» вынесены в ::before и медленно дрейфуют.
   Контент секций лежит в .container (position: relative) - он выше пятен */
.section-soft::before {
    content: '';
    position: absolute;
    inset: -15%;
    background-image:
        radial-gradient(640px 320px at 88% 5%, rgba(45, 143, 208, 0.07), transparent 70%),
        radial-gradient(520px 280px at 8% 95%, rgba(243, 156, 62, 0.06), transparent 70%),
        radial-gradient(420px 240px at 55% 50%, rgba(91, 174, 87, 0.05), transparent 70%);
    animation: soft-spots 30s ease-in-out infinite alternate;
    will-change: transform;
    pointer-events: none;
}
@keyframes soft-spots {
    from { transform: translate(-2%, -2.5%) scale(1); }
    to   { transform: translate(2%, 2.5%) scale(1.06); }
}

.section-dark {
    position: relative;
    background: var(--c-bg-dark);
    color: var(--c-text-on-dark);
    overflow: hidden;
}
/* Медленно плывущее цветное свечение на тёмном фоне */
.section-dark::before,
.cta-section::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(560px 340px at 15% 20%, rgba(45, 143, 208, 0.16), transparent 70%),
        radial-gradient(620px 380px at 85% 80%, rgba(243, 156, 62, 0.12), transparent 70%);
    animation: dark-glow 24s ease-in-out infinite alternate;
    will-change: transform;
    pointer-events: none;
}
@keyframes dark-glow {
    from { transform: translate(-2%, -1.5%) scale(1); }
    to   { transform: translate(2%, 1.5%) scale(1.07); }
}
.section-dark .section-title { color: white; }
.section-dark .section-subtitle { color: var(--c-text-on-dark-muted); }
.section-dark p { color: var(--c-text-on-dark-muted); }

/* Живой фон для «плоских» секций: едва заметные цветные пятна,
   медленно дрейфуют. У section-soft / section-dark - свои варианты.
   Контент лежит в .container (position: relative) - он выше пятен. */
.section:not(.section-soft):not(.section-dark),
.trust-bar, .service-hero, .seo-section, .contacts-section,
.products-page, .related-services, .services-section {
    position: relative;
    overflow: hidden;
}
.section:not(.section-soft):not(.section-dark)::before,
.trust-bar::before, .service-hero::before, .seo-section::before,
.contacts-section::before, .products-page::before,
.related-services::before, .services-section::before {
    content: '';
    position: absolute;
    inset: -12%;
    background-image:
        radial-gradient(560px 300px at 12% 12%, rgba(45, 143, 208, 0.05), transparent 70%),
        radial-gradient(520px 300px at 90% 85%, rgba(243, 156, 62, 0.05), transparent 70%),
        radial-gradient(380px 220px at 60% 40%, rgba(91, 174, 87, 0.035), transparent 70%);
    animation: soft-spots 36s ease-in-out infinite alternate;
    pointer-events: none;
}
/* Рассинхрон дрейфа у чётных секций - фон «дышит» неравномерно */
section:nth-of-type(even)::before { animation-delay: -18s; }
/* На телефонах декоративные пятна секций отключаем - экономим GPU,
   глобальный page-bg остаётся */
@media (max-width: 767px) {
    .section:not(.section-soft):not(.section-dark)::before,
    .trust-bar::before, .service-hero::before, .seo-section::before,
    .contacts-section::before, .products-page::before,
    .related-services::before, .services-section::before { display: none; }
}

.section-header {
    margin-bottom: 56px;
    max-width: 720px;
}
.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--f-body);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-link);
    margin-bottom: 16px;
    font-weight: 600;
}

.section-title {
    font-size: clamp(28px, 4.2vw, 48px);
    margin: 0 0 16px;
    font-weight: 700;
    letter-spacing: -0.025em;
}
.section-subtitle {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--c-text-muted);
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
    letter-spacing: -0.013em;
}

/* ========== УСЛУГИ - карточки (компактные) ========== */
/* Группа услуг одной категории на странице «Все услуги» */
.services-category + .services-category { margin-top: 48px; }
.services-category-title {
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--c-border-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    justify-content: center;
}

/* Свёрнутые услуги: на главной видны первые 8, остальные раскрываются кнопкой */
.services-grid .svc-extra { display: none; }
.services-grid.expanded .svc-extra { display: flex; }

.services-toggle-wrap {
    text-align: center;
    margin-top: 32px;
}
.services-toggle-arrow {
    display: inline-block;
    transition: transform 0.3s var(--ease-smooth);
}
.services-toggle[aria-expanded="true"] .services-toggle-arrow {
    transform: rotate(180deg);
}

.service-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease-smooth);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--c-text);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--c-border);
    color: var(--c-text);
}

.service-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 180px;
    overflow: hidden;
    background: var(--c-bg-soft);
}
.service-card:nth-child(4n+1) .service-card-image { background: linear-gradient(135deg, #FFF4E6 0%, #FFE5C7 100%); }
.service-card:nth-child(4n+2) .service-card-image { background: linear-gradient(135deg, #E6F2FB 0%, #C7E0F3 100%); }
.service-card:nth-child(4n+3) .service-card-image { background: linear-gradient(135deg, #E8F5E7 0%, #C9E8C7 100%); }
.service-card:nth-child(4n+4) .service-card-image { background: linear-gradient(135deg, #F5F5F7 0%, #E5E5EA 100%); }

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: var(--img-fit, cover);
    object-position: var(--img-pos, center);
    transform: scale(var(--img-scale, 1));
    transform-origin: var(--img-pos, center);
    transition: transform 0.6s var(--ease-smooth);
}
.service-card:hover .service-card-image img { transform: scale(calc(var(--img-scale, 1) * 1.04)); }

/* Свободное размещение (как в Word): картинка - абсолютный блок left/top/width/height */
.service-card-image img.sci-free {
    position: absolute;
    width: auto;
    height: auto;
    max-width: none;
    object-fit: fill;
    transform: none;
    transition: none;
}
.service-card:hover .service-card-image img.sci-free { transform: none; }

.service-icon {
    position: absolute;
    bottom: -16px;
    left: 20px;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: white;
    color: var(--c-text);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s var(--ease-smooth);
}
.service-card:nth-child(4n+1) .service-icon { color: var(--c-orange); }
.service-card:nth-child(4n+2) .service-icon { color: var(--c-blue); }
.service-card:nth-child(4n+3) .service-icon { color: var(--c-green); }
.service-card:nth-child(4n+4) .service-icon { color: var(--c-bg-dark); }

.service-card:hover .service-icon { transform: scale(1.05); }
.service-icon svg { width: 24px; height: 24px; }

.service-card-body {
    padding: 28px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 17px;
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: -0.018em;
}

.service-desc {
    color: var(--c-text-muted);
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}
.service-price {
    font-family: var(--f-display);
    font-weight: 600;
    color: var(--c-text);
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.service-arrow {
    font-size: 13px;
    font-weight: 500;
    color: var(--c-link);
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s var(--ease-smooth);
}
.service-card:hover .service-arrow { gap: 10px; }

/* ========== ПРОДУКТЫ ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    gap: 20px;
    justify-content: center;
}

.product-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    color: var(--c-text);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--c-border);
    color: var(--c-text);
}

.product-image {
    position: relative;
    aspect-ratio: 16 / 10;
    min-height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card:nth-child(4n+1) .product-image { background: linear-gradient(135deg, #FFF4E6 0%, #FFE5C7 100%); }
.product-card:nth-child(4n+2) .product-image { background: linear-gradient(135deg, #E6F2FB 0%, #C7E0F3 100%); }
.product-card:nth-child(4n+3) .product-image { background: linear-gradient(135deg, #E8F5E7 0%, #C9E8C7 100%); }
.product-card:nth-child(4n+4) .product-image { background: linear-gradient(135deg, #F5F5F7 0%, #E5E5EA 100%); }

.product-image img {
    width: 100%; height: 100%;
    object-fit: var(--img-fit, cover);
    object-position: var(--img-pos, center);
    transform: scale(var(--img-scale, 1));
    transform-origin: var(--img-pos, center);
    transition: transform 0.6s var(--ease-smooth);
}
.product-card:hover .product-image img { transform: scale(calc(var(--img-scale, 1) * 1.04)); }

/* Свободное размещение (как в редакторе): абсолютный блок left/top/width/height */
.product-image img.sci-free {
    position: absolute;
    width: auto; height: auto;
    max-width: none;
    object-fit: fill;
    transform: none;
    transition: none;
}
.product-card:hover .product-image img.sci-free { transform: none; }

.product-image-placeholder {
    font-family: var(--f-display);
    font-size: 64px;
    color: rgba(0,0,0,0.18);
    font-weight: 700;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-text);
    z-index: 2;
}
.product-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: var(--c-danger);
    color: white;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 12px;
    z-index: 2;
}

.product-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-title {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: -0.018em;
}

.product-desc {
    color: var(--c-text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}
.product-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-top: 1px solid var(--c-border-soft);
    border-bottom: 1px solid var(--c-border-soft);
    margin-bottom: 16px;
}
.product-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.product-meta-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-text-dim);
    font-weight: 600;
}
.product-meta-value {
    font-size: 13px;
    color: var(--c-text);
    font-weight: 500;
}
.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}
.product-price {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--c-text);
    letter-spacing: -0.02em;
}
.product-price-old {
    font-size: 14px;
    color: var(--c-text-dim);
    text-decoration: line-through;
}
.product-buy {
    padding: 10px 20px;
    background: var(--c-link);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--f-body);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.product-buy:hover {
    background: var(--c-link-hover);
    color: white;
}

/* ========== РАЗРАБОТКА ПО ========== */
.software-section {
    background: var(--c-bg-dark);
    color: var(--c-text-on-dark);
}
.software-section .section-title { color: white; }
.software-section .section-label { color: #66B5FF; }

.software-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.software-text { font-size: 17px; color: var(--c-text-on-dark-muted); margin-bottom: 28px; }

.software-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.software-features li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.software-features li:last-child { border-bottom: none; }
.check {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(91, 174, 87, 0.18);
    color: var(--c-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.software-features strong {
    display: block;
    color: white;
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
}
.software-features p {
    color: var(--c-text-on-dark-muted);
    font-size: 14px;
    margin: 0;
}

.code-window {
    background: #0E1117;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.code-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.code-dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }
.code-filename {
    margin-left: 12px;
    font-family: var(--f-mono);
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.code-body {
    padding: 24px;
    font-family: var(--f-mono);
    font-size: 13px;
    line-height: 1.8;
    color: #C9D5EE;
    overflow-x: auto;
    margin: 0;
}
.c-comment { color: #5D749A; font-style: italic; }
.c-keyword { color: #FF79C6; }
.c-class { color: #FFB05E; }
.c-string { color: #7DD179; }
.c-bool { color: #4FB3E8; }

.software-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.tag {
    padding: 6px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-pill);
    font-family: var(--f-mono);
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

/* ========== ПОЧЕМУ МЫ ========== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.why-item {
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s var(--ease-smooth);
}
.why-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.why-number {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}
.why-item:nth-child(3n+1) .why-number { color: var(--c-orange); }
.why-item:nth-child(3n+2) .why-number { color: var(--c-blue); }
.why-item:nth-child(3n+3) .why-number { color: var(--c-green); }

.why-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}
.why-item p {
    color: var(--c-text-muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* ========== ПРОЦЕСС ========== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
}

.process-step {
    padding: 28px 20px;
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s var(--ease-smooth);
}
.process-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}
.step-num {
    width: 48px; height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 18px;
    color: white;
}
.process-step:nth-child(1) .step-num { background: var(--c-orange); }
.process-step:nth-child(2) .step-num { background: var(--c-blue); }
.process-step:nth-child(3) .step-num { background: var(--c-green); }
.process-step:nth-child(4) .step-num { background: var(--c-bg-dark); }

.process-step h3 { font-size: 16px; margin-bottom: 6px; font-weight: 600; }
.process-step p { font-size: 13px; color: var(--c-text-muted); margin: 0; }

/* ========== ИГРЫ - деловой вариант ========== */
.games-section { background: var(--c-bg-soft); }

.games-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.game-tab {
    padding: 8px 16px;
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    color: var(--c-text);
    border-radius: var(--radius-pill);
    font-family: var(--f-body);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.game-tab:hover { background: white; }
.game-tab.active {
    background: var(--c-bg-dark);
    color: white;
    border-color: var(--c-bg-dark);
}

.game-frame {
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.game-instance { display: none; }
.game-instance.active { display: block; animation: fade-up 0.4s var(--ease-smooth); }

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.game-header h3 { font-size: 20px; margin: 0; font-weight: 600; }
.game-stats {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--c-text-muted);
}
.game-stats strong { color: var(--c-orange); font-size: 18px; font-weight: 700; }

.game-canvas-wrap {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Игра 1: «Поймай заявку» */
#game-catch {
    width: 100%;
    max-width: 560px;
    height: 360px;
    background: var(--c-bg-soft);
    border-radius: var(--radius);
    border: 1px solid var(--c-border-soft);
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    user-select: none;
}
.catch-target {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    cursor: pointer;
    transition: transform 0.15s;
    font-weight: 600;
}
.catch-target:hover { transform: scale(1.1); }
.catch-target.t-orange { background: var(--c-orange); }
.catch-target.t-blue { background: var(--c-blue); }
.catch-target.t-green { background: var(--c-green); }
.catch-target.t-bomb { background: var(--c-danger); }
.catch-target.popping { animation: pop-out 0.3s var(--ease-smooth) forwards; pointer-events: none; }
@keyframes pop-out {
    to { transform: scale(1.8); opacity: 0; }
}

/* Игра 2: Память */
.memory-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
    perspective: 1000px;
}
.memory-card {
    aspect-ratio: 1;
    background: var(--c-bg-soft);
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.5s;
    transform-style: preserve-3d;
    position: relative;
}
.memory-card.flipped { transform: rotateY(180deg); }
.memory-card.matched { animation: card-match 0.5s ease; }
@keyframes card-match {
    0%, 100% { transform: rotateY(180deg) scale(1); }
    50% { transform: rotateY(180deg) scale(1.08); }
}
.memory-face {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    font-size: 32px;
    font-weight: 700;
}
.memory-back {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border-soft);
    color: var(--c-text-dim);
}
.memory-back::before {
    content: '?';
    font-family: var(--f-display);
    font-size: 36px;
    opacity: 0.5;
}
.memory-front {
    transform: rotateY(180deg);
    background: white;
    border: 1.5px solid var(--c-link);
}

/* Игра «Повтори» */
.click-sequence {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 380px;
    margin: 0 auto;
}
.click-tile {
    aspect-ratio: 1;
    border-radius: 14px;
    background: var(--c-bg-soft);
    border: 1.5px solid var(--c-border-soft);
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-size: 28px;
    color: var(--c-text-dim);
    font-weight: 600;
}
.click-tile:hover { background: white; transform: scale(1.02); }
.click-tile.lit {
    background: var(--c-orange);
    color: white;
    transform: scale(1.05);
    border-color: var(--c-orange);
}
.click-tile.lit.c-blue { background: var(--c-blue); border-color: var(--c-blue); }
.click-tile.lit.c-green { background: var(--c-green); border-color: var(--c-green); }
.click-tile.wrong { animation: shake 0.4s; background: var(--c-danger) !important; color: white; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

.game-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}

.game-message {
    text-align: center;
    margin-top: 14px;
    font-weight: 500;
    color: var(--c-text-muted);
    min-height: 22px;
    font-size: 14px;
}
.game-message.win { color: var(--c-success); }
.game-message.lose { color: var(--c-danger); }

.game-prize {
    margin-top: 20px;
    padding: 20px;
    background: rgba(91, 174, 87, 0.06);
    border: 1px solid rgba(91, 174, 87, 0.2);
    border-radius: var(--radius-sm);
    text-align: center;
    display: none;
}
.game-prize.visible { display: block; animation: fade-up 0.4s var(--ease-smooth); }
.game-prize h4 { color: var(--c-success); margin-bottom: 6px; font-size: 17px; }
.game-prize-code {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 16px;
    font-weight: 700;
    color: var(--c-orange);
    padding: 6px 16px;
    background: white;
    border: 1px solid var(--c-border-soft);
    border-radius: 8px;
    margin: 10px 0;
    letter-spacing: 2px;
}

/* ========== О НАС / ТЕРМИНАЛ ========== */
.about-section { background: var(--c-bg-soft); }

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text p {
    font-size: 17px;
    color: var(--c-text-muted);
    margin-bottom: 28px;
}
.about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--c-border-soft);
}
.fact-num {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.02em;
}
.fact:nth-child(1) .fact-num { color: var(--c-orange); }
.fact:nth-child(2) .fact-num { color: var(--c-blue); }
.fact:nth-child(3) .fact-num { color: var(--c-green); }
.fact-label { font-size: 13px; color: var(--c-text-muted); margin-top: 6px; }

.terminal {
    background: #0E1117;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    font-family: var(--f-mono);
    font-size: 13px;
    color: #C9D5EE;
}
.terminal-header {
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}
.terminal-header::before {
    content: '● ● ●';
    color: rgba(255,255,255,0.3);
    letter-spacing: 3px;
    margin-right: 8px;
}
.terminal-body { padding: 20px 24px; line-height: 1.8; min-height: 240px; }
.term-line { display: flex; gap: 8px; }
.prompt { color: var(--c-orange); font-weight: 600; }
.term-out { color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.term-ok { color: #7DD179; }
.cursor {
    display: inline-block;
    background: #66B5FF;
    width: 8px; height: 16px;
    animation: blink 1s infinite;
    vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0; } }

/* ========== ОТЗЫВЫ - КАРУСЕЛЬ ==========
   По 3 карточки на страницу (2 на планшете, 1 на телефоне).
   Трек двигается transform'ом - дёшево для GPU. Логика в script.js. */
.reviews-carousel {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
}
.reviews-viewport {
    overflow: hidden;
    /* небольшой запас, чтобы тень карточки при hover не обрезалась */
    padding: 8px;
    margin: -8px;
}
.reviews-grid {
    display: flex;
    gap: 16px;
    transition: transform 0.5s var(--ease-smooth);
}
.reviews-grid .review-card {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 0;
}
@media (max-width: 1024px) {
    .reviews-grid .review-card { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 700px) {
    .reviews-grid .review-card { flex-basis: 100%; }
}

/* Стрелки по бокам */
.rev-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
    color: var(--c-text);
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}
.rev-nav svg { width: 18px; height: 18px; }
.rev-nav:hover { color: var(--c-link); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16); }
.rev-prev { left: -20px; }
.rev-next { right: -20px; }
@media (max-width: 700px) {
    .rev-prev { left: -8px; }
    .rev-next { right: -8px; }
}

/* Точки-страницы */
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.reviews-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--c-border);
    cursor: pointer;
    transition: background 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth);
}
.reviews-dot.active { background: var(--c-blue); transform: scale(1.25); }

/* Одна страница - навигация не нужна */
.reviews-carousel.is-static .rev-nav,
.reviews-carousel.is-static .reviews-dots { display: none; }
.review-card {
    padding: 16px 18px;
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}
.review-top { display: flex; align-items: center; gap: 10px; }
.review-avatar {
    flex: 0 0 auto;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 15px; color: #fff;
    background: linear-gradient(135deg, var(--c-orange), var(--c-blue));
}
.review-meta { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
.review-name { font-size: 14px; font-weight: 600; }
.review-company { font-size: 12px; color: var(--c-text-muted); }
.review-rating { color: var(--c-orange); font-size: 13px; letter-spacing: 1.5px; white-space: nowrap; }
.star-off { color: var(--c-border); }
.review-text { color: var(--c-text); font-size: 14px; line-height: 1.55; margin: 0; letter-spacing: -0.011em; }
.review-pending-badge {
    display: inline-block; margin-left: 8px;
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--c-orange); background: rgba(243, 156, 62, 0.14);
    padding: 2px 8px; border-radius: 100px; vertical-align: middle;
}
.review-card.new-review { animation: reviewIn 0.4s var(--ease-smooth); }
@keyframes reviewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ===== Сводная оценка + форма отзыва ===== */
.reviews-summary { text-align: center; margin-bottom: 24px; }
.reviews-avg {
    font-family: var(--f-display);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: var(--c-text);
}
.reviews-stars { color: var(--c-orange); font-size: 20px; letter-spacing: 2px; margin: 5px 0 3px; }
.reviews-count { font-size: 13px; }

.review-form {
    max-width: 620px;
    margin: 40px auto 0;
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-card);
}
.review-form-title { font-size: 20px; font-weight: 700; margin: 0 0 20px; text-align: center; }
.review-form .form-group { margin-bottom: 16px; }
.review-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.review-form input[type="text"],
.review-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--c-border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    background: var(--c-bg);
    color: var(--c-text);
    transition: border-color 0.2s var(--ease-smooth);
}
.review-form input[type="text"]:focus,
.review-form textarea:focus { outline: none; border-color: var(--c-orange); }
.review-form textarea { resize: vertical; min-height: 96px; }

.rating-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rating-input { display: inline-flex; gap: 6px; }
.rating-input .star {
    background: none;
    border: none;
    padding: 0;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    color: var(--c-border);
    transition: color 0.12s var(--ease-smooth), transform 0.12s var(--ease-smooth);
}
.rating-input .star.on { color: var(--c-orange); }
.rating-input .star:hover { transform: scale(1.15); }
.rating-label { font-size: 15px; font-weight: 700; color: var(--c-orange); min-width: 84px; }

.review-form .consent { margin: 4px 0 18px; }
.review-form .consent-label {
    display: flex; gap: 10px; align-items: flex-start;
    font-weight: 400; font-size: 13px; color: var(--c-text-muted); cursor: pointer;
}
.review-form .consent-label input { margin-top: 3px; }
.review-form .form-status { margin-top: 14px; text-align: center; font-size: 14px; }
.review-form .form-status.success { color: var(--c-success); }
.review-form .form-status.error { color: var(--c-danger); }

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.25s var(--ease-smooth);
}
.faq-item[open] {
    border-color: var(--c-border);
    box-shadow: var(--shadow-card);
}
.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--c-text);
    letter-spacing: -0.011em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--c-link);
    transition: transform 0.3s var(--ease-smooth);
    flex-shrink: 0;
    font-weight: 300;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
    padding: 0 24px 20px;
    color: var(--c-text-muted);
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

/* ========== CTA + ФОРМА ========== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--c-bg-dark);
    color: var(--c-text-on-dark);
    overflow: hidden;
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.cta-section .section-title { font-size: 40px; color: white; }
.cta-section .section-label { color: #FFB05E; }
.cta-subtitle {
    font-size: 18px;
    color: var(--c-text-on-dark-muted);
    margin-bottom: 32px;
}

.cta-contacts { display: flex; flex-direction: column; gap: 10px; }
.cta-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: white;
    transition: all 0.25s var(--ease-smooth);
}
.cta-contact:hover {
    background: rgba(255,255,255,0.08);
    color: white;
    transform: translateX(4px);
}
.cta-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: var(--c-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.cta-meta { font-size: 11px; color: var(--c-text-on-dark-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.cta-value {
    font-weight: 600;
    font-size: 17px;
    color: white;
    margin-top: 2px;
}

/* ===== Блок контактов/мессенджеров (вместо формы) ===== */
.cta-inner.cta-contacts-only { align-items: start; }

.cta-contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: white;
    text-decoration: none;
    transition: transform 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth);
}
a.contact-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--c-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s var(--ease-smooth), color 0.25s var(--ease-smooth);
}
.contact-card-icon svg { width: 22px; height: 22px; }

.contact-card-body { display: flex; flex-direction: column; min-width: 0; }
.contact-card-label {
    font-size: 11px;
    color: var(--c-text-on-dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.contact-card-value {
    font-weight: 600;
    font-size: 16px;
    color: white;
    margin-top: 2px;
    overflow-wrap: anywhere;
}
.contact-card-arrow {
    margin-left: auto;
    color: var(--c-text-on-dark-muted);
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.25s var(--ease-smooth), color 0.25s var(--ease-smooth);
}
a.contact-card:hover .contact-card-arrow { color: white; transform: translateX(3px); }

/* Фирменные цвета иконок приложений - заливка при наведении на карточку */
a.contact-card:hover .contact-card-icon { color: white; }
a.contact-card.ic-phone:hover .contact-card-icon     { background: var(--c-orange); }
a.contact-card.ic-whatsapp:hover .contact-card-icon  { background: #25D366; }
a.contact-card.ic-telegram:hover .contact-card-icon  { background: #229ED9; }
a.contact-card.ic-max:hover .contact-card-icon       { background: #FF6B00; }
a.contact-card.ic-vk:hover .contact-card-icon        { background: #0077FF; }
a.contact-card.ic-viber:hover .contact-card-icon     { background: #7360F2; }
a.contact-card.ic-youtube:hover .contact-card-icon   { background: #FF0033; }
a.contact-card.ic-bzm_chats:hover .contact-card-icon { background: linear-gradient(135deg, var(--c-orange), var(--c-blue), var(--c-green)); }
a.contact-card.ic-email:hover .contact-card-icon     { background: var(--c-blue); }
a.contact-card.ic-other:hover .contact-card-icon     { background: var(--c-blue); }

.dual-phones {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.dual-phones .cta-contact { flex: 1; min-width: 200px; }

.contact-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    color: var(--c-text);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.form-title { font-size: 24px; margin-bottom: 4px; font-weight: 600; color: var(--c-text); }
.form-subtitle { color: var(--c-text-muted); font-size: 14px; margin-bottom: 24px; }

.form-group { margin-bottom: 14px; position: relative; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius-sm);
    color: var(--c-text);
    font-family: var(--f-body);
    font-size: 15px;
    transition: all 0.25s var(--ease-smooth);
    resize: vertical;
    letter-spacing: -0.011em;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-link);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236E6E73' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-disclaimer {
    margin-top: 12px;
    font-size: 12px;
    color: var(--c-text-dim);
    text-align: center;
    line-height: 1.5;
}

.form-status {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: none;
}
.form-status.success {
    display: block;
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.3);
    color: var(--c-success);
}
.form-status.error {
    display: block;
    background: rgba(225, 29, 72, 0.1);
    border: 1px solid rgba(225, 29, 72, 0.3);
    color: var(--c-danger);
}

/* ========== TRUST BAR ========== */
.trust-bar {
    padding: 28px 0;
    border-top: 1px solid var(--c-border-soft);
    border-bottom: 1px solid var(--c-border-soft);
    background: var(--c-bg-soft);
    overflow: hidden;
}
.trust-label {
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-text-dim);
    margin-bottom: 16px;
    font-weight: 600;
}
.trust-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: center; /* одна компания / без JS - по центру, без движения */
    white-space: nowrap;
    will-change: transform;
}
.marquee-track.is-animated {
    justify-content: flex-start;
    animation: marquee var(--marquee-duration, 22s) linear infinite;
}
/* без прокрутки (одна компания) разделители-точки не нужны */
.marquee-track:not(.is-animated) .trust-divider { display: none; }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.trust-logo {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 18px;
    color: var(--c-text-muted);
    transition: color 0.3s;
}
.trust-logo:hover { color: var(--c-text); }
.trust-divider {
    color: var(--c-border);
    font-size: 8px;
}

/* ========== SEO TEXT ========== */
.seo-section {
    padding: 60px 0 80px;
    background: var(--c-bg-soft);
    /* Блок в самом низу страницы: не рендерим, пока не докрутили */
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}
.seo-details {
    background: white;
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius);
    padding: 24px 32px;
}
.seo-details summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--c-text-muted);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.seo-details summary::-webkit-details-marker { display: none; }
.seo-details summary::after { content: ' ↓'; color: var(--c-link); }
.seo-details[open] summary::after { content: ' ↑'; }
.seo-content {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border-soft);
    color: var(--c-text-muted);
    font-size: 14px;
    line-height: 1.7;
}
.seo-content h2, .seo-content h3 { color: var(--c-text); margin-top: 28px; margin-bottom: 12px; }
.seo-content h2 { font-size: 22px; }
.seo-content h3 { font-size: 17px; }
.seo-content strong { color: var(--c-text); }

/* ========== FOOTER ========== */
.site-footer {
    background: var(--c-bg-soft);
    border-top: 1px solid var(--c-border-soft);
    padding: 48px 0 24px;
    color: var(--c-text-muted);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.brand-footer {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-footer .brand-logo { width: 40px; height: 40px; }
.footer-about {
    color: var(--c-text-muted);
    font-size: 13px;
    line-height: 1.6;
    max-width: 360px;
}
.footer-col h4 {
    font-size: 13px;
    color: var(--c-text);
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; font-size: 13px; }
.footer-list a { color: var(--c-text-muted); }
.footer-list a:hover { color: var(--c-text); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--c-border-soft);
    color: var(--c-text-dim);
    font-size: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

/* ========== ИКОНКИ СОЦСЕТЕЙ ========== */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-muted);
    transition: all 0.25s var(--ease-smooth);
}
.social-link:hover {
    transform: translateY(-2px);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-card-hover);
}
.social-link svg {
    width: 18px;
    height: 18px;
}
.social-link.s-telegram:hover { background: #229ED9; }
.social-link.s-whatsapp:hover { background: #25D366; }
.social-link.s-vk:hover { background: #0077FF; }
.social-link.s-youtube:hover { background: #FF0033; }
.social-link.s-max:hover { background: #FF6B00; }
.social-link.s-bzm:hover { background: linear-gradient(135deg, var(--c-orange), var(--c-blue), var(--c-green)); }

/* ========== FLOATING CTA ========== */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
    background: var(--c-link);
    color: white;
    padding: 14px 22px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.4);
    display: none;
    align-items: center;
    gap: 8px;
    transition: all 0.25s var(--ease-smooth);
    font-size: 14px;
}
.floating-cta:hover {
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 12px 32px rgba(0, 113, 227, 0.5);
}
.floating-cta.visible {
    display: inline-flex;
    animation: pop-in 0.4s var(--ease-smooth);
}
@keyframes pop-in {
    from { transform: scale(0.8) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--c-text-muted);
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.breadcrumbs a { color: var(--c-text-muted); }
.breadcrumbs a:hover { color: var(--c-link); }
.breadcrumbs span:not(:last-child) { color: var(--c-text-dim); }

.service-hero {
    padding: 44px 0 56px;
    background: var(--c-bg-soft);
}

/* Двухколоночный верх страницы услуги: слева текст, справа главное фото */
.service-hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
    margin-top: 20px;
}
.service-hero-inner.no-photo { grid-template-columns: 1fr; }

.service-hero .hero-title {
    font-size: clamp(32px, 4.2vw, 52px);
    margin-bottom: 16px;
}
.service-hero .hero-subtitle {
    margin: 0 0 22px;
    max-width: 560px;
    font-size: clamp(16px, 1.6vw, 19px);
}
.service-hero .hero-actions {
    justify-content: flex-start;
    margin-bottom: 0;
}

.service-hero-image {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    border: 1px solid var(--c-border-soft);
    box-shadow: var(--shadow-card);
}
.service-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: var(--img-fit, cover);
    object-position: var(--img-pos, center);
    transform: scale(var(--img-scale, 1));
}
/* Свободное размещение из редактора фото - как на карточках услуг */
.service-hero-image img.sci-free {
    position: absolute;
    width: auto;
    height: auto;
    max-width: none;
    object-fit: fill;
    transform: none;
}

.service-price-large {
    display: inline-block;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--c-orange);
    padding: 7px 20px;
    border: 1.5px solid var(--c-orange);
    border-radius: var(--radius-pill);
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

/* ========== Контент услуги/продукта ========== */
.service-content { padding: 60px 0 80px; }
.service-content-inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
}
.service-article h2 { font-size: 26px; margin-top: 40px; margin-bottom: 14px; font-weight: 600; }
.service-article h2:first-child { margin-top: 0; }
.service-article p { color: var(--c-text-muted); font-size: 16px; line-height: 1.7; }
.service-article ul { padding-left: 0; list-style: none; }
.service-article ul li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: var(--c-text-muted);
    border-bottom: 1px solid var(--c-border-soft);
}
.service-article ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--c-success);
    font-weight: 700;
    font-size: 16px;
}

.ordered-list {
    padding-left: 0;
    list-style: none;
    counter-reset: ol-counter;
}
.ordered-list li {
    counter-increment: ol-counter;
    padding: 16px 0 16px 56px;
    position: relative;
    color: var(--c-text-muted);
    border-bottom: 1px solid var(--c-border-soft);
}
.ordered-list li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 14px;
    width: 36px; height: 36px;
    background: var(--c-bg-soft);
    color: var(--c-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-weight: 600;
    border: 1px solid var(--c-border-soft);
}
.ordered-list li strong { color: var(--c-text); }

.service-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius);
    padding: 24px;
}
.sidebar-card h3 { font-size: 17px; margin-bottom: 10px; font-weight: 600; }
.sidebar-card p { color: var(--c-text-muted); font-size: 14px; margin-bottom: 14px; }
.sidebar-phone {
    display: block;
    font-weight: 600;
    font-size: 18px;
    color: var(--c-text);
    margin-bottom: 6px;
}
.sidebar-phone:hover { color: var(--c-link); }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { padding: 8px 0; color: var(--c-text-muted); font-size: 14px; }

.related-services { padding: 60px 0 80px; background: var(--c-bg-soft); }

/* ========== КАТАЛОГ ПРОДУКТОВ ========== */
.products-page { padding: 40px 0 80px; }

.products-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}
.filter-chip {
    padding: 8px 16px;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border-soft);
    color: var(--c-text);
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s var(--ease-smooth);
}
.filter-chip:hover { background: white; }
.filter-chip.active {
    background: var(--c-bg-dark);
    color: white;
    border-color: var(--c-bg-dark);
}

/* Клиентский фильтр категорий: скрытые карточки и каскад появления */
.product-card.filter-hide { display: none; }
.products-grid.filter-animate .product-card:not(.filter-hide) {
    animation: filterCardIn 0.45s var(--ease-smooth) backwards;
}
.products-grid.filter-animate .product-card:not(.filter-hide):nth-child(2) { animation-delay: 0.05s; }
.products-grid.filter-animate .product-card:not(.filter-hide):nth-child(3) { animation-delay: 0.1s; }
.products-grid.filter-animate .product-card:not(.filter-hide):nth-child(4) { animation-delay: 0.15s; }
.products-grid.filter-animate .product-card:not(.filter-hide):nth-child(n+5) { animation-delay: 0.2s; }
@keyframes filterCardIn {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .products-grid.filter-animate .product-card { animation: none; }
}

.products-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--c-text-muted);
    font-size: 16px;
}
.products-empty a { color: var(--c-link); font-weight: 600; }

/* === Страница продукта === */
.product-hero {
    padding: 40px 0 40px;
    background: var(--c-bg-soft);
}
.product-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}
.product-hero-image {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    border: 1px solid var(--c-border-soft);
    box-shadow: var(--shadow-card);
}
.product-hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Слайдер фотографий работы ===== */
.product-gallery { position: relative; width: 100%; height: 100%; }
.pg-viewport { width: 100%; height: 100%; overflow: hidden; }
.pg-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s var(--ease-smooth);
    will-change: transform;
}
.pg-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.pg-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.pg-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
    color: var(--c-text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}
.pg-arrow:hover { background: #fff; }
.pg-prev { left: 12px; }
.pg-next { right: 12px; }
.pg-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.62);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    z-index: 2;
}
.pg-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    z-index: 2;
}
.pg-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(15, 23, 42, 0.25);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.pg-dot.is-active { background: var(--c-link, #2563eb); transform: scale(1.25); }

/* ===== Лайтбокс: полноэкранный просмотр фото галереи ===== */
.pg-slide { cursor: zoom-in; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(10, 12, 16, 0.93);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lb-stage {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-img {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
    animation: lb-in 0.25s ease;
}
@keyframes lb-in {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

.lb-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.28); }

.lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s ease;
}
.lb-arrow:hover { background: rgba(255, 255, 255, 0.28); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

.lb-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    z-index: 2;
}

@media (max-width: 640px) {
    .lb-img { border-radius: 6px; max-width: 100vw; }
    .lb-arrow { width: 42px; height: 42px; background: rgba(255, 255, 255, 0.18); }
    .lb-prev { left: 8px; }
    .lb-next { right: 8px; }
    .lb-close { top: 10px; right: 10px; }
}

/* ===== Визуальный редактор текстов (инлайн, только для админа) ===== */
.ie-bar {
    position: fixed;
    top: 74px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    gap: 8px;
    align-items: center;
    background: #0f172a;
    color: #fff;
    padding: 7px 10px 7px 14px;
    border-radius: 999px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, .35);
}
.ie-btn {
    border: none;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #334155;
    color: #fff;
    font-family: inherit;
}
.ie-btn.ie-primary { background: #2563eb; }
.ie-btn.ie-cancel { background: transparent; color: #cbd5e1; }
.ie-btn:hover { filter: brightness(1.12); }
.ie-actions { display: flex; align-items: center; gap: 8px; }
.ie-status { font-size: 12px; color: #93c5fd; margin-left: 2px; min-width: 90px; }

body.ie-editing [data-block],
body.ie-editing [data-feat-title],
body.ie-editing [data-feat-desc],
body.ie-editing [data-tag] {
    outline: 2px dashed rgba(37, 99, 235, .45);
    outline-offset: 3px;
    border-radius: 4px;
    cursor: text;
}
body.ie-editing [data-block]:hover,
body.ie-editing [data-feat-title]:hover,
body.ie-editing [data-feat-desc]:hover,
body.ie-editing [data-tag]:hover { outline-color: #2563eb; background: rgba(37, 99, 235, .06); }
.ie-field:focus { outline: 2px solid #2563eb !important; background: rgba(37, 99, 235, .06); }

/* Элементы, видимые только в режиме правки (напр. поле рейтинга отзыва) */
.ie-only { display: none !important; }
body.ie-editing .ie-only { display: inline-block !important; }
.ie-rating { margin-left: 8px; font-size: 13px; color: #2563eb; font-weight: 700; }

.ie-field[data-ph]:empty:before {
    content: attr(data-ph);
    color: #9aa3b2;
    font-weight: 400;
}

.ie-add {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 7px 14px;
    border: 1.5px dashed #2563eb;
    background: rgba(37, 99, 235, .06);
    color: #2563eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.ie-add-tag { margin-top: 0; padding: 5px 12px; }

body.ie-editing [data-feat], body.ie-editing [data-tag] { position: relative; }
.ie-del {
    position: absolute;
    top: -9px;
    right: -9px;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.product-placeholder-large {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-size: 120px;
    color: rgba(0,0,0,0.12);
    font-weight: 700;
    background: linear-gradient(135deg, var(--c-bg-soft) 0%, white 100%);
}

.product-hero h1 {
    font-size: clamp(28px, 3.6vw, 42px);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.025em;
}
.product-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    color: var(--c-text-muted);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}
.product-hero-price {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 24px 0;
    flex-wrap: wrap;
}
.product-hero-price-now {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 42px;
    color: var(--c-text);
    letter-spacing: -0.025em;
}
.product-hero-price-old {
    font-size: 20px;
    color: var(--c-text-dim);
    text-decoration: line-through;
}
.product-hero-save {
    padding: 4px 12px;
    background: var(--c-danger);
    color: white;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
}

.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.product-features-list li {
    padding: 8px 12px 8px 32px;
    background: var(--c-bg-soft);
    border-radius: 10px;
    position: relative;
    font-size: 13px;
    color: var(--c-text);
}
.product-features-list li::before {
    content: '✓';
    position: absolute;
    left: 10px;
    color: var(--c-success);
    font-weight: 700;
    font-size: 14px;
}

.product-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 20px;
    background: var(--c-bg-soft);
    border-radius: var(--radius);
    margin: 28px 0;
}
.product-meta-grid .item-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-text-dim);
    margin-bottom: 4px;
    font-weight: 600;
}
.product-meta-grid .item-value {
    font-weight: 600;
    color: var(--c-text);
    font-size: 14px;
}

/* ========== Контакты ========== */
.contacts-section { padding: 60px 0 80px; }
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}
.contact-block { margin-bottom: 32px; }
.contact-block h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-text-dim);
    margin-bottom: 10px;
    font-weight: 600;
}
.contact-phones-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.contact-phones-row .contact-link {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease-smooth);
}
.contact-phones-row .contact-link:hover {
    background: white;
    border-color: var(--c-border);
    box-shadow: var(--shadow-card);
}
.contact-link {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 6px;
    letter-spacing: -0.015em;
}
.contact-link:hover { color: var(--c-link); }
.contact-link.big { font-size: 26px; }
.contact-meta { font-size: 13px; color: var(--c-text-muted); margin: 4px 0 0; }
.contacts-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-border-soft);
}

/* ========== 404 ========== */
.error-section { padding: 100px 0 80px; text-align: center; }
.error-content { max-width: 600px; margin: 0 auto; }
.error-code {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(100px, 18vw, 200px);
    line-height: 1;
    color: var(--c-text);
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}
.error-title { font-size: 32px; margin-bottom: 16px; font-weight: 700; }
.error-text { color: var(--c-text-muted); font-size: 17px; margin-bottom: 28px; }

/* ========== SCROLL PROGRESS ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--c-orange), var(--c-blue), var(--c-green));
    border-radius: 0 2px 2px 0;
    z-index: 2000;
    pointer-events: none;
}

/* ========== SCROLL REVEAL ==========
   Короткие длительности и задержки: контент появляется быстро,
   без ощущения «сайт тормозит» при переходах по меню */
.js-ready .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
}
.js-ready .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.js-ready .reveal-stagger > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
}
.js-ready .reveal-stagger.in-view > * {
    opacity: 1;
    transform: translateY(0);
}
.js-ready .reveal-stagger.in-view > *:nth-child(1)  { transition-delay: 0ms; }
.js-ready .reveal-stagger.in-view > *:nth-child(2)  { transition-delay: 40ms; }
.js-ready .reveal-stagger.in-view > *:nth-child(3)  { transition-delay: 80ms; }
.js-ready .reveal-stagger.in-view > *:nth-child(4)  { transition-delay: 120ms; }
.js-ready .reveal-stagger.in-view > *:nth-child(5)  { transition-delay: 160ms; }
.js-ready .reveal-stagger.in-view > *:nth-child(6)  { transition-delay: 200ms; }
.js-ready .reveal-stagger.in-view > *:nth-child(n+7) { transition-delay: 240ms; }

/* Пользователь просит меньше движения - отключаем декоративные анимации */
@media (prefers-reduced-motion: reduce) {
    .js-ready .reveal,
    .js-ready .reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-shape { animation: none; }
    .scroll-progress { display: none; }
    .page-bg-blob, .page-bg-ring, .page-bg-dot,
    .section-soft::before,
    .section-dark::before,
    .cta-section::before { animation: none; }
}

/* ========== БЛОГ ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--c-text);
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    color: var(--c-text);
}
.blog-card-image {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #EAF3FB 0%, #F5F9FD 100%);
    overflow: hidden;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-smooth);
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--c-blue);
    opacity: 0.4;
}
.blog-card-placeholder svg { width: 48px; height: 48px; }
.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    flex: 1;
}
.blog-card-date {
    font-size: 13px;
    color: var(--c-text-dim);
}
.blog-card-title {
    font-size: 20px;
    margin: 0;
    line-height: 1.25;
}
.blog-card-excerpt {
    font-size: 15px;
    color: var(--c-text-muted);
    margin: 0;
    flex: 1;
}
.blog-card-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-link);
}
.blog-card-more .arrow {
    display: inline-block;
    transition: transform 0.25s var(--ease-smooth);
}
.blog-card:hover .blog-card-more .arrow { transform: translateX(3px); }

/* Страница статьи */
.blog-post-article {
    max-width: 800px;
    margin: 0 auto;
}
.blog-post-cover {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 32px;
}
.blog-post-content {
    white-space: pre-line;
    font-size: 17px;
    line-height: 1.7;
    color: var(--c-text);
}
.blog-related { margin-top: 80px; }

@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* ========== ПРОГРАММЫ (СКАЧИВАНИЕ) ========== */
.programs-hero {
    position: relative;
    padding: 60px 0 50px;
    overflow: hidden;
    background: var(--c-bg);
}
.programs-hero .hero-bg { z-index: 0; }

.programs-page { padding: 50px 0 80px; background: var(--c-bg-soft); }

.programs-grid {
    display: grid;
    /* auto-fill (не auto-fit): при одной-двух программах карточка остаётся
       обычного размера, а не растягивается на всю ширину ряда */
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.program-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    flex-direction: column;
}
.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.program-icon-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.program-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFF4E6 0%, #FFE5C7 100%);
    color: var(--c-orange);
    display: flex;
    align-items: center;
    justify-content: center;
}
.program-card:nth-child(4n+2) .program-icon { background: linear-gradient(135deg, #E6F2FB 0%, #C7E0F3 100%); color: var(--c-blue); }
.program-card:nth-child(4n+3) .program-icon { background: linear-gradient(135deg, #E8F5E7 0%, #C9E8C7 100%); color: var(--c-green); }
.program-card:nth-child(4n+4) .program-icon { background: linear-gradient(135deg, #F5F5F7 0%, #E5E5EA 100%); color: var(--c-bg-dark); }
.program-icon svg { width: 32px; height: 32px; }
.program-icon img,
.program-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.program-badge {
    padding: 4px 10px;
    background: var(--c-bg-soft);
    color: var(--c-text-muted);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
}

.program-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.program-title {
    font-size: 19px;
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: -0.018em;
}
.program-title a { color: var(--c-text); }
.program-title a:hover { color: var(--c-link); }

.program-version {
    font-size: 12px;
    color: var(--c-text-dim);
    margin: 0 0 14px;
    font-family: var(--f-mono);
}

.program-desc {
    color: var(--c-text-muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}

.program-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.platform-tag {
    padding: 4px 10px;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius-pill);
    font-size: 11px;
    color: var(--c-text-muted);
    font-weight: 500;
}

.program-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}
.program-actions .btn { font-size: 13px; padding: 10px 18px; }

/* Страница программы */
.program-page-hero {
    padding: 50px 0 40px;
    background: var(--c-bg-soft);
}

.program-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: center;
}

.program-icon-large {
    width: 220px;
    height: 220px;
    border-radius: 32px;
    background: linear-gradient(135deg, #FFF4E6, #FFE5C7);
    color: var(--c-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card-hover);
    margin: 0 auto;
}
.program-icon-large svg { width: 110px; height: 110px; }

.program-detail-right h1 {
    font-size: clamp(28px, 3.6vw, 42px);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.program-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(52, 199, 89, 0.1);
    color: var(--c-success);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.program-version-large {
    font-family: var(--f-mono);
    color: var(--c-text-dim);
    margin-bottom: 16px;
}

.program-desc-large {
    font-size: 18px;
    color: var(--c-text-muted);
    line-height: 1.55;
    margin-bottom: 24px;
}

.program-detail-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.program-stats {
    margin-top: 16px;
    color: var(--c-text-dim);
    font-size: 14px;
}
.program-stats strong { color: var(--c-text); }

/* ========== LEGAL-СТРАНИЦЫ (политика, cookies) ========== */
.legal-page {
    padding: 60px 0 80px;
}
.legal-content {
    max-width: 820px;
    margin: 0 auto;
    background: var(--c-bg);
    padding: 40px 0;
}
.legal-content h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.025em;
}
.legal-meta {
    color: var(--c-text-dim);
    font-size: 14px;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--c-border-soft);
}
.legal-content h2 {
    font-size: 22px;
    margin-top: 36px;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.015em;
}
.legal-content p {
    color: var(--c-text-muted);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 14px;
}
.legal-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}
.legal-content ul li {
    color: var(--c-text-muted);
    font-size: 16px;
    line-height: 1.65;
    padding: 6px 0 6px 28px;
    position: relative;
}
.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-link);
}
.legal-content strong { color: var(--c-text); }

/* ========== COOKIE BANNER ========== */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 720px;
    margin: 0 auto;
    background: var(--c-bg-dark);
    color: white;
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    z-index: 1000;
    display: none;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: cookie-slide-up 0.5s var(--ease-smooth);
}
.cookie-banner.visible { display: flex; }
@keyframes cookie-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
    flex: 1;
    min-width: 220px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}
.cookie-banner-text a {
    color: #66B5FF;
    text-decoration: underline;
}
.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.cookie-banner button {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    border: none;
    font-family: var(--f-body);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s var(--ease-smooth);
}
.cookie-accept {
    background: var(--c-link);
    color: white;
}
.cookie-accept:hover {
    background: var(--c-link-hover);
}
.cookie-decline {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2);
}
.cookie-decline:hover {
    color: white;
    border-color: rgba(255,255,255,0.4);
}

/* ========== ЧЕКБОКС СОГЛАСИЯ В ФОРМАХ ========== */
.form-check.consent {
    margin: 8px 0 14px;
}
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12.5px;
    color: var(--c-text-muted);
    line-height: 1.5;
    user-select: none;
}
.consent-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    cursor: pointer;
    accent-color: var(--c-link);
}
.consent-label a {
    color: var(--c-link);
    text-decoration: underline;
}
.consent-label a:hover { color: var(--c-link-hover); }

/* В тёмных секциях (CTA) - белый текст */
.cta-section .consent-label {
    color: var(--c-text-on-dark-muted);
}
.cta-section .consent-label a {
    color: #66B5FF;
}

@media (max-width: 1100px) {
    .main-nav { margin-left: 16px; }
    .main-nav a { padding: 8px 10px; font-size: 13px; }
    .header-phone { font-size: 12px; padding: 4px 6px; }
}

@media (max-width: 1024px) {
    .software-inner, .about-inner, .cta-inner,
    .contacts-grid, .service-content-inner, .product-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .service-hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .hero-tiles {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 60px;
    }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .main-nav { display: none; }
    .burger { display: flex; }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0; right: 0;
        background: white;
        border-bottom: 1px solid var(--c-border-soft);
        box-shadow: 0 12px 24px rgba(0,0,0,0.06);
        padding: 16px;
        gap: 4px;
        margin: 0;
    }
    .main-nav.open a {
        padding: 14px 20px;
        font-size: 16px;
        border-radius: var(--radius-sm);
        background: transparent;
    }
    .main-nav.open a:hover {
        background: var(--c-bg-soft);
    }
    /* Подменю услуг в мобильном меню: раскрывается тапом по пункту */
    .main-nav.open .nav-drop { position: static; }
    .main-nav.open .nav-drop-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: var(--radius-sm);
    }
    .main-nav.open .nav-dropdown {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--c-bg-soft);
        border-radius: var(--radius-sm);
        margin: 0 8px 4px;
        padding: 6px;
        min-width: 0;
    }
    .main-nav.open .nav-dropdown::before { display: none; }
    .main-nav.open .nav-drop.open .nav-dropdown { display: flex; }
    .main-nav.open .nav-drop.open .nav-drop-chevron { transform: rotate(180deg); }
    /* Категории услуг в мобильном меню - аккордеон вторым уровнем */
    .main-nav.open .nav-cat { position: static; }
    .main-nav.open .nav-cat-toggle { padding: 12px 14px; font-size: 15px; }
    .main-nav.open .nav-cat.open > .nav-cat-toggle .nav-cat-arrow { transform: rotate(90deg); }
    .main-nav.open .nav-cat-panel {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        min-width: 0;
        padding: 0 0 4px 14px;
    }
    .main-nav.open .nav-cat-panel::before { display: none; }
    .main-nav.open .nav-cat.open > .nav-cat-panel { display: flex; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 80px 0; }
}

@media (max-width: 700px) {
    body { font-size: 16px; }
    .hero {
        padding: 56px 0 60px;
    }
    .hero-title { font-size: clamp(34px, 9vw, 48px); line-height: 1.08; }
    .hero-subtitle { font-size: 17px; }
    .hero-actions { gap: 10px; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { gap: 32px; justify-content: space-around; padding-top: 24px; width: 100%; }
    .stat-value { font-size: 32px; }
    .stat-label { font-size: 12px; }
    .hero-tiles {
        margin-top: 48px;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .tile { padding: 16px; }
    .tile-num { font-size: 24px; }
    .tile-label { font-size: 12px; }
    .tile-icon { width: 32px; height: 32px; font-size: 16px; margin-bottom: 10px; }
    .tile-wide { grid-column: span 2; }
    .tile-feature h3 { font-size: 16px; }
    .tile-feature p { font-size: 12px; }
    /* Широкая плитка готовой работы: на телефоне складываем в колонку */
    .tile-product.tile-wide {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 22px;
    }
    .tile-product-icon { width: 56px; height: 56px; border-radius: 14px; }
    .tile-product-icon svg { width: 28px; height: 28px; }
    .tile-product.tile-wide h3 { font-size: 20px; }
    /* Фото - полосой сверху, во всю ширину плитки (вместо фона, как на десктопе) */
    .tile-product-photo {
        position: relative;
        inset: auto;
        z-index: auto;
        order: -1;
        align-self: stretch;
        flex: none;
        height: 150px;
        margin: -22px -22px 0;
    }
    .tile-product-photo img { object-position: center; }
    .tile-product-photo::after {
        background: linear-gradient(180deg, transparent 55%, rgba(29, 29, 31, 0.6));
    }
    .tile-product.tile-wide.has-photo .tile-product-content { max-width: 100%; }

    .section { padding: 56px 0; }
    .section-header { margin-bottom: 32px; }
    .section-title { font-size: clamp(24px, 6vw, 32px); }
    .section-subtitle { font-size: 15px; }

    .contact-form { padding: 24px 20px; border-radius: var(--radius); }
    .form-title { font-size: 20px; }

    .header-inner { height: 56px; gap: 12px; }
    .brand-logo { width: 38px; height: 38px; }
    .brand-title { font-size: 15px; }
    .brand-tagline { display: none; }
    .phone-group { padding: 3px 6px; gap: 0; border: none; background: transparent; }
    .header-phone { font-size: 12px; padding: 4px 6px; }
    .header-phone:nth-of-type(2) { display: none; }
    .phone-divider { display: none; }
    .header-phone .phone-icon { font-size: 14px; opacity: 1; }
    .header-phone span:not(.phone-icon) { display: none; }
    .header-phone {
        width: 36px; height: 36px;
        background: var(--c-bg-soft);
        border-radius: 50%;
        justify-content: center;
        border: 1px solid var(--c-border-soft);
    }

    .services-grid, .products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .reviews-grid { gap: 12px; }
    .why-item { padding: 22px; }
    .why-number { font-size: 40px; }

    .process-grid { grid-template-columns: 1fr; gap: 10px; }
    .process-step { padding: 20px 16px; text-align: left; display: flex; align-items: center; gap: 16px; }
    .process-step .step-num { margin: 0; flex-shrink: 0; width: 40px; height: 40px; font-size: 16px; }
    .process-step h3 { margin-bottom: 4px; }
    .process-step p { font-size: 12px; }

    .game-frame { padding: 20px 14px; border-radius: var(--radius); }
    .game-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .game-header h3 { font-size: 17px; }
    #game-catch { height: 320px; }
    .memory-board { gap: 6px; max-width: 100%; }
    .memory-face { font-size: 22px; }
    .memory-back::before { font-size: 24px; }
    .click-sequence { max-width: 100%; gap: 8px; }
    .click-tile { font-size: 22px; }

    .service-hero { padding: 28px 0 36px; }
    .service-hero .hero-title { font-size: 28px; }
    .service-hero .hero-subtitle { font-size: 16px; }
    .service-hero-inner { gap: 20px; margin-top: 12px; }
    .service-price-large { font-size: 18px; padding: 6px 16px; margin-bottom: 18px; }

    .product-hero { padding: 28px 0 32px; }
    .product-hero h1 { font-size: 26px; }
    .product-hero-price-now { font-size: 32px; }
    .product-hero-price-old { font-size: 16px; }
    .product-meta-grid { grid-template-columns: 1fr; padding: 16px; }
    .product-features-list { grid-template-columns: 1fr; }
    .product-hero-image { aspect-ratio: 16/10; }
    .product-placeholder-large { font-size: 80px; }

    .programs-grid { grid-template-columns: 1fr; gap: 12px; }
    .program-card { padding: 22px; }
    .program-detail { grid-template-columns: 1fr; gap: 24px; }
    .program-icon-large { width: 140px; height: 140px; }
    .program-icon-large svg { width: 70px; height: 70px; }
    .program-detail-actions .btn { width: 100%; }
    .programs-hero { padding: 36px 0 30px; }

    .cta-section { padding: 60px 0; }
    .cta-section .section-title { font-size: 28px; }
    .cta-subtitle { font-size: 16px; }
    .dual-phones .cta-contact { min-width: 100%; }
    .cta-contact { padding: 14px 16px; }
    .cta-value { font-size: 15px; }
    .cta-contact-cards { grid-template-columns: 1fr; }
    .contact-card { padding: 14px 16px; }
    .contact-card-value { font-size: 15px; }

    .reviews-grid .review-card { padding: 16px 18px; }
    .review-text { font-size: 14px; }

    .faq-item summary { padding: 16px 18px; font-size: 15px; }
    .faq-item p { padding: 0 18px 16px; font-size: 14px; }

    .breadcrumbs { font-size: 12px; margin-bottom: 20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .floating-cta { padding: 12px 18px; font-size: 13px; bottom: 16px; right: 16px; }
    .floating-cta .arrow { display: none; }

    .products-filters { gap: 6px; margin-bottom: 24px; }
    .filter-chip { padding: 6px 12px; font-size: 12px; }
    .products-page { padding: 28px 0 60px; }

    .software-section .code-window { font-size: 11px; }
    .code-body { padding: 18px; font-size: 11px; }
    .software-text { font-size: 16px; }
    .software-features li { padding: 12px 0; }
    .software-features strong { font-size: 15px; }
    .software-features p { font-size: 13px; }

    .terminal-body { padding: 16px; font-size: 11px; }
}

@media (max-width: 380px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 32px; }
    .stat-value { font-size: 28px; }
    .header-actions .phone-group { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
