﻿/* ==========================================================================
   SEOPROD вЂ” style.css
   1/4 вЂ” РїРµСЂРµРјРµРЅРЅС‹Рµ, СЃР±СЂРѕСЃ, С‚РёРїРѕРіСЂР°С„РёРєР°, РєРѕРЅС‚РµР№РЅРµСЂ, РєРЅРѕРїРєРё, С„РѕСЂРјС‹
   ========================================================================== */

/* РђС‚СЂРёР±СѓС‚ hidden РѕР±СЏР·Р°РЅ СЃРєСЂС‹РІР°С‚СЊ: РїСЂР°РІРёР»Рѕ РєР»Р°СЃСЃР° СЃ display РїРµСЂРµР±РёРІР°РµС‚
   Р±СЂР°СѓР·РµСЂРЅРѕРµ [hidden]{display:none}, Рё СЃРєСЂС‹С‚С‹Р№ Р±Р»РѕРє РѕСЃС‚Р°С‘С‚СЃСЏ РІРёРґРёРјС‹Рј. */
[hidden] { display: none !important; }

:root {
    /* РџР°Р»РёС‚СЂР° */
    --c-bg: #FFFFFF;
    --c-bg-muted: #F4F5F9;
    --c-accent: #298CDA;
    --c-accent-dark: #1F6FAF;
    --c-accent-light: #6FA8DE;
    --c-gradient: linear-gradient(135deg, #10456F 0%, #1A5E94 100%);
    --c-dark: #222235;
    --c-heading: #313142;
    --c-muted: #6B7280;
    --c-amber: #F5A623;
    --c-border: #E4E6EF;
    --c-white: #FFFFFF;

    /* РўРёРїРѕРіСЂР°С„РёРєР° */
    --font-main: 'Manrope', 'Arial', 'Helvetica Neue', sans-serif;
    --fs-h1: clamp(1.85rem, 1.1rem + 2.6vw, 3.1rem);
    --fs-h2: clamp(1.9rem, 1.35rem + 2.5vw, 3.4rem);
    --fs-h3: clamp(1.35rem, 1.15rem + 0.9vw, 1.9rem);
    --fs-stat: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem);
    --lh-body: 1.6;

    /* РЎРµС‚РєР°/СЂРёС‚Рј */
    --container-w: 1240px;
    --gap-section: clamp(64px, 6vw + 16px, 140px);
    --radius-card: 24px;
    --radius-panel: 52px;
    --radius-btn: 14px;
    --side-pad: 24px;

    --shadow-soft: 0 18px 40px -24px rgba(34, 34, 53, 0.28);
    --shadow-btn: 0 10px 24px -12px rgba(41, 140, 218, 0.55);

    color-scheme: light;
}

@media (min-width: 1440px) {
    :root { --side-pad: 100px; }
}
@media (min-width: 1600px) {
    :root { --side-pad: 120px; }
}

/* РЎР±СЂРѕСЃ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-dark);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: var(--lh-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
/* РґР»РёРЅРЅС‹Рµ СЂСѓСЃСЃРєРёРµ СЃР»РѕРІР° (РЅР°РїСЂ. В«РєРѕРЅС„РёРґРµРЅС†РёР°Р»СЊРЅРѕСЃС‚РёВ») РЅРµ РґРѕР»Р¶РЅС‹ СЂРІР°С‚СЊ СЃРµС‚РєСѓ */
h1, h2, h3, h4, h5, h6, p, li, a, dd, dt, td, th { overflow-wrap: break-word; }
h1, h2, h3, .h1, .h2, .h3 { hyphens: auto; }

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    background: var(--c-dark);
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    z-index: 200;
    transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* РўРёРїРѕРіСЂР°С„РёРєР° */
h1, .h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    line-height: 1.04;
    color: var(--c-heading);
    letter-spacing: -0.02em;
}
h2, .h2 {
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.08;
    color: var(--c-heading);
    letter-spacing: -0.015em;
}
h3, .h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    line-height: 1.25;
    color: var(--c-heading);
}
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-accent);
}
.lead {
    font-size: clamp(17px, 15px + 0.4vw, 19px);
    color: var(--c-muted);
    line-height: 1.65;
}
.text-muted { color: var(--c-muted); }

