/* ============================================================
   Event Internet — modernization layer (ui-ux-pro-max)
   Additive overrides on top of style.min.css
   Style: Trust & Authority · keep brand purple · a11y-first
   ============================================================ */

:root {
    /* Brand (preserved from original site) */
    --color-brand: #4a15b8;
    --color-brand-2: #6a1b9a;
    --color-brand-soft: rgba(74, 21, 184, 0.12);
    --color-brand-contrast: #ffffff;

    /* Surfaces & text (contrast ≥ 4.5:1) */
    --color-bg: #f8f7fc;
    --color-surface: #ffffff;
    --color-text: #1a1a2e;
    --color-text-muted: #4b5563;
    --color-border: #e5e7eb;
    --color-success: #0f5132;
    --color-success-bg: #d1e7dd;
    --color-error: #842029;
    --color-error-bg: #f8d7da;
    --color-info: #084298;
    --color-info-bg: #cfe2ff;

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 16px;
    --shadow-sm: 0 4px 12px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 10px 28px rgba(26, 26, 46, 0.10);
    --shadow-lg: 0 18px 40px rgba(26, 26, 46, 0.14);
    --ring: 0 0 0 3px var(--color-brand-soft);

    /* Spacing (8px rhythm) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-6: 48px;
    --space-8: 64px;

    /* Motion (ease-out enter) */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 150ms var(--ease-out);
    --transition: 220ms var(--ease-out);
    --transition-slow: 320ms var(--ease-out);

    /* Typography */
    --font-heading: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Fixed header height (anchors / scroll offset) */
    --header-h: 80px;
}

html {
    scroll-behavior: smooth;
    /* Anchor links must clear the fixed header */
    scroll-padding-top: calc(var(--header-h) + 24px);
}

/* Sections linked from the menu */
#internet-na-meropriyatie,
#wi-fi-na-meropriyatie,
#lokalnaya-set-na-meropriyatie,
#otzyvy,
#kontakty {
    scroll-margin-top: calc(var(--header-h) + 24px);
}

/* Minimal reset (replaces bootstrap-reboot) */
*,
*::before,
*::after {
    box-sizing: border-box;
}
[hidden] {
    display: none !important;
}
img,
svg {
    vertical-align: middle;
}

html {
    height: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    min-height: 100%;
    min-height: 100vh;
    min-height: 100svh;
    background-color: #0b0b12;
    background-image: none !important; /* full-bleed site shell — no side gutters */
}

/* Full-bleed shell: no boxed 1500px column; sticky footer when content is short */
.containers {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    background-color: #fff;
    overflow-x: clip;
    min-height: 100vh;
    min-height: 100svh;
    display: flex !important;
    flex-direction: column;
}

#main-content {
    display: block;
    width: 100%;
    flex: 1 0 auto;
}

h1, h2, h3, h4,
.title,
.block__title,
.reviws__title,
.single-news__title,
.news-card__title {
    font-family: var(--font-heading);
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--color-brand);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip-link:focus {
    left: 16px;
    outline: none;
}

/* Focus (keyboard only) */
:where(a, button, input, textarea, select, [tabindex]):focus {
    outline: none;
}
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 3px solid var(--color-brand-2);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Interactive baseline */
a, button, .one__btn, .button, .button_main, .news-card__btn, .hamburger {
    cursor: pointer;
}

/* Hero: brand-first hierarchy + full-bleed */
.one {
    position: relative !important;
    top: 80px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    height: auto !important;
    min-height: calc(100vh - 80px);
    min-height: calc(100svh - 80px);
    padding:
        clamp(96px, 14vh, 180px)
        max(32px, calc((100% - 1200px) / 2 + 48px))
        clamp(64px, 10vh, 120px) !important;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    isolation: isolate;
    border-radius: 0;
    background-image: url("../src/img/one.webp") !important;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.one::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(105deg, rgba(10, 8, 22, 0.72) 0%, rgba(10, 8, 22, 0.35) 42%, rgba(10, 8, 22, 0.2) 100%),
        linear-gradient(180deg, rgba(10, 8, 22, 0.12) 0%, rgba(10, 8, 22, 0.45) 100%);
    pointer-events: none;
}
.one__title {
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
    font-size: clamp(64px, 9vw, 112px) !important;
    line-height: 0.92 !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
}
.one__subtitle {
    font-family: var(--font-heading);
    font-weight: 500;
    max-width: 18ch;
    font-size: clamp(22px, 2.6vw, 34px) !important;
    line-height: 1.25 !important;
    margin: 0 0 28px !important;
    padding: 0 !important;
    opacity: 0.95;
}

/* Buttons — as in original: light/neutral, not brand purple */
.one__btn,
.button,
.button_main {
    min-height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    background: #f3f3f3;
    color: #111 !important;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background-color var(--transition),
        border-color var(--transition);
}
.one__btn {
    background: #fff;
    border: 0 !important;
    color: #0f172a !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.65) inset,
        0 12px 32px rgba(0, 0, 0, 0.28);
    width: auto !important;
    min-width: 220px;
    height: 56px !important;
    padding: 0 32px !important;
    font-size: 17px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0 !important;
    cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
    .one__btn:hover {
        transform: translateY(-2px);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.7) inset,
            0 16px 36px rgba(0, 0, 0, 0.34);
        background: #fff;
        color: #0f172a !important;
    }
}

/* Mobile sticky order CTA — appears after leaving hero */
.mobile-order-bar {
    display: none;
}

/* Content sections: full-bleed, modern horizontal rhythm */
.two,
.three,
.four,
.reviws {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding-left: max(16px, calc((100% - 1400px) / 2));
    padding-right: max(16px, calc((100% - 1400px) / 2));
}

