/* ============================================================
   FOTOZONA IZHEVSK — Main Stylesheet v1.0
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Выровнено с assets/css/uikit3.css (pages/uikit3/index.html) */
    --uiv-bg: #eff2f9;
    --uiv-surface: #eff2f9;
    --uiv-fg: #6e7f8d;
    --uiv-muted: #6e7f8d;
    --uiv-subtle-fill: #b5bfc6;
    --uiv-dk: rgba(22, 27, 29, 0.23);
    --uiv-lt: #fafbff;
    --uiv-sh-lt: #fafbff;
    --uiv-sh-dk: rgba(22, 27, 29, 0.23);
    --uiv-btn-t: all 0.3s ease;
    --uiv-btn-sh-raised: -5px -5px 10px var(--uiv-sh-lt), 5px 5px 10px var(--uiv-sh-dk);
    --uiv-btn-sh-pressed: inset 5px 5px 10px var(--uiv-sh-dk), inset -5px -5px 10px var(--uiv-sh-lt);
    --uiv-card: #eff2f9;

    --bg-gradient: none;
    --white: #ffffff;
    --dark: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --light: #f9fafb;

    --purple: #8b5cf6;
    --purple-light: #ede9fe;
    --green: #10b981;
    --green-light: #d1fae5;
    --orange: #f97316;
    --orange-light: #ffedd5;

    --radius-card: 20px;
    --radius-btn: 0.5em;
    --shadow: 8px 8px 18px var(--uiv-dk), -6px -6px 14px var(--uiv-lt);
    --shadow-hover: 10px 10px 22px #bebebe, -8px -8px 18px var(--uiv-lt);
    --transition: 0.3s ease;
    --container: 1280px;
    /* Десктоп (min-width: 768px): поля контента от краёв окна */
    --site-gutter-pc: 20px;

    --color-bg: var(--uiv-bg);
    --color-text: #485053;
    --color-text-muted: #6e7f8d;
    --color-text-subtle: var(--uiv-muted);
    --accent-aqua: #5881f3;
    --glass-white: var(--uiv-bg);
    --glass-white-md: var(--uiv-bg);
    --glass-white-lg: #ececec;
    --glass-dark: #d4d4d4;
    --glass-dark-md: #e0e0e0;
    --glass-border: rgba(0, 0, 0, 0.06);
    --shadow-glass: var(--uiv-btn-sh-raised);
    --shadow-float: var(--shadow-hover);
    --blur-md: none;
    --blur-sm: none;
    --blur-lg: none;
    --reflection-top: transparent;
    --reflection-inner: none;
    --dur-fast: 180ms;
    --dur-mid: 360ms;
    --ease-glass: cubic-bezier(0.22, 0.68, 0, 1.2);
    --ease-liquid: cubic-bezier(0.34, 1.56, 0.64, 1);
    --radius-xl: 20px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-full: 999px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 28px;
    --space-2xs: 4px;
    --text-sm: 0.82rem;
    --text-xs: 0.75rem;
}

/* Переопределяем токены шрифтов на системный стек — нет загрузки веб-шрифтов */
:root {
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background: var(--uiv-bg);
    min-height: 100%;
}

/* Фон, шрифт и цвет задаёт Uikit (подключается раньше). Здесь только типографика страницы каталога. */
body {
    line-height: 1.6;
    min-height: 100vh;
    /* uikit3.css (из демо) задаёт padding-top для фикс. шапки — в теме отступ у .site-main */
    padding-top: 0;
    background: var(--uiv-bg);
    color: var(--uiv-fg);
    font-family: var(--font-body);
    /* Запрет резинового overscroll на iOS — фон не сдвигается */
    overscroll-behavior-y: none;
}

/* Над .scene (fixed, z-index: 0 в uikit). glass-fotozona.css с тем же правилом не подключается — иначе виден только фон blob’ов. */
.site-header-group,
.glass-toast-region,
.site-main,
.site-footer {
    position: relative;
    z-index: 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* === CONTAINER === */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 768px) {
    .container {
        padding-left: max(var(--site-gutter-pc), env(safe-area-inset-left, 0px));
        padding-right: max(var(--site-gutter-pc), env(safe-area-inset-right, 0px));
    }
}

/* Карточки и блоки: неоморф вместо glass */
.card,
.category-card,
.blog-card,
.faq-item,
.contacts-card,
.empty-state,
.single-included,
.single-price-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.card,
.category-card {
    background: var(--uiv-card, #e0e0e0);
    border: none;
    box-shadow: 10px 10px 22px #bebebe, -8px -8px 18px var(--uiv-lt);
}

/* ============================================================
   BUTTONS — UI Kit 3 неоморфные (.uiv-btn)
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs, 8px);
    padding: 0.7em 1.7em;
    border-radius: var(--radius-btn);
    border: 1px solid var(--uiv-bg);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: normal;
    color: #090909;
    text-decoration: none;
    transition: var(--uiv-btn-t);
    white-space: nowrap;
    line-height: 1.2;
    position: relative;
    overflow: visible;
    background: var(--uiv-bg);
    box-shadow: var(--uiv-btn-sh-raised);
    -webkit-tap-highlight-color: transparent;
}
.btn::before { display: none; }
.btn:hover { transform: none; }
.btn:active {
    color: #666;
    box-shadow: var(--uiv-btn-sh-pressed);
}

.btn-dark {
    background: var(--uiv-bg);
    border: 1px solid var(--uiv-bg);
    box-shadow: var(--uiv-btn-sh-raised);
    color: #090909;
}
.btn-dark:hover {
    box-shadow: var(--uiv-btn-sh-raised);
}
.btn-dark:active {
    color: #666;
    box-shadow: var(--uiv-btn-sh-pressed);
}

.btn-outline {
    background: var(--uiv-bg);
    border: 1px solid var(--uiv-bg);
    box-shadow: var(--uiv-btn-sh-raised);
    color: var(--color-text);
}
.btn-outline:hover {
    background: var(--uiv-bg);
}

.btn-vk {
    background: #4a76a8;
    border: 1px solid transparent;
    color: #fff !important;
    box-shadow:
        6px 6px 12px rgba(0, 0, 0, 0.18),
        -4px -4px 12px rgba(255, 255, 255, 0.12);
}
.btn-vk:hover {
    filter: brightness(1.05);
    color: #fff !important;
}
.btn-vk:active {
    box-shadow: var(--uiv-btn-sh-pressed);
}

.btn-sm { padding: 0.45em 1em; font-size: var(--text-xs, 0.75rem); }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   HEADER — UI Kit 3: мобильный .uiv-hdr + .uiv-mnav-root
   ============================================================ */
.site-header-group {
    position: relative;
}

/* Мобильный t396: только до ширины «md» (767.98px, см. комментарий к @media в этом файле) */
.site-header-group > header.uiv-hdr--t396 {
    display: none;
}

.uiv-hdr__title a,
.uiv-hdr__brand-link {
    color: inherit;
    text-decoration: none;
}

/* Кнопка меню в хедере — стили из uikit3 (.uiv-hdr__menu) */
.menu-toggle.uiv-hdr__menu {
    position: relative;
    top: auto;
    left: auto;
    z-index: auto;
    border-radius: 0.5em;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.menu-open .menu-toggle {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--accent-aqua);
    outline-offset: 2px;
}

.menu-close {
    display: flex;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
}

.nav-overlay {
    display: none !important;
}

/* Навигационный список — десктоп (ряд) */
.nav-list {
    display: flex;
    gap: 4px;
}
.nav-list li a {
    display: block;
    padding: 6px 14px;
    border-radius: 0.5em;
    font-family: var(--uiv-ff);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--uiv-muted);
    transition:
        box-shadow var(--dur-fast),
        color var(--dur-fast);
}
.nav-list li a:focus-visible {
    outline: 2px solid var(--uiv-accent);
    outline-offset: 2px;
}
.nav-list li a:hover,
.nav-list li.current-menu-item a,
.nav-list li.current_page_item a,
.nav-list li.current-menu-ancestor a {
    background: var(--uiv-bg);
    color: var(--uiv-fg);
    box-shadow: var(--uiv-btn-sh-pressed);
}