/* РљРѕРЅС‚РµР№РЅРµСЂ Рё СЂРёС‚Рј СЃРµРєС†РёР№ */
.container {
    width: 100%;
    max-width: calc(var(--container-w) + var(--side-pad) * 2);
    margin-inline: auto;
    padding-inline: var(--side-pad);
}
.section { padding-block: var(--gap-section); }
.section--tight { padding-block: calc(var(--gap-section) * 0.6); }
.section-head {
    max-width: 720px;
    margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
}
.section-head--split > * { min-width: 0; }
/* Р·Р°РіРѕР»РѕРІРѕРє СЃРµРєС†РёРё Рё СЃР»РµРґСѓСЋС‰РёР№ Р·Р° РЅРёРј Р»РёРґ РЅРµ РґРѕР»Р¶РЅС‹ СЃР»РёРїР°С‚СЊСЃСЏ */
.section-head h1 + .lead,
.section-head h2 + .lead,
.section-head h3 + .lead { margin-top: 16px; }

/* РљРЅРѕРїРєРё */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease, transform .12s ease;
    border: 1.5px solid transparent;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-dark); box-shadow: var(--shadow-btn); }

.btn--dark { background: var(--c-dark); color: #fff; }
.btn--dark:hover { background: #17172a; }

.btn--outline {
    background: #fff;
    color: var(--c-dark);
    border-radius: var(--radius-btn);
    border-color: var(--c-border);
    font-weight: 500;
}
.btn--outline:hover { border-color: var(--c-accent); color: var(--c-accent); }

.btn--ghost-light {
    background: rgba(255,255,255,0.14);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    border-radius: var(--radius-btn);
    font-weight: 500;
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.24); }

.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--block { width: 100%; }

.btn:focus-visible { outline: 2.5px solid var(--c-accent); outline-offset: 3px; }

/* Р¤РѕСЂРјС‹ */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}
.form-field label {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-heading);
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 15px 18px;
    border-radius: 12px;
    border: 1.5px solid var(--c-border);
    background: #fff;
    font-size: 15px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #A0A3B1; }
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 4px rgba(41,140,218,0.14);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note {
    font-size: 12.5px;
    color: var(--c-muted);
    line-height: 1.5;
}
.form-note a { color: var(--c-accent); text-decoration: underline; }
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--c-muted);
    margin-top: 14px;
}
.form-consent input { margin-top: 3px; accent-color: var(--c-accent); }

/* РЈС‚РёР»РёС‚С‹, РёСЃРїРѕР»СЊР·СѓРµРјС‹Рµ РЅРµСЃРєРѕР»СЊРєРёРјРё СЃРµРєС†РёСЏРјРё */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   2/4 вЂ” С€Р°РїРєР°, РЅР°РІРёРіР°С†РёСЏ, Р±СѓСЂРіРµСЂ, РјРѕР±РёР»СЊРЅРѕРµ РјРµРЅСЋ, С„СѓС‚РµСЂ
   ========================================================================== */

/* Р›РѕРіРѕС‚РёРї (РёСЃРїРѕР»СЊР·СѓРµС‚СЃСЏ РІ С€Р°РїРєРµ Рё С„СѓС‚РµСЂРµ) */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}
.site-logo__mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--c-bg-muted);
    color: var(--c-accent);
    flex: 0 0 auto;
}
.site-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.site-logo__name { font-weight: 800; font-size: 19px; color: var(--c-heading); letter-spacing: -0.01em; }
.site-logo__tagline { font-size: 11px; color: var(--c-muted); font-weight: 500; }
.site-logo--light .site-logo__mark { background: rgba(255,255,255,0.18); color: #fff; }
.site-logo--light .site-logo__name { color: #fff; }
.site-logo--light .site-logo__tagline { color: rgba(255,255,255,0.78); }

/* РЁР°РїРєР° */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--c-bg);
    height: 72px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 8px 24px -18px rgba(34,34,53,0.35);
    border-bottom-color: var(--c-border);
}
.site-header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
}
.site-nav { flex: 1 1 auto; min-width: 0; }
.site-nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}
.site-nav__item { position: relative; }
.site-nav__link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--c-heading);
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--c-accent); background: var(--c-bg-muted); }
.site-nav__link svg { transition: transform .18s ease; }