/*
 * Local network (.four) — desktop only.
 * Legacy used top:-100px on the title (outside the box) → under fixed header.
 * Title space is reserved inside the section; card overlays the image.
 */
@media (min-width: 1201px) {
    .four {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 48px 0 0 !important;
        padding: 128px 0 0 !important;
        overflow: visible;
        box-sizing: border-box;
    }
    .four__title {
        position: absolute !important;
        top: 12px !important;
        left: auto !important;
        right: max(24px, calc((100% - 1400px) / 2 + 40px)) !important;
        margin: 0 !important;
        text-align: right;
        z-index: 2;
        color: var(--color-text);
    }
    .four__bg {
        display: block;
        width: 100% !important;
        max-width: none !important;
        height: min(416px, 56vw);
        background-size: cover !important;
        background-position: center !important;
    }
    .four__block {
        position: absolute !important;
        top: calc(128px + 110px) !important;
        right: max(24px, calc((100% - 1400px) / 2 + 5%)) !important;
        left: auto !important;
        z-index: 3;
        width: min(420px, 36vw) !important;
        height: auto !important;
        min-height: 208px;
        box-sizing: border-box;
    }
}

.footer {
    width: 100% !important;
    max-width: none !important;
    margin: auto 0 0 !important;
    flex-shrink: 0;
    box-sizing: border-box;
    padding-left: max(24px, calc((100% - 1400px) / 2 + 24px)) !important;
    padding-right: max(24px, calc((100% - 1400px) / 2 + 24px)) !important;
}

/* Home: immersive full-bleed hero with overlay nav */
.page-home .one {
    top: 0 !important;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: clamp(120px, 18vh, 200px) !important;
}

/* Overlay nav styles — desktop only (mobile drawer is always white) */
@media (min-width: 1201px) {
    .page-home .menu {
        background: rgba(10, 8, 22, 0.28);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: none;
        color: #fff;
    }

    .page-home .menu__brand-text,
    .page-home .menu__link a {
        color: #fff !important;
    }

    /* Dark E.png → white on transparent hero nav */
    .page-home .menu:not(.is-scrolled) .menu__label_e {
        filter: brightness(0) invert(1);
    }

    .page-home .menu.is-scrolled .menu__label_e {
        filter: none;
    }

    .page-home .menu__link a.is-active,
    .page-home .menu__link a[aria-current="page"] {
        background: rgba(255, 255, 255, 0.14);
        color: #fff !important;
    }

    @media (hover: hover) and (pointer: fine) {
        .page-home .menu__link a:hover {
            background: rgba(255, 255, 255, 0.12);
            color: #fff !important;
        }
    }

    .page-home .menu.is-scrolled {
        background: rgba(255, 255, 255, 0.94);
        border-bottom-color: rgba(26, 26, 46, 0.08);
        box-shadow: 0 1px 0 rgba(26, 26, 46, 0.08), 0 10px 28px rgba(26, 26, 46, 0.05);
    }

    .page-home .menu.is-scrolled .menu__brand-text,
    .page-home .menu.is-scrolled .menu__link a {
        color: #1a1a2e !important;
    }

    .page-home .menu.is-scrolled .menu__link a.is-active,
    .page-home .menu.is-scrolled .menu__link a[aria-current="page"] {
        background: #f0ebfa;
        color: var(--color-brand) !important;
    }

    @media (hover: hover) and (pointer: fine) {
        .page-home .menu.is-scrolled .menu__link a:hover {
            background: #f4f4f7;
            color: var(--color-brand) !important;
        }
    }

    .page-home .hamburger span {
        background: #fff;
    }
    .page-home .hamburger {
        background: rgba(255, 255, 255, 0.12);
    }
    .page-home .menu.is-scrolled .hamburger span {
        background: #1a1a2e;
    }
    .page-home .menu.is-scrolled .hamburger {
        background: #f4f4f7;
    }
}
.one__btn:focus-visible {
    outline-color: #fff;
}
.one__btn:active,
.button_main:active {
    transform: translateY(1px);
    box-shadow: none;
}
.one__btn:disabled,
.button_main:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

@media (hover: hover) and (pointer: fine) {
    .one__btn:hover,
    .button_main:hover {
        transform: translateY(-2px);
        background: #fff;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    }
    .two__block:hover,
    .three__block:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
    .news-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
    .menu__link a:hover {
        color: var(--color-brand);
    }
    .news-card__btn:hover {
        background: #111;
        color: #fff;
        border-color: #111;
    }
    .single-news__back:hover {
        color: var(--color-brand-2);
    }
    .modals__close:hover {
        background: #f3f3f3;
        color: #111;
    }
}

.two__block,
.three__block,
.news-card {
    transition: transform var(--transition), box-shadow var(--transition);
}

/* Feature cards: square bullets tied to each line (not a parallel point column) */
.three__pointers,
.four__pointers {
    display: none !important;
}
.block-bullets {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}
.block-bullets li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 28px;
}
.block-bullets li:last-child {
    margin-bottom: 0;
}
.block-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 10px;
    height: 10px;
    background: #4a15b8;
    flex-shrink: 0;
}