/* --- Мобильные: fixed хедер на всю ширину, выезд меню --- */
/* 767.98px — избегаем «мёртвой зоны» при дробных CSS px (767.2px): иначе не матчится ни max 767, ни min 768 → остаются глобальные стили uikit3 для .uiv-mnav-stage */
@media (max-width: 767.98px) {
    .site-header-group .uiv-dhdr__brand,
    .site-header-group .uiv-dhdr__actions {
        display: none !important;
    }

    /* Сбрасываем left:50% + translateX(-50%) из uikit3 (демо) — иначе шапка съезжает влево */
    /* Отступ от краёв экрана — через inset у fixed; внутри полосы — padding как в превью */
    .site-header-group > header.uiv-hdr--t396 {
        display: flex;
        position: fixed !important;
        top: calc(10px + env(safe-area-inset-top, 0px));
        left: calc(10px + env(safe-area-inset-left, 0px));
        right: calc(10px + env(safe-area-inset-right, 0px));
        bottom: auto;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 10px;
        transform: none;
        box-sizing: border-box;
        z-index: 10050;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
        isolation: isolate;
    }

    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__menu {
        position: relative;
        z-index: 3;
        pointer-events: auto;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        user-select: none;
        color: rgba(72, 80, 83, 1);
    }

    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__title,
    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__brand {
        min-width: 0;
    }

    .site-header-group > header.uiv-hdr.uiv-hdr--t396 .uiv-hdr__brand {
        align-items: center;
        text-align: center;
        gap: 0.04rem;
        line-height: 1.1;
    }

    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__title {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__brand-link {
        --uiv-brand-stroke: rgba(181, 191, 198, 1);
        position: relative;
        display: flex;
        flex-direction: column;
        width: 150px;
        min-height: 45px;
        height: 45px;
        max-width: min(100%, 150px);
        min-width: 0;
        padding: 0 10px;
        box-sizing: border-box;
        text-decoration: none;
        line-height: 1.1;
        color: var(--uiv-brand-stroke);
        border: none;
        border-radius: 13px;
        background: rgba(0, 0, 0, 0);
    }

    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__brand-frame {
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 45px;
        pointer-events: none;
        color: var(--uiv-brand-stroke);
    }

    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__brand-name,
    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__brand-rail {
        position: relative;
        z-index: 1;
    }

    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__brand-link:focus-visible {
        outline: 2px solid var(--accent-aqua);
        outline-offset: 2px;
        border-radius: 4px;
    }

    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__brand-name {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        width: 100%;
        min-height: 0;
        margin-bottom: -12px;
        text-align: center;
        color: rgba(110, 127, 141, 1);
        font-size: 18px;
        font-weight: 400;
        letter-spacing: 0.2em;
        text-indent: 0.2em;
        line-height: 1.1;
        text-transform: uppercase;
        font-family: system-ui, "Segoe UI", Roboto, sans-serif;
    }

    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__brand-rail {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        align-self: stretch;
        width: 100%;
        margin: 0;
        padding: 0;
        gap: 0 2px;
    }

    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__brand-rail__left {
        visibility: hidden;
        flex: 1 1 auto;
        min-width: 0.5rem;
        height: 0;
        border-bottom: none;
    }

    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__brand-sub {
        position: static;
        flex: 0 0 auto;
        margin: 0 -6px -3px 0;
        padding: 0;
        text-align: right;
        color: rgba(110, 127, 141, 1);
        background: none;
        font-size: 13px;
        line-height: 1.05;
        font-weight: 300;
        text-transform: none;
        letter-spacing: 0.1em;
        text-indent: 0;
        white-space: nowrap;
        font-family: system-ui, "Segoe UI", Roboto, sans-serif;
    }

    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__brand-rail__right {
        visibility: hidden;
        flex: 0 0 16px;
        width: 16px;
        height: 0;
        border-bottom: none;
    }

    .site-header-group > header.uiv-hdr--t396 {
        z-index: 10050;
    }

    .site-header-group > header.uiv-hdr--t396 .uiv-hdr__menu:focus-visible,
    .site-header-group > header.uiv-hdr--t396 .uiv-call-blob--hdr:focus-visible {
        box-shadow:
            0 0 0 2px color-mix(in srgb, var(--uiv-bg) 85%, var(--uiv-fg) 15%),
            0 0 0 4px color-mix(in srgb, var(--uiv-muted) 60%, var(--uiv-fg) 40%);
    }

    /* Закрыто: полностью убираем слой меню из hit-testing; открыто: возвращаем fixed full-screen. */
    .uiv-mnav-root:not(.is-open) {
        display: none !important;
    }

    .uiv-mnav-root {
        position: fixed;
        z-index: 0;
    }

    .uiv-mnav-root.is-open {
        display: block !important;
        inset: 0;
        right: 0;
        bottom: 0;
        width: auto;
        height: auto;
        max-width: none;
        max-height: none;
        overflow: visible;
        z-index: 10200;
        pointer-events: auto;
    }

    .uiv-mnav-root .uiv-mnav-stage {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        min-height: 100dvh;
        min-height: 100vh;
        max-width: none;
        max-height: none;
        border-radius: 0;
        background: transparent;
    }

    .uiv-mnav-root.is-open .uiv-mnav-stage {
        pointer-events: auto;
    }

    .uiv-mnav-root.is-open #site-nav.uiv-mnav-panel,
    .uiv-mnav-root.is-open .uiv-mnav-panel a,
    .uiv-mnav-root.is-open .uiv-mnav-panel button,
    .uiv-mnav-root.is-open .uiv-mnav-actions a {
        pointer-events: auto;
    }

    #site-nav.uiv-mnav-panel {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        z-index: 3;
        width: min(280px, 88vw);
        max-width: 360px;
        height: 100%;
        min-height: 100%;
        flex: none;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        pointer-events: auto;
        touch-action: pan-y;
        background: var(--uiv-bg);
        transform: translate3d(-100%, 0, 0);
        transition: transform 0.42s cubic-bezier(0.22, 1, 0.32, 1);
        border-radius: 0;
        box-shadow: none;
    }

    .uiv-mnav-root.is-open #site-nav.uiv-mnav-panel {
        transform: translate3d(0, 0, 0);
        box-shadow:
            12px 0 32px rgba(0, 0, 0, 0.12),
            inset -1px 0 0 rgba(0, 0, 0, 0.05);
    }

    /* Тень панели (uikit3) у края экрана, пока шторка закрыта — выглядит как полоса слева на всём сайте */
    .uiv-mnav-root:not(.is-open) #site-nav.uiv-mnav-panel {
        box-shadow: none;
    }

    .uiv-mnav-scrim {
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        margin: 0;
        border: 0;
        padding: 0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        background: rgba(6, 10, 16, 0.52);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .uiv-mnav-root.is-open .uiv-mnav-scrim {
        opacity: 1;
    }

    @media (prefers-reduced-motion: reduce) {
        .uiv-mnav-scrim {
            transition: none;
        }
    }

    .uiv-mnav-top {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        align-items: center;
        justify-items: stretch;
        column-gap: 0.25rem;
        padding-left: max(0.35rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.35rem, env(safe-area-inset-right, 0px));
        padding-top: calc(21px + env(safe-area-inset-top, 0px));
        padding-bottom: 21px;
        border-bottom: 1px solid rgba(110, 127, 141, 0.12);
    }

    .uiv-mnav-top__lead {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        pointer-events: none;
    }

    .uiv-mnav-top__brand {
        justify-self: center;
        min-width: 0;
        display: flex;
        justify-content: center;
    }

    #site-nav .uiv-mnav-top .uiv-hdr__brand-link {
        --uiv-brand-stroke: rgba(181, 191, 198, 1);
        position: relative;
        display: flex;
        flex-direction: column;
        width: 150px;
        min-height: 45px;
        height: 45px;
        max-width: min(100%, 150px);
        min-width: 0;
        padding: 0 10px;
        box-sizing: border-box;
        text-decoration: none;
        line-height: 1.1;
        color: var(--uiv-brand-stroke);
        border: none;
        border-radius: 13px;
        background: rgba(0, 0, 0, 0);
        font-family: system-ui, "Segoe UI", Roboto, sans-serif;
    }

    #site-nav .uiv-mnav-top .uiv-hdr__brand-frame {
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 45px;
        pointer-events: none;
        color: var(--uiv-brand-stroke);
    }

    #site-nav .uiv-mnav-top .uiv-hdr__brand-name,
    #site-nav .uiv-mnav-top .uiv-hdr__brand-rail {
        position: relative;
        z-index: 1;
    }

    #site-nav .uiv-mnav-top .uiv-hdr__brand-link:focus-visible {
        outline: 2px solid var(--accent-aqua);
        outline-offset: 2px;
        border-radius: 4px;
    }

    #site-nav .uiv-mnav-top .uiv-hdr__brand-name {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        width: 100%;
        min-height: 0;
        margin-bottom: -12px;
        text-align: center;
        color: rgba(110, 127, 141, 1);
        font-size: 18px;
        font-weight: 400;
        letter-spacing: 0.2em;
        text-indent: 0.2em;
        line-height: 1.1;
        text-transform: uppercase;
    }

    #site-nav .uiv-mnav-top .uiv-hdr__brand-rail {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        align-self: stretch;
        width: 100%;
        margin: 0;
        padding: 0;
        gap: 0 2px;
    }

    #site-nav .uiv-mnav-top .uiv-hdr__brand-rail__left {
        visibility: hidden;
        flex: 1 1 auto;
        min-width: 0.5rem;
        height: 0;
        border-bottom: none;
    }

    #site-nav .uiv-mnav-top .uiv-hdr__brand-sub {
        position: static;
        flex: 0 0 auto;
        margin: 0 -6px -3px 0;
        padding: 0;
        text-align: right;
        color: rgba(110, 127, 141, 1);
        background: none;
        font-size: 13px;
        line-height: 1.05;
        font-weight: 300;
        text-transform: none;
        letter-spacing: 0.1em;
        text-indent: 0;
        white-space: nowrap;
        font-family: system-ui, "Segoe UI", Roboto, sans-serif;
    }

    #site-nav .uiv-mnav-top .uiv-hdr__brand-rail__right {
        visibility: hidden;
        flex: 0 0 16px;
        width: 16px;
        height: 0;
        border-bottom: none;
    }

    #site-nav .uiv-mnav-close {
        justify-self: end;
    }

    /* Типографика ссылок — уровень Kit .uiv-type-caption, цвет как у списка услуг на главной */
    #site-nav.site-nav .uiv-mnav-list a,
    #site-nav.site-nav ul.menu.uiv-mnav-list > li > a {
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #6e7f8d;
    }
}