.site-nav__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--c-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.site-nav__item.has-children:hover .site-nav__dropdown,
.site-nav__item.has-children:focus-within .site-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.site-nav__item.has-children:hover .site-nav__link svg,
.site-nav__item.has-children:focus-within .site-nav__link svg { transform: rotate(180deg); }
.site-nav__dropdown-link {
    display: block;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--c-heading);
}
.site-nav__dropdown-link:hover,
.site-nav__dropdown-link.is-active { background: var(--c-bg-muted); color: var(--c-accent); }

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}
.site-header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    color: var(--c-heading);
}
.site-header__phone svg { color: var(--c-accent); }
.site-header__phone:hover { color: var(--c-accent); }
.site-header__cta { white-space: nowrap; }

/* Р‘СѓСЂРіРµСЂ */
.burger {
    display: none;
    padding: 6px;
    border-radius: 8px;
    color: var(--c-heading);
}
.burger:hover { color: var(--c-accent); }

/* РњРѕР±РёР»СЊРЅРѕРµ РјРµРЅСЋ (РїРѕР»РЅРѕСЌРєСЂР°РЅРЅР°СЏ РїР°РЅРµР»СЊ) */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    flex: 0 0 auto;
    border-bottom: 1px solid var(--c-border);
}
.mobile-menu__nav { padding-top: 20px; flex: 1 1 auto; }
.mobile-menu__item { border-bottom: 1px solid var(--c-border); }
.mobile-menu__link,
.mobile-menu__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 4px;
    font-size: 19px;
    font-weight: 600;
    color: var(--c-heading);
    text-align: left;
}
.mobile-menu__link.is-active { color: var(--c-accent); }
.mobile-menu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-menu__toggle svg { transition: transform .18s ease; color: var(--c-muted); }
.mobile-menu__submenu { padding: 0 4px 14px 16px; }
.mobile-menu__submenu li + li { margin-top: 2px; }
.mobile-menu__submenu a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
    color: var(--c-muted);
}
.mobile-menu__submenu a:hover { color: var(--c-accent); }
.mobile-menu__foot {
    flex: 0 0 auto;
    padding-block: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--c-border);
}
.mobile-menu__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    color: var(--c-heading);
    justify-content: center;
}
.mobile-menu__phone svg { color: var(--c-accent); }

/* РЁР°РїРєРµ РЅСѓР¶РЅРѕ ~1010px: Р»РѕРіРѕ 142 + РјРµРЅСЋ 430 + С‚РµР»РµС„РѕРЅ СЃ РєРЅРѕРїРєРѕР№ 331 + РѕС‚СЃС‚СѓРїС‹.
   РќРёР¶Рµ СЌС‚РѕРіРѕ Р»РѕРіРѕС‚РёРї, РјРµРЅСЋ Рё РґРµР№СЃС‚РІРёСЏ РЅРµ РїРѕРјРµС‰Р°СЋС‚СЃСЏ РІ СЃС‚СЂРѕРєСѓ Рё РЅР°РµР·Р¶Р°СЋС‚ РґСЂСѓРі РЅР° РґСЂСѓРіР°,
   РїРѕСЌС‚РѕРјСѓ Р±СѓСЂРіРµСЂ РІРєР»СЋС‡Р°РµС‚СЃСЏ РЅР° 1023px (breakpoint РїСЂРѕРґСѓР±Р»РёСЂРѕРІР°РЅ РІ main.js). */
@media (max-width: 1023px) {
    .site-nav, .site-header__phone, .site-header__cta { display: none; }
    .burger { display: inline-flex; }
    .site-header__inner { justify-content: space-between; }
}

/* CTA-Р±Р°РЅРЅРµСЂ РЅР°Рґ С„СѓС‚РµСЂРѕРј */
.footer-cta {
    background: var(--c-bg-muted);
    border-radius: var(--radius-panel) var(--radius-panel) 0 0;
    margin-top: calc(var(--gap-section) * -0.4);
    position: relative;
    z-index: 2;
    padding-block: 64px;
}
.footer-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.footer-cta__title { font-size: clamp(24px, 2vw + 14px, 34px); margin-bottom: 10px; max-width: 560px; }
.footer-cta__text { color: var(--c-muted); max-width: 460px; }