/* Menu baseline (desktop + shared) */
.menu {
    box-sizing: border-box;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    height: 80px !important;
    padding:
        0
        max(24px, calc((100% - 1400px) / 2 + 28px)) !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(26, 26, 46, 0.08), 0 10px 28px rgba(26, 26, 46, 0.05);
    z-index: 1000;
}
.menu__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1a1a2e;
    z-index: 10002;
    min-height: 44px;
}
.menu__brand .menu__label_e,
.menu__label_e {
    height: 44px;
    width: auto;
    display: block;
}
.menu__brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.01em;
}
.menu__nav {
    display: contents;
}
.menu__nav-head,
.menu-backdrop,
.menu__cta {
    display: none;
}
.menu__list {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0 !important;
    list-style: none;
    width: auto !important;
    height: auto !important;
    left: auto !important;
    top: auto !important;
    background: transparent !important;
    transition: none !important;
}
.menu__link {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    font-weight: 500 !important;
}
.menu__link a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #1a1a2e !important;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 18px !important;
    font-weight: 600;
    line-height: 1.2 !important;
    text-transform: none;
    letter-spacing: 0.01em;
    transition: background var(--transition), color var(--transition);
}
.menu__link a.is-active,
.menu__link a[aria-current="page"] {
    background: #f0ebfa;
    color: var(--color-brand) !important;
}
@media (hover: hover) and (pointer: fine) {
    .menu__link a:hover {
        background: #f4f4f7;
        color: var(--color-brand) !important;
    }
    .menu__link a.is-active:hover,
    .menu__link a[aria-current="page"]:hover {
        background: #e8e0f7;
    }
}

.hamburger {
    display: none;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: #f4f4f7;
    cursor: pointer;
    z-index: 10002;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 !important;
    background: #1a1a2e;
    border-radius: 2px;
    transition: transform 220ms var(--ease-out), opacity 180ms var(--ease-out);
}
.hamburger_active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
}
.hamburger_active span:nth-child(2) {
    opacity: 0;
    display: block !important;
}
.hamburger_active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
}

body.menu-open {
    overflow: hidden;
}