/* Десктоп: подложка как header.uiv-hdr.uiv-hdr--t396 (glass) + меню как .uiv-tabs-line */
@media (min-width: 768px) {
    .site-header-group > header.uiv-hdr--t396 {
        display: none !important;
    }

    .uiv-mnav-root {
        position: relative;
        pointer-events: auto;
        visibility: visible;
        z-index: auto;
    }

    .uiv-mnav-root .uiv-mnav-stage {
        position: relative;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto;
        align-items: center;
        column-gap: clamp(1rem, 3vw, 2rem);
        box-sizing: border-box;
        max-width: min(100%, var(--container));
        /* 20px от левого и правого края окна (см. --site-gutter-pc) */
        width: calc(100% - 2 * var(--site-gutter-pc));
        margin: calc(10px + env(safe-area-inset-top, 0px)) auto 0;
        height: 100px;
        min-height: 100px;
        padding-left: max(var(--site-gutter-pc), env(safe-area-inset-left, 0px));
        padding-right: max(var(--site-gutter-pc), env(safe-area-inset-right, 0px));
        padding-top: 10px;
        padding-bottom: 10px;
        /* как в uikit3 header.uiv-hdr.uiv-hdr--t396 (демо-стекло) */
        --uiv-t396-pill-bg: color-mix(in srgb, var(--uiv-bg) 32%, rgba(255, 255, 255, 0.18));
        background: var(--uiv-t396-pill-bg);
        -webkit-backdrop-filter: blur(4px) saturate(1.05);
        backdrop-filter: blur(4px) saturate(1.05);
        border: 1px solid rgba(255, 255, 255, 0.32);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.38) inset,
            0 8px 32px rgba(22, 27, 29, 0.07);
        border-radius: 9999px;
        overflow: hidden;
        isolation: isolate;
    }

    .uiv-mnav-root .uiv-mnav-stage::before {
        content: "";
        position: absolute;
        pointer-events: none;
        z-index: 0;
        left: 3%;
        top: 10%;
        bottom: 10%;
        width: 24%;
        max-width: 110px;
        border-radius: 999px;
        opacity: 0.4;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.45) 0%,
            rgba(255, 255, 255, 0.12) 44%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .uiv-mnav-root .uiv-mnav-stage::after {
        content: "";
        position: absolute;
        pointer-events: none;
        z-index: 0;
        right: 0;
        top: 0;
        width: 45%;
        height: 100%;
        background: linear-gradient(270deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 58%);
    }

    .uiv-mnav-root .uiv-mnav-stage > * {
        position: relative;
        z-index: 1;
    }

    .uiv-mnav-scrim {
        display: none !important;
    }

    .uiv-dhdr__brand {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        align-self: center;
        min-width: 0;
        margin: 0;
    }

    /* Как .site-header-group > header .uiv-hdr__brand-link (моб. t396): 150×45, та же типографика */
    .uiv-dhdr__brand-link {
        --uiv-brand-stroke: rgba(181, 191, 198, 1);
        position: relative;
        display: flex;
        flex-direction: column;
        width: 150px;
        min-height: 45px;
        height: 45px;
        max-width: min(100%, 150px);
        min-width: 0;
        padding: 0 10px;
        box-sizing: border-box;
        text-decoration: none;
        line-height: 1.1;
        color: var(--uiv-brand-stroke);
        border: none;
        border-radius: 13px;
        background: rgba(0, 0, 0, 0);
        font-family: system-ui, "Segoe UI", Roboto, sans-serif;
    }

    .uiv-dhdr__brand-frame {
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 45px;
        pointer-events: none;
        color: var(--uiv-brand-stroke);
    }

    .uiv-dhdr__brand-name,
    .uiv-dhdr__brand-rail {
        position: relative;
        z-index: 1;
    }

    .uiv-dhdr__brand-link:focus-visible {
        outline: 2px solid var(--accent-aqua);
        outline-offset: 2px;
        border-radius: 4px;
    }

    .uiv-dhdr__brand-name {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        width: 100%;
        min-height: 0;
        margin-bottom: -12px;
        text-align: center;
        color: rgba(110, 127, 141, 1);
        font-size: 18px;
        font-weight: 400;
        letter-spacing: 0.2em;
        text-indent: 0.2em;
        line-height: 1.1;
        text-transform: uppercase;
    }

    .uiv-dhdr__brand-rail {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        align-self: stretch;
        width: 100%;
        margin: 0;
        padding: 0;
        gap: 0 2px;
    }

    .uiv-dhdr__brand-rail__left {
        visibility: hidden;
        flex: 1 1 auto;
        min-width: 0.5rem;
        height: 0;
        border-bottom: none;
    }

    .uiv-dhdr__brand-sub {
        position: static;
        flex: 0 0 auto;
        margin: 0 -6px -3px 0;
        padding: 0;
        text-align: right;
        color: rgba(110, 127, 141, 1);
        background: none;
        font-size: 13px;
        line-height: 1.05;
        font-weight: 300;
        text-transform: none;
        letter-spacing: 0.1em;
        text-indent: 0;
        white-space: nowrap;
        font-family: system-ui, "Segoe UI", Roboto, sans-serif;
    }

    .uiv-dhdr__brand-rail__right {
        visibility: hidden;
        flex: 0 0 16px;
        width: 16px;
        height: 0;
        border-bottom: none;
    }

    /* Панель: перебиваем глобальные стили Kit (.uiv-mnav-panel { flex-direction: column }) */
    #site-nav.site-nav.uiv-mnav-panel {
        grid-column: 2;
        grid-row: 1;
        display: flex !important;
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: max-content;
        max-width: min(100vw - 340px, 52rem);
        min-width: 0;
        margin: 0;
        height: auto;
        max-height: none;
        flex-direction: row !important;
        flex-wrap: nowrap;
        align-items: center;
        align-self: center;
        justify-content: center;
        justify-self: center;
        padding: 0;
        gap: 0.35rem;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0;
        background: transparent;
    }

    .uiv-mnav-top {
        display: none !important;
    }

    #site-nav .mobile-menu-actions {
        display: none !important;
    }

    .uiv-dhdr__actions {
        grid-column: 3;
        grid-row: 1;
        display: flex !important;
        align-items: center;
        align-self: center;
        justify-content: flex-end;
        justify-self: end;
        gap: 0;
        min-width: 0;
    }

    .uiv-dhdr__vk {
        display: none !important;
    }

    .uiv-dhdr__tel.uiv-call-blob {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        min-height: 44px;
        min-width: 44px;
    }

    /* Строка меню как .uiv-tabs-line (Kit), на ссылках <a> */
    .site-nav#site-nav ul.uiv-mnav-list.nav-list,
    .site-header-group #site-nav ul.menu.uiv-mnav-list {
        display: flex !important;
        flex-flow: row nowrap !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        align-content: center;
        gap: 10px !important;
        padding-bottom: 0;
        border-bottom: none;
        padding: 0 !important;
        margin: 0 !important;
        flex: none;
        width: auto;
        min-width: 0;
        max-width: none;
        overflow: visible;
        list-style: none !important;
    }

    .site-header-group #site-nav ul.uiv-mnav-list > li,
    .site-header-group #site-nav ul.menu > li {
        display: flex !important;
        align-items: center;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: none !important;
        list-style: none !important;
    }

    .site-header-group #site-nav ul.menu.uiv-mnav-list > li > a,
    .site-header-group #site-nav ul.uiv-mnav-list > li > a {
        position: relative;
        isolation: isolate;
        z-index: 0;
        overflow: hidden;
        transform: translateZ(0);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--uiv-surface);
        background: var(--uiv-surface);
        padding: 0.45rem 0.75rem;
        font: inherit;
        font-size: 0.8rem;
        font-weight: 400;
        letter-spacing: 0.1em;
        cursor: pointer;
        color: #6e7f8d;
        border-radius: 0.5em;
        box-shadow: var(--uiv-elev-sm);
        text-decoration: none;
        white-space: nowrap;
        transition:
            color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            background 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            filter 0.55s ease;
    }

    .site-header-group #site-nav ul.menu > li.current-menu-item > a,
    .site-header-group #site-nav ul.menu > li.current_page_item > a,
    .site-header-group #site-nav ul.menu > li.current-menu-ancestor > a,
    .site-header-group #site-nav ul.uiv-mnav-list > li.current-menu-item > a,
    .site-header-group #site-nav ul.uiv-mnav-list > li.current_page_item > a,
    .site-header-group #site-nav ul.uiv-mnav-list > li.current-menu-ancestor > a {
        color: #485053;
        box-shadow: var(--uiv-elev-sm-in);
    }

    .site-header-group #site-nav ul.menu.uiv-mnav-list > li > a:hover,
    .site-header-group #site-nav ul.uiv-mnav-list > li > a:hover,
    .site-header-group #site-nav ul.menu.uiv-mnav-list > li > a:focus-visible,
    .site-header-group #site-nav ul.uiv-mnav-list > li > a:focus-visible {
        color: #485053;
    }

    .site-header-group #site-nav ul.menu.uiv-mnav-list > li:not(.current-menu-item):not(.current_page_item):not(.current-menu-ancestor) > a:active,
    .site-header-group #site-nav ul.uiv-mnav-list > li:not(.current-menu-item):not(.current_page_item):not(.current-menu-ancestor) > a:active {
        color: #485053;
        box-shadow: var(--uiv-elev-sm-in);
        filter: brightness(0.97);
    }
}

/* ============================================================
   HERO
   ============================================================ */
/* Под fixed: отступ экрана 10px + safe + высота плашки t396 (~min 58px + внутр. padding) + зазор до контента */
.site-main {
    padding-top: calc(10px + env(safe-area-inset-top, 0px) + 4.5rem + 10px);
}
@media (min-width: 768px) {
    .site-main {
        padding-top: 24px;
    }
}