/* Р¤СѓС‚РµСЂ */
.site-footer {
    background: var(--c-gradient);
    color: #fff;
    padding-top: 72px;
    position: relative;
    background-color: var(--c-accent);
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.28) 1.4px, transparent 1.4px);
    background-size: 22px 22px;
    opacity: 0.35;
    pointer-events: none;
}
.site-footer .container { position: relative; }
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 44px;
}
.site-footer__col { display: flex; flex-direction: column; gap: 14px; }
.site-footer__about { color: rgba(255,255,255,0.85); font-size: 14.5px; line-height: 1.6; max-width: 260px; }
.site-footer__socials { display: flex; gap: 10px; margin-top: 4px; }
.site-footer__social {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.14);
    transition: background-color .15s ease;
}
.site-footer__social:hover { background: rgba(255,255,255,0.28); }
.site-footer__heading { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.site-footer__contact-big { font-size: 22px; font-weight: 800; color: #fff; }
.site-footer__contact-big:hover { text-decoration: underline; }
.site-footer__contact-link { color: rgba(255,255,255,0.85); font-size: 15px; }
.site-footer__contact-link:hover { color: #fff; }
.site-footer__hours { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,0.75); margin-top: 4px; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links a { color: rgba(255,255,255,0.85); font-size: 15px; }
.site-footer__links a:hover { color: #fff; text-decoration: underline; }

.site-footer__city {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.22);
    color: #fff;
}
.site-footer__city div { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.site-footer__city span { color: rgba(255,255,255,0.8); }

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-block: 22px 30px;
    border-top: 1px solid rgba(255,255,255,0.22);
    font-size: 13px;
    color: rgba(255,255,255,0.78);
}
.site-footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__legal a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 899px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
    .site-footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
    .site-footer__grid { grid-template-columns: 1fr; }
    .footer-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   3/4 вЂ” СЃС‚РёР»Рё РІСЃРµС… СЃРµРєС†РёР№
   ========================================================================== */

/* РўРѕС‡РµС‡РЅР°СЏ СЃРµС‚РєР° вЂ” С„РёСЂРјРµРЅРЅР°СЏ РґРµРєРѕСЂР°С‚РёРІРЅР°СЏ С‚РµРєСЃС‚СѓСЂР° РЅР° СЃРёРЅРёС… РїР»Р°С€РєР°С… */
.dot-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.35) 1.4px, transparent 1.4px);
    background-size: 22px 22px;
    opacity: 0.4;
    pointer-events: none;
}

/* ---- hero-main / service-hero ---------------------------------------- */
.hero {
    position: relative;
    background: var(--c-bg);
    padding-top: clamp(40px, 5vw, 72px);
    padding-bottom: clamp(48px, 6vw, 96px);
    overflow: hidden;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.hero__kicker { margin-bottom: 18px; }
.hero__title { margin-bottom: 22px; }
.hero__text { margin-bottom: 32px; max-width: 520px; }
.hero__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__note { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-muted); margin-top: 16px; }
.hero__media {
    position: relative;
    border-radius: var(--radius-panel);
    overflow: hidden;
    aspect-ratio: 4 / 3.4;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero--service {
    background: var(--c-gradient);
    border-radius: 0 0 var(--radius-panel) var(--radius-panel);
    color: #fff;
    padding-block: 56px 88px;
}
.hero--service::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.3) 1.4px, transparent 1.4px); background-size: 22px 22px; opacity: 0.35; }
.hero--service .container { position: relative; }
.hero--service .breadcrumbs a,
.hero--service .breadcrumbs span { color: rgba(255,255,255,0.75); }
.hero--service .section-kicker { color: rgba(255,255,255,0.85); }
.hero--service h1 { color: #fff; }
.hero--service .lead { color: rgba(255,255,255,0.88); }

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--c-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.breadcrumbs a:hover { color: var(--c-accent); }
.breadcrumbs .is-current { color: var(--c-heading); font-weight: 500; }

/* ---- stats-strip (РєСЂСѓРїРЅС‹Рµ С†РёС„СЂС‹) -------------------------------------- */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    padding-block: clamp(48px, 5vw, 80px);
}
.stat-item {
    border-top: 1.5px solid var(--c-border);
    padding-top: 18px;
}
.stat-item__value {
    font-size: var(--fs-stat);
    font-weight: 800;
    color: var(--c-dark);
    letter-spacing: -0.02em;
    line-height: 1;
}
.stat-item:nth-child(2) .stat-item__value,
.stat-item:nth-child(4) .stat-item__value { color: var(--c-accent); }
.stat-item__label {
    display: block;
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-muted);
    max-width: 220px;
}

/* ---- clients-logos-strip ------------------------------------------------ */
.clients-strip {
    background: var(--c-bg-muted);
    border-radius: var(--radius-panel);
    padding-block: 40px;
}
.clients-strip__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.clients-strip__logo {
    font-weight: 700;
    font-size: 19px;
    color: var(--c-heading);
    opacity: 0.55;
    letter-spacing: -0.01em;
}