/* —— Mobile / tablet —— */
@media (max-width: 1200px) {
    :root {
        --header-h: 64px;
    }

    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }
    .containers {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    #main-content {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    .menu {
        height: 64px !important;
        padding: 0 16px !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        max-width: none !important;
        width: 100% !important;
    }
    .menu__brand {
        z-index: 10002;
        position: relative;
    }
    .menu__brand-text {
        font-size: 15px;
    }
    .hamburger {
        display: inline-flex !important;
        z-index: 10004;
    }

    .menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10003;
        background: rgba(15, 10, 30, 0.48);
        backdrop-filter: blur(3px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms var(--ease-out);
    }
    .menu-backdrop[hidden] {
        display: block !important;
        opacity: 0;
        pointer-events: none;
    }
    .menu--open .menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    /* Drawer above brand — prevents “Event Internet” / “Меню” overlap */
    .menu__nav {
        display: flex !important;
        flex-direction: column;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        z-index: 10005;
        width: min(100vw, 360px) !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        height: 100vh;
        padding: 0 !important;
        margin: 0 !important;
        background: #fff;
        box-shadow: -16px 0 48px rgba(15, 10, 30, 0.18);
        transform: translateX(105%);
        transition: transform 280ms var(--ease-out);
    }
    .menu--open .menu__nav {
        transform: translateX(0);
    }
    .menu--open .menu__brand {
        visibility: hidden;
        pointer-events: none;
    }

    .menu__nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 18px 14px;
        border-bottom: 1px solid #eeeef2;
        flex-shrink: 0;
    }
    .menu__nav-title {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 18px;
        color: #1a1a2e;
    }
    .menu__nav-close {
        width: 40px;
        height: 40px;
        border: none;
        border-radius: 999px;
        background: #f4f4f7;
        color: #333;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    /* Kill legacy fixed slide-in list (was causing a white side panel) */
    .menu__list {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        flex: 1;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 4px;
        margin: 0 !important;
        padding: 16px 14px !important;
        overflow-y: auto;
        overflow-x: hidden;
        background: #fff !important;
        box-shadow: none !important;
        transition: none !important;
    }
    .menu__list_active {
        left: auto !important;
        transform: none !important;
    }
    .menu__link a,
    .page-home .menu__link a,
    .page-home .menu--open .menu__link a {
        width: 100%;
        min-height: 48px;
        padding: 14px 16px;
        border-radius: 14px;
        font-size: 17px !important;
        font-weight: 600;
        color: #1a1a2e !important;
        background: transparent;
    }
    .menu__link a.is-active,
    .menu__link a[aria-current="page"],
    .page-home .menu__link a.is-active,
    .page-home .menu__link a[aria-current="page"] {
        background: #f0ebfa !important;
        color: var(--color-brand) !important;
    }
    .menu__link a:active {
        background: #f4f4f7;
    }
    .page-home .menu {
        background: rgba(255, 255, 255, 0.96) !important;
        border-bottom: 1px solid rgba(26, 26, 46, 0.08);
        color: #1a1a2e;
    }
    .page-home .menu__brand-text {
        color: #1a1a2e !important;
    }
    .page-home .hamburger {
        background: #f4f4f7 !important;
    }
    .page-home .hamburger span {
        background: #1a1a2e !important;
    }

    .menu__cta {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid #eeeef2;
        background: #fafafa;
    }
    .menu__phone {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        color: #1a1a2e;
        text-decoration: none;
        font-weight: 700;
        font-family: var(--font-heading);
        font-size: 16px;
    }
    .menu__order {
        width: 100%;
        min-height: 48px;
        border: none;
        border-radius: 14px;
        background: #1a1a2e;
        color: #fff;
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 16px;
        cursor: pointer;
        box-shadow: 0 10px 24px rgba(26, 26, 46, 0.2);
    }

    /* Hero / sections — kill legacy fixed widths that create a white side “block” */
    .one {
        top: 64px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: calc(100svh - 64px);
        margin: 0 !important;
        padding: 100px 20px 56px !important;
        border-radius: 0;
        overflow: hidden;
        background-size: cover !important;
        background-position: center !important;
    }
    .page-home .one {
        top: 0 !important;
        min-height: 100svh;
        padding-top: 96px !important;
    }
    .one__title {
        font-size: clamp(42px, 12vw, 64px) !important;
        line-height: 0.95 !important;
        padding-bottom: 12px !important;
    }
    .one__subtitle {
        font-size: clamp(20px, 5.5vw, 28px) !important;
        line-height: 1.25 !important;
        max-width: 16ch;
        padding-bottom: 28px !important;
    }
    .page-home .one__btn {
        width: auto !important;
        min-width: 220px !important;
        max-width: min(280px, 100%) !important;
        height: 52px !important;
        font-size: 16px !important;
        line-height: 1 !important;
        border-radius: 0 !important;
        padding: 0 28px !important;
        margin-left: auto;
        margin-right: auto;
        align-self: center;
    }

    .mobile-order-bar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        pointer-events: none;
        background: #fff;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
        transform: translateY(110%);
        opacity: 0;
        transition:
            transform 280ms var(--ease-out),
            opacity 220ms var(--ease-out);
    }
    .mobile-order-bar.is-visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-order-bar[hidden] {
        display: none !important;
    }
    .mobile-order-bar__btn {
        width: 100%;
        min-height: 56px;
        border: 0;
        border-radius: 0;
        padding: 10px 16px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: #0f172a;
        background: #fff;
        box-shadow: none;
        font-family: var(--font-heading);
        transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
    }
    .mobile-order-bar__btn:active {
        background: #f8fafc;
    }
    .mobile-order-bar__label {
        font-size: 16px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        line-height: 1.1;
    }
    .mobile-order-bar__hint {
        font-family: var(--font-body);
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.01em;
        color: #475569;
        text-transform: none;
    }
    body.has-mobile-order-bar {
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }
    body.modal-open .mobile-order-bar,
    body:has(#overlay:not([hidden])) .mobile-order-bar {
        opacity: 0;
        pointer-events: none;
        transform: translateY(110%);
    }

    .title {
        font-size: clamp(28px, 8vw, 40px) !important;
        line-height: 1.1 !important;
    }

    .two,
    .three,
    .four,
    .reviws,
    .footer {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        transform: none !important;
    }

    .two__title,
    .three__title,
    .four__title,
    .reviws__title {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        margin: 0 0 16px !important;
        width: auto !important;
        max-width: 100% !important;
        text-align: left !important;
    }

    /* —— Wi‑Fi / Internet: normal document flow (kill legacy absolute grids) —— */
    .two,
    .three {
        display: flex !important;
        flex-direction: column !important;
        margin-top: 40px !important;
        padding-top: 8px !important;
        gap: 0;
    }

    .two__bg,
    .three__bg,
    .three__bg_img,
    .four__bg {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 200px !important;
        min-height: 160px !important;
        margin: 0 0 16px !important;
        background-size: cover !important;
        background-position: center !important;
    }
    .three__bg {
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 16px !important;
    }
    .three__bg_img {
        height: 200px !important;
        margin: 0 !important;
    }

    .two__blocks,
    .three__blocks {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 12px;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
    }

    .two__block,
    .three__block,
    .four__block {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 18px 16px !important;
        box-sizing: border-box;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .two__block {
        gap: 8px;
    }

    .three__word,
    .four__word {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
    }
    .three__block__txt,
    .four__block__txt {
        margin-top: 10px !important;
        font-size: 15px !important;
        line-height: 1.45 !important;
    }
    .block-bullets li {
        margin-bottom: 10px;
        padding-left: 24px;
    }
    .block-bullets li::before {
        top: 0.42em;
        width: 9px;
        height: 9px;
    }

    /* —— Local network: title → image → card (no absolute overlay) —— */
    .four {
        display: flex !important;
        flex-direction: column !important;
        margin: 40px 0 0 !important;
        padding: 8px 16px 24px !important;
        gap: 0;
    }
    .four__title {
        order: 1;
        text-align: left !important;
        margin: 0 0 12px !important;
    }
    .four__bg {
        order: 2;
        height: 200px !important;
        margin: 0 0 14px !important;
        border-radius: 12px;
    }
    .four__block {
        order: 3;
        margin: 0 0 8px !important;
        z-index: 1;
    }

    .reviws {
        margin-top: 32px !important;
        padding-top: 8px !important;
        padding-bottom: 24px !important;
    }

    /* —— Contacts: kill legacy absolute map that covers «Адрес» —— */
    .footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 20px;
        height: auto !important;
        min-height: 0 !important;
        margin-top: 40px !important;
        padding: 28px 16px !important;
        padding-top: 28px !important; /* override legacy padding-top: 330px */
        position: relative !important;
    }
    .footer__label {
        margin: 0 !important;
        order: 1;
    }
    .footer__label img {
        max-width: 120px;
        height: auto !important;
    }
    .footer__contacts {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        order: 2;
    }
    .footer__contacts__adress {
        margin: 0 0 16px !important;
        margin-right: 0 !important;
    }
    .footer__contacts__social {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 10px;
        width: auto !important;
        bottom: auto !important;
        right: auto !important;
        margin: 12px 0 0 !important;
    }
    .footer__contacts__social img {
        margin: 0 !important;
    }
    .footer iframe {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 220px !important;
        margin: 0 !important;
        border: 0;
        border-radius: 14px;
        order: 3;
    }
    .footer__contacts__adress a,
    .footer__contacts__adress h4 {
        word-break: break-word;
    }

    .reviews-carousel {
        padding: 0 44px !important;
        max-width: 100%;
    }
    .reviws .reviews-swiper {
        width: 100%;
        max-width: 100%;
    }

    .news-feed {
        padding: 8px 12px 48px;
    }

    .modals {
        width: min(100%, 420px) !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: min(90dvh, 640px);
    }
}