/* Главная: режем только горизонтальный вылет; вертикаль — стандартный скролл документа (overflow-y у html с height:100% ломает WebKit) */
html:has(body.home) {
    overflow-x: hidden;
    max-width: 100%;
}

body.home {
    overflow-x: hidden;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
    touch-action: pan-y;
    --home-hero-lift: calc(
        10px + env(safe-area-inset-top, 0px) + 5.85rem + 10px + clamp(1.5rem, 8vmin, 3rem)
    );
}

@media (min-width: 768px) {
    body.home {
        --home-hero-lift: calc(24px + 4.35rem + clamp(1.35rem, 2.4vmin, 2.85rem));
    }
}

.site-main.front-home {
    /* Не задавать overflow-x: hidden здесь — иначе по правилам CSS overflow-y становится auto и режется верх героя */
    max-width: 100%;
}
.hero { padding: 80px 0 64px; }
.hero-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--color-text);
}
.hero-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Десктоп / планшет landscape: блок героя по центру контейнера */
@media (min-width: 768px) {
    .site-main .hero .hero-inner {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .site-main .hero .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 720px;
    }
    .site-main .hero .hero-title,
    .site-main .hero .hero-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .site-main .hero .hero-title {
        width: 100%;
    }
    .site-main .hero .hero-text {
        max-width: 480px;
        width: 100%;
    }
    .site-main .hero .hero-actions {
        justify-content: center;
    }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 60px 0; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
}
.section-title {
    font-family: var(--font-display, "Italiana", serif);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-text);
}
.section-title:only-child { margin-bottom: 32px; }
.categories-section .section-title {
    margin-bottom: 48px;
}
@media (min-width: 768px) {
    .categories-section .section-title {
        margin-bottom: 56px;
    }
}
.section-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: color var(--dur-fast, 180ms);
    white-space: nowrap;
    flex-shrink: 0;
}
.section-link:hover { color: var(--accent-aqua); }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.category-card {
    background: var(--glass-white);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl, 28px) var(--space-lg, 24px);
    box-shadow: var(--shadow-glass);
    transition: transform var(--dur-mid, 360ms) var(--ease-glass, cubic-bezier(0.22, 0.68, 0, 1.2)),
        box-shadow var(--dur-mid, 360ms), background var(--dur-mid, 360ms);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.category-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-float);
    background: var(--glass-white-md);
}
.category-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.icon-purple { background: var(--purple-light); color: var(--purple); }
.icon-green  { background: var(--green-light);  color: var(--green); }
.icon-orange { background: var(--orange-light); color: var(--orange); }
.category-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--color-text); }
.category-card p  { font-size: 0.875rem; color: var(--color-text-muted); flex: 1; }
.category-link { font-size: 0.85rem; font-weight: 600; color: var(--accent-aqua); margin-top: 4px; }

/* ============================================================
   CATALOG GRID & CARDS
   ============================================================ */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.card {
    background: var(--glass-white);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    transition: transform var(--dur-mid, 360ms) var(--ease-glass), box-shadow var(--dur-mid, 360ms), background var(--dur-mid, 360ms);
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-float);
    background: var(--glass-white-md);
}
.card-image-wrap {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--glass-dark);
}
.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.card:hover .card-image { transform: scale(1.04); }
.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.card-title { font-size: 0.975rem; font-weight: 600; line-height: 1.35; color: var(--color-text); }
.card-title a:hover { color: var(--accent-aqua); }
.card-excerpt {
    font-size: 0.83rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-price {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: auto;
}
.card-price span { font-size: 0.78rem; font-weight: 400; color: var(--color-text-muted); }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
    background: var(--uiv-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 90;
}
@media (max-width: 767.98px) {
    .filter-bar {
        top: calc(10px + env(safe-area-inset-top, 0px) + 4.5rem);
    }
}
.filter-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.filter-list::-webkit-scrollbar { display: none; }
.filter-tag {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--glass-white);
    color: var(--color-text-muted);
    border: 1px solid var(--glass-border);
    transition: background var(--dur-fast, 180ms), color var(--dur-fast, 180ms), border-color var(--dur-fast, 180ms), box-shadow var(--dur-fast, 180ms);
}
.filter-tag:hover,
.filter-tag.active {
    background: linear-gradient(135deg, rgba(94, 231, 223, 0.5) 0%, rgba(59, 130, 246, 0.5) 100%);
    color: #fff;
    border-color: rgba(94, 231, 223, 0.45);
    box-shadow: 0 4px 20px rgba(94, 231, 223, 0.25);
}
[data-theme="light"] .filter-tag:hover,
[data-theme="light"] .filter-tag.active {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.55) 0%, rgba(37, 99, 235, 0.55) 100%);
    border-color: rgba(8, 145, 178, 0.5);
    color: #fff;
}

/* ============================================================
   ARCHIVE HERO
   ============================================================ */
.archive-hero { padding: 48px 0 28px; }
.archive-title {
    font-family: var(--font-display, "Italiana", serif);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--color-text);
}
.archive-desc { font-size: 1rem; color: var(--color-text-muted); max-width: 600px; }

/* ============================================================
   SINGLE ITEM
   ============================================================ */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}
.single-title {
    font-family: var(--font-display, "Italiana", serif);
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--color-text);
}
.single-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.single-image {
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 28px;
    aspect-ratio: 16 / 9;
}
.single-image img { width: 100%; height: 100%; object-fit: cover; }
.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.single-meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.single-meta-item .label { color: var(--color-text-muted); }
.single-meta-item .value { font-weight: 600; color: var(--color-text); }
.entry-content { color: var(--color-text-muted); line-height: 1.8; }
.entry-content h2, .entry-content h3 { color: var(--color-text); margin: 24px 0 12px; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { padding-left: 20px; list-style: disc; margin-bottom: 16px; }

/* Типографика UI Kit 3 в контенте страниц */
.uiv-type-scope .entry-content h1 {
    font-weight: 700;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.25;
    color: var(--uiv-fg);
}
.uiv-type-scope .entry-content h2 { font-size: 1.15rem; font-weight: 400; letter-spacing: 0.1em; margin: 0 0 0.5rem; color: #485053; }
.uiv-type-scope .entry-content h3 { font-size: 1rem; font-weight: 400; letter-spacing: 0.1em; margin: 0 0 0.35rem; color: #485053; }
.uiv-type-scope .entry-content blockquote {
    margin: 0.75rem 0 0;
    padding: 0.5rem 0 0.5rem 1rem;
    border-left: 4px solid #2d6bc0;
    font-style: italic;
    color: var(--uiv-fg);
}
.uiv-type-scope .entry-content blockquote p { margin: 0; font-size: 0.9rem; line-height: 1.5; }

.single-included {
    background: var(--glass-white);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 24px;
}
.single-included h3 { font-size: 1rem; margin-bottom: 10px; color: var(--color-text); }
.single-included p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.7; }

.single-price-card {
    background: var(--glass-white);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    box-shadow: var(--shadow-glass);
    position: sticky;
    top: 80px;
}
.single-price-value { font-size: 2rem; font-weight: 600; font-family: var(--font-display); letter-spacing: -0.02em; margin-bottom: 4px; color: var(--color-text); }
.single-price-period { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 20px; }
.price-card-info { margin-top: 20px; }
.price-card-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    padding: 6px 0;
    border-bottom: 1px solid var(--glass-border);
}
.price-card-info p:last-child { border-bottom: none; }

.related-section { margin-top: 60px; }

/* Хлебные крошки */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--accent-aqua); }
.breadcrumb span { color: var(--glass-border); }
.breadcrumb span:last-child { color: var(--color-text); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    background: var(--glass-white);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glass);
}
.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--color-text);
    font-family: var(--font-body, "DM Sans", sans-serif);
    transition: background var(--dur-fast, 180ms);
}
.faq-question:hover { background: var(--glass-white-md); }
.faq-icon { flex-shrink: 0; transition: transform var(--transition); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 20px; color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.75; }

/* ============================================================
   CONTACTS
   ============================================================ */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}
.contacts-card {
    background: var(--glass-white);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    box-shadow: var(--shadow-glass);
}
.contacts-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--glass-border);
}
.contacts-info-item:last-of-type { border-bottom: none; }
.contacts-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.map-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 420px;
    box-shadow: var(--shadow-glass);
    border: 1px solid var(--glass-border);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { margin-top: 48px; }
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--glass-white);
    color: var(--color-text);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    transition: background var(--dur-fast, 180ms), color var(--dur-fast, 180ms), border-color var(--dur-fast, 180ms), box-shadow var(--dur-fast, 180ms);
}
.page-numbers.current,
.page-numbers:hover {
    background: linear-gradient(135deg, rgba(94, 231, 223, 0.55) 0%, rgba(59, 130, 246, 0.55) 100%);
    color: #fff;
    border-color: rgba(94, 231, 223, 0.45);
}
[data-theme="light"] .page-numbers.current,
[data-theme="light"] .page-numbers:hover {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.65) 0%, rgba(37, 99, 235, 0.65) 100%);
    border-color: rgba(8, 145, 178, 0.5);
    color: #fff;
}
.page-numbers.dots { background: none; box-shadow: none; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.blog-card {
    background: var(--glass-white);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    transition: transform var(--dur-mid, 360ms) var(--ease-glass), box-shadow var(--dur-mid, 360ms), background var(--dur-mid, 360ms);
}
.blog-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-float);
    background: var(--glass-white-md);
}
.blog-card-image { aspect-ratio: 16 / 9; overflow: hidden; background: var(--glass-dark); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-body { padding: 20px; }
.blog-card-date { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 8px; }
.blog-card-title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; line-height: 1.4; color: var(--color-text); }
.blog-card-title a:hover { color: var(--accent-aqua); }
.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   FOOTER — UI Kit 3 .uiv-ftr
   ============================================================ */