/* ---- services-pricing-grid / service cards ----------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    position: relative;
    background: var(--c-bg-muted);
    border-radius: var(--radius-card);
    padding: 30px 28px 84px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.service-card__icon { color: var(--c-accent); margin-bottom: 34px; }
.service-card__title { font-size: 19px; margin-bottom: 8px; }
.service-card__text { font-size: 14.5px; color: var(--c-muted); line-height: 1.55; }
.service-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    font-size: 13px;
    color: var(--c-muted);
}
.service-card__price { font-weight: 700; color: var(--c-heading); }
.service-card__plus {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--c-heading);
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.service-card:hover .service-card__plus { background: var(--c-accent); color: #fff; transform: rotate(90deg); }

/* ---- cases-slider / cases-grid ------------------------------------------ */
.cases-track-wrap { position: relative; }
.cases-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.cases-track::-webkit-scrollbar { display: none; }
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.case-card {
    position: relative;
    flex: 0 0 min(380px, 84vw);
    scroll-snap-align: start;
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    color: #fff;
}
.cases-grid .case-card { flex: initial; aspect-ratio: 16 / 11; }
.case-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20,20,32,0.88) 0%, rgba(20,20,32,0.15) 55%, transparent 100%);
}
.case-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.case-card__niche { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.75); margin-bottom: 8px; display: block; }
.case-card :is(h1,h2,h3,h4), .news-column-feature :is(h1,h2,h3,h4) { color: inherit; }
.case-card__title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.case-card__metric { font-size: 26px; font-weight: 800; color: #fff; }
.case-card__metric-label { font-size: 12.5px; color: rgba(255,255,255,0.8); }
.cases-nav { display: flex; gap: 10px; margin-top: 24px; justify-content: flex-end; }
.cases-nav button {
    width: 46px; height: 46px; border-radius: 50%;
    border: 1.5px solid var(--c-border);
    display: grid; place-items: center;
    color: var(--c-heading);
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.cases-nav button:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

/* ---- lead-form (primary/secondary/detailed) ----------------------------- */
.lead-form-section {
    background: var(--c-bg-muted);
    border-radius: var(--radius-panel);
    padding-block: clamp(48px, 6vw, 88px);
}
.lead-form-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.lead-form-section .lead { margin-top: 16px; margin-bottom: 28px; }
.lead-form-section__points { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.lead-form-section__point { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.lead-form-section__point svg { color: var(--c-accent); flex: 0 0 auto; margin-top: 2px; }
.lead-form {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 32px;
    box-shadow: var(--shadow-soft);
}
.lead-form--flat { box-shadow: none; border: 1.5px solid var(--c-border); }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- faq (preview + full) ------------------------------------------------ */
.faq-group + .faq-group { margin-top: 40px; }
.faq-group__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--c-heading); }
.faq-list { border-top: 1px solid var(--c-border); }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 4px;
    text-align: left;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--c-heading);
}
.faq-item__q-num { color: var(--c-muted); font-weight: 500; margin-right: 14px; }
.faq-item__icon { flex: 0 0 auto; color: var(--c-accent); transition: transform .2s ease; }
.faq-item[data-open="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}
.faq-item__a-inner { padding: 0 4px 22px 4px; color: var(--c-muted); font-size: 15px; line-height: 1.65; max-width: 760px; }

/* ---- news-and-column-preview / posts-grid / blog-preview ----------------- */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
}
.post-card { display: flex; flex-direction: column; }
.post-card__img-wrap { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 2.7; margin-bottom: 18px; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--c-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.post-card__category { color: var(--c-accent); font-weight: 700; }
.post-card__title { font-size: 19px; font-weight: 700; line-height: 1.32; margin-bottom: 10px; }
.post-card__title a:hover { color: var(--c-accent); }
.post-card__excerpt { font-size: 14.5px; color: var(--c-muted); line-height: 1.55; }

.archive-intro { max-width: 720px; }
.archive-intro h1 { margin-top: 14px; }
.archive-intro h1 + .lead { margin-top: 16px; }
.archive-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.archive-filters a { padding: 10px 20px; }
.archive-filters a.is-active { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

/* ---- news-and-column-preview (РіР»Р°РІРЅР°СЏ) ------------------------------------ */
.news-column-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: stretch; }
.news-column-grid__list { display: flex; flex-direction: column; gap: 4px; }
.news-column-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--c-border);
}
.news-column-row__date { font-size: 12.5px; color: var(--c-muted); flex: 0 0 74px; }
.news-column-row__title { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.news-column-row__title a:hover { color: var(--c-accent); }
.news-column-feature {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    color: #fff;
    min-height: 320px;
    display: flex;
}
.news-column-feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-column-feature__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,32,0.9) 0%, rgba(20,20,32,0.2) 60%, transparent 100%); }
.news-column-feature__body { position: relative; margin-top: auto; padding: 28px; }
.news-column-feature__kicker { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.8); margin-bottom: 10px; display: block; }
.news-column-feature__title { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.news-column-feature__excerpt { font-size: 14px; color: rgba(255,255,255,0.85); max-width: 420px; }
@media (max-width: 899px) {
    .news-column-grid { grid-template-columns: 1fr; }
}

/* ---- lead-magnet-signup --------------------------------------------------- */
.lead-magnet {
    background: var(--c-dark);
    border-radius: var(--radius-card);
    padding: clamp(32px, 4vw, 56px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    color: #fff;
}
.lead-magnet__title { font-size: clamp(20px, 1.4vw + 12px, 28px); margin-bottom: 8px; max-width: 460px; }
.lead-magnet__text { color: rgba(255,255,255,0.72); max-width: 420px; }
.lead-magnet form { display: flex; gap: 12px; flex-wrap: wrap; }
.lead-magnet input {
    padding: 15px 18px;
    border-radius: 12px;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    color: #fff;
    min-width: 260px;
}
.lead-magnet input::placeholder { color: rgba(255,255,255,0.55); }

/* ---- toc-sidebar + article-body (service-hero / article pages) ----------- */
.article-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: flex-start;
}
.toc-sidebar {
    position: sticky;
    top: 96px;
    background: var(--c-bg-muted);
    border-radius: 18px;
    padding: 24px;
}
.toc-sidebar__title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-muted); margin-bottom: 14px; }
.toc-sidebar ol { display: flex; flex-direction: column; gap: 4px; counter-reset: toc; }
.toc-sidebar li { counter-increment: toc; }
.toc-sidebar a {
    display: flex; gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--c-heading);
}
.toc-sidebar a::before { content: counter(toc, decimal-leading-zero); color: var(--c-accent); font-weight: 700; font-size: 12.5px; }
.toc-sidebar a:hover,
.toc-sidebar a.is-active { background: #fff; color: var(--c-accent); }
.toc-sidebar__cta { margin-top: 18px; }

.article-body { max-width: 760px; }
.article-body h2 { font-size: clamp(22px,1.2vw + 16px,28px); margin-top: 44px; margin-bottom: 16px; }
.article-body h3 { font-size: 19px; margin-top: 30px; margin-bottom: 12px; }
.article-body p { margin-bottom: 18px; color: #3E3E52; line-height: 1.75; font-size: 16.5px; }
.article-body ul,
.article-body ol { margin: 0 0 18px 0; display: flex; flex-direction: column; gap: 10px; }
.article-body ul li,
.article-body ol li { padding-left: 26px; position: relative; color: #3E3E52; line-height: 1.6; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }
.article-body ol { counter-reset: art; }
.article-body ol li::before { counter-increment: art; content: counter(art) "."; position: absolute; left: 0; color: var(--c-accent); font-weight: 700; }
.article-body img { border-radius: 18px; margin-block: 24px; }
.article-body blockquote {
    border-left: 3px solid var(--c-accent);
    padding: 4px 0 4px 22px;
    margin: 28px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--c-heading);
}

.article-hero-meta { padding-block: 48px 24px; }
.article-hero-meta__meta { display: flex; align-items: center; gap: 18px; margin-top: 18px; font-size: 14px; color: var(--c-muted); flex-wrap: wrap; }
.article-hero-meta__meta span { display: flex; align-items: center; gap: 6px; }

.inline-cta-banner {
    background: var(--c-gradient);
    border-radius: var(--radius-card);
    padding: 32px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-block: 40px;
}
.inline-cta-banner__title { font-size: 20px; margin-bottom: 4px; }
.inline-cta-banner__text { color: rgba(255,255,255,0.85); font-size: 14.5px; }

.author-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: var(--c-bg-muted);
    border-radius: 18px;
    margin-top: 48px;
}
.author-box__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.author-box__name { font-weight: 700; margin-bottom: 2px; }
.author-box__role { font-size: 13.5px; color: var(--c-muted); }

.related-posts { margin-top: var(--gap-section); }

/* ---- FAQ preview number rows / philosophy / team / process (about) ------- */
.philosophy { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.philosophy__media { border-radius: var(--radius-panel); overflow: hidden; aspect-ratio: 4/3.3; }
.philosophy__media img { width: 100%; height: 100%; object-fit: cover; }

.requisites-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.requisites-list dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-muted); margin-bottom: 4px; }
.requisites-list dd { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--c-heading); }