@media (max-width: 520px) {
    .menu__brand-text {
        max-width: 140px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .one {
        margin: 0 !important;
        padding: 88px 16px 48px !important;
        min-height: calc(100svh - 64px);
    }
}

/* —— Order form modal —— */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 10, 30, 0.58);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.overlay[hidden] {
    display: none !important;
}
.modals {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 480px;
    height: auto;
    min-height: 0;
    padding: 36px 32px 28px;
    border: none;
    border-radius: 4px;
    background: #fff;
    text-align: left;
    box-shadow: 0 28px 80px rgba(15, 10, 30, 0.35);
    animation: modal-in var(--transition-slow) var(--ease-out);
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
.modals__header {
    margin-bottom: 22px;
    padding-right: 36px;
}
.modals__subtaitle,
.modals__title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    margin: 0 0 8px;
    text-transform: none;
}
.modals__lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-muted);
}
.modals__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 4px;
    background: #f4f4f6;
    color: #444;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}
.modals__privacy {
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-top: 14px;
}
.modals__privacy a {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contacts__form .field--consent {
    margin-top: 2px;
}
.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
    color: var(--color-text-muted);
    cursor: pointer;
}
.consent-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    border: 1.5px solid #c4c4cc;
    border-radius: 3px;
    background: #fff;
    accent-color: var(--color-brand);
    cursor: pointer;
    box-shadow: none;
    outline: none;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}
.consent-check input[type="checkbox"]:checked {
    border-color: var(--color-brand);
    background-color: var(--color-brand);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
}
.consent-check input[type="checkbox"]:focus,
.consent-check input[type="checkbox"]:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--color-brand);
}
.consent-check a {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contacts__form {
    display: grid;
    gap: 14px;
}
.contacts__form .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}
.contacts__form .field--half {
    min-width: 0;
}
.contacts__form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.contacts__form .form-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    overflow: visible;
    white-space: normal;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.contacts__form input:not([type="checkbox"]):not([type="hidden"]),
.contacts__form textarea {
    display: block;
    width: 100%;
    margin: 0;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d9d9de;
    border-radius: 2px;
    background: #fafafa;
    color: var(--color-text);
    font-size: 15px;
    font-family: inherit;
    text-align: left;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.contacts__form textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.45;
}
.contacts__form input:not([type="checkbox"])::placeholder,
.contacts__form textarea::placeholder {
    color: #9ca3af;
}
.contacts__form input:not([type="checkbox"]):hover,
.contacts__form textarea:hover {
    background: #fff;
    border-color: #c4c4cc;
}
.contacts__form input:not([type="checkbox"]):focus,
.contacts__form textarea:focus {
    border-color: #1a1a2e;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.12);
}
.contacts__form .button_main {
    width: 100%;
    height: 52px;
    margin: 6px 0 0;
    border-radius: 2px;
    border: none;
    background: #1a1a2e;
    color: #fff !important;
    font-size: 16px;
    box-shadow: 0 10px 24px rgba(26, 26, 46, 0.22);
}
@media (hover: hover) and (pointer: fine) {
    .contacts__form .button_main:hover {
        background: #111122;
        color: #fff !important;
        filter: none;
    }
}

#form-status {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}
#form-status.is-info {
    color: var(--color-info);
    background: var(--color-info-bg);
}
#form-status.is-success {
    color: var(--color-success);
    background: var(--color-success-bg);
}
#form-status.is-error {
    color: var(--color-error);
    background: var(--color-error-bg);
}

@media (max-width: 520px) {
    .modals {
        padding: 28px 20px 22px;
        border-radius: 4px;
    }
    .contacts__form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Reviews — equal-height cards, custom arrows, no dots */
.reviws {
    padding: var(--space-6) 0;
    margin-top: 0;
}
.reviws__title {
    text-align: center;
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: var(--space-4);
    color: var(--color-text);
    position: relative;
}
.reviws__title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-brand), var(--color-brand-2));
    margin: 15px auto 0;
    border-radius: 2px;
}

.reviews-carousel {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 56px;
    box-sizing: border-box;
}

.reviws .reviews-swiper {
    width: 100%;
    margin: 0;
    padding: 8px 0 16px;
    overflow: hidden;
}

.reviws .reviews-slide {
    box-sizing: border-box;
    height: auto;
}

.reviws .carousel__inner__block {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #fff;
    border-radius: var(--radius-md);
    width: 100%;
    height: 380px;
    min-height: 380px;
    max-height: 380px;
    margin: 0;
    padding: 28px 24px 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(26, 26, 46, 0.06);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.reviews-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(26, 26, 46, 0.12);
    border-radius: 999px;
    background: #fff !important;
    background-image: none !important;
    color: #1a1a2e;
    font-size: 0;
    line-height: 0;
    text-indent: 0;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(26, 26, 46, 0.10);
    transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.reviews-arrow--prev { left: 0; right: auto; }
.reviews-arrow--next { right: 0; left: auto; }
.reviews-arrow svg {
    display: block;
    flex-shrink: 0;
}
.reviews-arrow:disabled,
.reviews-arrow.is-disabled {
    opacity: 0.35;
    cursor: default;
    box-shadow: none;
    pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
    .reviews-arrow:not(:disabled):not(.is-disabled):hover {
        background: #1a1a2e !important;
        color: #fff;
        box-shadow: 0 10px 26px rgba(26, 26, 46, 0.2);
    }
}

.carousel__inner__block__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
    margin: 0 0 6px;
    min-height: 1.3em;
}

.carousel__inner__block__star {
    font-size: 13px;
    line-height: 1.35;
    color: var(--color-brand);
    margin: 0 0 16px;
    font-weight: 500;
    min-height: 2.7em; /* reserve 2 lines so text starts aligned */
}