.site-footer {
    background: transparent;
    border-top: none;
    box-shadow: none;
    margin-top: 40px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    width: 100%;
    max-width: 100%;
}

/* Ссылки-кнопки Pedro (как в uikit3) */
a.uiv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Главная: герой — гориз. прокрутку режем только у body.home; у обёрток hidden ломает вертикаль и обрезает верх PNG */
.home-landing {
    max-width: 100%;
    /* Одинаковый шаг между секциями лендинга (без двойного padding от .section) */
    --home-section-gap: clamp(2.25rem, 5vw, 3.75rem);
}

/* Вертикальный ритм главной: сброс padding у .section, между блоками только margin */
.home-landing > .home-hero.section,
.home-landing > .home-categories.section,
.home-landing .home-neo > .section {
    padding-top: 0;
    padding-bottom: 0;
}

.home-landing > .home-hero.section {
    margin-bottom: var(--home-section-gap);
}

.home-landing > .home-categories.section {
    margin-bottom: var(--home-section-gap);
}

.home-landing .home-neo > .section {
    margin-bottom: var(--home-section-gap);
}

.home-hero {
    max-width: 100%;
}

/* У глобального .section большой padding-top — у героя убрано в пользу плотного первого экрана */
.home-hero.section {
    padding-top: 0;
    padding-bottom: 0;
}

.home-hero__intro {
    margin-bottom: clamp(1.35rem, 4vw, 2rem);
    width: 100%;
    box-sizing: border-box;
    padding: clamp(0.35rem, 2vw, 0.5rem) 0;
    max-width: 100%;
}

.home-hero__intro .uiv-type-demo__header.home-hero__intro-header {
    padding: 0 0 0.35rem;
    margin: 0;
    width: 100%;
    text-align: center;
}

/* H1 — уровень типографики (.uiv-type-h1 из Kit); по центру в intro-copy */
#home-hero-brand.home-hero__brand-h1,
.home-landing .home-hero__brand-h1.uiv-type-h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    font-weight: 400;
    color: #485053;
    text-align: center;
    width: 100%;
    white-space: nowrap;
}