.documents-list { display: flex; flex-direction: column; }
.documents-list__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 4px;
    border-bottom: 1px solid var(--c-border);
}
.documents-list__item svg { color: var(--c-accent); flex: 0 0 auto; }
.documents-list__title { font-weight: 600; font-size: 15.5px; }
.documents-list__meta { font-size: 13px; color: var(--c-muted); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.team-card { text-align: center; }
.team-card__photo-wrap {
    width: min(168px, 100%); height: auto; aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    background: var(--c-bg-muted);
}
.team-card__photo-wrap--cut { border-radius: 38% 62% 60% 40% / 46% 40% 60% 54%; }
.team-card__photo { width: 100%; height: 100%; object-fit: cover; }
.team-card__name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.team-card__role { font-size: 13.5px; color: var(--c-muted); }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-card {
    position: relative;
    background: var(--c-bg-muted);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}
.process-card__petals {
    position: absolute;
    top: -30px; right: -30px;
    width: 140px; height: 140px;
    opacity: 0.5;
    color: var(--c-accent-light);
}
.process-card__badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-accent);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.process-card__title { font-size: 17px; margin-bottom: 8px; position: relative; z-index: 1; }
.process-card__text { font-size: 14px; color: var(--c-muted); line-height: 1.55; position: relative; z-index: 1; margin-top: auto; }