.carousel__inner__block__text-wrapper {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    max-height: none;
}

.carousel__inner__block__text-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
    pointer-events: none;
}

.carousel__inner__block__text {
    margin: 0;
    line-height: 1.55;
    font-size: 15px;
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    overflow: hidden;
}

.review-expand {
    flex: 0 0 auto;
    align-self: flex-start;
    margin-top: 14px;
    padding: 0;
    border: none;
    background: none;
    color: #1a1a2e;
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    min-height: 36px;
    line-height: 36px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.modals--review {
    max-width: 560px;
}
.modals--review .modals__header {
    margin-bottom: 12px;
}
.modals--review .modals__lead {
    color: var(--color-brand);
    font-weight: 500;
}
.review-modal__body {
    max-height: min(60vh, 420px);
    overflow-y: auto;
    padding-right: 4px;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
    white-space: pre-wrap;
}

@media (hover: hover) and (pointer: fine) {
    .reviws .carousel__inner__block:hover {
        box-shadow: var(--shadow-lg);
    }
    .review-expand:hover {
        color: var(--color-brand);
    }
}

/* Admin news preview — compact corner badge */
.news-preview-badge {
    position: fixed;
    top: calc(var(--header-h, 64px) + 12px);
    right: 12px;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: min(280px, calc(100vw - 24px));
    padding: 8px 10px 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    pointer-events: auto;
}
.news-preview-badge__label {
    color: #64748b;
    white-space: nowrap;
}
.news-preview-badge__link {
    color: #0f172a;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}
.news-preview-badge__link:hover {
    color: #334155;
}
@media (max-width: 600px) {
    .news-preview-badge {
        top: auto;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        right: 12px;
        left: 12px;
        max-width: none;
        justify-content: space-between;
    }
}

/* Inner pages (news): shared shell + no photo hero */
.page-news,
.page-news-detail {
    --news-shell: 1080px;
    --news-gutter: 20px;
}
.page-news #main-content,
.page-news-detail #main-content {
    padding-top: calc(var(--header-h) + 16px);
}
.page-news .one,
.page-news-detail .one {
    display: none !important;
}

.breadcrumbs {
    max-width: 900px;
    margin: 0 auto;
    padding: 8px 16px 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-text-muted, #64748b);
}
.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: var(--color-text, #0f172a);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.breadcrumbs__sep {
    margin: 0 6px;
    opacity: 0.55;
}
.breadcrumbs [aria-current="page"] {
    color: var(--color-text, #0f172a);
}

.page-heading {
    text-align: center;
    padding: 28px 16px 8px;
    max-width: 900px;
    margin: 0 auto;
}
.page-heading__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text);
    text-transform: none;
}
.page-heading__sub {
    margin: 12px 0 0;
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* News list + detail — same column width so layout doesn't jump */
.page-news .containers,
.page-news-detail .containers {
    background:
        radial-gradient(1200px 420px at 12% -10%, rgba(74, 21, 184, 0.10), transparent 60%),
        radial-gradient(900px 360px at 90% 0%, rgba(106, 27, 154, 0.08), transparent 55%),
        #fff;
}
.page-news .page-heading,
.page-news-detail .page-heading {
    text-align: left;
    width: 100%;
    max-width: var(--news-shell);
    margin-left: auto;
    margin-right: auto;
    padding: 20px var(--news-gutter) 4px;
    box-sizing: border-box;
}
.page-news .page-heading__title,
.page-news-detail .page-heading__title {
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
    font-weight: 400;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 0.95;
}
.page-news .page-heading__sub,
.page-news-detail .page-heading__sub {
    max-width: 36rem;
    margin-top: 10px;
    font-size: 15px;
}
.page-news .breadcrumbs,
.page-news-detail .breadcrumbs {
    width: 100%;
    max-width: var(--news-shell);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--news-gutter);
    padding-right: var(--news-gutter);
    box-sizing: border-box;
}

.news-feed {
    width: 100%;
    max-width: var(--news-shell);
    margin: 12px auto 72px;
    padding: 0 var(--news-gutter) 40px;
    box-sizing: border-box;
}
.news-feed__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.news-feed__empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--color-text-muted);
}
.news-feed__status {
    text-align: center;
    padding: 16px 8px 4px;
    font-size: 14px;
    color: var(--color-text-muted);
}
.news-feed__sentinel {
    height: 1px;
    width: 100%;
    pointer-events: none;
}