.home-hero__list-body {
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-hero__intro-header + .home-hero__list-body {
    margin-top: clamp(0.55rem, 3vmin, 0.85rem);
}

/* Карточка услуг: неоморф как .uiv-card в Kit (фон --uiv-card, тень --uiv-elev-md, скругление 30px) */
.home-landing .home-hero__services-card.uiv-card {
    width: 100%;
    max-width: min(100%, 20.5rem);
    height: auto;
    min-height: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: clamp(1rem, 4vw, 1.35rem) clamp(1.25rem, 4vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* В полосе героя: ширина по содержимому списка */
.home-landing .home-hero__intro-band .home-hero__services-card.uiv-card {
    width: max-content;
    max-width: min(100%, 20.5rem);
    margin-left: auto;
    margin-right: auto;
}

.home-landing .home-hero__intro-band .home-hero__list {
    margin: 0;
}

.home-hero__intro-grid {
    display: grid;
    align-items: start;
    justify-content: start;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.home-hero__intro-copy {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    overflow-x: visible;
}

/* Полоса заголовок + карточка + кнопки: ширина колонки = по самому широкому ряду (как у синей кнопки) */
.home-hero__intro-band {
    display: inline-grid;
    grid-template-columns: max-content;
    justify-items: stretch;
    vertical-align: top;
    max-width: 100%;
}

.home-hero__intro-band .home-hero__intro-header {
    width: 100%;
    box-sizing: border-box;
}

/* Список услуг: маркеры слева + типографика .uiv-type-caption из Kit */
.home-hero__list {
    list-style: disc;
    list-style-position: outside;
    padding: 0 0 0 1.15em;
    margin: 0 auto;
    width: max-content;
    max-width: 100%;
    text-align: left;
}

.home-hero__list li.uiv-type-caption {
    display: list-item;
    margin: 0;
    padding: 0;
    text-align: left;
    color: #6e7f8d;
}

.home-hero__list li.uiv-type-caption::marker {
    color: #6e7f8d;
}

.home-hero__list li.uiv-type-caption + li.uiv-type-caption {
    margin-top: 0.35rem;
}

/* Кнопки героя: как .uiv-btn-a; одна строка; не сжимать — ширина по тексту, вправо могут заходить на декор (flex-start, не центрировать колонку) */
.home-hero__intro-copy .home-hero__actions .uiv-btn {
    width: max-content;
    max-width: none;
    flex-shrink: 0;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.7em 1.7em;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: 0.1em;
    font-weight: 400;
    border-radius: 12px;
    white-space: nowrap;
}

.home-hero__intro-copy .home-hero__actions .uiv-btn > span {
    position: relative;
    z-index: 1;
    display: inline-block;
    white-space: nowrap;
    overflow: visible;
    max-width: none;
    text-align: center;
    line-height: inherit;
    letter-spacing: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.home-hero__intro-copy .home-hero__actions,
.home-hero__intro-copy .home-hero__vk-stack {
    overflow: visible;
}

.home-hero__actions--intro {
    margin-top: clamp(1rem, 4.5vmin, 1.35rem);
}

.home-hero__intro-band .home-hero__actions {
    max-width: 100%;
    box-sizing: border-box;
}

.home-hero__vk-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    width: max-content;
    max-width: none;
}

.home-hero__intro-copy .home-hero__vk-stack {
    align-items: center;
}

/* Подпись под кнопкой ВК — как .uiv-type-caption у списка услуг в карточке героя */
.home-landing .home-hero__intro-copy .home-hero__vk-stack .home-hero__btn-sub.uiv-type-caption {
    margin: 0.35rem 0 0;
    padding: 0;
    align-self: center;
    text-align: center;
    font-family: var(--uiv-ff);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.35;
    text-transform: uppercase;
    color: #6e7f8d;
}

.home-hero__intro-copy .home-hero__actions .home-hero__vk-stack .home-hero__btn-vk {
    width: max-content;
    max-width: none;
    flex-shrink: 0;
    box-sizing: border-box;
}

.home-hero__intro-visual {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    pointer-events: none;
    position: relative;
    z-index: 0;
    margin-top: calc(-1 * var(--home-hero-lift));
}

/* Рамка: гориз. скролл страницы режет body.home; на узком экране absolute + bottom:-20px — низ PNG на 20px ниже низа текста */
.home-hero__photo-frame {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    overflow: visible;
    pointer-events: none;
}

.home-hero__intro .home-hero__photo {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
    display: block;
    box-sizing: border-box;
    object-fit: contain;
    object-position: bottom right;
    flex-shrink: 0;
    transform-origin: bottom right;
    pointer-events: none;
}

/* <768px: 50/50; текст по центру сетки; PNG от левого края правой колонки — вылезает вправо/вверх без обрезки в рамке; горизонталь без полосы режет html/body */
@media (max-width: 767.98px) {
    .home-hero__intro-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0;
        padding-bottom: clamp(1.35rem, 5vmin, 2rem);
        align-items: stretch;
        min-height: clamp(21rem, 56vh, 34rem);
    }

    .home-hero__intro-copy {
        justify-content: flex-start;
        align-self: stretch;
    }

    .home-hero__intro-visual {
        height: auto;
        align-self: stretch;
        justify-self: stretch;
        overflow: visible;
    }

    .home-hero__photo-frame {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -20px;
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 0;
        max-height: none;
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        overflow: visible;
        pointer-events: none;
    }

    .home-hero__intro .home-hero__photo {
        width: clamp(13.5rem, 78vw, 17.5rem);
        max-width: none;
        max-height: none;
        object-position: bottom left;
        transform-origin: bottom left;
        transform: translateX(0) translateY(0) scale(1.08);
        pointer-events: none;
    }
}

/* ≥768px: текст слева, PNG справа; минимальный зазор между колонками (картинка ближе к тексту) */
@media (min-width: 768px) {
    .home-hero__intro-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(0, 0.35vw, 0.35rem);
        align-items: stretch;
    }

    .home-hero__intro-copy {
        grid-column: 1;
        grid-row: 1;
        justify-self: stretch;
        align-self: stretch;
        align-items: flex-end;
        text-align: center;
        justify-content: center;
        padding-inline-start: clamp(1rem, 3vw, 2.25rem);
        padding-inline-end: 0;
        padding-bottom: 0;
    }

    /* У правого края левой колонки, вплотную к PNG */
    .home-hero__intro-band {
        width: min(100%, 21rem);
        margin-left: auto;
        margin-right: 0;
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .home-landing .home-hero__intro-band .home-hero__services-card.uiv-card {
        width: 100%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero__list-body {
        align-items: center;
    }

    .home-hero__intro-copy .home-hero__actions.home-hero__actions--intro {
        width: 100%;
        max-width: none;
        grid-template-columns: 1fr;
        justify-items: stretch;
        justify-content: center;
    }

    .home-hero__intro-copy .home-hero__actions .uiv-btn {
        width: 100%;
        max-width: none;
        justify-content: center;
    }

    .home-hero__intro-copy .home-hero__vk-stack {
        align-items: center;
        width: 100%;
    }

    .home-hero__intro-copy .home-hero__actions .home-hero__vk-stack .home-hero__btn-vk {
        width: 100%;
    }

    .home-landing .home-hero__intro-copy .home-hero__vk-stack .home-hero__btn-sub.uiv-type-caption {
        text-align: center;
        align-self: center;
    }

    .home-hero__list li.uiv-type-caption {
        text-transform: uppercase;
        letter-spacing: 0.07em;
    }

    .home-hero__intro-visual {
        grid-column: 2;
        grid-row: 1;
        justify-self: stretch;
        height: auto;
        align-self: stretch;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: clamp(12rem, 32vmin, 22rem);
        padding-inline-start: 0;
        padding-inline-end: clamp(0, 0.35vw, 0.35rem);
        box-sizing: border-box;
    }

    .home-hero__photo-frame {
        position: relative;
        right: auto;
        bottom: auto;
        min-height: inherit;
        flex: 1 1 auto;
        height: auto;
        overflow-x: visible;
        overflow-y: visible;
        justify-content: flex-start;
        align-items: flex-end;
    }

    .home-hero__intro .home-hero__photo {
        max-width: min(100%, 28rem);
        max-height: min(88vh, 48rem);
        transform: translateX(0);
        object-position: bottom left;
    }
}

.home-hero__actions {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 22rem;
}

.home-hero__actions .uiv-btn {
    width: 100%;
    box-sizing: border-box;
}

/* Первый экран: на узкой сетке — ширина блока кнопок по содержимому (на ПК см. min-width:768px выше) */
@media (max-width: 767.98px) {
    .home-hero__intro-copy .home-hero__actions.home-hero__actions--intro {
        display: grid;
        grid-template-columns: max-content;
        justify-items: center;
        justify-content: start;
        width: max-content;
        max-width: 100%;
        gap: 0.65rem;
    }
}

/* CTA из главного блока (ссылка в VK) — второй акцент Kit (--uiv-accent-2) */
.home-hero__btn-vk {
    background: var(--uiv-accent-2, #d77e86) !important;
    color: #fafbff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: var(--uiv-elev-sm);
}

.home-hero__btn-vk:hover {
    filter: brightness(1.06);
    color: #fafbff !important;
}

.home-hero__btn-vk > span {
    color: inherit !important;
}

/* Главная: карточки с контентом поверх .uiv-card */
.home-landing .home-card {
    width: 100% !important;
    max-width: none;
    min-height: 240px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
}

.home-landing .home-card__in {
    padding: 1.35rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* Главная: категории каталога — как шапка, контентная ширина до --container (front-home снимает max-width у main.container) */
.home-landing .home-categories.section {
    max-width: var(--container);
    width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
    padding-inline: 0;
}

.home-landing .home-categories__divider-label {
    margin: clamp(1.35rem, 4vw, 1.85rem) 0 clamp(0.85rem, 2.6vw, 1.15rem);
    text-align: left;
}

@media (min-width: 768px) {
    .home-landing .home-categories__divider-label {
        text-align: center;
    }
}

/* Главная: блоки 3–7 — неоморфизм в духе gisketch-neumorphism (двойные тени raised/pressed), фон = UI Kit 3 */
.home-landing .home-neo {
    margin: 0;
    padding-block: 0;
}

.home-landing .home-neo .home-projects.section,
.home-landing .home-neo .home-reviews.section,
.home-landing .home-neo .home-why.section,
.home-landing .home-neo .home-faq.section,
.home-landing .home-neo .home-lead.section {
    max-width: var(--container);
    width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
    padding-inline: 0;
}

.home-block-header {
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.home-block-header__level {
    margin: 0 0 0.35rem;
}

.home-block-header__title {
    margin: 0 0 0.5rem;
}

.home-block-header__lead {
    margin: 0;
    max-width: 40rem;
}

@media (min-width: 768px) {
    .home-landing .home-neo .home-projects .home-block-header {
        text-align: center;
    }

    .home-landing .home-neo .home-projects .home-block-header__lead {
        margin-inline: auto;
    }
}

/* Raised card (flat variant из gisketch — внешние тени TL highlight / BR shadow) */
.home-neo .home-neo-card {
    background: var(--uiv-bg, #eff2f9);
    border-radius: clamp(14px, 2.2vmin, 20px);
    box-shadow: var(--uiv-elev-md, -10px -10px 20px var(--uiv-sh-lt), 10px 10px 20px var(--uiv-sh-dk));
    transition:
        box-shadow 0.2s var(--uiv-ease-shadow, cubic-bezier(0.22, 1, 0.36, 1)),
        transform 0.2s var(--uiv-ease-shadow, cubic-bezier(0.22, 1, 0.36, 1));
}

.home-neo .home-project-card.home-neo-card:hover {
    box-shadow: var(--uiv-elev-lg, -20px -20px 40px var(--uiv-sh-lt), 20px 20px 40px var(--uiv-sh-dk));
}

/* Проекты: по умолчанию сетка; на главной в .home-neo на ПК — как uiv-cat-hero (компактные карточки, до 4 в ряд) */
.home-projects__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    /* ≈ 1.3 × дорожки .uiv-cat-hero на ПК (~240px → ~321px), больше карточек в ряд */
    .home-landing .home-neo .home-projects .home-projects__inner {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 321px));
        justify-content: center;
        gap: 1.35rem;
    }
}

.home-neo .home-project-card {
    padding: 0;
    /* Тень блока .meta — внешняя (--uiv-elev-md); hidden обрезала бы её снизу */
    overflow: visible;
    min-width: 0;
}

.home-project-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-project-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--uiv-bg, #eff2f9);
    border-radius: clamp(14px, 2.2vmin, 20px) clamp(14px, 2.2vmin, 20px) 0 0;
}

.home-project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-project-card__meta {
    padding: 0.8rem 1rem 1rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem 0;
    background: var(--uiv-card, #eff2f9);
    border-radius: 0 0 clamp(14px, 2.2vmin, 20px) clamp(14px, 2.2vmin, 20px);
    /* Как .uiv-card в Kit: плоская «приподнятая» неоморф-тень, не inset */
    box-shadow: var(--uiv-elev-md, -10px -10px 20px var(--uiv-sh-lt), 10px 10px 20px var(--uiv-sh-dk));
}

.home-neo .home-project-card__title {
    margin: 0;
    width: 100%;
    text-align: center;
}

.home-neo .home-project-card__price {
    margin: 0;
    max-width: 100%;
}

.home-projects__cta {
    margin: 1.35rem 0 0;
    text-align: center;
}

/* Блок «Свежие проекты» (3-й блок): неоморф gisketch — токены из .home-neo.gisketch-scope (см. gisketch-neumorphism-home.css) */
.home-neo.gisketch-scope .home-projects .home-neo-card {
    background: hsl(var(--card));
    color: hsl(var(--card-foreground));
    border-radius: calc(var(--radius, 16px) - 2px);
    box-shadow:
        -3px -3px 6px hsl(var(--shadow-light)),
        3px 3px 6px hsl(var(--shadow-dark));
}

.home-neo.gisketch-scope .home-projects .home-project-card.home-neo-card:hover {
    box-shadow:
        -4px -4px 8px hsl(var(--shadow-light)),
        4px 4px 8px hsl(var(--shadow-dark));
}

.home-neo.gisketch-scope .home-projects .home-project-card__media {
    border-radius: calc(var(--radius, 16px) - 2px) calc(var(--radius, 16px) - 2px) 0 0;
    background: hsl(var(--muted) / 0.35);
}

.home-neo.gisketch-scope .home-projects .home-project-card__meta {
    box-shadow: var(--uiv-elev-md, -10px -10px 20px var(--uiv-sh-lt), 10px 10px 20px var(--uiv-sh-dk));
    background: var(--uiv-card, #eff2f9);
    border-top: none;
    border-radius: 0 0 calc(var(--radius, 16px) - 2px) calc(var(--radius, 16px) - 2px);
    padding: 0.85rem 1rem 1rem;
}

.home-neo.gisketch-scope .home-projects .home-project-card__title {
    position: static;
    inset: auto;
    z-index: auto;
    max-width: 100%;
    width: 100%;
    text-shadow: none;
    pointer-events: auto;
    text-align: center;
    color: #485053;
    font-size: clamp(0.95rem, 2.8vw, 1.05rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.35;
}

.home-neo.gisketch-scope .home-projects .home-project-card__price {
    font-size: 0.95rem;
    line-height: 1.55;
    letter-spacing: 0.02em;
    text-transform: none;
    color: rgba(110, 127, 141, 1);
    opacity: 1;
    margin: 0;
}

.home-neo.gisketch-scope .home-projects .home-block-header__title {
    color: hsl(var(--foreground));
}

.home-neo.gisketch-scope .home-projects .home-block-header__lead {
    color: hsl(var(--muted-foreground));
}

.home-neo.gisketch-scope .home-reviews .home-block-header__title {
    color: hsl(var(--foreground));
}

.home-neo.gisketch-scope .home-reviews .home-block-header__lead {
    color: hsl(var(--muted-foreground));
}

/* Отзывы — сетка как у .uiv-cat-hero (дорожка до 240px), разметка как у «Свежие проекты» */
.home-reviews__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

@media (min-width: 768px) {
    .home-landing .home-neo .home-reviews .home-reviews__inner {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 240px));
        justify-content: center;
        gap: 1.35rem;
    }

    .home-landing .home-neo .home-reviews .home-block-header {
        text-align: center;
    }

    .home-landing .home-neo .home-reviews .home-block-header__lead {
        margin-inline: auto;
    }
}

.home-neo .home-review-card {
    padding: 0;
    overflow: hidden;
    min-width: 0;
}

.home-review-card__link {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    text-align: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.home-review-card__link:focus-visible {
    outline: 2px solid var(--uiv-accent-2, #d77e86);
    outline-offset: 3px;
}

.home-review-card__media {
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: var(--uiv-subtle-fill, #b5bfc6);
}

.home-review-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.home-reviews__cta {
    margin: 1.35rem 0 0;
    text-align: center;
}

/* Блок «Отзывы»: те же raised-карточки gisketch, что у проектов; только изображение */
.home-neo.gisketch-scope .home-reviews .home-neo-card {
    background: hsl(var(--card));
    color: hsl(var(--card-foreground));
    border-radius: calc(var(--radius, 16px) - 2px);
    box-shadow:
        -3px -3px 6px hsl(var(--shadow-light)),
        3px 3px 6px hsl(var(--shadow-dark));
    transition:
        box-shadow 0.2s var(--uiv-ease-shadow, cubic-bezier(0.22, 1, 0.36, 1)),
        transform 0.2s var(--uiv-ease-shadow, cubic-bezier(0.22, 1, 0.36, 1));
}

.home-neo.gisketch-scope .home-reviews .home-review-card.home-neo-card:hover {
    box-shadow:
        -4px -4px 8px hsl(var(--shadow-light)),
        4px 4px 8px hsl(var(--shadow-dark));
}

.home-neo.gisketch-scope .home-reviews .home-review-card__media {
    background: hsl(var(--muted) / 0.35);
}

/* Полноэкранный просмотр скриншота отзыва */
.home-review-lightbox {
    position: fixed;
    inset: 0;
    /* Выше фикс. шапки (10050) и открытого моб. меню (10200), корень — вне main после переноса в body (main.js) */
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(10px, env(safe-area-inset-top, 0px)) max(10px, env(safe-area-inset-right, 0px))
        max(10px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
}

.home-review-lightbox[hidden] {
    display: none !important;
}

.home-review-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 16, 0.9);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.home-review-lightbox__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.home-review-lightbox__panel > .home-review-lightbox__close {
    pointer-events: auto;
}

.home-review-lightbox__img-wrap {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.home-review-lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: clamp(6px, 1.5vmin, 10px);
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.home-review-lightbox__close {
    position: absolute;
    top: max(8px, env(safe-area-inset-top, 0px));
    right: max(8px, env(safe-area-inset-right, 0px));
    z-index: 2;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 999px;
    font-size: 1.75rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(30, 34, 40, 0.55);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.home-review-lightbox__close:hover {
    background: rgba(30, 34, 40, 0.75);
}

.home-review-lightbox__close:focus-visible {
    outline: 2px solid var(--uiv-accent-2, #d77e86);
    outline-offset: 2px;
}

.home-review-lightbox__close:active {
    transform: scale(0.94);
}

/* Преимущества — плоская сетка, иконка в круге с обводкой (без неоморф-карточек) */
.home-landing .home-neo .home-why .home-block-header {
    text-align: center;
}

.home-landing .home-neo .home-why__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.35rem, 4.5vw, 2.25rem);
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

@media (min-width: 768px) {
    .home-landing .home-neo .home-why__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(1.5rem, 3.2vw, 2.75rem);
    }

    /* 4-й пункт: одна ячейка по центру нижнего ряда (сетка 3+1 как на референсе) */
    .home-landing .home-neo .home-why-item:nth-child(4) {
        grid-column: 2;
    }
}

.home-landing .home-neo .home-why-item {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    min-height: 0;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.home-landing .home-neo .home-why-item__icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid color-mix(in srgb, var(--uiv-fg, #485053) 22%, transparent);
    color: #485053;
    background: transparent;
    box-shadow: none;
}

.home-landing .home-neo .home-why-item__icon svg {
    display: block;
}

.home-landing .home-neo .home-why-item__title {
    margin: 0;
    max-width: 22rem;
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.35;
    color: #485053;
    text-wrap: balance;
}

.home-landing .home-neo .home-why-item__text {
    margin: 0;
    max-width: 22rem;
    font-size: clamp(0.88rem, 2vw, 0.95rem);
    line-height: 1.5;
    color: var(--uiv-muted, #6e7f8d);
    text-wrap: balance;
}

.home-neo.gisketch-scope .home-why .home-block-header__title {
    color: hsl(var(--foreground));
}

.home-neo.gisketch-scope .home-why .home-block-header__level {
    color: hsl(var(--muted-foreground));
}

.home-neo.gisketch-scope .home-why-item__title {
    color: hsl(var(--foreground));
}

.home-neo.gisketch-scope .home-why-item__text {
    color: hsl(var(--muted-foreground));
}

.home-landing .home-neo.gisketch-scope .home-why-item__icon {
    border-color: color-mix(in srgb, hsl(var(--foreground)) 26%, transparent);
    color: hsl(var(--foreground));
}

.home-neo.gisketch-scope .home-faq__title {
    color: hsl(var(--foreground));
}

.home-neo.gisketch-scope .home-faq__eyebrow {
    color: hsl(var(--muted-foreground));
}

.home-neo.gisketch-scope .home-acc__summary,
.home-neo.gisketch-scope .home-acc__q {
    color: hsl(var(--foreground));
}

.home-neo.gisketch-scope .home-acc__answer {
    color: hsl(var(--muted-foreground));
    opacity: 1;
}

.home-neo.gisketch-scope .home-acc__item {
    border-bottom-color: color-mix(in srgb, hsl(var(--foreground)) 14%, transparent);
}

.home-neo.gisketch-scope .home-acc__item:first-of-type {
    border-top-color: color-mix(in srgb, hsl(var(--foreground)) 14%, transparent);
}

/* FAQ — плоский аккордеон (текст + иконки, без подложек и теней) */
.home-faq__header-row {
    margin-bottom: clamp(1.1rem, 3vw, 1.5rem);
}

.home-faq__eyebrow {
    margin: 0 0 0.35rem;
}

.home-faq__title {
    margin: 0;
}

@media (min-width: 768px) {
    .home-faq__header-row {
        text-align: center;
    }

    .home-faq__eyebrow {
        margin-inline: auto;
    }

    .home-faq__title {
        margin-inline: auto;
    }
}

.home-neo .home-faq__acc--narrow {
    max-width: 40rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-neo .home-acc__item {
    margin: 0;
    padding: 0;
    border: none;
    border-bottom: 1px solid color-mix(in srgb, var(--uiv-fg, #485053) 14%, transparent);
    background: transparent;
    box-shadow: none;
}

.home-neo .home-acc__item:first-of-type {
    border-top: 1px solid color-mix(in srgb, var(--uiv-fg, #485053) 14%, transparent);
}

.home-neo .home-acc__summary {
    cursor: pointer;
    list-style: none;
    margin: 0;
    padding: 1rem 2.35rem 1rem 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--uiv-fg, #485053);
}

.home-neo .home-acc__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-top: 0.06rem;
    color: var(--uiv-accent-2, #d77e86);
}

.home-neo .home-acc__q {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
}

.home-neo .home-acc__summary::-webkit-details-marker {
    display: none;
}

.home-neo .home-acc__summary::after {
    content: '+';
    position: absolute;
    right: 0.1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 500;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--uiv-accent-2, #d77e86);
}

.home-neo .home-acc__item[open] .home-acc__summary::after {
    content: '\2212';
}

.home-neo .home-acc__panel {
    padding: 0 0 1.05rem calc(2rem + 0.75rem);
}

.home-neo .home-acc__answer {
    margin: 0;
    padding: 0;
    color: var(--uiv-fg, #485053);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    opacity: 0.92;
}

/* Лид-блок */
.home-neo-lead {
    max-width: min(100%, 480px);
    margin-inline: auto;
}

@media (min-width: 768px) {
    .home-neo-lead {
        max-width: 560px;
    }
}

.home-neo .home-lead__card.home-neo-card {
    padding: clamp(1.75rem, 4vw, 2.6rem) clamp(1.25rem, 3vw, 2rem);
    text-align: center;
}

.home-neo-lead__brand {
    margin: 0 0 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.home-neo-lead__addr {
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.home-neo-lead__sub {
    margin: 0 0 1.75rem;
}

.home-custom-form {
    text-align: left;
}

.home-custom-form__field {
    margin-bottom: 1.25rem;
}

.home-custom-form__label {
    display: block;
    margin-bottom: 0.45rem;
}

.home-custom-form__req {
    color: var(--uiv-accent-2, #d77e86);
    text-decoration: none;
    font-weight: 600;
}

.home-neo .home-custom-form input[type='text'],
.home-neo .home-custom-form input[type='tel'] {
    width: 100%;
    box-sizing: border-box;
    font-family: var(--uiv-ff, system-ui, sans-serif);
    font-size: 1rem;
    line-height: 1.45;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    border: none;
    background: var(--uiv-bg, #eff2f9);
    color: var(--uiv-fg, #6e7f8d);
    box-shadow: var(--uiv-elev-sm-in, inset 5px 5px 10px var(--uiv-sh-dk), inset -5px -5px 10px var(--uiv-sh-lt));
    transition: box-shadow 0.2s ease;
}

.home-neo .home-custom-form input:focus {
    outline: none;
    box-shadow: var(--uiv-elev-md-in, inset 10px 10px 20px var(--uiv-sh-dk), inset -10px -10px 20px var(--uiv-sh-lt));
}

.home-neo .home-custom-form input::placeholder {
    color: var(--uiv-muted, #6e7f8d);
}

.home-neo .home-custom-form__submit {
    width: 100%;
    margin-top: 0.25rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-family: var(--uiv-ff, system-ui, sans-serif);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    padding: 0.95rem 1.35rem;
    border-radius: 14px;
    border: none;
    color: #fff;
    background: linear-gradient(165deg, #2f3540 0%, #171a1f 100%);
    box-shadow:
        -4px -4px 10px rgba(255, 255, 255, 0.1),
        6px 6px 16px rgba(22, 27, 29, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition:
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.home-neo .home-custom-form__submit:hover {
    box-shadow:
        -6px -6px 12px rgba(255, 255, 255, 0.12),
        8px 8px 20px rgba(22, 27, 29, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.home-neo .home-custom-form__submit:active {
    box-shadow: var(--uiv-elev-sm-in, inset 5px 5px 10px var(--uiv-sh-dk), inset -5px -5px 10px var(--uiv-sh-lt));
    transform: scale(0.99);
}

.home-neo-lead__foot {
    margin-top: 1.75rem;
}

.home-neo-lead__phone {
    margin: 0 0 0.5rem;
    font-size: 1.02rem;
}

.home-neo-lead__phone a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.home-neo-lead__note {
    margin: 0;
    max-width: 22rem;
    margin-inline: auto;
    line-height: 1.45;
}

@media (max-width: 767.98px) {
    .home-landing {
        --home-section-gap: clamp(1.75rem, 6vw, 2.5rem);
    }

    /* Выход из padding main.container (20px): весь .home-landing — на ширину экрана */
    main.site-main.front-home.container > .home-landing {
        width: calc(100% + 40px);
        max-width: none;
        margin-left: -20px;
        margin-right: -20px;
        box-sizing: border-box;
    }

    /* Горизонтальные поля контента внутри full-bleed обёртки */
    .home-landing > .home-hero,
    .home-landing > .home-categories.section {
        padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
        box-sizing: border-box;
    }

    .home-landing .home-neo {
        padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
        box-sizing: border-box;
    }

    .home-landing .home-neo .home-projects.section,
    .home-landing .home-neo .home-reviews.section {
        overflow-x: visible;
    }

    /* Карусель проектов: полоса на всю ширину экрана; первый кадр с отступом 20px слева; скролл уводит карточки за край экрана, не за clipping родителя */
    .home-landing .home-neo .home-projects.section .home-projects__inner {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 15px;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: max(20px, env(safe-area-inset-left, 0px)) 0;
        width: calc(100% + 40px);
        max-width: none;
        margin-left: -20px;
        margin-right: -20px;
        box-sizing: border-box;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: max(20px, env(safe-area-inset-left, 0px));
        padding-right: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .home-landing .home-neo .home-projects.section .home-projects__inner::-webkit-scrollbar {
        display: none;
    }

    .home-landing .home-neo .home-projects.section .home-projects__inner::after {
        content: "";
        flex: 0 0 env(safe-area-inset-right, 0px);
        width: env(safe-area-inset-right, 0px);
        min-width: 0;
        height: 1px;
    }

    .home-neo .home-project-card {
        flex: 0 0 min(85vw, 321px);
        scroll-snap-align: start;
    }

    /* Карусель отзывов — те же правила, что у проектов */
    .home-landing .home-neo .home-reviews.section .home-reviews__inner {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 15px;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: max(20px, env(safe-area-inset-left, 0px)) 0;
        width: calc(100% + 40px);
        max-width: none;
        margin-left: -20px;
        margin-right: -20px;
        box-sizing: border-box;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: max(20px, env(safe-area-inset-left, 0px));
        padding-right: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .home-landing .home-neo .home-reviews.section .home-reviews__inner::-webkit-scrollbar {
        display: none;
    }

    .home-landing .home-neo .home-reviews.section .home-reviews__inner::after {
        content: "";
        flex: 0 0 env(safe-area-inset-right, 0px);
        width: env(safe-area-inset-right, 0px);
        min-width: 0;
        height: 1px;
    }

    .home-neo .home-review-card {
        flex: 0 0 min(85vw, 240px);
        scroll-snap-align: start;
    }

    /* Кнопки под каруселями — на ширину колонки (уже с полями .home-neo) */
    .home-landing .home-neo .home-projects__cta,
    .home-landing .home-neo .home-reviews__cta {
        text-align: center;
    }

    .home-landing .home-neo .home-projects__cta .uiv-btn,
    .home-landing .home-neo .home-reviews__cta .uiv-btn {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        white-space: normal;
        justify-content: center;
        text-align: center;
    }
}

.site-footer .uiv-ftr--site.site-footer__bar,
.site-footer__bar.uiv-ftr {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-sizing: border-box;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .site-footer .uiv-ftr--site.site-footer__bar,
    .site-footer__bar.uiv-ftr {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .site-footer .uiv-ftr--site.site-footer__bar,
    .site-footer__bar.uiv-ftr {
        padding-left: max(var(--site-gutter-pc), env(safe-area-inset-left, 0px));
        padding-right: max(var(--site-gutter-pc), env(safe-area-inset-right, 0px));
    }
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 40px;
    align-items: start;
    padding: 48px 0;
}
.footer-desc { font-size: 0.875rem; color: var(--color-text-muted); margin-top: 10px; line-height: 1.6; }
.footer-nav-list { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-list li a { font-size: 0.9rem; color: var(--color-text-muted); transition: color var(--dur-fast, 180ms); }
.footer-nav-list li a:hover { color: var(--accent-aqua); }
.footer-copy {
    padding: 16px 0 0;
    text-align: center;
    font-size: 0.82rem;
    color: var(--uiv-muted);
    font-family: var(--uiv-ff);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
    position: fixed;
    bottom: 96px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.85) 0%, rgba(18, 140, 70, 0.95) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4), var(--reflection-inner);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    z-index: 200;
    transition: transform var(--dur-fast, 180ms) var(--ease-liquid), box-shadow var(--dur-fast, 180ms);
    color: #fff;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5), var(--reflection-inner); }

.wa-float--vk {
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.88) 0%, rgba(0, 65, 200, 0.95) 100%);
    box-shadow: 0 8px 32px rgba(0, 119, 255, 0.4), var(--reflection-inner);
}
.wa-float--vk:hover {
    box-shadow: 0 12px 40px rgba(0, 119, 255, 0.5), var(--reflection-inner);
}

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 200;
    width: calc(100% - 32px);
    max-width: 420px;
    transition: none !important;
}
.mobile-nav-inner {
    background: var(--glass-dark-md);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 8px 6px;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    box-shadow: var(--shadow-glass);
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 6px;
    border-radius: 16px;
    color: var(--color-text);
    transition: color var(--dur-fast, 180ms), background var(--dur-fast, 180ms);
    flex: 1;
    min-width: 0;
    text-align: center;
}
.mobile-nav-item svg {
    flex-shrink: 0;
    display: block;
    overflow: visible;
}
.mobile-nav-item span {
    font-size: 0.62rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    hyphens: auto;
    word-break: break-word;
}
.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--accent-aqua);
    background: var(--glass-white-md);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 520px;
    margin: 0 auto;
    background: var(--glass-white);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glass);
}
.empty-state p { color: var(--color-text-muted); font-size: 1.05rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .single-layout    { grid-template-columns: 1fr; }
    .contacts-grid    { grid-template-columns: 1fr; }
    .footer-inner     {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
        text-align: center;
    }
    .footer-brand .site-logo { justify-content: center; }
    .footer-nav-list { align-items: center; }
    .footer-contact {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .single-price-card { position: static; }
}

@media (max-width: 767.98px) {
    body        { padding-bottom: 90px; }
    .uiv-mnav-scrim {
        display: block;
    }
    .site-nav .uiv-mnav-list.nav-list {
        flex-direction: column;
        gap: 0;
        flex: 1;
        margin: 0;
    }
    #site-nav .uiv-mnav-list li a {
        border-radius: 0;
        box-shadow: none;
    }
    #site-nav .mobile-menu-actions {
        margin-top: auto;
        display: flex !important;
    }
    .nav-overlay.is-visible {
        display: block !important;
        position: fixed;
        inset: 0;
        width: 100vw;
        min-height: 100vh;
        min-height: 100dvh;
        background: rgba(0, 0, 0, 0.4);
        z-index: 10000;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        pointer-events: auto !important;
    }
    /* Открытое меню: скролл страницы заблокирован; класс также на html (см. main.js) */
    html.menu-open {
        overflow: hidden;
        height: 100%;
        height: 100dvh;
    }

    html.menu-open,
    body.menu-open {
        overflow: hidden;
        overscroll-behavior: none;
    }

    body.menu-open {
        position: relative;
    }
    body.menu-open .mobile-nav {
        display: none !important;
    }
    .mobile-nav { display: block; }
    .hero       { padding: 48px 0 40px; }
    .section    { padding: 40px 0; }
    .home-hero.section {
        padding-top: 0;
        padding-bottom: 0;
    }
    .archive-hero { padding: 32px 0 20px; }
    .wa-float   { bottom: 90px; right: 16px; }
    .faq-list   { max-width: 100%; }
}

@media (max-width: 520px) {
    .catalog-grid   { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .hero-actions   { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .blog-grid      { grid-template-columns: 1fr; }
    .map-wrap       { height: 280px; }
}