/* ---- certifications -------------------------------------------------------- */
.certifications { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1.5px solid var(--c-border);
    border-radius: 16px;
}
.cert-card svg { color: var(--c-accent); flex: 0 0 auto; }
.cert-card__title { font-weight: 700; font-size: 14.5px; }
.cert-card__text { font-size: 12.5px; color: var(--c-muted); }

/* ---- contacts page --------------------------------------------------------- */
.contacts-hero-phone { padding-block: 40px 8px; }
.contacts-hero-phone .h1 a { color: var(--c-accent); }
.contacts-hero-phone .h1 + .lead { margin-top: 16px; }
.contacts-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
}
.office-info-sidebar {
    background: var(--c-bg-muted);
    border-radius: var(--radius-card);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.office-info-sidebar__row { display: flex; align-items: flex-start; gap: 14px; }
.office-info-sidebar__row svg { color: var(--c-accent); flex: 0 0 auto; margin-top: 2px; }
.office-info-sidebar__label { font-size: 12.5px; text-transform: uppercase; color: var(--c-muted); letter-spacing: 0.05em; margin-bottom: 3px; }
.office-info-sidebar__value { font-size: 15.5px; font-weight: 600; }

.map-embed { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 16/8; position: relative; background: var(--c-bg-muted); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-embed__link { display: inline-flex; margin-top: 14px; }

.offices-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.office-card { border: 1.5px solid var(--c-border); border-radius: 18px; padding: 22px; }
.office-card__title { font-weight: 700; margin-bottom: 10px; }
.office-card__row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-muted); margin-top: 8px; }
.office-card__row svg { color: var(--c-accent); flex: 0 0 auto; }

/* ---- pagination ------------------------------------------------------------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a,
.pagination span {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--c-heading);
}
.pagination a:hover { background: var(--c-bg-muted); color: var(--c-accent); }
.pagination .is-current { background: var(--c-accent); color: #fff; }
.pagination__arrow { color: var(--c-muted); }

/* ==========================================================================
   4/4 вЂ” РјРµРґРёР°Р·Р°РїСЂРѕСЃС‹, focus-visible, prefers-reduced-motion, РїРµС‡Р°С‚СЊ
   ========================================================================== */

/* Р¤РѕРєСѓСЃ вЂ” РµРґРёРЅРѕРѕР±СЂР°Р·РЅРѕ РЅР° РІСЃРµС… РёРЅС‚РµСЂР°РєС‚РёРІРЅС‹С… СЌР»РµРјРµРЅС‚Р°С… */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2.5px solid var(--c-accent);
    outline-offset: 3px;
    border-radius: 6px;
}
.site-nav__link:focus-visible,
.mobile-menu__link:focus-visible,
.mobile-menu__toggle:focus-visible { outline-offset: -2px; }