.news-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    background: #fff;
    border: 1px solid rgba(26, 26, 46, 0.10);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 26, 46, 0.07);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(74, 21, 184, 0.14);
    border-color: rgba(74, 21, 184, 0.22);
}
.news-card__media {
    display: block;
    position: relative;
    min-height: 168px;
    background: linear-gradient(145deg, #4a15b8 0%, #1a1a2e 100%);
    overflow: hidden;
}
.news-card__media > img:not(.news-card__emblem) {
    width: 100%;
    height: 100%;
    min-height: 168px;
    object-fit: cover;
    display: block;
    transition: transform 420ms var(--ease-out);
}
.news-card:hover .news-card__media > img:not(.news-card__emblem) {
    transform: scale(1.04);
}
.news-card__media--empty {
    display: grid;
    place-items: center;
    padding: 24px;
}
.news-card__emblem {
    width: min(42%, 96px);
    height: auto;
    max-height: 96px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}
.news-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 24px 20px;
    min-width: 0;
    background: #fff;
}
.news-card__date {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4a15b8;
}
.news-card__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.28;
    color: #1a1a2e;
}
.news-card__title a {
    color: #1a1a2e;
    text-decoration: none;
}
.news-card__title a:hover {
    color: #4a15b8;
}
.news-card__excerpt {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: #3f4654;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(74, 21, 184, 0.22);
    background: rgba(74, 21, 184, 0.06);
    font-size: 13px;
    font-weight: 700;
    color: #4a15b8;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}
.news-card__more span {
    transition: transform var(--transition-fast);
}
.news-card__more:hover {
    background: rgba(74, 21, 184, 0.12);
    border-color: rgba(74, 21, 184, 0.4);
}
.news-card__more:hover span {
    transform: translateX(3px);
}

@media (max-width: 720px) {
    .news-card {
        grid-template-columns: 1fr;
    }
    .news-card__media,
    .news-card__media > img:not(.news-card__emblem) {
        min-height: 200px;
        max-height: 220px;
    }
    .news-card__media--empty {
        min-height: 180px;
    }
    .news-card__body {
        padding: 16px 16px 18px;
    }
}

/* News detail gallery (Swiper only here) */
.section-news {
    width: 100%;
    max-width: var(--news-shell, 1080px);
    margin: 12px auto 72px;
    padding: 0 var(--news-gutter, 20px) 40px;
    box-sizing: border-box;
}
.section-news__items {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.section-news__empty {
    text-align: center;
    padding: 40px 16px;
    color: var(--color-text-muted);
}

.news-slider {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 32px rgba(26, 26, 46, 0.14);
}
.news-slider__img,
.news_slider {
    position: relative;
    width: 100%;
    height: min(52vw, 480px);
    min-height: 240px;
    max-height: 520px;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    background: #111;
}
.news-slider__img .swiper-wrapper,
.news_slider .swiper-wrapper {
    height: 100%;
}
.news-slider__img .swiper-slide,
.news_slider .swiper-slide {
    height: 100%;
}
.news-slider__img img,
.news_slider img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    padding: 0;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.news-slider__arrow:hover {
    background: #f3f3f3;
}
.news-slider__arrow img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    /* icon_arrow.svg is white — force dark for contrast on white button */
    filter: brightness(0);
    opacity: 0.88;
}
.news-slider__arrow.arrow-next { right: 12px; }
.news-slider__arrow.arrow-prev { left: 12px; }
.news-slider__arrow.arrow-next img { transform: rotate(180deg); }
.news-slider .swiper-pagination,
.news_slider .swiper-pagination {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 5;
    width: auto !important;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

/* News detail — same shell as list (.news-feed) */
.single-news.section-news {
    width: 100%;
    max-width: var(--news-shell);
    margin: 12px auto 72px;
    padding: 8px var(--news-gutter) 40px;
    box-sizing: border-box;
}
.single-news .section-news__items {
    margin-bottom: 28px;
}
.single-news__text {
    max-width: none;
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    color: #333;
}
.single-news__text p {
    margin-bottom: var(--space-2);
}
.single-news__text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
.single-news__back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0 0 16px;
    color: var(--color-brand);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}
.single-news--empty {
    text-align: center;
    padding-top: 24px;
}

/* Optional Yandex map on news detail */
.news-map {
    width: 100%;
    max-width: none;
    margin: 28px 0 36px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}
.news-map__title {
    margin: 0 0 14px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
}
.news-map__canvas {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: 1px solid #ddd;
    overflow: hidden;
    background: #f3f3f3;
}
@media (max-width: 840px) {
    .news-map {
        padding: 14px;
        margin: 20px 0 28px;
    }
    .news-map__canvas {
        height: 280px;
    }
}

@media (max-width: 840px) {
    .news-slider__img,
    .news_slider {
        height: 240px;
        min-height: 220px;
    }
}

/* Scroll reveal — motion only; never hide content (opacity stays 1).
   Enabled when <html class="js-reveal"> after app.js marks above-the-fold visible. */
html.js-reveal [data-reveal]:not(:has([data-reveal-child], [data-reveal-stagger])) {
    opacity: 1;
    transform: translateY(16px);
    transition:
        opacity 500ms var(--ease-out),
        transform 500ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}
html.js-reveal [data-reveal]:not(:has([data-reveal-child], [data-reveal-stagger])).is-visible {
    transform: none;
}

html.js-reveal [data-reveal-child],
html.js-reveal [data-reveal-stagger] > * {
    opacity: 1;
    transform: translateY(16px);
    transition:
        opacity 500ms var(--ease-out),
        transform 500ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}
html.js-reveal [data-reveal].is-visible > [data-reveal-child],
html.js-reveal [data-reveal].is-visible [data-reveal-stagger] > *.is-visible {
    transform: none;
}

/* Hero entrance on load */
html.js-reveal [data-reveal-hero] .one__title,
html.js-reveal [data-reveal-hero] .one__subtitle,
html.js-reveal [data-reveal-hero] .one__btn {
    opacity: 1;
    transform: translateY(12px);
    transition:
        opacity 550ms var(--ease-out),
        transform 550ms var(--ease-out);
}
html.js-reveal [data-reveal-hero].is-visible .one__title {
    transform: none;
    transition-delay: 60ms;
}
html.js-reveal [data-reveal-hero].is-visible .one__subtitle {
    transform: none;
    transition-delay: 140ms;
}
html.js-reveal [data-reveal-hero].is-visible .one__btn {
    transform: none;
    transition-delay: 220ms;
}

/* Responsive */
@media (max-width: 768px) {
    .reviws { padding: var(--space-4) 0; }
    .reviews-carousel {
        padding: 0 44px;
    }
    .reviews-arrow {
        width: 40px;
        height: 40px;
    }
    .reviws .carousel__inner__block {
        height: 360px;
        min-height: 360px;
        max-height: 360px;
        padding: 22px 18px 16px;
    }
    .carousel__inner__block__title { font-size: 17px; }
    .carousel__inner__block__text { font-size: 14px; -webkit-line-clamp: 6; line-clamp: 6; }
    .modals { padding: var(--space-3); }
}

/* —— Cookie consent (152-FZ / analytics) —— */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    padding: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    background: rgba(15, 10, 30, 0.92);
    color: #f8f7fc;
    box-shadow: 0 -12px 40px rgba(15, 10, 30, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.cookie-banner[hidden] {
    display: none !important;
}
.cookie-banner__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}
.cookie-banner__title {
    margin: 0 0 6px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.cookie-banner__text {
    margin: 0;
    max-width: 64ch;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(248, 247, 252, 0.88);
}
.cookie-banner__text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner__actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}
.cookie-banner__btn {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.cookie-banner__btn--primary,
.cookie-banner__btn--ghost {
    min-width: 132px;
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}
@media (hover: hover) and (pointer: fine) {
    .cookie-banner__btn--primary:hover,
    .cookie-banner__btn--ghost:hover {
        border-color: #fff;
        background: rgba(255, 255, 255, 0.12);
    }
}
body.has-cookie-banner {
    padding-bottom: 140px;
}
@media (max-width: 720px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-banner__actions {
        width: 100%;
    }
    .cookie-banner__btn {
        flex: 1;
    }
    body.has-cookie-banner {
        padding-bottom: 220px;
    }
}
@media (max-width: 992px) {
    body.has-cookie-banner.has-mobile-order-bar .cookie-banner {
        bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }
}

.footer__legal {
    margin: 18px 0 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
}
.footer__legal-sep {
    opacity: 0.45;
}
.footer__legal a {
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 14px !important;
    font-weight: 400 !important;
}
.footer__legal a:hover {
    color: #fff !important;
}

.footer-map {
    width: 100%;
    max-width: 553px;
    min-height: 272px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
}
.footer-map iframe {
    width: 100%;
    max-width: 553px;
    height: 272px;
    border: 0;
    border-radius: 8px;
}
.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: calc(var(--header-h) + 32px) 20px 64px;
}
.legal-page__title {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text);
}
.legal-page__updated {
    margin: 0 0 28px;
    font-size: 14px;
    color: var(--color-text-muted);
}
.legal-page h2 {
    margin: 28px 0 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
}
.legal-page p,
.legal-page li {
    font-size: 16px;
    line-height: 1.55;
    color: var(--color-text);
}
.legal-page ul {
    margin: 0 0 12px;
    padding-left: 1.25em;
}
.legal-page a {
    color: var(--color-brand);
    text-underline-offset: 2px;
}

/* —— Error pages (404): same visual language as home hero —— */
.page-error .containers {
    background: #0e0e16;
}
.page-error #main-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0;
    background: #0e0e16;
}
.error-stage {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: calc(100svh - 115px);
    display: grid;
    place-items: center;
    text-align: center;
    padding: clamp(72px, 12vh, 120px) 20px 64px;
    overflow: hidden;
    color: #fff;
}
.error-stage__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(14, 14, 22, 0.52) 0%, rgba(14, 14, 22, 0.86) 52%, #0e0e16 100%),
        linear-gradient(115deg, rgba(74, 21, 184, 0.48) 0%, rgba(14, 14, 22, 0.15) 46%, transparent 72%),
        url("/src/img/one.webp") center / cover no-repeat;
    transform: scale(1.03);
    animation: error-bg-drift 18s var(--ease-out) infinite alternate;
    pointer-events: none;
}
.error-stage__inner {
    position: relative;
    z-index: 1;
    max-width: 40rem;
}
.error-stage__mark {
    width: auto;
    max-width: min(220px, 70vw);
    height: 48px;
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
    animation: error-rise 0.65s var(--ease-out) both;
}
.error-stage__code {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(5.5rem, 18vw, 9rem);
    line-height: 0.88;
    letter-spacing: 0.04em;
    color: #fff;
    text-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    animation: error-rise 0.65s var(--ease-out) 0.05s both;
}
.error-stage__title {
    margin: 8px 0 0;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    animation: error-rise 0.65s var(--ease-out) 0.1s both;
}
.error-stage__lead {
    margin: 14px auto 0;
    max-width: 32rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    animation: error-rise 0.65s var(--ease-out) 0.15s both;
}
.error-stage__actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    animation: error-rise 0.65s var(--ease-out) 0.2s both;
}
.error-stage__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 56px !important;
    padding: 0 32px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff;
    color: #0f172a !important;
    font-family: var(--font-heading);
    font-size: 17px !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none !important;
    text-transform: uppercase;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.65) inset,
        0 12px 32px rgba(0, 0, 0, 0.28);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background-color var(--transition);
}
@media (hover: hover) and (pointer: fine) {
    .error-stage__cta:hover {
        background: #fff;
        color: #0f172a !important;
        transform: translateY(-2px);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.7) inset,
            0 16px 36px rgba(0, 0, 0, 0.34);
    }
}
.error-stage__cta:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.55);
    outline-offset: 3px;
}
@keyframes error-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
@keyframes error-bg-drift {
    from { transform: scale(1.03) translate3d(0, 0, 0); }
    to { transform: scale(1.07) translate3d(-1.4%, -1%, 0); }
}
@media (max-width: 860px) {
    .error-stage { min-height: calc(100svh - 72px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    html.js-reveal [data-reveal],
    html.js-reveal [data-reveal-child],
    html.js-reveal [data-reveal-stagger] > *,
    html.js-reveal [data-reveal-hero] .one__title,
    html.js-reveal [data-reveal-hero] .one__subtitle,
    html.js-reveal [data-reveal-hero] .one__btn {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