/* ---- РџР»Р°РЅС€РµС‚ / 1280px ---- */
@media (max-width: 1279px) {
    .hero__grid,
    .philosophy { grid-template-columns: 1fr; }
    .hero__media,
    .philosophy__media { order: -1; aspect-ratio: 16/9; }
    .services-grid,
    .cases-grid,
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps,
    .certifications { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: 220px 1fr; gap: 36px; }
}

/* ---- 900px: РЅР°РІРёРіР°С†РёСЏ СѓС…РѕРґРёС‚ РІ Р±СѓСЂРіРµСЂ (СЃРј. Р±Р»РѕРє 2/4), РѕР±С‰РёРµ РїРµСЂРµСЃС‚СЂРѕР№РєРё ---- */
@media (max-width: 899px) {
    :root { --gap-section: clamp(48px, 10vw, 88px); }
    .stats-strip { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
    .lead-form-section__grid,
    .contacts-grid { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .toc-sidebar { position: static; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .requisites-list { grid-template-columns: 1fr; }
    .offices-list { grid-template-columns: 1fr; }
    .lead-form__row { grid-template-columns: 1fr; }
    .clients-strip__row { justify-content: center; }
}

/* ---- 599px: С‚РµР»РµС„РѕРЅ ---- */
@media (max-width: 599px) {
    :root { --side-pad: 20px; }
    /* h1 РїСЂРѕРґРѕР»Р¶Р°РµС‚ С‚Сѓ Р¶Рµ РїСЂСЏРјСѓСЋ (РІ 600px Р·РЅР°С‡РµРЅРёСЏ СЃРѕРІРїР°РґР°СЋС‚), РЅРѕ СЂР°СЃС‚С‘С‚ РјРµРґР»РµРЅРЅРµРµ вЂ”
       С‡С‚РѕР±С‹ РґР»РёРЅРЅС‹Рµ СЃР»РѕРІР° РІСЂРѕРґРµ В«РєРѕРЅС„РёРґРµРЅС†РёР°Р»СЊРЅРѕСЃС‚РёВ» СѓРјРµС‰Р°Р»РёСЃСЊ РІ 335px Р±РµР· СЂР°Р·СЂС‹РІР° */
    --fs-h1: clamp(1.5rem, 0.1rem + 4.2vw, 2.25rem);
    .services-grid,
    .cases-grid,
    .posts-grid,
    .process-steps,
    .certifications { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }
    .footer-cta__inner { text-align: left; }
    .lead-magnet { flex-direction: column; align-items: flex-start; }
    .lead-magnet form { width: 100%; }
    .lead-magnet input { min-width: 0; flex: 1 1 auto; }
    .cases-nav { justify-content: center; }
    .inline-cta-banner { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ---- 360px: РјРёРЅРёРјР°Р»СЊРЅР°СЏ С€РёСЂРёРЅР° вЂ” Р·Р°С‰РёС‚Р° РѕС‚ РїРµСЂРµРЅРѕСЃРѕРІ РІ С€Р°РїРєРµ ---- */
@media (max-width: 380px) {
    .site-logo__tagline { display: none; }
    .site-header__actions { gap: 10px; }
}

/* ---- prefers-reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---- reveal-on-scroll (РїРѕСЏРІР»РµРЅРёРµ РїСЂРё СЃРєСЂРѕР»Р»Рµ, main.js РґРѕР±Р°РІР»СЏРµС‚ .is-visible) ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---- РїРµС‡Р°С‚СЊ ---- */
@media print {
    .site-header, .burger, .mobile-menu, .footer-cta, .site-footer,
    .cases-nav, .lead-form-section, .lead-magnet, .inline-cta-banner,
    .skip-link { display: none !important; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
    .container { max-width: 100%; padding: 0; }
    .article-layout { grid-template-columns: 1fr; }
    .toc-sidebar { display: none; }
}

.site-nav__dropdown::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.modal__card { position: relative; width: min(560px,100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modal__close { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 24px; cursor: pointer; }
.modal__title { margin-bottom: 8px; }
.modal__note { margin-bottom: 16px; color: var(--c-muted,#666); }
.modal__form .form-field { margin-bottom: 12px; }
.modal__form input, .modal__form textarea, .modal__form select { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; }
.modal__form button { margin-top: 8px; }

