/* ===== Fonts ===== */
@font-face {
    font-family: "ClashGrotesk";
    src: url("ClashGrotesk-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ClashDisplay";
    src: url("ClashDisplay-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Satoshi";
    src: url("Satoshi-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("Gilroy-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GilroyExtraBold";
    src: url("Gilroy-ExtraBold.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Coolvetica";
    src: url("coolvetica-rg.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "InterBoldLocal";
    src: url("Inter-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "HelveticaBoldLocal";
    src: url("helvetica_bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("Manrope.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "InterExtraLight";
    src: url("Inter-ExtraLight.otf") format("opentype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "InterBlack";
    src: url("Inter-Black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --bg: #171717;
    --bg-alt: #171717;
    --surface: #111111;
    --border: #1a1a1a;
    --text: #f0f0f0;
    --text-muted: #777777;
    --accent: #ff3b30;
    --accent-light: #ff5a52;
    --accent-glow: rgba(255, 59, 48, 0.28);
    --accent-glow-strong: rgba(255, 59, 48, 0.52);
    --grid-line: rgba(255, 255, 255, 0.18);
    --frame-line: rgba(255, 255, 255, 0.42);
    --card-line: rgba(255, 255, 255, 0.16);
    --card-surface: rgba(13, 13, 15, 0.86);
    --frame-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    --hover-red-core: rgba(255, 59, 48, 1);
    --hover-red-mid: rgba(255, 59, 48, 0.82);
    --hover-red-soft: rgba(255, 59, 48, 0.18);
    --hover-red-fog: rgba(255, 59, 48, 0.08);
    --intro-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1900 500'%3E%3Ctext x='50%25' y='52%25' text-anchor='middle' dominant-baseline='middle' font-family='Arial Black,Arial,sans-serif' font-size='332' font-weight='900' letter-spacing='8' textLength='1220' lengthAdjust='spacingAndGlyphs' fill='white'%3EPROD%3C/text%3E%3C/svg%3E");
}

html {

    font-size: 16px;
    /* Smooth rendering at high refresh rates */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeSpeed;
}


body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    background: var(--bg);
    background-image: none;
    color: var(--text);
    line-height: 1.6;


}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== Intro Screen ===== */
.intro-screen {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
    opacity: 1;
    transition: opacity 1s ease;
    overflow: hidden;
    isolation: isolate;
}

.intro-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Intro PROD text with video/image inside */
.intro-prod-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.92);
    z-index: 2;
}

.intro-prod-wrap.ready {
    animation: introAppear 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-prod-frame {
    --intro-mask-size-x: 88.5%;
    --intro-media-position-y: 50%;
    --intro-media-scale: 1;
    --intro-media-stretch-x: 1.2;
    --intro-poster-stretch-x: 1.22;
    --intro-media-width: 117%;
    --intro-poster-width: 119%;
    --intro-media-left: -8%;
    --intro-poster-left: -9%;
    --intro-media-shift-x: 5%;
    --intro-poster-shift-x: 5%;
    position: relative;
    width: min(98vw, 1380px);
    aspect-ratio: 4.45 / 1;
}

.intro-prod-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "ClashDisplay", "Unbounded", "Inter", sans-serif;
    font-size: clamp(4.2rem, 11.8vw, 9.9rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    user-select: none;
    white-space: nowrap;
    background-image: url("intro-poster-wide.jpg%3Fv=1");
    background-image: -webkit-image-set(
        url("intro-poster-wide-sm.jpg%3Fv=1") 1x,
        url("intro-poster-wide.jpg%3Fv=1") 2x
    );
    background-image: image-set(
        url("intro-poster-wide-sm.jpg%3Fv=1") 1x,
        url("intro-poster-wide.jpg%3Fv=1") 2x
    );
    background-position: 56% 46%;
    background-repeat: no-repeat;
    background-size: 120% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
    filter: brightness(1.06) saturate(1.08) contrast(1.03);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.intro-prod-media {
    display: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 1;
    transform: translateZ(0);
    pointer-events: none;
}

@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
    .intro-prod-media {
        display: block;
        -webkit-mask-image: var(--intro-mask);
        mask-image: var(--intro-mask);
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: var(--intro-mask-size-x) 100%;
        mask-size: var(--intro-mask-size-x) 100%;
    }

    .intro-prod-text {
        opacity: 0;
    }
}

.intro-prod-poster,
.intro-prod-video {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    object-fit: cover;
    object-position: 50% var(--intro-media-position-y);
    transform-origin: center;
    background: #000;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.intro-prod-poster {
    left: var(--intro-poster-left);
    width: var(--intro-poster-width);
    transform: translateX(var(--intro-poster-shift-x))
        scaleX(var(--intro-poster-stretch-x)) scaleY(1.03);
    filter: brightness(1.12) contrast(1.05) saturate(1.02);
}

.intro-prod-video {
    opacity: 1;
    will-change: transform, opacity;
    left: var(--intro-media-left);
    width: var(--intro-media-width);
    transform: translateX(var(--intro-media-shift-x))
        scaleX(var(--intro-media-stretch-x)) scaleY(var(--intro-media-scale));
    filter: brightness(1.12) contrast(1.06) saturate(1.02);
}

.intro-subtitle {
    position: absolute;
    top: calc(50% + clamp(3rem, 10vw, 9rem));
    left: 0;
    right: 0;
    text-align: center;
    opacity: 1;
    font-family: "ClashGrotesk", "Inter", sans-serif;
    font-size: clamp(0.8rem, 1.4vw, 1rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 5px;
    text-transform: uppercase;
    z-index: 3;
    opacity: 0;
    animation: introSubAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
    text-shadow: none;
}

@keyframes introAppear {
    0% {
        opacity: 0;
        transform: scale(0.9);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes introSubAppear {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 0.8;
        transform: translateY(0);
    }
}

/* ===== Dark Veil Canvas ===== */
#darkVeil {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Все секции поверх канваса */
.nav,
.hero,
.section,
.section--alt,
.disclaimer,
.footer {
    position: relative;
    z-index: 1;
}

/* ===== Навигация ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    isolation: isolate;
    background:
        linear-gradient(
            180deg,
            rgba(18, 18, 18, 0.72) 0%,
            rgba(10, 10, 10, 0.54) 100%
        ),
        rgba(10, 10, 10, 0.38);
    border-bottom: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03),
        0 18px 52px rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(24px) saturate(1.22);
    backdrop-filter: blur(24px) saturate(1.22);
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    height: 64px;
}

/* Soft glass fade under the header, so the bar blends into content */
.nav::after {
    content: "";
    position: absolute;
    bottom: -28px;
    left: 0;
    right: 0;
    height: 28px;
    background:
        linear-gradient(
            to bottom,
            rgba(10, 10, 10, 0.34) 0%,
            rgba(10, 10, 10, 0.16) 48%,
            transparent 100%
        ),
        rgba(255, 255, 255, 0.018);
    -webkit-backdrop-filter: blur(18px) saturate(1.18);
    backdrop-filter: blur(18px) saturate(1.18);
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        rgba(0, 0, 0, 0.72) 48%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        rgba(0, 0, 0, 0.72) 48%,
        transparent 100%
    );
    pointer-events: none;
    z-index: -1;
}

.nav--scrolled {
    background:
        linear-gradient(
            180deg,
            rgba(18, 18, 18, 0.8) 0%,
            rgba(10, 10, 10, 0.62) 100%
        ),
        rgba(10, 10, 10, 0.44);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.035),
        0 20px 58px rgba(0, 0, 0, 0.36);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    gap: 24px;
}

/* Логотип */
.nav__logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    gap: 12px;
    align-self: center;
    line-height: 1;
}

.nav__logo:hover {
    opacity: 1;
}

.nav__logo-text {
    font-family: "Unbounded", "Inter", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 3.2px;
    color: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
}

.nav__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 2vw, 40px);
    margin-left: auto;
    height: 100%;
    align-self: center;
}

.nav__links li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.nav__links a {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    line-height: 1;
    font-family: "Manrope", "Inter", sans-serif;
    white-space: nowrap;
}

.nav__links a:hover {
    color: #fff;
    text-shadow: 0 0 14px rgba(255, 59, 48, 0.28);
}

/* ── Icon ↔ Label nav links ─────────────────────────────────── */
.nav__link-icon {
    position: relative;
    overflow: hidden;
    min-width: 2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    line-height: 1;
}

/* Icon layer */
.nav__link-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition:
        opacity 0.28s ease,
        transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.75;
}

.nav__link-ico svg {
    width: 26px;
    height: 26px;
    display: block;
    flex-shrink: 0;
}

/* Label layer — hidden by default, slides up from below */
.nav__link-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 60%) scale(0.88);
    opacity: 0;
    transition:
        opacity 0.26s ease,
        transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    pointer-events: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-family: "Manrope", "Inter", sans-serif;
}

/* Hover: icon slides up & fades, label slides in */
.nav__link-icon:hover .nav__link-ico {
    opacity: 0;
    transform: translateY(-55%) scale(0.7);
}

.nav__link-icon:hover .nav__link-label {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.nav__logo:hover .nav__logo-text {
    text-shadow: 0 0 16px rgba(255, 59, 48, 0.26);
}

.nav__telegram {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    font-family: "Manrope", "Inter", sans-serif;
}

.nav__burger {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 1210;
    overflow: hidden;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        opacity 0.25s ease;
}

.nav__burger::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 59, 48, 0.18) 0%,
        rgba(255, 59, 48, 0.06) 58%,
        transparent 100%
    );
    opacity: 0;
    transform: scale(0.72);
    transition:
        opacity 0.35s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.nav__burger span {
    position: absolute;
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    z-index: 1;
    transform-origin: center;
    will-change: transform, opacity;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.24s ease,
        width 0.32s ease,
        background 0.3s ease;
}

.nav__burger span:nth-child(1) {
    transform: translateY(-8px);
}

.nav__burger span:nth-child(2) {
    width: 20px;
    transform: translateY(0);
}

.nav__burger span:nth-child(3) {
    transform: translateY(8px);
}

.nav__burger.active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.nav__burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
}

.nav__burger.active span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

.nav__burger.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav__mobile-toolbar {
    display: none !important;
}

.nav__desktop-theme {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.nav__close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.nav__close span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.nav__close span:first-child {
    transform: rotate(45deg);
}

.nav__close span:last-child {
    transform: rotate(-45deg);
}

.nav__close:hover {
    border-color: rgba(255, 59, 48, 0.75);
    background: rgba(255, 59, 48, 0.08);
    color: #fff;
    box-shadow:
        0 0 0 1px rgba(255, 59, 48, 0.28),
        0 0 22px rgba(255, 59, 48, 0.2);
}

/* ===== HERO ===== */
.hero {
    min-height: auto;
    padding-top: clamp(72px, 8vw, 90px);
    padding-bottom: clamp(60px, 8vw, 80px);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    background:
        radial-gradient(
            72% 56% at 50% 34%,
            rgba(255, 255, 255, 0.02) 0%,
            rgba(255, 255, 255, 0) 62%
        ),
        linear-gradient(
            180deg,
            #050505 0%,
            #090909 38%,
            #0f0f0f 66%,
            #141414 84%,
            var(--bg) 100%
        );
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: clamp(120px, 20vh, 240px);
    background: linear-gradient(
        180deg,
        rgba(23, 23, 23, 0) 0%,
        rgba(23, 23, 23, 0.22) 36%,
        rgba(23, 23, 23, 0.56) 68%,
        var(--bg) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Hero контейнер */
.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.22fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: visible;
}

/* Левая часть — контент */
.hero__content {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Заголовок */
.hero__title {
    font-family: "InterBlack", "Inter", sans-serif;
    font-size: clamp(1.75rem, 3.1vw, 2.75rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    padding-bottom: 0;
    display: block;
    text-align: left;
    max-width: 20ch;
    transform: scale(var(--shine-scale, 1));
    transform-origin: left center;
    transition: transform 0.05s linear;
    /* Блеск через background-clip */
    --shine-pos: -120%;
    --shine-scale: 1;
    background: linear-gradient(
        115deg,
        #ffffff 0%,
        #ffffff calc(var(--shine-pos) - 22%),
        #e0e0e0 calc(var(--shine-pos) - 10%),
        #ffffff var(--shine-pos),
        #e0e0e0 calc(var(--shine-pos) + 10%),
        #ffffff calc(var(--shine-pos) + 22%),
        #ffffff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__title-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(9px, 0.9vw, 14px);
}

.hero__title-icon {
    width: clamp(36px, 3.4vw, 48px);
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    background: #040404;
    transform: translateY(-4px);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.42),
        0 6px 16px rgba(0, 0, 0, 0.28);
    flex-shrink: 0;
}

.hero__title-accent {
    position: relative;
    display: inline-block;
    font-family: "ClashDisplay", "Inter", sans-serif;
    background: linear-gradient(
        120deg,
        #fff 0%,
        #fff 35%,
        rgba(255, 255, 255, 0.5) 48%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.5) 52%,
        #fff 65%,
        #fff 100%
    );
    background-size: 250% 100%;
    background-position: 100% 50%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none;
    animation: shinyProd 5s ease-in-out infinite;
}

.hero__title-accent::after {
    content: none;
}

@keyframes shinyProd {
    0% {
        background-position: 150% 50%;
    }
    50% {
        background-position: -50% 50%;
    }
    70% {
        background-position: -50% 50%;
    }
    100% {
        background-position: 150% 50%;
    }
}

.hero__title-dash {
    display: none;
}

.hero__title-rest {
    font-family: "HelveticaBoldLocal", "Inter", sans-serif;
    font-weight: 700;
    font-size: 0.58em;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.06em;
    margin: 0 auto;
    padding-inline: 0.08em;
    padding-top: 0;
    padding-bottom: 0.15em;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.28) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: none;
}

.hero__title-line {
    display: block;
    white-space: nowrap;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.64;
    max-width: 44ch;
    margin: 0 0 32px;
    font-family: "Gilroy", "Inter", sans-serif;
    font-weight: 500;
    letter-spacing: 0.15px;
    text-align: left;
}

.hero__kpis {
    width: 100%;
    margin: 0 0 32px;
    display: flex;
    align-items: center;
    gap: 0;
}

.hero__kpi {
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    padding: 0 32px;
    text-align: left;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__kpi:first-child {
    padding-left: 0;
    border-left: none;
}

.hero__kpi strong {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: clamp(1.25rem, 2.2vw, 1.72rem);
    font-weight: 800;
    line-height: 1.02;
    color: #fff;
    letter-spacing: -0.015em;
    margin-bottom: 6px;
}

.hero__kpi span {
    display: block;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

/* Old .hero__btn removed — replaced by .hero__btn-uiverse */

/* Secondary CTA кнопка */
.hero__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    height: auto;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    white-space: nowrap;
    cursor: pointer;
}

.hero__btn-secondary:hover {
    border-color: #fff;
    background-color: transparent;
    color: #fff;
    border-radius: 14px;
}

/* Правая часть — фото */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -30px;
    padding-top: 34px;
    padding-bottom: 50px;
    overflow: visible;
}

.hero__photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    overflow: visible;
    background: transparent;
    isolation: isolate;
    will-change: transform;
    transform-style: preserve-3d;
}

.hero__photo-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.45' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 162px 162px;
    background-repeat: repeat;
    mix-blend-mode: screen;
    opacity: 0.23;
    filter: contrast(155%) brightness(1.03) grayscale(1);
    -webkit-mask-image: url("hero-photo.png");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url("hero-photo.png");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    pointer-events: none;
    z-index: 2;
}

.hero__photo-border {
    display: none;
}

.hero__photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.09))
        drop-shadow(0 0 26px rgba(255, 255, 255, 0.045))
        drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
}

@keyframes subtleZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.04);
    }
}

/* No hover effect on hero photo */

/* ===== Glow Card (универсальный border glow) ===== */
.glow-card {
    --mx: 50%;
    --my: 50%;
    --glow-radius: 18px;
    position: relative;
    z-index: 1;
    isolation: isolate;
    border-radius: var(--glow-radius);
    transition:
        box-shadow 0.28s ease,
        border-color 0.28s ease,
        transform 0.28s ease;
}

/* Обводка — следует за курсором */
.glow-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        0 0 0 1.5px rgba(255, 59, 48, 0.78) inset,
        0 0 0 3px rgba(255, 59, 48, 0.12) inset;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Мягкое свечение внутри блока */
.glow-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        420px circle at var(--mx) var(--my),
        var(--hover-red-soft) 0%,
        var(--hover-red-fog) 24%,
        transparent 54%
    );
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-card:hover::before {
    opacity: 1;
}

.glow-card:hover::after {
    opacity: 1;
}

.glow-card:hover {
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.12),
        0 6px 16px rgba(255, 59, 48, 0.08);
}

.simon__info-card,
.simon__bio,
.review-card,
.faq-card,
.tariff-card {
    background: var(--card-surface);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.prod-content-btn,
.reviews-more-btn {
    --glow-radius: 14px;
}

/* ===== Split Text Animation ===== */
.split-text .split-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
    transition:
        opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Пробелы */
.split-text .split-space {
    display: inline-block;
    width: 0.3em;
}

.split-text.animated .split-char {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

html.compat-browser .hero__content,
html.compat-browser .hero__visual,
html.compat-browser .hero__title,
html.compat-browser .hero__subtitle,
html.compat-browser .hero__actions,
html.compat-browser .scroll-reveal,
html.compat-browser .slide-up,
html.compat-browser .step-header-anim {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

html.compat-browser .text-wipe,
html.compat-browser .simon__info-card.text-wipe,
html.compat-browser .simon__bio .text-wipe {
    clip-path: none !important;
    background-position: 0 0 !important;
    transition: none !important;
}

html.compat-browser .simon__title {
    max-width: 11ch;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.03em;
    overflow-wrap: normal;
    word-break: keep-all;
}

html.compat-browser .simon__title .split-char,
html.compat-browser .simon__title .split-space {
    display: inline;
    width: auto;
}

html.no-backdrop-filter .simon__info-card,
html.no-backdrop-filter .simon__bio,
html.no-backdrop-filter .review-card,
html.no-backdrop-filter .faq-card,
html.no-backdrop-filter .tariff-card,
html.no-backdrop-filter .nav__links,
html.no-backdrop-filter .nav__burger {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

html.stable-hero-browser .intro-prod-media {
    display: none !important;
}

html.stable-hero-browser .intro-prod-text {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: #ffffff !important;
    filter: none;
    opacity: 1 !important;
}

html.stable-hero-browser .hero__content,
html.stable-hero-browser .hero__visual,
html.stable-hero-browser .hero__title,
html.stable-hero-browser .hero__subtitle,
html.stable-hero-browser .hero__actions {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

html.stable-hero-browser .hero__title-accent,
html.stable-hero-browser .hero__title-rest {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: currentColor !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

/* ===== Glow Underline ===== */
/* (simon-typewriter removed, now uses text-wipe) */

/* ===== Кнопки ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.2s,
        box-shadow 0.2s,
        background 0.3s;
    border: none;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover {
    background: var(--accent-light);
    box-shadow: 0 6px 30px var(--accent-glow-strong);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn--outline:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--full {
    width: 100%;
    text-align: center;
}

/* ===== Секции ===== */
.section {
    padding: 100px 0;
    background: transparent;
}

.section--alt {
    background: transparent;
}

.section__title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    letter-spacing: -0.5px;
}

.section__title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== Кто такой Симон? ===== */
.simon {
    padding: 100px 0;
}

.simon__title {
    font-family: "InterBlack", "Inter", sans-serif;
    font-size: clamp(2.1rem, 4.1vw, 3.1rem);
    font-weight: 900;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 50px;
    letter-spacing: 1px;
    line-height: 1.12;
    font-style: normal;
    position: relative;
    z-index: 1;
    filter: none;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.12),
        0 0 40px rgba(255, 255, 255, 0.055);
}

.simon__title .split-char {
    display: inline-block;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: inherit;
    will-change: auto;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}

.simon__title.animated .split-char {
    filter: none;
}

/* Двухколоночный layout */
.simon__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.simon__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.simon__left .simon__bio {
    flex: 1;
}

.simon__info-card {
    border: 1px solid var(--card-line);
    border-radius: 18px;
    padding: 32px 28px;
    width: 100%;
    background: var(--card-surface);
}

.simon__name {
    font-family: "Inter", sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1.2;
}

.simon__activity {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.68;
    margin-bottom: 28px;
    letter-spacing: 0;
    font-weight: 600;
}

.simon__activity-copy {
    font-family: "Gilroy", "Inter", sans-serif;
    font-weight: 600;
}

.simon__activity strong {
    font-family: "Inter", sans-serif;
    color: #fff;
    font-weight: 800;
}

.simon__stats {
    display: flex;
    gap: 40px;
}

.simon__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.simon__stat-number {
    font-family: "Inter", sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 2.2rem;
}

/* Drum counter */
.drum-counter {
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 2.2rem;
}

.drum-digit {
    display: inline-block;
    height: 2.2rem;
    overflow: hidden;
    position: relative;
}

.drum-digit .drum-strip {
    display: flex;
    flex-direction: column;
    transition: transform 2.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(0);
}

.drum-digit .drum-strip span {
    display: block;
    height: 2.2rem;
    line-height: 2.2rem;
    font-family: "Inter", sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.drum-suffix {
    font-family: "Inter", sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 2.2rem;
    white-space: nowrap;
}

.simon__stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.66);
    margin-top: 4px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    height: 1.5rem;
    overflow: hidden;
    line-height: 1.5rem;
}

.simon__stat-label .drum-digit .drum-strip span {
    color: rgba(255, 255, 255, 0.5);
}

/* Фото Симона */
.simon__photo {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: none;
    min-height: 0;
}

.simon__photo picture {
    position: absolute;
    inset: 0;
    display: block;
}

.simon__photo picture img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    image-orientation: from-image;
}

/* Биография */
.simon__bio {
    padding: 32px 28px;
    border: 1px solid var(--card-line);
    border-radius: 18px;
    background: var(--card-surface);
}

.simon__bio p {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.72;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.08px;
}

.simon__bio p:last-child {
    margin-bottom: 0;
}

/* ===== Typewriter animation ===== */
[data-typewriter] [data-tw-line] {
    visibility: hidden;
}

[data-typewriter].tw-ready [data-tw-line] {
    visibility: visible;
}

.tw-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: currentColor;
    margin-left: 2px;
    vertical-align: text-bottom;
    border-radius: 1px;
    animation: twBlink 0.7s step-end infinite;
    opacity: 0.8;
}

@keyframes twBlink {
    0%,
    100% {
        opacity: 0.8;
    }
    50% {
        opacity: 0;
    }
}

/* ===== ШАГ 1 ===== */
.step-one {
    padding: 100px 0;
    text-align: center;
}

.section-arrow {
    display: block;
    width: 64px;
    height: 124px;
    margin: -4px auto 10px;
    position: relative;
    z-index: 2;
    pointer-events: none;
    animation: arrowBounce 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.section-arrow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: center / contain no-repeat
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 124' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='32' y1='8' x2='32' y2='94' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23ff7a72' stop-opacity='0.14'/%3E%3Cstop offset='0.38' stop-color='%23ff5a52' stop-opacity='0.82'/%3E%3Cstop offset='1' stop-color='%23ff3b30'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M32 8V92' stroke='url(%23g)' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M18 78L32 92L46 78' stroke='%23ff3b30' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    filter: drop-shadow(0 0 14px rgba(255, 59, 48, 0.28))
        drop-shadow(0 0 34px rgba(255, 59, 48, 0.14));
    animation: arrowGlow 2s ease-in-out infinite;
}

.section-arrow::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 72px;
    height: 56px;
    transform: translateX(-50%);
    background: radial-gradient(
        circle,
        rgba(255, 59, 48, 0.24) 0%,
        rgba(255, 59, 48, 0.1) 38%,
        transparent 72%
    );
    filter: blur(10px);
    opacity: 0.82;
    animation: arrowHalo 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(12px);
    }
    60% {
        transform: translateY(12px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes arrowGlow {
    0% {
        filter: drop-shadow(0 0 14px rgba(255, 59, 48, 0.28))
            drop-shadow(0 0 34px rgba(255, 59, 48, 0.14));
    }
    40%,
    60% {
        filter: drop-shadow(0 0 20px rgba(255, 59, 48, 0.55))
            drop-shadow(0 0 48px rgba(255, 59, 48, 0.28));
    }
    100% {
        filter: drop-shadow(0 0 14px rgba(255, 59, 48, 0.28))
            drop-shadow(0 0 34px rgba(255, 59, 48, 0.14));
    }
}

@keyframes arrowHalo {
    0% {
        opacity: 0.82;
        transform: translateX(-50%) scale(1);
    }
    40%,
    60% {
        opacity: 1;
        transform: translateX(-50%) scale(1.35);
    }
    100% {
        opacity: 0.82;
        transform: translateX(-50%) scale(1);
    }
}

.section-arrow__shaft,
.section-arrow__head {
    display: none;
}

.step-one__header {
    margin-bottom: 50px;
    text-align: center;
}

.step-one__badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    font-size: 1.42rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 20px;
    position: relative;
    line-height: 1;
    width: fit-content;
    min-width: 0;
    gap: 2px;
}

.step-one__badge::after {
    content: "";
    display: block;
    width: 100%;
    height: 6px;
    background: var(--accent);
    margin-top: 0;
    border-radius: 0;
}

.step-one__title {
    font-family: "InterBlack", "Inter", sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.18;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.24))
        drop-shadow(0 0 34px rgba(255, 255, 255, 0.14));
}

.step-one__subtitle {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 1.16rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.agency-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0 auto;
}

.agency-overview__card,
.agency-cta {
    border: 1px solid var(--card-line);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.12),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.015)
        ),
        var(--card-surface);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.agency-overview__card {
    padding: 28px 26px 30px;
}

.agency-overview__eyebrow,
.agency-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    color: #ff6b4a;
}

.agency-overview__title,
.agency-cta__title {
    font-family: "Inter", sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.28;
    color: #fff;
    margin-bottom: 16px;
}

.agency-overview__text,
.agency-cta__text {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.72;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
}

.agency-cta {
    max-width: 920px;
    margin: 0 auto;
    padding: 34px 32px 36px;
}

.agency-cta__title {
    max-width: 18ch;
}

.agency-cta__text {
    max-width: 66ch;
    margin-bottom: 24px;
}

.agency-cta__points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.agency-cta__points span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    font-family: "Inter", sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

.step-one__video {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--card-line);
    aspect-ratio: 16 / 9;
}

/* ===== Pricing Cards (форматы работы) ===== */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.pricing-card {
    --glow-radius: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.1),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.01)
        ),
        #101117;
}

.pricing-card--featured {
    border-color: rgba(255, 59, 48, 0.35);
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 59, 48, 0.18),
            transparent 40%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.015)
        ),
        #101117;
}

.pricing-card__popular {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 59, 48, 0.18);
    border: 1px solid rgba(255, 59, 48, 0.35);
    font-family: "Inter", sans-serif;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff3b30;
}

.pricing-card__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ff7a5f;
}

.pricing-card__title {
    margin: 0;
    font-family: "InterBlack", "Inter", sans-serif;
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
}

.pricing-card__text {
    margin: 0;
    flex: 1;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.95rem;
    line-height: 1.68;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

.pricing-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.22s ease;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.pricing-card__btn--outline {
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card__btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.pricing-card__btn--primary {
    border: none;
    background: #fff;
    color: #000;
}

.pricing-card__btn--primary:hover {
    background: rgba(255, 255, 255, 0.88);
    transform: translateY(-1px);
}

.pricing-note {
    text-align: center;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.38);
    margin: 0;
}

/* Light theme */
html[data-theme="light"] .pricing-card {
    border-color: rgba(0, 0, 0, 0.08);
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.01)),
        #f5f5f7;
}

html[data-theme="light"] .pricing-card--featured {
    border-color: rgba(255, 59, 48, 0.3);
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 59, 48, 0.06),
            transparent 40%
        ),
        #f5f5f7;
}

html[data-theme="light"] .pricing-card__title {
    color: #1a1a1a;
}

html[data-theme="light"] .pricing-card__text {
    color: rgba(0, 0, 0, 0.6);
}

html[data-theme="light"] .pricing-card__eyebrow {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .pricing-card__btn--outline {
    border-color: rgba(0, 0, 0, 0.2);
    color: rgba(0, 0, 0, 0.75);
}

html[data-theme="light"] .pricing-card__btn--outline:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

html[data-theme="light"] .pricing-card__btn--primary {
    background: #1a1a1a;
    color: #fff;
}

html[data-theme="light"] .pricing-note {
    color: rgba(0, 0, 0, 0.38);
}

/* Mobile */
@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ===== Tariff Cards New (услуги) ===== */
.tariffs__grid-static {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: stretch;
}

.tariff-card-new {
    --glow-radius: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.1),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.01)
        ),
        #101117;
}

.tariff-card-new.glow-card {
    overflow: hidden;
}

.tariff-card-new--featured {
    border: 1.5px solid #e5302a;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 59, 48, 0.12),
            transparent 40%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.015)
        ),
        #101117;
}

.tariff-card-new__top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.tariff-card-new__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 59, 48, 0.18);
    border: 1px solid rgba(255, 59, 48, 0.35);
    font-family: "Inter", sans-serif;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff3b30;
    white-space: nowrap;
    flex-shrink: 0;
}

.tariff-card-new__wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tariff-card-new__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff7a5f;
}

.tariff-card-new__title {
    margin: 0;
    font-family: "InterBlack", "Inter", sans-serif;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 900;
    line-height: 1.22;
    color: #fff;
}

.tariff-card-new__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.tariff-card-new__list li {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.92rem;
    line-height: 1.6;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.62);
    padding-left: 16px;
    position: relative;
}

.tariff-card-new__list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: rgba(255, 59, 48, 0.6);
    font-weight: 700;
}

.tariff-card-new__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 12px 22px;
    border-radius: 12px;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.22s ease;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.tariff-card-new__btn--outline {
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
}

.tariff-card-new__btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.tariff-card-new__btn--primary {
    border: none;
    background: #fff;
    color: #000;
}

.tariff-card-new__btn--primary:hover {
    background: rgba(255, 255, 255, 0.88);
    transform: translateY(-1px);
}

/* Light theme */
html[data-theme="light"] .tariff-card-new {
    border-color: rgba(0, 0, 0, 0.08);
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.01)),
        #f5f5f7;
}

html[data-theme="light"] .tariff-card-new--featured {
    border-color: rgba(255, 59, 48, 0.3);
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 59, 48, 0.05),
            transparent 40%
        ),
        #f5f5f7;
}

html[data-theme="light"] .tariff-card-new__title {
    color: #1a1a1a;
}

html[data-theme="light"] .tariff-card-new__list li {
    color: rgba(0, 0, 0, 0.62);
}

html[data-theme="light"] .tariff-card-new__eyebrow {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .tariff-card-new__btn--outline {
    border-color: rgba(0, 0, 0, 0.2);
    color: rgba(0, 0, 0, 0.75);
}

html[data-theme="light"] .tariff-card-new__btn--outline:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

html[data-theme="light"] .tariff-card-new__btn--primary {
    background: #1a1a1a;
    color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .tariffs__grid-static {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.step-one__video video {
    width: 100%;
    display: block;
    background: #000;
    aspect-ratio: 16/9;
    object-fit: contain;
}

.step-one__embed,
.review-card__embed,
.faq-card__embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ks-embed {
    background: #000;
    overflow: hidden;
}

.ks-embed::before,
.ks-embed::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition:
        opacity 0.32s ease,
        transform 0.4s ease;
}

.ks-embed::before {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.34) 100%
        ),
        var(--embed-poster) center / cover no-repeat;
    transform: scale(1.01);
}

.ks-embed::after {
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.04) 0%,
        rgba(0, 0, 0, 0.22) 55%,
        rgba(0, 0, 0, 0.42) 100%
    );
}

.step-one__embed iframe,
.review-card__embed iframe,
.faq-card__embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #000;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.ks-embed__play {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.22s ease;
}

.ks-embed__play-circle {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(136, 136, 136, 0.72);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition:
        transform 0.28s ease,
        background 0.28s ease,
        box-shadow 0.28s ease;
}

.ks-embed__play:hover .ks-embed__play-circle {
    transform: scale(1.06);
    background: rgba(148, 148, 148, 0.8);
    box-shadow:
        0 22px 38px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.ks-embed__play svg {
    width: 28px;
    height: 28px;
    fill: #f3f3f3;
    margin-left: 4px;
}

.ks-embed.is-loading .ks-embed__play {
    opacity: 0;
    pointer-events: none;
}

.ks-embed.is-active .ks-embed__play {
    opacity: 0;
    pointer-events: none;
}

.ks-embed.is-active::before,
.ks-embed.is-active::after {
    opacity: 0;
}

.ks-embed.is-active iframe {
    opacity: 1;
    pointer-events: auto;
}

.ks-embed iframe {
    pointer-events: none;
}

/* Кнопка СОДЕРЖАНИЕ PROD */
.prod-content-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 400px;
    margin: 30px auto 0;
    padding: 18px 40px;
    background: transparent;
    border: 1.5px solid var(--accent);
    border-radius: 14px;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow:
        0 0 20px rgba(255, 59, 48, 0.22),
        0 0 44px rgba(255, 59, 48, 0.12);
}

.prod-content-btn {
    --mx: 50%;
    --my: 50%;
}

.prod-content-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px;
    background: radial-gradient(
        220px circle at var(--mx) var(--my),
        var(--hover-red-core),
        var(--hover-red-mid) 20%,
        rgba(255, 59, 48, 0.72) 45%,
        transparent 65%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prod-content-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(
        200px circle at var(--mx) var(--my),
        rgba(255, 59, 48, 0.18),
        transparent 60%
    );
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prod-content-btn:hover::before {
    opacity: 1;
}

.prod-content-btn:hover::after {
    opacity: 1;
}

.prod-content-btn:hover {
    border-color: transparent;
    transform: scale(1.02);
    box-shadow:
        0 0 32px rgba(255, 59, 48, 0.4),
        0 0 72px rgba(255, 59, 48, 0.2);
}

.prod-content-btn svg {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.prod-content-btn span {
    position: relative;
    z-index: 2;
}

.prod-content-btn:hover svg {
    transform: translate(3px, -3px);
}

/* ===== Approach CTA ===== */
.approach-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.approach-cta__text {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.approach-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    border: none;
    background: #fff;
    color: #000;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition:
        background 0.22s ease,
        transform 0.22s ease;
    white-space: nowrap;
    cursor: pointer;
}

.approach-cta__btn svg {
    transition: transform 0.22s ease;
}

.approach-cta__btn:hover {
    background: rgba(255, 255, 255, 0.88);
    transform: translateY(-1px);
}

.approach-cta__btn:hover svg {
    transform: translateX(3px);
}

html[data-theme="light"] .approach-cta__text {
    color: rgba(0, 0, 0, 0.55);
}

html[data-theme="light"] .approach-cta__btn {
    background: #1a1a1a;
    color: #fff;
}

html[data-theme="light"] .approach-cta__btn:hover {
    background: #000;
}

/* Кнопка 200+ отзывов */
.reviews-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 40px auto 0;
    padding: 18px 40px;
    background: transparent;
    border: 1.5px solid var(--accent);
    border-radius: 14px;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow:
        0 0 20px rgba(255, 59, 48, 0.22),
        0 0 44px rgba(255, 59, 48, 0.12);
    --mx: 50%;
    --my: 50%;
}

.reviews-more-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px;
    background: radial-gradient(
        220px circle at var(--mx) var(--my),
        var(--hover-red-core),
        var(--hover-red-mid) 20%,
        rgba(255, 59, 48, 0.72) 45%,
        transparent 65%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.reviews-more-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(
        200px circle at var(--mx) var(--my),
        rgba(255, 59, 48, 0.18),
        transparent 60%
    );
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reviews-more-btn:hover::before,
.reviews-more-btn:hover::after {
    opacity: 1;
}

.reviews-more-btn:hover {
    border-color: transparent;
    transform: scale(1.02);
    box-shadow:
        0 0 32px rgba(255, 59, 48, 0.42),
        0 0 72px rgba(255, 59, 48, 0.22);
}

.reviews-more-btn span {
    position: relative;
    z-index: 2;
}

.reviews-more-btn svg {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.reviews-more-btn:hover svg {
    transform: translate(3px, -3px);
}

/* ===== ШАГ 2 — Отзывы ===== */
.step-two {
    padding: 100px 0 60px;
}

.reviews__grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.review-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--card-line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--card-surface);
    position: relative;
    isolation: isolate;
}

.review-card.glow-card::before {
    z-index: 5;
}

.review-card.glow-card::after {
    z-index: 0;
}

.review-card--reverse {
    direction: rtl;
}

.review-card--reverse > * {
    direction: ltr;
}

.review-card__text {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.review-card__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    margin-bottom: 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.78);
}

.review-card__name {
    font-family: "Inter", sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.review-card__tag {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.66);
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}

.review-card__text p {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.72;
    margin-bottom: 12px;
    font-weight: 600;
}

.review-card__text p:last-of-type {
    margin-bottom: 0;
}

.review-card__number {
    position: absolute;
    bottom: 16px;
    left: 32px;
    font-family: "Inter", sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
}

.review-card--reverse .review-card__number {
    left: auto;
    right: 32px;
}

.review-card__video {
    position: relative;
    background: #000;
    min-height: 280px;
    z-index: 1;
    overflow: hidden;
}

.review-card__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-card--portal {
    position: relative;
    text-decoration: none;
    color: inherit;
    isolation: isolate;
}

.review-card--portal .review-card__text {
    gap: 0;
}

.review-card__portal-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ff6b4a;
}

.review-card__portal-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.review-card__portal-link svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.review-card__portal-preview {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 18px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 88, 54, 0.28),
            transparent 34%
        ),
        radial-gradient(
            circle at 80% 18%,
            rgba(255, 184, 0, 0.14),
            transparent 30%
        ),
        linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(18, 18, 18, 0.9));
}

.review-card__portal-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.02),
        rgba(0, 0, 0, 0.2)
    );
    pointer-events: none;
}

.review-card__portal-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.review-card__portal-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.28);
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

.review-card__portal-grid img:nth-child(1) {
    transform: translateY(18px) rotate(-5deg);
}

.review-card__portal-grid img:nth-child(2) {
    transform: translateY(-8px) rotate(4deg);
}

.review-card__portal-grid img:nth-child(3) {
    transform: translateY(6px) rotate(3deg);
}

.review-card__portal-grid img:nth-child(4) {
    transform: translateY(-16px) rotate(-4deg);
}

.review-card__portal-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

.review-card--portal:hover .review-card__portal-link svg {
    transform: translate(3px, -3px);
}

.review-card--portal:hover .review-card__portal-grid img:nth-child(1) {
    transform: translateY(10px) rotate(-4deg) scale(1.03);
}

.review-card--portal:hover .review-card__portal-grid img:nth-child(2) {
    transform: translateY(-14px) rotate(5deg) scale(1.03);
}

.review-card--portal:hover .review-card__portal-grid img:nth-child(3) {
    transform: translateY(-2px) rotate(4deg) scale(1.03);
}

.review-card--portal:hover .review-card__portal-grid img:nth-child(4) {
    transform: translateY(-22px) rotate(-3deg) scale(1.03);
}

.review-card--portal:hover .review-card__portal-grid img {
    border-color: rgba(255, 107, 74, 0.42);
    box-shadow: 0 28px 46px rgba(0, 0, 0, 0.34);
}

.review-card--video-portal {
    text-decoration: none;
    color: inherit;
}

.review-card__video-portal-preview {
    position: relative;
    padding: 18px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 22% 18%,
            rgba(255, 107, 74, 0.24),
            transparent 32%
        ),
        radial-gradient(
            circle at 75% 22%,
            rgba(255, 214, 102, 0.16),
            transparent 28%
        ),
        linear-gradient(180deg, rgba(12, 12, 12, 0.98), rgba(18, 18, 18, 0.92));
}

.review-card__video-portal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    align-items: end;
}

.review-card__video-portal-grid img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

.review-card__video-portal-grid img:nth-child(1) {
    transform: translateY(14px) rotate(-4deg);
}

.review-card__video-portal-grid img:nth-child(2) {
    transform: translateY(-4px) rotate(3deg);
}

.review-card__video-portal-grid img:nth-child(3) {
    transform: translateY(10px) rotate(-2deg);
}

.review-card__video-portal-grid img:nth-child(4) {
    transform: translateY(-10px) rotate(4deg);
}

.review-card--video-portal:hover
    .review-card__video-portal-grid
    img:nth-child(1) {
    transform: translateY(8px) rotate(-3deg) scale(1.02);
}

.review-card--video-portal:hover
    .review-card__video-portal-grid
    img:nth-child(2) {
    transform: translateY(-10px) rotate(4deg) scale(1.02);
}

.review-card--video-portal:hover
    .review-card__video-portal-grid
    img:nth-child(3) {
    transform: translateY(4px) rotate(-1deg) scale(1.02);
}

.review-card--video-portal:hover
    .review-card__video-portal-grid
    img:nth-child(4) {
    transform: translateY(-16px) rotate(5deg) scale(1.02);
}

.review-card--video-portal:hover .review-card__video-portal-grid img {
    border-color: rgba(255, 107, 74, 0.42);
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34);
}

.review-card--site-portal {
    text-decoration: none;
    color: inherit;
}

.review-card__site-portal-preview {
    position: relative;
    padding: 18px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 18% 18%,
            rgba(255, 107, 74, 0.24),
            transparent 34%
        ),
        radial-gradient(
            circle at 80% 18%,
            rgba(93, 173, 236, 0.16),
            transparent 32%
        ),
        linear-gradient(180deg, rgba(12, 12, 12, 0.98), rgba(18, 18, 18, 0.92));
}

.review-card__site-portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.review-card__site-portal-grid img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

.review-card__site-portal-grid img:nth-child(1) {
    transform: translateY(12px) rotate(-4deg);
}

.review-card__site-portal-grid img:nth-child(2) {
    transform: translateY(-6px) rotate(3deg);
}

.review-card__site-portal-grid img:nth-child(3) {
    transform: translateY(6px) rotate(2deg);
}

.review-card__site-portal-grid img:nth-child(4) {
    transform: translateY(-12px) rotate(-3deg);
}

.review-card--site-portal:hover
    .review-card__site-portal-grid
    img:nth-child(1) {
    transform: translateY(6px) rotate(-3deg) scale(1.02);
}

.review-card--site-portal:hover
    .review-card__site-portal-grid
    img:nth-child(2) {
    transform: translateY(-12px) rotate(4deg) scale(1.02);
}

.review-card--site-portal:hover
    .review-card__site-portal-grid
    img:nth-child(3) {
    transform: translateY(0) rotate(3deg) scale(1.02);
}

.review-card--site-portal:hover
    .review-card__site-portal-grid
    img:nth-child(4) {
    transform: translateY(-18px) rotate(-2deg) scale(1.02);
}

.review-card--site-portal:hover .review-card__site-portal-grid img {
    border-color: rgba(255, 107, 74, 0.42);
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34);
}

.review-card--analytics-portal {
    text-decoration: none;
    color: inherit;
}

.review-card__analytics-preview {
    position: relative;
    padding: 18px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 18% 18%,
            rgba(255, 107, 74, 0.26),
            transparent 30%
        ),
        radial-gradient(
            circle at 78% 22%,
            rgba(148, 121, 255, 0.18),
            transparent 28%
        ),
        linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(18, 18, 18, 0.92));
}

.review-card__analytics-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.review-card__analytics-grid img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

.review-card__analytics-grid img:nth-child(1) {
    transform: translateY(10px) rotate(-4deg);
}

.review-card__analytics-grid img:nth-child(2) {
    transform: translateY(-6px) rotate(3deg);
}

.review-card__analytics-grid img:nth-child(3) {
    transform: translateY(8px) rotate(2deg);
}

.review-card__analytics-grid img:nth-child(4) {
    transform: translateY(-10px) rotate(-3deg);
}

.review-card--analytics-portal:hover
    .review-card__analytics-grid
    img:nth-child(1) {
    transform: translateY(4px) rotate(-3deg) scale(1.02);
}

.review-card--analytics-portal:hover
    .review-card__analytics-grid
    img:nth-child(2) {
    transform: translateY(-12px) rotate(4deg) scale(1.02);
}

.review-card--analytics-portal:hover
    .review-card__analytics-grid
    img:nth-child(3) {
    transform: translateY(2px) rotate(3deg) scale(1.02);
}

.review-card--analytics-portal:hover
    .review-card__analytics-grid
    img:nth-child(4) {
    transform: translateY(-16px) rotate(-2deg) scale(1.02);
}

.review-card--analytics-portal:hover .review-card__analytics-grid img {
    border-color: rgba(255, 107, 74, 0.42);
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34);
}

.cover-lightbox__backdrop,
.video-lightbox__backdrop,
.site-browser__backdrop,
.analytics-lightbox__backdrop {
    background: rgba(8, 10, 16, 0.52);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
    backdrop-filter: blur(14px) saturate(1.12);
    opacity: 1;
    transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cover-lightbox__panel,
.cover-lightbox__figure,
.video-lightbox__panel,
.video-lightbox__stage,
.site-browser__panel,
.analytics-lightbox__panel,
.analytics-lightbox__viewer-panel {
    transform-origin: center center;
    will-change: transform, opacity, filter, border-radius;
    transition:
        transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.44s ease,
        filter 0.68s cubic-bezier(0.22, 1, 0.36, 1),
        border-radius 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

.cover-gallery {
    margin-top: 32px;
    padding: 32px;
    border: 1px solid var(--card-line);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at top left,
            rgba(255, 90, 58, 0.12),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.02),
            rgba(255, 255, 255, 0.01)
        ),
        var(--card-surface);
    scroll-margin-top: 72px;
}

.cover-gallery__header {
    max-width: 880px;
    margin-bottom: 24px;
}

.cover-gallery__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #ff6b4a;
}

.cover-gallery__title {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 12px;
}

.cover-gallery__text {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.72;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.76);
}

.cover-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.cover-gallery__item {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
}

.cover-gallery__item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.02),
        rgba(0, 0, 0, 0.58)
    );
    opacity: 0.9;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.cover-gallery__item::after {
    content: "Открыть";
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.42);
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.cover-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s ease;
}

.cover-gallery__item:hover::before {
    opacity: 0.55;
}

.cover-gallery__item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.cover-gallery__item:hover img {
    transform: scale(1.06);
}

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

body.lightbox-open {
    overflow: hidden;
}

/* Анимации Telegram для мобильной версии */
@media (max-width: 1024px) {
    /* Чат открывается внутри блока, не на весь экран */
    .telegram-reviews.is-thread-open {
        display: block !important;
        overflow: hidden !important;
        min-height: 600px !important;
    }

    .telegram-reviews.is-thread-open .telegram-reviews__sidebar {
        display: none !important;
    }

    .telegram-reviews.is-thread-open .telegram-reviews__main {
        display: grid !important;
        grid-template-rows: auto minmax(0, 1fr) auto !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 600px !important;
        position: relative !important;
        pointer-events: auto !important;
        background: #0d141e !important;
    }

    /* Slide-in при открытии чата */
    .telegram-reviews__main.tg-slide-in {
        animation: tgSlideInRight 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    @keyframes tgSlideInRight {
        0% {
            opacity: 0.5;
            transform: translateX(100%);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Slide-out при возврате назад */
    .telegram-reviews__main.tg-slide-out {
        animation: tgSlideOutRight 0.32s cubic-bezier(0.4, 0, 0.6, 1) forwards;
    }

    @keyframes tgSlideOutRight {
        0% {
            opacity: 1;
            transform: translateX(0);
        }
        100% {
            opacity: 0;
            transform: translateX(100%);
        }
    }

    /* Сайдбар появляется при возврате */
    .telegram-reviews__sidebar.tg-slide-in-left {
        animation: tgSlideInLeft 0.36s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    @keyframes tgSlideInLeft {
        0% {
            opacity: 0.4;
            transform: translateX(-30%);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .telegram-reviews.is-thread-open .telegram-reviews__header {
        position: relative;
        z-index: 2;
        background: #0d141e !important;
    }

    .telegram-reviews.is-thread-open .telegram-reviews__body {
        min-height: 0 !important;
        overflow: hidden !important;
        background: #0d141e !important;
    }

    .telegram-reviews.is-thread-open .telegram-reviews__composer {
        background: #0d141e !important;
    }

    .telegram-reviews.is-thread-open .telegram-thread.is-active {
        height: 100% !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        padding-bottom: 28px;
    }

    html[data-theme="light"]
        .telegram-reviews.is-thread-open
        .telegram-reviews__main {
        background: #edf4fb !important;
    }

    html[data-theme="light"]
        .telegram-reviews.is-thread-open
        .telegram-reviews__body {
        background: #edf4fb !important;
    }

    html[data-theme="light"]
        .telegram-reviews.is-thread-open
        .telegram-reviews__header,
    html[data-theme="light"]
        .telegram-reviews.is-thread-open
        .telegram-reviews__composer {
        background: #ffffff !important;
    }
}

.cover-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120000;
}

/* Анимация появления лайтбокса */
.cover-lightbox:not([hidden]) .cover-lightbox__backdrop {
    animation: lbBackdropIn 0.28s ease forwards;
}

.cover-lightbox:not([hidden]) .cover-lightbox__panel:not([hidden]) {
    animation: lbPanelIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes lbBackdropIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes lbPanelIn {
    from { opacity: 0; transform: scale(0.95) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Stagger для карточек в сетке */
.cover-lightbox__grid .cover-gallery__item,
.cover-lightbox__grid .cover-lightbox__item {
    animation: lbCardIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes lbCardIn {
    from { opacity: 0; transform: scale(0.88) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.cover-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 10, 16, 0.52);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
    backdrop-filter: blur(14px) saturate(1.12);
    cursor: pointer;
}

.cover-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1480px, calc(100vw - 48px));
    height: 100vh;
    margin: 0 auto;
    padding: 36px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-lightbox__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background: rgba(10, 10, 10, 0.74);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.cover-lightbox__panel[hidden] {
    display: none !important;
}

.cover-lightbox__panel--grid {
    padding: 32px;
}

.cover-lightbox__panel--viewer {
    padding: 28px 24px 24px;
}

.cover-lightbox__intro {
    max-width: 820px;
    padding-right: 88px;
    margin-bottom: 24px;
}

.cover-lightbox__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #ff6b4a;
}

.cover-lightbox__title {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.55rem, 2vw, 2.1rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 12px;
}

.cover-lightbox__text {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.74);
}

.cover-lightbox__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.cover-lightbox__grid .cover-gallery__item {
    aspect-ratio: 16 / 9;
}

.cover-lightbox__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 10px 14px;
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.cover-lightbox__back svg {
    width: 18px;
    height: 18px;
}

.cover-lightbox__back svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cover-lightbox__back:hover {
    transform: translateY(-2px);
    background: rgba(255, 107, 74, 0.16);
    border-color: rgba(255, 107, 74, 0.28);
}

.cover-lightbox__viewer {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.cover-lightbox__figure {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.cover-lightbox__image {
    display: block;
    width: min(100%, 1320px);
    height: auto;
    object-fit: contain;
    max-width: 100%;
    max-height: calc(100vh - 140px);
    border-radius: 22px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
    background: #111;
}

.cover-lightbox__caption {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.84);
    text-align: center;
}

.cover-lightbox__nav,
.cover-lightbox__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.cover-lightbox__nav {
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    border-radius: 50%;
}

.cover-lightbox__nav svg {
    width: 26px;
    height: 26px;
}

.cover-lightbox__nav svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cover-lightbox__close {
    position: fixed;
    top: 28px;
    right: 28px;
    z-index: 5;
    width: 54px;
    height: 54px;
    border-radius: 50%;
}

.cover-lightbox.is-viewer-open .cover-lightbox__close {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.92);
}

.cover-lightbox__close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.cover-lightbox__close span:first-child {
    transform: rotate(45deg);
}

.cover-lightbox__close span:last-child {
    transform: rotate(-45deg);
}

.cover-lightbox__nav:hover,
.cover-lightbox__close:hover {
    transform: translateY(-2px);
    background: rgba(255, 107, 74, 0.18);
    border-color: rgba(255, 107, 74, 0.34);
}

.video-gallery[hidden] {
    display: none !important;
}

.video-gallery__item {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
}

.video-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.video-gallery__item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08),
        rgba(0, 0, 0, 0.52)
    );
    z-index: 1;
}

.video-gallery__play {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translate(-50%, -50%);
}

.video-gallery__play svg {
    width: 24px;
    height: 24px;
}

.video-gallery__play svg polygon {
    fill: #fff;
}

.video-gallery__item:hover img {
    transform: scale(1.05);
}

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

.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120100;
}

.video-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 10, 16, 0.52);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
    backdrop-filter: blur(14px) saturate(1.12);
    cursor: pointer;
}

.video-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1480px, calc(100vw - 48px));
    height: 100vh;
    margin: 0 auto;
    padding: 36px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-lightbox__panel {
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background: rgba(10, 10, 10, 0.74);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.video-lightbox__panel[hidden] {
    display: none !important;
}

.video-lightbox__panel--grid {
    padding: 32px;
}

.video-lightbox__panel--viewer {
    padding: 28px 24px 24px;
}

.video-lightbox__intro {
    max-width: 820px;
    margin-bottom: 24px;
}

.video-lightbox__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #ff6b4a;
}

.video-lightbox__title {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.55rem, 2vw, 2.1rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 12px;
}

.video-lightbox__text {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.74);
}

.video-lightbox__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.video-lightbox__grid .video-gallery__item {
    aspect-ratio: 9 / 16;
}

.video-lightbox__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 10px 14px;
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.video-lightbox__back svg,
.video-lightbox__nav svg {
    width: 18px;
    height: 18px;
}

.video-lightbox__back svg path,
.video-lightbox__nav svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.video-lightbox__back:hover {
    transform: translateY(-2px);
    background: rgba(255, 107, 74, 0.16);
    border-color: rgba(255, 107, 74, 0.28);
}

.video-lightbox__viewer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.video-lightbox__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.video-lightbox__video {
    width: min(480px, 100%);
    max-height: calc(100vh - 240px);
    border-radius: 24px;
    background: #000;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.video-lightbox__meta {
    width: min(560px, 100%);
    text-align: center;
}

.video-lightbox__name {
    font-family: "Inter", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.video-lightbox__caption {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.98rem;
    line-height: 1.65;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.76);
}

.video-lightbox__nav,
.video-lightbox__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.video-lightbox__nav {
    width: 58px;
    height: 58px;
    border-radius: 50%;
}

.video-lightbox__close {
    position: absolute;
    top: 24px;
    right: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
}

.video-lightbox__close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.video-lightbox__close span:first-child {
    transform: rotate(45deg);
}

.video-lightbox__close span:last-child {
    transform: rotate(-45deg);
}

.video-lightbox__nav:hover,
.video-lightbox__close:hover {
    transform: translateY(-2px);
    background: rgba(255, 107, 74, 0.18);
    border-color: rgba(255, 107, 74, 0.34);
}

.site-browser-data[hidden] {
    display: none !important;
}

.site-browser {
    position: fixed;
    inset: 0;
    z-index: 120050;
}

.site-browser[hidden] {
    display: none !important;
}

.site-browser__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 10, 16, 0.52);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
    backdrop-filter: blur(14px) saturate(1.12);
    cursor: pointer;
}

.site-browser__dialog {
    position: relative;
    z-index: 1;
    width: min(1720px, calc(100vw - 32px));
    height: 100vh;
    margin: 0 auto;
    padding: 36px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-browser__panel {
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.site-browser__panel[hidden] {
    display: none !important;
}

.site-browser__panel--grid {
    padding: 32px;
}

.site-browser__panel--viewer {
    padding: 24px;
}

.site-browser__intro {
    max-width: 820px;
    margin-bottom: 24px;
}

.site-browser__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #ff6b4a;
}

.site-browser__title {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.55rem, 2vw, 2.1rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 12px;
}

.site-browser__text {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.74);
}

.site-browser__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.site-browser__card {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    text-align: left;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.site-browser__card:hover,
.site-browser__tab:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 107, 74, 0.22);
    background: rgba(255, 255, 255, 0.05);
}

.site-browser__card-browser,
.site-browser__tab-browser,
.site-browser__frame {
    border-radius: 18px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.site-browser__card-browser-bar,
.site-browser__tab-browser-bar,
.site-browser__frame-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.06);
}

.site-browser__card-browser-bar span,
.site-browser__tab-browser-bar span,
.site-browser__frame-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.site-browser__card-browser img,
.site-browser__tab-browser img,
.site-browser__image {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.site-browser__card-browser img {
    aspect-ratio: 16 / 10;
}

.site-browser__card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.site-browser__card-title,
.site-browser__name {
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.site-browser__card-url,
.site-browser__address-url {
    font-family: "Inter", sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.52);
}

.site-browser__card-caption,
.site-browser__caption {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
}

.site-browser__close,
.site-browser__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.site-browser__close {
    position: absolute;
    top: 24px;
    right: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
}

.site-browser__close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.site-browser__close span:first-child {
    transform: rotate(45deg);
}

.site-browser__close span:last-child {
    transform: rotate(-45deg);
}

.site-browser__toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.site-browser__back {
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
}

.site-browser__back svg {
    width: 18px;
    height: 18px;
}

.site-browser__back svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-browser__address {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.site-browser__address-url {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-browser__address-note {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ff6b4a;
}

.site-browser__layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.site-browser__sidebar {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 74, 0.35) transparent;
}

.site-browser__sidebar::-webkit-scrollbar {
    height: 8px;
}

.site-browser__sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.site-browser__sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 107, 74, 0.3);
}

.site-browser__tab {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-align: left;
    font: inherit;
    cursor: pointer;
    flex: 0 0 min(320px, 78vw);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.site-browser__tab.is-active {
    border-color: rgba(255, 107, 74, 0.28);
    background: rgba(255, 107, 74, 0.08);
}

.site-browser__tab-browser img {
    aspect-ratio: 16 / 10;
}

.site-browser__tab-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-browser__tab-title {
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
}

.site-browser__tab-url {
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}

.site-browser__stage {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.site-browser__frame {
    width: 100%;
}

.site-browser__viewport {
    aspect-ratio: 16 / 10;
    min-height: 0;
    background: #fff;
}

.site-browser__iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #fff;
}

.site-browser__meta {
    max-width: 900px;
}

.site-browser__close:hover,
.site-browser__back:hover {
    transform: translateY(-2px);
    background: rgba(255, 107, 74, 0.18);
    border-color: rgba(255, 107, 74, 0.34);
}

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

.analytics-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120120;
}

.analytics-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 10, 16, 0.52);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
    backdrop-filter: blur(14px) saturate(1.12);
    cursor: pointer;
}

.analytics-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1540px, calc(100vw - 40px));
    height: 100vh;
    margin: 0 auto;
    padding: 36px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.analytics-lightbox__panel {
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
    padding: 32px;
}

.analytics-lightbox__intro {
    max-width: 860px;
    margin-bottom: 24px;
}

.analytics-lightbox__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #ff6b4a;
}

.analytics-lightbox__title {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.55rem, 2vw, 2.1rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 12px;
}

.analytics-lightbox__text {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.74);
}

.analytics-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.analytics-gallery__item {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.24s ease,
        border-color 0.24s ease;
}

.analytics-gallery__item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 74, 0.26);
}

.analytics-gallery__item img {
    display: block;
    width: 100%;
    height: auto;
}

.analytics-lightbox__close {
    position: absolute;
    top: 24px;
    right: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.analytics-lightbox__close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.analytics-lightbox__close span:first-child {
    transform: rotate(45deg);
}

.analytics-lightbox__close span:last-child {
    transform: rotate(-45deg);
}

.analytics-lightbox__close:hover {
    transform: translateY(-2px);
    background: rgba(255, 107, 74, 0.18);
    border-color: rgba(255, 107, 74, 0.34);
}

@media (max-width: 768px) {
    .review-card {
        grid-template-columns: 1fr;
    }

    .review-card--reverse {
        direction: ltr;
    }

    .review-card__video {
        order: -1;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .review-card__text {
        padding: 24px 20px;
    }

    .review-card__eyebrow {
        margin-bottom: 12px;
    }

    .review-card__portal-preview {
        padding: 16px;
        min-height: 0;
    }

    .review-card__video-portal-preview {
        padding: 16px;
    }

    .review-card__site-portal-preview {
        padding: 16px;
    }

    .review-card__analytics-preview {
        padding: 16px;
    }

    .review-card__portal-grid {
        gap: 10px;
    }

    .review-card__video-portal-grid {
        gap: 10px;
    }

    .review-card__site-portal-grid {
        gap: 10px;
    }

    .review-card__analytics-grid {
        gap: 10px;
    }

    .review-card__portal-grid img:nth-child(1) {
        transform: translateY(6px) rotate(-4deg);
    }

    .review-card__portal-grid img:nth-child(2) {
        transform: translateY(-4px) rotate(3deg);
    }

    .review-card__portal-grid img:nth-child(3) {
        transform: translateY(4px) rotate(2deg);
    }

    .review-card__portal-grid img:nth-child(4) {
        transform: translateY(-10px) rotate(-3deg);
    }

    .review-card__video-portal-grid img:nth-child(1) {
        transform: translateY(6px) rotate(-3deg);
    }

    .review-card__video-portal-grid img:nth-child(2) {
        transform: translateY(-4px) rotate(2deg);
    }

    .review-card__video-portal-grid img:nth-child(3) {
        transform: translateY(4px) rotate(-2deg);
    }

    .review-card__video-portal-grid img:nth-child(4) {
        transform: translateY(-8px) rotate(3deg);
    }

    .review-card__site-portal-grid img:nth-child(1) {
        transform: translateY(6px) rotate(-3deg);
    }

    .review-card__site-portal-grid img:nth-child(2) {
        transform: translateY(-4px) rotate(2deg);
    }

    .review-card__site-portal-grid img:nth-child(3) {
        transform: translateY(4px) rotate(2deg);
    }

    .review-card__site-portal-grid img:nth-child(4) {
        transform: translateY(-8px) rotate(-2deg);
    }

    .review-card__analytics-grid img:nth-child(1) {
        transform: none;
    }

    .review-card__analytics-grid img:nth-child(2) {
        transform: none;
    }

    .review-card__analytics-grid img:nth-child(3) {
        transform: none;
    }

    .review-card__analytics-grid img:nth-child(4) {
        transform: none;
    }

    .review-card__portal-badge {
        top: 14px;
        right: 14px;
        padding: 8px 11px;
        font-size: 0.72rem;
    }

    .review-card__portal-link {
        margin-top: 20px;
    }

    .cover-gallery {
        margin-top: 24px;
        padding: 24px 18px;
        border-radius: 20px;
    }

    .cover-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .cover-gallery__item {
        border-radius: 14px;
    }

    .cover-gallery__item::after {
        opacity: 1;
        transform: translateY(0);
        left: 10px;
        bottom: 10px;
        padding: 6px 9px;
        font-size: 0.64rem;
    }

    .cover-lightbox__dialog {
        width: min(100vw, calc(100vw - 20px));
        padding: 72px 0 20px;
    }

    .cover-lightbox__panel {
        max-height: calc(100vh - 92px);
        border-radius: 22px;
    }

    .cover-lightbox__panel--grid {
        padding: 20px 14px 16px;
    }

    .cover-lightbox__panel--viewer {
        padding: 16px 12px 18px;
    }

    .analytics-lightbox__dialog {
        width: min(100vw, calc(100vw - 20px));
        padding: 72px 0 20px;
    }

    .analytics-lightbox__panel {
        max-height: calc(100vh - 92px);
        border-radius: 22px;
        padding: 20px 14px 16px;
    }

    .analytics-gallery {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .analytics-gallery__item {
        border-radius: 18px;
    }

    .cover-lightbox__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .cover-lightbox__viewer {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cover-lightbox__figure {
        gap: 10px;
    }

    .cover-lightbox__image {
        max-height: calc(100vh - 180px);
        border-radius: 16px;
    }

    .cover-lightbox__close {
        top: 12px;
        right: 4px;
        width: 48px;
        height: 48px;
    }

    .cover-lightbox__nav {
        position: absolute;
        bottom: 22px;
        width: 50px;
        height: 50px;
    }

    .cover-lightbox__nav--prev {
        left: 12px;
    }

    .cover-lightbox__nav--next {
        right: 12px;
    }

    .video-gallery__play {
        width: 48px;
        height: 48px;
    }

    .video-gallery__play svg {
        width: 18px;
        height: 18px;
    }

    .video-lightbox__dialog {
        width: min(100vw, calc(100vw - 20px));
        padding: 72px 0 20px;
    }

    .video-lightbox__panel {
        max-height: calc(100vh - 92px);
        border-radius: 22px;
    }

    .video-lightbox__panel--grid {
        padding: 20px 14px 16px;
    }

    .video-lightbox__panel--viewer {
        padding: 16px 12px 18px;
    }

    .video-lightbox__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .video-lightbox__viewer {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .video-lightbox__video {
        width: min(100%, 420px);
        max-height: calc(100vh - 260px);
        border-radius: 16px;
    }

    .video-lightbox__close {
        top: 12px;
        right: 4px;
        width: 48px;
        height: 48px;
    }

    .video-lightbox__nav {
        position: absolute;
        bottom: 22px;
        width: 50px;
        height: 50px;
    }

    .video-lightbox__nav--prev {
        left: 12px;
    }

    .video-lightbox__nav--next {
        right: 12px;
    }

    .site-browser__dialog {
        width: min(100vw, calc(100vw - 20px));
        padding: 72px 0 20px;
    }

    .site-browser__panel {
        max-height: calc(100vh - 92px);
        border-radius: 22px;
    }

    .site-browser__panel--grid,
    .site-browser__panel--viewer {
        padding: 18px 12px 16px;
    }

    .site-browser__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .site-browser__close {
        top: 12px;
        right: 4px;
        width: 48px;
        height: 48px;
    }

    .site-browser__toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .site-browser__address {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-browser__layout {
        gap: 16px;
    }

    .site-browser__sidebar {
        padding-bottom: 4px;
    }

    .site-browser__tab {
        min-width: 180px;
        flex: 0 0 220px;
    }

    .site-browser__viewport {
        aspect-ratio: 16 / 9;
    }

    .review-card__number {
        font-size: 3rem;
        left: 20px;
    }

    .review-card--reverse .review-card__number {
        left: 20px;
        right: auto;
    }
}

/* ===== ШАГ 3 — FAQ ===== */
.analytics-proof {
    padding: 100px 0;
}

.analytics-proof__hero,
.analytics-case {
    border: 1px solid var(--card-line);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.14),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.015)
        ),
        var(--card-surface);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.analytics-proof__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
    padding: 34px 32px;
    margin-bottom: 28px;
}

.analytics-proof__eyebrow,
.analytics-case__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    color: #ff6b4a;
}

.analytics-proof__title,
.analytics-case__title {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 900;
    line-height: 1.24;
    color: #fff;
    margin-bottom: 16px;
}

.analytics-proof__text,
.analytics-case__text {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.72;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
}

.analytics-proof__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.analytics-proof__metric {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 140px;
    padding: 22px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.analytics-proof__metric-value {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.45rem, 2vw, 2.1rem);
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
}

.analytics-proof__metric-label {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.96rem;
    line-height: 1.5;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.68);
}

.analytics-proof__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.analytics-case {
    padding: 24px;
}

.analytics-case__meta {
    margin-bottom: 20px;
}

.analytics-case__title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.analytics-case__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.analytics-case__stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.analytics-case__stat span {
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.analytics-case__stat strong {
    font-family: "Inter", sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
}

.analytics-case__screen {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #121212;
}

.analytics-case__screen img {
    display: block;
    width: 100%;
    height: auto;
}

.step-three {
    padding: 100px 0;
}

.telegram-reviews {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    min-height: 760px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at top right,
            rgba(41, 149, 255, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(255, 120, 77, 0.12),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.012)
        ),
        #0d1015;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.telegram-reviews__sidebar {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(16, 22, 32, 0.96), rgba(12, 17, 24, 0.92)),
        #101720;
}

.telegram-reviews__sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 14px;
}

.telegram-reviews__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.telegram-reviews__logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #2f89ff, #53c2ff);
    box-shadow: 0 12px 28px rgba(47, 137, 255, 0.32);
}

.telegram-reviews__logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.telegram-reviews__brand strong,
.telegram-reviews__contact strong {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    color: #fff;
}

.telegram-reviews__brand span,
.telegram-reviews__contact span {
    display: block;
    margin-top: 4px;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.telegram-reviews__compose,
.telegram-reviews__header-actions button,
.telegram-reviews__composer button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.04);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease,
        color 0.28s ease;
}

.telegram-reviews__compose:hover,
.telegram-reviews__header-actions button:hover,
.telegram-reviews__composer button:hover {
    transform: translateY(-2px);
    border-color: rgba(83, 194, 255, 0.28);
    background: rgba(83, 194, 255, 0.1);
    color: #fff;
}

.telegram-reviews__search {
    margin: 0 18px 16px;
    min-height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.035);
}

.telegram-reviews__chat-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 10px 12px;
    overflow-y: auto;
    min-height: 0;
}

.telegram-chat-preview {
    width: 100%;
    border: 0;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
    text-align: left;
    color: inherit;
    background: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        background 0.22s ease,
        transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Staggered появление */
    animation: tgListItemIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.telegram-chat-preview:nth-child(1) {
    animation-delay: 0.05s;
}
.telegram-chat-preview:nth-child(2) {
    animation-delay: 0.1s;
}
.telegram-chat-preview:nth-child(3) {
    animation-delay: 0.15s;
}
.telegram-chat-preview:nth-child(4) {
    animation-delay: 0.2s;
}
.telegram-chat-preview:nth-child(5) {
    animation-delay: 0.25s;
}
.telegram-chat-preview:nth-child(6) {
    animation-delay: 0.3s;
}
.telegram-chat-preview:nth-child(7) {
    animation-delay: 0.35s;
}
.telegram-chat-preview:nth-child(8) {
    animation-delay: 0.4s;
}
.telegram-chat-preview:nth-child(9) {
    animation-delay: 0.45s;
}

@keyframes tgListItemIn {
    0% {
        opacity: 0;
        transform: translateX(-12px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.telegram-chat-preview:hover {
    background: rgba(255, 255, 255, 0.055);
    transform: translateX(2px);
}

.telegram-chat-preview:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Ripple при клике */
.telegram-chat-preview .tg-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(83, 194, 255, 0.22);
    transform: scale(0);
    animation: tgRipple 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    pointer-events: none;
}

@keyframes tgRipple {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.telegram-chat-preview.is-active {
    background: linear-gradient(
        180deg,
        rgba(47, 137, 255, 0.18),
        rgba(47, 137, 255, 0.1)
    );
    box-shadow: inset 0 0 0 1px rgba(83, 194, 255, 0.14);
    transform: none;
}

.telegram-chat-preview__avatar,
.telegram-reviews__contact-avatar,
.telegram-message__avatar {
    width: 46px;
    height: 46px;
    overflow: hidden;
    position: relative;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: "Inter", sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.telegram-chat-preview__avatar img,
.telegram-reviews__contact-avatar img,
.telegram-message__avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.telegram-chat-preview__avatar--pink,
.telegram-reviews__contact-avatar--pink,
.telegram-message__avatar--pink {
    background: linear-gradient(135deg, #ff7eb3, #ff4d6d);
}

.telegram-chat-preview__avatar--blue,
.telegram-reviews__contact-avatar--blue,
.telegram-message__avatar--blue {
    background: linear-gradient(135deg, #59b6ff, #2979ff);
}

.telegram-chat-preview__avatar--green,
.telegram-reviews__contact-avatar--green,
.telegram-message__avatar--green {
    background: linear-gradient(135deg, #57d47d, #1ea672);
}

.telegram-chat-preview__avatar--orange,
.telegram-reviews__contact-avatar--orange,
.telegram-message__avatar--orange {
    background: linear-gradient(135deg, #ffb257, #ff7a18);
}

.telegram-chat-preview__avatar--voice,
.telegram-reviews__contact-avatar--voice,
.telegram-message__avatar--voice {
    background: linear-gradient(135deg, #8577ff, #5ec8ff);
}

.telegram-chat-preview__content {
    min-width: 0;
}

.telegram-chat-preview__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.telegram-chat-preview__top strong {
    min-width: 0;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.telegram-chat-preview__top span,
.telegram-chat-preview__message {
    font-family: "Gilroy", "Inter", sans-serif;
    font-weight: 600;
}

.telegram-chat-preview__top span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.38);
}

.telegram-chat-preview__message {
    display: block;
    font-size: 0.9rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.56);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.telegram-chat-preview__badge {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #2f89ff, #53c2ff);
    /* Анимация появления */
    transform-origin: center;
    animation: tgBadgeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    transition:
        transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.18s ease;
}

@keyframes tgBadgeIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.18);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Анимация исчезновения при прочтении */
.telegram-chat-preview__badge.tg-badge-out {
    animation: tgBadgeOut 0.22s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

@keyframes tgBadgeOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* Скрытый бейдж */
.telegram-chat-preview__badge[hidden] {
    display: none !important;
}

.telegram-reviews__main {
    min-width: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background:
        linear-gradient(180deg, rgba(8, 14, 21, 0.84), rgba(8, 14, 21, 0.84)),
        radial-gradient(
            circle at top,
            rgba(83, 194, 255, 0.06),
            transparent 28%
        );
    /* Desktop: плавное появление при смене чата */
    transition: opacity 0.18s ease;
}

/* Анимация смены чата на десктопе */
.telegram-reviews__main.tg-switching {
    animation: tgChatSwitch 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes tgChatSwitch {
    0% {
        opacity: 0;
        transform: translateX(14px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Анимация появления треда */
.telegram-thread.is-active {
    animation: tgThreadIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes tgThreadIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимация отдельных сообщений */
.telegram-message {
    animation: tgMsgIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.telegram-message:nth-child(1) {
    animation-delay: 0.04s;
}
.telegram-message:nth-child(2) {
    animation-delay: 0.1s;
}
.telegram-message:nth-child(3) {
    animation-delay: 0.16s;
}
.telegram-message:nth-child(4) {
    animation-delay: 0.22s;
}
.telegram-message:nth-child(5) {
    animation-delay: 0.28s;
}

@keyframes tgMsgIn {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.telegram-reviews__header {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 18, 0.68);
    backdrop-filter: blur(16px);
}

.telegram-reviews__contact {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.telegram-reviews__header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.telegram-reviews__body {
    position: relative;
    overflow: hidden;
    padding: 26px 24px;
    background:
        linear-gradient(180deg, rgba(10, 16, 24, 0.72), rgba(10, 16, 24, 0.88)),
        radial-gradient(
            circle at 20% 20%,
            rgba(47, 137, 255, 0.08),
            transparent 24%
        ),
        radial-gradient(
            circle at 78% 12%,
            rgba(255, 120, 77, 0.08),
            transparent 20%
        );
}

.telegram-thread {
    height: 100%;
    display: none;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    padding-right: 8px;
}

.telegram-thread.is-active {
    display: flex;
}

.telegram-thread__date {
    align-self: center;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.56);
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.04);
    animation: tgDateIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tgDateIn {
    0% {
        opacity: 0;
        transform: scale(0.82);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.telegram-message {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.telegram-message--out {
    justify-content: flex-end;
}

.telegram-message--in {
    justify-content: flex-start;
}

.telegram-message__avatar {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
}

.telegram-message__bubble {
    max-width: min(78%, 36rem);
    padding: 11px 14px 9px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: visible;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.telegram-message--out .telegram-message__bubble {
    background: linear-gradient(
        180deg,
        rgba(47, 137, 255, 0.38),
        rgba(47, 137, 255, 0.24)
    );
    border-bottom-right-radius: 7px;
}

.telegram-message--in .telegram-message__bubble {
    background: rgba(255, 255, 255, 0.055);
    border-bottom-left-radius: 7px;
}

.telegram-message__bubble p {
    margin: 0;
    padding-right: 58px;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.95rem;
    line-height: 1.52;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.telegram-message__meta {
    position: absolute;
    right: 16px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.44);
}

.telegram-message__meta i {
    font-style: normal;
    color: #7ec6ff;
}

.telegram-message__media-time {
    align-self: flex-end;
    padding-right: 4px;
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.42);
}

.telegram-note-wrap,
.telegram-media-wrap,
.telegram-audio-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.telegram-note {
    --progress: 0%;
    width: clamp(180px, 24vw, 228px);
    aspect-ratio: 1;
    padding: 8px;
    border-radius: 50%;
    background: conic-gradient(
        #56c7ff var(--progress),
        rgba(255, 255, 255, 0.12) 0
    );
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.telegram-note:active {
    cursor: grabbing;
}

.telegram-note__inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    background: #05070b;
    cursor: pointer;
    touch-action: manipulation;
}

.telegram-note__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2;
    background: radial-gradient(circle at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%);
}
.telegram-note__inner::after {
    content: '';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 6.5v11l9-5.5-9-5.5z' fill='white'/%3E%3C/svg%3E");
    background-size: 48px 48px;
    background-repeat: no-repeat;
    background-position: center;
}
.telegram-note:not(.is-playing) .telegram-note__inner::before,
.telegram-note:not(.is-playing) .telegram-note__inner::after {
    opacity: 1;
}
.telegram-note.is-playing .telegram-note__inner::before,
.telegram-note.is-playing .telegram-note__inner::after {
    opacity: 0;
}

.telegram-note__video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.36);
    transform-origin: center 24%;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.telegram-note__toggle,
.telegram-media__toggle,
.telegram-audio__toggle {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #fff;
    background: rgba(5, 9, 15, 0.52);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
    transition:
        transform 0.24s ease,
        background 0.24s ease,
        opacity 0.24s ease;
}

.telegram-note__toggle:hover,
.telegram-media__toggle:hover,
.telegram-audio__toggle:hover {
    transform: scale(1.04);
    background: rgba(20, 32, 48, 0.7);
}

.telegram-note__toggle {
    display: none !important;
}

.telegram-note__toggle svg,
.telegram-media__toggle svg,
.telegram-audio__toggle svg {
    width: 22px;
    height: 22px;
}

.telegram-note__duration {
    position: absolute;
    left: 12px;
    bottom: 12px;
    min-width: 54px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    color: #fff;
    background: rgba(7, 11, 17, 0.58);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 4;
}
.telegram-note:hover .telegram-note__duration,
.telegram-note:focus-within .telegram-note__duration {
    opacity: 1;
}

.telegram-media-wrap,
.telegram-audio-wrap {
    width: min(100%, 36rem);
}

.telegram-media-wrap--vertical {
    width: min(100%, 13rem);
}

.telegram-media,
.telegram-audio {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.telegram-media__viewport {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #04070c;
}

.telegram-media--vertical .telegram-media__viewport {
    /* Вертикальное видео: фиксированная высота чтобы не растягивать чат */
    aspect-ratio: unset;
    height: 300px;
    overflow: hidden;
}

.telegram-media__video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.telegram-media__toggle {
    left: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.telegram-media__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 9px 12px;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(7, 11, 17, 0.58);
    backdrop-filter: blur(12px);
}

.telegram-media__controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 8px;
}

.telegram-media__range,
.telegram-audio__range {
    --progress: 0%;
    width: 100%;
    margin: 0;
    appearance: none;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #59b6ff var(--progress),
        rgba(255, 255, 255, 0.12) 0
    );
    cursor: pointer;
}

.telegram-media__range::-webkit-slider-thumb,
.telegram-audio__range::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.telegram-media__range::-moz-range-thumb,
.telegram-audio__range::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.telegram-media__time,
.telegram-audio__summary span {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.54);
    white-space: nowrap;
}

.telegram-media__caption {
    margin: 0;
    padding: 0 16px 16px;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.93rem;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

.telegram-audio {
    padding: 16px;
}

.telegram-audio__top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.telegram-audio__toggle {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(
        135deg,
        rgba(82, 183, 255, 0.26),
        rgba(133, 119, 255, 0.26)
    );
}

.telegram-audio__summary strong {
    display: block;
    margin-bottom: 4px;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
}

.telegram-audio__tag {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.04);
}

.telegram-audio__wave {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    align-items: end;
    gap: 4px;
    height: 38px;
    margin-bottom: 14px;
}

.telegram-audio__bar {
    width: 100%;
    height: var(--h, 16px);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.telegram-audio__bar.is-active {
    background: linear-gradient(180deg, #56c7ff, #8a7eff);
    transform: translateY(-1px);
}

.telegram-reviews__composer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 18px 24px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 18, 0.72);
}

.telegram-reviews__composer-field {
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.035);
}

.telegram-media-error {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.035);
    border-radius: inherit;
    min-height: 120px;
    padding: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .hero__subtitle + .hero__subtitle {
        display: none;
    }

    .step-one__subtitle {
        max-width: 34ch;
        margin-left: auto;
        margin-right: auto;
    }

    .simon__info-card,
    .simon__bio {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .simon__bio p + p {
        margin-top: 18px;
    }

    .review-card__text p:last-of-type {
        display: none;
    }

    .agency-overview {
        grid-template-columns: 1fr;
    }

    .agency-overview__card {
        padding: 24px 20px;
    }

    .agency-overview__title,
    .agency-cta__title {
        max-width: none;
        font-size: 1.16rem;
    }

    .agency-cta {
        padding: 24px 20px;
    }

    .agency-cta__text {
        margin-bottom: 18px;
    }

    .telegram-reviews {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .telegram-reviews__sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .telegram-reviews__sidebar-top,
    .telegram-reviews__header,
    .telegram-reviews__body,
    .telegram-reviews__composer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .telegram-reviews__chat-list {
        padding: 0 8px 10px;
    }

    .telegram-chat-preview {
        grid-template-columns: 48px minmax(0, 1fr) auto;
        gap: 12px;
        padding: 12px 10px;
    }

    .telegram-chat-preview__badge {
        display: inline-flex;
        min-width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    .telegram-reviews__header {
        min-height: 74px;
    }

    .telegram-reviews__contact-avatar,
    .telegram-chat-preview__avatar {
        width: 40px;
        height: 40px;
        font-size: 0.88rem;
    }

    .telegram-reviews__header-actions {
        gap: 8px;
    }

    .telegram-reviews__header-actions button,
    .telegram-reviews__composer button,
    .telegram-reviews__compose {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .telegram-reviews__body {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .telegram-thread {
        padding-right: 2px;
    }

    .telegram-message__avatar {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .telegram-message--note {
        gap: 8px;
    }

    .telegram-message__bubble {
        max-width: 100%;
        padding: 13px 14px 10px;
    }

    .telegram-message__bubble p {
        font-size: 0.95rem;
        padding-right: 58px;
    }

    .telegram-note {
        width: min(100%, 196px);
    }

    .telegram-media-wrap,
    .telegram-audio-wrap {
        width: 100%;
    }

    .telegram-media-wrap--vertical {
        width: min(100%, 11rem);
    }

    .telegram-media--vertical .telegram-media__viewport {
        height: 260px;
    }

    .telegram-media__toggle,
    .telegram-note__toggle,
    .telegram-audio__toggle {
        width: 48px;
        height: 48px;
    }

    .telegram-media__controls {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .telegram-media__time {
        justify-self: end;
    }

    .telegram-audio {
        padding: 14px;
    }

    .telegram-audio__top {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .telegram-audio__tag {
        display: none;
    }

    .telegram-audio__wave {
        gap: 3px;
    }

    .telegram-reviews__composer {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 10px;
    }

    .telegram-reviews__composer-field {
        min-height: 48px;
        padding: 0 14px;
        font-size: 0.92rem;
    }
}

/* ===== Тарифы ===== */
.tariffs {
    padding: 60px 0 80px;
}

.tariffs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.tariff-card {
    border: 1px solid var(--card-line);
    border-radius: 18px;
    padding: 36px 28px;
    background: var(--card-surface);
    position: relative;
}

.tariff-card--light {
    background: var(--card-surface);
    border-color: var(--card-line);
    box-shadow: none;
}

.tariff-card--featured {
    border-color: rgba(255, 59, 48, 0.92);
    background: linear-gradient(
        180deg,
        rgba(255, 59, 48, 0.18) 0%,
        rgba(255, 59, 48, 0.08) 28%,
        rgba(12, 12, 14, 0.92) 100%
    );
    box-shadow: inset 0 0 0 1px rgba(255, 59, 48, 0.28);
    padding-top: 78px;
}

.tariff-card--featured::before,
.tariff-card--featured::after {
    display: none !important;
}

.tariff-card--featured:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 59, 48, 0.28);
}

.tariff-card__badge {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    padding: 11px 24px 12px;
    border-radius: 24px;
    white-space: nowrap;
    z-index: 3;
    min-width: min(88%, 420px);
    text-align: center;
}

.tariff-card__title {
    font-family: "Inter", sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    line-height: 1.3;
}

.tariff-card--featured .tariff-card__title {
    margin-top: 0;
}

.tariff-card--light .tariff-card__title,
.tariff-card--light .tariff-card__price {
    color: #ffffff;
}

.tariff-card__price {
    font-family: "Inter", sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1;
}

.tariff-card__price span {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.tariff-card--light .tariff-card__price span {
    color: rgba(255, 255, 255, 0.6);
}

.tariff-card__btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    border-radius: 12px;
    border: 0;
    -webkit-appearance: none;
    appearance: none;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    background: #fff;
    transition:
        transform 0.2s,
        opacity 0.2s;
    margin-bottom: 28px;
    cursor: pointer;
}

.tariff-card__btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.tariff-card__btn--red {
    background: var(--accent);
    color: #fff;
}

.tariff-card__btn--red:hover {
    background: var(--accent-light);
}

.tariff-card__btn--disabled,
.tariff-card__btn--disabled:hover {
    background: #ececec;
    color: rgba(17, 17, 17, 0.54);
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 1;
    transform: none;
}

.tariff-card__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.tariff-card__divider::before,
.tariff-card__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.tariff-card__divider span {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.56);
    letter-spacing: 2px;
    white-space: nowrap;
}

.tariff-card--light .tariff-card__divider::before,
.tariff-card--light .tariff-card__divider::after {
    background: rgba(255, 255, 255, 0.12);
}

.tariff-card--light .tariff-card__divider span {
    color: rgba(255, 255, 255, 0.56);
}

.tariff-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tariff-card__features li {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.65;
    font-weight: 600;
    padding-left: 28px;
    position: relative;
}

.tariff-card--light .tariff-card__features li {
    color: rgba(255, 255, 255, 0.86);
}

.tariff-card__features a {
    color: inherit;
    display: inline-block;
    padding-bottom: 0;
    line-height: 1.18;
    border-bottom: 1.5px solid rgba(255, 59, 48, 0.9);
    text-decoration: none;
    transition:
        color 0.22s ease,
        border-color 0.22s ease,
        opacity 0.22s ease;
}

.tariff-card__features a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 59, 48, 0.9);
}

.tariff-card__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='rgba(255,255,255,0.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.tariff-card--light .tariff-card__features li::before {
    background: rgba(255, 255, 255, 0.25);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='rgba(255,255,255,0.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.tariff-card--light .tariff-card__btn--disabled,
.tariff-card--light .tariff-card__btn--disabled:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
    .tariffs__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .tariffs {
        padding: 48px 0 84px;
    }

    .tariffs__grid {
        max-width: 100%;
        gap: 18px;
    }

    .tariff-card {
        border-radius: 20px;
        padding: 26px 22px;
    }

    .tariff-card--featured {
        padding: 94px 22px 26px;
    }

    .tariff-card__badge {
        top: 16px;
        left: 22px;
        right: 22px;
        width: auto;
        min-width: 0;
        padding: 10px 14px 11px;
        font-size: 0.76rem;
        line-height: 1.2;
        white-space: normal;
    }

    .tariff-card__title {
        margin-bottom: 18px;
        font-size: 1.04rem;
        line-height: 1.24;
        letter-spacing: 0.03em;
    }

    .tariff-card__price {
        margin-bottom: 20px;
        font-size: clamp(2rem, 8vw, 2.45rem);
        line-height: 0.95;
    }

    .tariff-card__price span {
        font-size: 1rem;
    }

    .tariff-card__btn {
        min-height: 52px;
        margin-bottom: 24px;
        padding: 15px 18px;
        font-size: 0.92rem;
    }

    .tariff-card__divider {
        gap: 10px;
        margin-bottom: 20px;
    }

    .tariff-card__divider span {
        font-size: 0.7rem;
        letter-spacing: 0.16em;
    }

    .tariff-card__features {
        gap: 14px;
    }

    .tariff-card__features li {
        padding-left: 24px;
        font-size: 0.93rem;
        line-height: 1.55;
    }

    .tariff-card__features li::before {
        top: 3px;
        width: 14px;
        height: 14px;
    }
}

/* ===== Навыки (unused) ===== */
.skills__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.skill-card {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    transition:
        transform 0.3s,
        border-color 0.3s,
        box-shadow 0.3s;
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: rgba(192, 57, 43, 0.3);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.skill-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.skill-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.skill-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Проекты ===== */
.projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.project-card {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.project-card__image {
    height: 180px;
    background: linear-gradient(135deg, var(--accent), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card__image span {
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.2;
}

.project-card__body {
    padding: 24px;
}

.project-card__body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.project-card__body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-card__tags span {
    padding: 4px 12px;
    background: rgba(192, 57, 43, 0.12);
    color: var(--accent-light);
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ===== Контакты ===== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.contact__links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    transition: color 0.3s;
    font-size: 1rem;
}

.contact__link:hover {
    color: var(--text);
}

.contact__link-icon {
    font-size: 1.2rem;
    width: 44px;
    height: 44px;
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form__group {
    margin-bottom: 16px;
}

.form__group input,
.form__group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
    resize: vertical;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
    color: var(--text-muted);
}

.form__group input:focus,
.form__group textarea:focus {
    border-color: var(--accent);
}

/* ===== Дисклеймер ===== */
.disclaimer {
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.disclaimer .container {
    text-align: center;
}

.disclaimer__title {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(192, 57, 43, 0.7);
    letter-spacing: 2px;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(15px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.disclaimer__title.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.disclaimer p {
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.7;
    margin-bottom: 10px;
    font-weight: 400;
}

.disclaimer__list {
    color: rgba(255, 255, 255, 0.3) !important;
    font-style: italic;
    margin: 14px 0 !important;
}

.disclaimer__content {
    text-align: center;
}

.disclaimer__content p {
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.7;
    margin-bottom: 12px;
}

.disclaimer__date {
    margin-top: 18px !important;
    font-size: 0.65rem !important;
    color: rgba(255, 255, 255, 0.2) !important;
}

#disclaimerTypewriter {
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.7;
    text-align: center;
    min-height: 2em;
}

#disclaimerTypewriter .typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: rgba(231, 76, 60, 0.9);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: simonCursorBlink 0.55s step-end infinite;
}

/* Disclaimer fade-in */
.disclaimer-fade {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 1s ease,
        transform 1s ease;
}

.disclaimer-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.disclaimer__content.disclaimer-fade.visible {
    transition-delay: 0.4s;
}

.disclaimer__date.disclaimer-fade.visible {
    transition-delay: 0.7s;
}

/* ===== Футер ===== */
.footer {
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg);
}

.footer__main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__logo {
    font-family: "InterBlack", "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #fff;
}

.footer__tagline {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    max-width: 36ch;
}

.footer__nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.footer__nav a {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__nav a:hover {
    color: #fff;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 20px;
}

.footer__bottom p {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    line-height: 1.6;
}

/* Light theme */
html[data-theme="light"] .footer {
    border-top-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .footer__logo {
    color: #1a1a1a;
}

html[data-theme="light"] .footer__tagline {
    color: rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .footer__nav a {
    color: rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] .footer__nav a:hover {
    color: #1a1a1a;
}

html[data-theme="light"] .footer__bottom {
    border-top-color: rgba(0, 0, 0, 0.07);
}

html[data-theme="light"] .footer__bottom p {
    color: rgba(0, 0, 0, 0.35);
}

/* Mobile */
@media (max-width: 600px) {
    .footer__main {
        flex-direction: column;
        gap: 24px;
    }

    .footer__nav {
        gap: 16px;
    }
}

/* ===== Custom Video Player ===== */
.vp {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: inherit;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    z-index: 2;
}

.vp video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

/* In review cards, cover the area */
.review-card__video .vp video,
.faq-card__video .vp video {
    object-fit: cover;
}

/* Big play overlay */
.vp__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    z-index: 5;
    transition: opacity 0.3s;
}

.vp__overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.vp__play-big {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        transform 0.3s,
        background 0.3s,
        border-color 0.3s;
}

.vp__play-big:hover {
    transform: scale(1.12);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.vp__play-big svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    margin-left: 3px;
}

/* Controls bar */
.vp__controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 24px 16px 14px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vp.playing:hover .vp__controls,
.vp.paused .vp__controls {
    opacity: 1;
}

.vp.playing .vp__controls {
    opacity: 0;
}

/* Progress bar */
.vp__progress-wrap {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: height 0.15s;
}

.vp__progress-wrap:hover {
    height: 6px;
}

.vp__progress-bar {
    height: 100%;
    background: var(--accent-light, #e74c3c);
    border-radius: 2px;
    width: 0%;
    position: relative;
    transition: none;
}

.vp__progress-bar::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.15s;
}

.vp__progress-wrap:hover .vp__progress-bar::after {
    transform: translateY(-50%) scale(1);
}

/* Bottom controls row */
.vp__bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vp__btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.vp__btn:hover {
    opacity: 0.8;
}

.vp__btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Speed button */
.vp__speed {
    background: none;
    border: none;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.2s;
}

.vp__speed:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Time */
.vp__time {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    white-space: nowrap;
}

.vp__spacer {
    flex: 1;
}

/* Volume */
.vp__vol-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vp__vol-slider {
    width: 0;
    overflow: hidden;
    transition: width 0.25s;
}

.vp__vol-wrap:hover .vp__vol-slider {
    width: 70px;
}

.vp__vol-slider input[type="range"] {
    -webkit-appearance: none;
    width: 70px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.vp__vol-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.vp__vol-slider input[type="range"]::-moz-range-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 2px;
}

.vp__vol-slider input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.vp__vol-slider input[type="range"]::-moz-focus-outer {
    border: 0;
}

/* Settings popup */
.vp__settings-popup {
    position: absolute;
    bottom: 60px;
    right: 16px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 180px;
    z-index: 20;
    display: none;
    font-family: "Inter", sans-serif;
}

.vp__settings-popup.open {
    display: block;
}

.vp__settings-popup .sp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.vp__settings-popup .sp-header:hover {
    background: rgba(255, 255, 255, 0.08);
}

.vp__settings-popup .sp-header svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.vp__settings-popup .sp-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background 0.2s;
}

.vp__settings-popup .sp-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.vp__settings-popup .sp-item.active {
    color: #fff;
    font-weight: 600;
}

.vp__settings-popup .sp-item .sp-check {
    font-size: 0.9rem;
    color: #fff;
}

.vp__settings-popup .sp-item .sp-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 4px;
}

.vp__settings-popup .sp-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 0;
}

/* ===== Анимации ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-reveal (старый) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text Wipe — проявление слева направо */
.text-wipe {
    background: linear-gradient(
        90deg,
        #fff 0%,
        #fff 50%,
        transparent 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.text-wipe.visible {
    background-position: 0% 0;
}

/* Для вложенных элементов внутри text-wipe контейнера */
.simon__info-card.text-wipe {
    -webkit-text-fill-color: initial;
    background: var(--card-surface);
    background-clip: initial;
    -webkit-background-clip: initial;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.simon__info-card.text-wipe.visible {
    clip-path: inset(0 0% 0 0);
}

/* Bio параграфы — wipe слева направо */
.simon__bio .text-wipe {
    -webkit-text-fill-color: initial;
    background: none;
    background-clip: initial;
    -webkit-background-clip: initial;
    clip-path: inset(0 0% 0 0);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.simon__bio .text-wipe.visible {
    clip-path: inset(0 0% 0 0);
}

/* ===== Step Header — special animation ===== */
.step-header-anim {
    opacity: 0;
    transform: translateY(50px) scale(0.96);
    transition:
        opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-header-anim.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Badge slides in from left */
.step-header-anim .step-one__badge {
    opacity: 0;
    transform: translateX(-30px);
    transition:
        opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s,
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.step-header-anim.visible .step-one__badge {
    opacity: 1;
    transform: translateX(0);
}

/* Title fades up */
.step-header-anim .step-one__title {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.35s,
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.35s;
}

.step-header-anim.visible .step-one__title {
    opacity: 1;
    transform: translateY(0);
}

/* Subtitle fades up later */
.step-header-anim .step-one__subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.55s,
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.55s;
}

.step-header-anim.visible .step-one__subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Uiverse-style Hero Button (red) ===== */
.hero__btn-uiverse {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 2px solid #fff;
    font-size: 16px;
    background-color: #fff;
    border-radius: 14px;
    font-weight: 600;
    color: #000;
    box-shadow: var(--frame-shadow);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    font-family: "Gilroy", "Inter", sans-serif;
    letter-spacing: 0.2px;
}

.hero__btn-uiverse svg {
    position: absolute;
    width: 24px;
    fill: #000;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero__btn-uiverse .arr-1 {
    right: 16px;
}

.hero__btn-uiverse .arr-2 {
    left: -25%;
}

.hero__btn-uiverse .btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero__btn-uiverse .btn-text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    font-family: "Gilroy", "Inter", sans-serif;
    font-weight: 500;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero__btn-uiverse:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.88);
    color: #000;
    border-radius: 14px;
    box-shadow:
        0 0 16px rgba(255, 255, 255, 0.2),
        0 0 34px rgba(255, 255, 255, 0.1);
}

.hero__btn-uiverse:hover .arr-1 {
    right: -25%;
}

.hero__btn-uiverse:hover .arr-2 {
    left: 16px;
}

.hero__btn-uiverse:hover .btn-text {
    transform: translateX(12px);
}

.hero__btn-uiverse:hover svg {
    fill: #000;
}

.hero__btn-uiverse:active {
    scale: 0.95;
}

.hero__btn-uiverse:hover .btn-circle {
    width: 300px;
    height: 300px;
    opacity: 1;
}

/* ===== Scroll Reveal — все секции ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.scroll-reveal-children > * {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-children.visible > *:nth-child(1) {
    transition-delay: 0s;
}
.scroll-reveal-children.visible > *:nth-child(2) {
    transition-delay: 0.1s;
}
.scroll-reveal-children.visible > *:nth-child(3) {
    transition-delay: 0.2s;
}
.scroll-reveal-children.visible > *:nth-child(4) {
    transition-delay: 0.3s;
}
.scroll-reveal-children.visible > *:nth-child(5) {
    transition-delay: 0.4s;
}

/* Photo slide from bottom */
.slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0) !important;
}

/* Review cards stagger */
.review-card.scroll-reveal:nth-child(1) {
    transition-delay: 0s;
}
.review-card.scroll-reveal:nth-child(2) {
    transition-delay: 0.15s;
}
.review-card.scroll-reveal:nth-child(3) {
    transition-delay: 0.3s;
}
.review-card.scroll-reveal:nth-child(4) {
    transition-delay: 0.45s;
}

/* FAQ cards stagger */
.faq-card.scroll-reveal:nth-child(1) {
    transition-delay: 0s;
}
.faq-card.scroll-reveal:nth-child(2) {
    transition-delay: 0.15s;
}
.faq-card.scroll-reveal:nth-child(3) {
    transition-delay: 0.3s;
}

/* Tariff cards stagger */
.tariff-card.scroll-reveal:nth-child(1) {
    transition-delay: 0s;
}
.tariff-card.scroll-reveal:nth-child(2) {
    transition-delay: 0.15s;
}
.tariff-card.scroll-reveal:nth-child(3) {
    transition-delay: 0.3s;
}

/* Hero enhanced entrance animation */
.hero__content {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__content.hero-animated {
    opacity: 1;
    transform: translateY(0);
}

.hero__visual {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s,
        transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.hero__visual.hero-animated {
    opacity: 1;
    transform: translateY(0);
}

/* Override the old fadeUp on hero elements — we control via JS now */
.hero__title,
.hero__subtitle,
.hero__kpis,
.hero__actions {
    animation: none !important;
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__content.hero-animated .hero__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.hero__content.hero-animated .hero__subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.hero__content.hero-animated .hero__kpis {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.33s;
}

.hero__content.hero-animated .hero__actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.42s;
}

/* No extra overrides needed for uiverse button */

/* Override old hero__visual fadeUp animation */
.hero__visual {
    animation: none !important;
}

/* Footer scroll reveal */
.footer.scroll-reveal {
    transform: translateY(30px);
}

/* ===== Адаптив ===== */
@media (max-width: 1024px) {
    .hero__container {
        gap: 40px;
    }

    .hero__photo-wrapper {
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .nav__container {
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
    }

    .nav__burger {
        display: flex;
        flex-shrink: 0;
        width: 52px;
        height: 52px;
        border-color: rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.02);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    }

    .nav__burger span:nth-child(1) {
        transform: translateY(-7px);
    }

    .nav__burger span:nth-child(2) {
        width: 18px;
    }

    .nav__burger span:nth-child(3) {
        transform: translateY(7px);
    }

    .nav__links {
        --mobile-nav-item: 46px;
        --mobile-nav-gap: 6px;
        position: fixed;
        top: max(74px, calc(64px + env(safe-area-inset-top) + 10px));
        right: 14px;
        width: min(218px, calc(100vw - 28px));
        height: auto;
        max-height: calc(100dvh - 92px - env(safe-area-inset-bottom));
        margin-left: 0;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: var(--mobile-nav-gap);
        list-style: none;
        background:
            radial-gradient(
                circle at 38% 0%,
                rgba(255, 255, 255, 0.12) 0%,
                transparent 34%
            ),
            linear-gradient(
                160deg,
                rgba(24, 24, 24, 0.92) 0%,
                rgba(7, 7, 7, 0.78) 100%
            ),
            rgba(8, 8, 8, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.11);
        border-radius: 30px;
        box-shadow:
            0 22px 70px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.055) inset,
            0 18px 42px rgba(0, 0, 0, 0.34) inset,
            0 0 42px rgba(255, 59, 48, 0.09);
        overflow: visible;
        z-index: 1205;
        isolation: isolate;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(18px, -8px, 0) scale(0.94);
        transform-origin: top right;
        transition:
            opacity 0.24s ease,
            transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.34s;
    }

    .nav__links::before {
        content: none;
        display: none;
    }

    .nav__links::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.075),
                rgba(255, 255, 255, 0.018) 42%,
                rgba(0, 0, 0, 0.22)
            ),
            rgba(8, 8, 8, 0.92);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.09) inset,
            0 14px 32px rgba(255, 255, 255, 0.04) inset,
            0 -18px 34px rgba(0, 0, 0, 0.32) inset;
        pointer-events: none;
        z-index: -1;
    }

    .nav__mobile-toolbar {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        gap: 0;
        margin: 0 0 4px;
        padding: 0 0 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .nav__mobile-toolbar .theme-toggle,
    .nav__mobile-toolbar .theme-toggle--mobile {
        width: 100%;
        height: var(--mobile-nav-item);
        min-width: 0;
        min-height: var(--mobile-nav-item);
        justify-content: flex-start;
        padding: 0 14px 0 48px;
        border: 1px solid rgba(255, 255, 255, 0.115);
        border-radius: 18px;
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.12),
                rgba(255, 255, 255, 0.035)
            ),
            rgba(12, 12, 12, 0.96);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.08) inset,
            0 -10px 22px rgba(0, 0, 0, 0.18) inset;
    }

    .nav__mobile-toolbar .theme-toggle::after,
    .nav__mobile-toolbar .theme-toggle--mobile::after {
        content: "Тема";
        font-family: "Manrope", "Inter", sans-serif;
        font-size: 0.76rem;
        font-weight: 800;
        letter-spacing: 0.11em;
        line-height: 1;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav__mobile-toolbar .theme-toggle:hover,
    .nav__mobile-toolbar .theme-toggle--mobile:hover {
        border-color: rgba(255, 255, 255, 0.18);
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.15),
                rgba(255, 255, 255, 0.045)
            ),
            rgba(15, 15, 15, 0.64);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.1) inset,
            0 -10px 22px rgba(0, 0, 0, 0.18) inset;
    }

    .nav__mobile-toolbar .theme-toggle svg {
        left: 24px;
        width: 21px;
        height: 21px;
        z-index: 2;
    }

    .nav__mobile-toolbar .theme-toggle__star {
        display: block;
        z-index: 3;
        opacity: 0.95;
        background: #fff;
        box-shadow:
            0 0 8px rgba(255, 255, 255, 0.88),
            0 0 14px rgba(190, 210, 255, 0.42);
    }

    .nav__mobile-toolbar .theme-toggle__star--1 {
        top: 8px;
        left: 14px;
        right: auto;
        bottom: auto;
    }

    .nav__mobile-toolbar .theme-toggle__star--2 {
        top: 10px;
        left: 34px;
        right: auto;
        bottom: auto;
    }

    .nav__mobile-toolbar .theme-toggle__star--3 {
        top: auto;
        left: 16px;
        right: auto;
        bottom: 9px;
    }

    .nav__mobile-toolbar .theme-toggle__star--4 {
        top: auto;
        left: 35px;
        right: auto;
        bottom: 10px;
    }

    .nav__desktop-theme {
        display: none !important;
    }

    .nav__desktop-theme .theme-toggle,
    .nav__desktop-theme .theme-toggle--desktop {
        display: none !important;
    }

    .nav__close {
        display: none !important;
    }

    .nav--menu-open .nav__burger {
        opacity: 1;
        pointer-events: auto;
        border-color: rgba(255, 59, 48, 0.26);
        background: rgba(255, 255, 255, 0.04);
        box-shadow:
            0 0 0 1px rgba(255, 59, 48, 0.08),
            0 14px 28px rgba(0, 0, 0, 0.22);
        transform: rotate(180deg);
    }

    .nav__links li {
        position: relative;
        z-index: 1;
        width: 100%;
        height: auto;
        flex: 0 0 auto;
    }

    .nav__links .nav__link-icon {
        width: 100%;
        height: var(--mobile-nav-item);
        min-width: 0;
        min-height: var(--mobile-nav-item);
        padding: 0 14px;
        border: 1px solid rgba(255, 255, 255, 0.115);
        border-radius: 18px;
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.105),
                rgba(255, 255, 255, 0.03)
            ),
            rgba(12, 12, 12, 0.56);
        -webkit-backdrop-filter: blur(18px) saturate(1.18) brightness(0.76);
        backdrop-filter: blur(18px) saturate(1.18) brightness(0.76);
        color: rgba(255, 255, 255, 0.86);
        justify-content: flex-start;
        gap: 10px;
        overflow: hidden;
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.08) inset,
            0 -10px 22px rgba(0, 0, 0, 0.2) inset;
        transition:
            background 0.22s ease,
            border-color 0.22s ease,
            color 0.22s ease,
            transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav__links .nav__link-icon:active {
        transform: scale(0.94);
    }

    .nav__link-ico {
        position: relative;
        opacity: 0.92;
        transform: none !important;
        flex-shrink: 0;
        width: 24px;
        height: 24px;
    }

    .nav__link-ico svg {
        width: 22px;
        height: 22px;
    }

    .nav__link-label {
        position: static !important;
        left: auto;
        top: auto;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
        overflow: visible;
        clip: auto;
        clip-path: none;
        white-space: nowrap;
        border: 0;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto;
        font-size: 0.76rem;
        font-weight: 800;
        letter-spacing: 0.11em;
        line-height: 1;
        color: currentColor;
    }

    /* На мобиле показываем иконку и подпись без desktop hover-переключения */
    .nav__link-icon:hover .nav__link-ico {
        opacity: 1;
        transform: none !important;
    }

    .nav__link-icon:hover .nav__link-label {
        transform: none !important;
    }

    .nav__links.open {
        right: 14px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate3d(0, 0, 0) scale(1);
        transition-delay: 0s;
    }

    .hero__container {
        padding: 0 32px;
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero__content {
        order: 2;
        padding-top: 0;
    }

    .hero__visual {
        order: 1;
        margin-left: 0;
        padding-top: 32px;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__kpis {
        gap: 0;
        margin-bottom: 26px;
    }

    .hero__kpi {
        padding: 0 18px;
    }

    .hero__kpi strong {
        font-size: clamp(1.08rem, 4.5vw, 1.45rem);
        margin-bottom: 4px;
    }

    .hero__kpi span {
        font-size: 0.65rem;
        letter-spacing: 0.06em;
    }

    .hero__actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero__photo-wrapper {
        max-width: min(90vw, 360px);
        filter: none;
    }

    .hero__photo {
        filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.08))
            drop-shadow(0 0 18px rgba(255, 255, 255, 0.035));
    }

    .simon__layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .simon__left {
        order: 2;
    }

    .simon__photo {
        order: 1;
        width: min(100%, 440px);
        height: auto;
        margin: 0 auto;
        overflow: visible;
    }

    .simon__photo picture {
        position: relative;
        inset: auto;
    }

    .simon__photo picture img {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center top;
        border-radius: 18px;
    }

    .simon__bio {
        padding: 24px 20px;
    }

    .simon__stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .hero__title {
        letter-spacing: -0.5px;
    }

    html[data-theme="light"] .hero__photo-wrapper {
        filter: none;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 82px 0;
    }

    .hero__title {
        font-size: clamp(1.58rem, 7.3vw, 1.8rem);
    }

    .hero__title-brand {
        gap: 8px;
    }

    .hero__title-icon {
        width: 30px;
        border-radius: 10px;
        transform: translateY(-3px);
    }

    .hero__title-rest {
        padding-inline: 0.05em;
    }

    .hero__photo-wrapper {
        max-width: 280px;
    }

    .hero__container {
        gap: 36px;
    }

    .hero__subtitle {
        max-width: 28ch;
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .hero__kpis {
        gap: 0;
        width: 100%;
        margin-bottom: 22px;
    }

    .hero__kpi {
        padding: 0 12px;
    }

    .btn {
        text-align: center;
    }

    .simon__name {
        font-size: 1.4rem;
    }

    .simon__bio p {
        font-size: 0.95rem;
    }

    .simon__bio p:nth-of-type(n + 4) {
        display: none;
    }

    .simon__stats {
        gap: 18px;
    }

    .simon__stat {
        min-width: 0;
    }

    .simon__stat-number {
        font-size: clamp(2.1rem, 11vw, 2.8rem);
    }

    .review-card__text {
        padding: 22px 18px;
    }

    .review-card__name {
        font-size: 1.52rem;
        line-height: 1.08;
    }

    .review-card__text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .analytics-lightbox__title {
        font-size: 1.34rem;
    }

    .analytics-lightbox__text {
        font-size: 0.92rem;
        line-height: 1.58;
    }

    html.compat-browser .simon__title {
        font-size: clamp(1.82rem, 8.8vw, 2.5rem);
        line-height: 1.08;
        max-width: 10ch;
    }
}

/* ===== Light Theme ===== */
html[data-theme="light"] {
    --bg: #f5f5f2;
    --bg-alt: #f5f5f2;
    --surface: #f0f0f0;
    --border: #cccccc;
    --text: #1a1a1a;
    --text-muted: #666666;
    --accent: #ff3b30;
    --accent-light: #ff5a52;
    --accent-glow: rgba(255, 59, 48, 0.18);
    --accent-glow-strong: rgba(255, 59, 48, 0.34);
    --grid-line: rgba(0, 0, 0, 0.16);
    --frame-line: rgba(0, 0, 0, 0.34);
    --card-line: rgba(0, 0, 0, 0.16);
    --card-surface: rgba(248, 248, 244, 0.94);
    --frame-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Invert dark veil canvas in light mode (dark wisps on white) */
html[data-theme="light"] #darkVeil {
    filter: invert(1);
}

/* Intro screen */
html[data-theme="light"] .intro-screen {
    background: #000;
}

html[data-theme="light"] .intro-text-overlay {
    background: #000;
    mix-blend-mode: multiply;
}

html[data-theme="light"] .intro-text-word {
    color: #fff;
}

html[data-theme="light"] .hero__title-dash {
    color: #1a1a1a;
}

/* Nav */
html[data-theme="light"] .nav {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.76) 0%,
            rgba(245, 245, 242, 0.56) 100%
        ),
        rgba(245, 245, 242, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        inset 0 -1px 0 rgba(0, 0, 0, 0.035),
        0 18px 52px rgba(0, 0, 0, 0.07);
}

html[data-theme="light"] .nav::after {
    background:
        linear-gradient(
            to bottom,
            rgba(245, 245, 242, 0.42) 0%,
            rgba(245, 245, 242, 0.19) 48%,
            transparent 100%
        ),
        rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .nav--scrolled {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.82) 0%,
            rgba(245, 245, 242, 0.64) 100%
        ),
        rgba(245, 245, 242, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        inset 0 -1px 0 rgba(0, 0, 0, 0.045),
        0 20px 58px rgba(0, 0, 0, 0.09);
}

html[data-theme="light"] .nav__logo-text {
    color: #1a1a1a;
}

html[data-theme="light"] .nav__links a {
    color: rgba(0, 0, 0, 0.6);
}

html[data-theme="light"] .nav__links a:hover {
    color: #1a1a1a;
    text-shadow: 0 0 14px rgba(255, 59, 48, 0.18);
}

/* Hero */
html[data-theme="light"] .hero {
    background:
        radial-gradient(
            72% 56% at 50% 34%,
            rgba(255, 255, 255, 0.44) 0%,
            rgba(255, 255, 255, 0) 62%
        ),
        linear-gradient(
            180deg,
            #f6f4ee 0%,
            #f1efe8 42%,
            #ece9e1 72%,
            var(--bg) 100%
        );
}

html[data-theme="light"] .hero::after {
    background: linear-gradient(
        180deg,
        rgba(245, 245, 242, 0) 0%,
        rgba(245, 245, 242, 0.38) 40%,
        var(--bg) 100%
    );
}

html[data-theme="light"] .hero__title {
    color: #1a1a1a;
    background: linear-gradient(
        115deg,
        #1a1a1a 0%,
        #1a1a1a calc(var(--shine-pos) - 22%),
        #555555 calc(var(--shine-pos) - 10%),
        #1a1a1a var(--shine-pos),
        #555555 calc(var(--shine-pos) + 10%),
        #1a1a1a calc(var(--shine-pos) + 22%),
        #1a1a1a 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="light"] .hero__title-rest {
    background: linear-gradient(180deg, #1a1a1a 0%, #7f7f7f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: none;
    text-shadow:
        0 0 16px rgba(255, 255, 255, 0.06),
        0 0 28px rgba(0, 0, 0, 0.075);
}

html[data-theme="light"] .hero__subtitle-text,
html[data-theme="light"] .hero__subtitle {
    color: #444 !important;
}

html[data-theme="light"] .hero__kpi {
    border-left-color: rgba(0, 0, 0, 0.12);
    background: none;
    box-shadow: none;
}

html[data-theme="light"] .hero__kpi strong {
    color: #1a1a1a;
}

html[data-theme="light"] .hero__kpi span {
    color: rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .hero__title-accent {
    background: linear-gradient(
        120deg,
        #1a1a1a 0%,
        #1a1a1a 35%,
        rgba(26, 26, 26, 0.5) 48%,
        rgba(26, 26, 26, 0.3) 50%,
        rgba(26, 26, 26, 0.5) 52%,
        #1a1a1a 65%,
        #1a1a1a 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    filter: none;
    animation: shinyProd 5s ease-in-out infinite;
}

html[data-theme="light"] .hero__title-accent::after {
    content: none;
}

html[data-theme="light"].stable-hero-browser .hero__title-accent,
html[data-theme="light"].stable-hero-browser .hero__title-rest {
    color: #1a1a1a !important;
}

html[data-theme="light"] .hero__photo-wrapper {
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.1));
}

html[data-theme="light"] .hero__btn-uiverse {
    border-color: #1a1a1a;
    background-color: #1a1a1a;
    color: #fff;
    box-shadow: var(--frame-shadow);
}

html[data-theme="light"] .hero__btn-uiverse svg {
    fill: #fff;
}

html[data-theme="light"] .hero__btn-uiverse .btn-circle {
    background-color: #333;
}

html[data-theme="light"] .hero__btn-uiverse:hover {
    border-color: #000;
    background-color: #000;
    color: #fff;
    box-shadow:
        0 0 16px rgba(0, 0, 0, 0.16),
        0 0 34px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .hero__btn-uiverse:hover .btn-text {
    color: #fff;
}

html[data-theme="light"] .hero__btn-uiverse:hover svg {
    fill: #fff;
}

html[data-theme="light"] .hero__btn-secondary {
    color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.25);
    background: transparent;
}

html[data-theme="light"] .hero__btn-secondary:hover {
    border-color: #1a1a1a;
    background-color: transparent;
    color: #1a1a1a;
}

/* Simon section */
html[data-theme="light"] .simon__title {
    background: linear-gradient(180deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none;
    text-shadow:
        0 0 16px rgba(255, 255, 255, 0.05),
        0 0 28px rgba(0, 0, 0, 0.075);
}

html[data-theme="light"] .simon__title .split-char {
    display: inline-block;
    background: linear-gradient(180deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="light"] .simon__title.animated .split-char {
    filter: none;
}

html[data-theme="light"] .simon__info-card {
    border-color: var(--card-line);
    background: var(--card-surface);
}

html[data-theme="light"] .simon__name {
    background: linear-gradient(180deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="light"] .simon__activity {
    color: rgba(0, 0, 0, 0.78);
}

html[data-theme="light"] .simon__activity strong {
    color: #1a1a1a;
}

html[data-theme="light"] .simon__stat-number,
html[data-theme="light"] .drum-digit .drum-strip span,
html[data-theme="light"] .drum-suffix {
    background: linear-gradient(180deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="light"] .simon__stat-label {
    color: rgba(0, 0, 0, 0.62);
}

html[data-theme="light"] .simon__stat-label .drum-digit .drum-strip span {
    color: rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .simon__photo {
    border: none;
}

/* Simon photo swap for light mode */
html[data-theme="light"] .simon__photo .simon-photo--dark {
    display: none;
}

html[data-theme="light"] .simon__photo .simon-photo--light {
    display: block;
}

html[data-theme="light"] .simon__bio {
    border-color: var(--card-line);
    background: var(--card-surface);
}

html[data-theme="light"] .simon__bio p {
    color: rgba(0, 0, 0, 0.82);
    font-weight: 600;
}

html[data-theme="light"] .simon__info-card.text-wipe {
    background: var(--card-surface);
}

/* Step badges & titles */
html[data-theme="light"] .step-one__badge {
    color: #1a1a1a;
}

html[data-theme="light"] .step-one__title {
    background: linear-gradient(180deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 16px rgba(0, 0, 0, 0.2))
        drop-shadow(0 0 34px rgba(0, 0, 0, 0.1));
}

html[data-theme="light"] .step-one__subtitle {
    font-family: "Gilroy", "Inter", sans-serif;
    color: rgba(0, 0, 0, 0.64);
    font-weight: 600;
}

/* Step 3 FAQ title muted text */
.text-muted-inline {
    color: rgba(255, 255, 255, 0.45);
}

html[data-theme="light"] .text-muted-inline {
    color: rgba(0, 0, 0, 0.4);
}

/* Video containers */
html[data-theme="light"] .step-one__video {
    border-color: var(--card-line);
}

html[data-theme="light"] .step-one__video video {
    background: #f0f0f0;
}

html[data-theme="light"] .agency-overview__card,
html[data-theme="light"] .agency-cta {
    border-color: var(--card-line);
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.08),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.72),
            rgba(255, 255, 255, 0.58)
        ),
        var(--card-surface);
}

html[data-theme="light"] .agency-overview__eyebrow,
html[data-theme="light"] .agency-cta__eyebrow,
html[data-theme="light"] .agency-cta__points span {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .agency-overview__title,
html[data-theme="light"] .agency-overview__text,
html[data-theme="light"] .agency-cta__title,
html[data-theme="light"] .agency-cta__text,
html[data-theme="light"] .agency-cta__points span {
    color: #1a1a1a;
}

/* PROD content button */
html[data-theme="light"] .prod-content-btn {
    border-color: var(--accent);
    color: #1a1a1a;
    box-shadow:
        0 0 20px rgba(255, 59, 48, 0.18),
        0 0 44px rgba(255, 59, 48, 0.1);
}

html[data-theme="light"] .prod-content-btn::before {
    background: radial-gradient(
        220px circle at var(--mx) var(--my),
        var(--hover-red-core),
        var(--hover-red-mid) 20%,
        rgba(255, 59, 48, 0.68) 45%,
        transparent 65%
    );
}

html[data-theme="light"] .prod-content-btn::after {
    background: radial-gradient(
        200px circle at var(--mx) var(--my),
        rgba(255, 59, 48, 0.16),
        transparent 60%
    );
}

/* Reviews more btn light */
html[data-theme="light"] .reviews-more-btn {
    border-color: var(--accent);
    color: #1a1a1a;
    box-shadow:
        0 0 20px rgba(255, 59, 48, 0.18),
        0 0 44px rgba(255, 59, 48, 0.1);
}

html[data-theme="light"] .reviews-more-btn::before {
    background: radial-gradient(
        220px circle at var(--mx) var(--my),
        var(--hover-red-core),
        var(--hover-red-mid) 20%,
        rgba(255, 59, 48, 0.68) 45%,
        transparent 65%
    );
}

html[data-theme="light"] .reviews-more-btn::after {
    background: radial-gradient(
        200px circle at var(--mx) var(--my),
        rgba(255, 59, 48, 0.16),
        transparent 60%
    );
}

/* Section alt */
html[data-theme="light"] .section--alt {
    background: transparent;
}

/* Review cards */
html[data-theme="light"] .review-card {
    border-color: var(--card-line);
    background: var(--card-surface);
}

html[data-theme="light"] .review-card__name {
    color: #1a1a1a;
}

html[data-theme="light"] .review-card__tag {
    font-family: "Gilroy", "Inter", sans-serif;
    color: rgba(0, 0, 0, 0.58);
    font-weight: 600;
}

html[data-theme="light"] .review-card__text p {
    font-family: "Gilroy", "Inter", sans-serif;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

html[data-theme="light"] .review-card__eyebrow {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.56);
}

html[data-theme="light"] .review-card__number {
    color: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .review-card__video {
    background: #f0f0f0;
}

html[data-theme="light"] .review-card__portal-link {
    color: #e14a29;
}

html[data-theme="light"] .review-card__portal-preview {
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 88, 54, 0.14),
            transparent 34%
        ),
        radial-gradient(
            circle at 80% 18%,
            rgba(255, 184, 0, 0.1),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(246, 244, 240, 0.98),
            rgba(236, 233, 228, 0.94)
        );
}

html[data-theme="light"] .review-card__portal-grid img {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 34px rgba(54, 38, 30, 0.12);
}

html[data-theme="light"] .review-card__video-portal-preview {
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 88, 54, 0.14),
            transparent 34%
        ),
        radial-gradient(
            circle at 80% 18%,
            rgba(255, 184, 0, 0.1),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(246, 244, 240, 0.98),
            rgba(236, 233, 228, 0.94)
        );
}

html[data-theme="light"] .review-card__video-portal-grid img {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 34px rgba(54, 38, 30, 0.12);
}

html[data-theme="light"] .review-card__site-portal-preview {
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 88, 54, 0.14),
            transparent 34%
        ),
        radial-gradient(
            circle at 80% 18%,
            rgba(93, 173, 236, 0.1),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(246, 244, 240, 0.98),
            rgba(236, 233, 228, 0.94)
        );
}

html[data-theme="light"] .review-card__analytics-preview {
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 88, 54, 0.14),
            transparent 34%
        ),
        radial-gradient(
            circle at 80% 18%,
            rgba(148, 121, 255, 0.1),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(246, 244, 240, 0.98),
            rgba(236, 233, 228, 0.94)
        );
}

html[data-theme="light"] .review-card__site-portal-grid img {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 34px rgba(54, 38, 30, 0.12);
}

html[data-theme="light"] .review-card__analytics-grid img {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 34px rgba(54, 38, 30, 0.12);
}

html[data-theme="light"] .review-card__portal-badge {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.74);
    color: #1a1a1a;
}

html[data-theme="light"] .cover-gallery {
    background:
        radial-gradient(
            circle at top left,
            rgba(255, 90, 58, 0.08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.88),
            rgba(247, 244, 240, 0.92)
        ),
        var(--card-surface);
}

html[data-theme="light"] .cover-gallery__title {
    color: #1a1a1a;
}

html[data-theme="light"] .cover-gallery__text {
    color: rgba(0, 0, 0, 0.72);
}

html[data-theme="light"] .cover-gallery__item {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .cover-lightbox__backdrop {
    background: rgba(250, 246, 242, 0.52);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
    backdrop-filter: blur(14px) saturate(1.08);
}

html[data-theme="light"] .cover-lightbox__caption {
    color: rgba(0, 0, 0, 0.76);
}

html[data-theme="light"] .cover-lightbox__panel {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 250, 244, 0.82);
}

html[data-theme="light"] .cover-lightbox__title {
    color: #1a1a1a;
}

html[data-theme="light"] .cover-lightbox__text {
    color: rgba(0, 0, 0, 0.7);
}

html[data-theme="light"] .cover-lightbox__nav,
html[data-theme="light"] .cover-lightbox__close {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: #1a1a1a;
}

html[data-theme="light"] .cover-lightbox__back {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: #1a1a1a;
}

html[data-theme="light"] .video-gallery__item {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .video-lightbox__backdrop {
    background: rgba(250, 246, 242, 0.52);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
    backdrop-filter: blur(14px) saturate(1.08);
}

html[data-theme="light"] .video-lightbox__panel {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 250, 244, 0.82);
}

html[data-theme="light"] .video-lightbox__title,
html[data-theme="light"] .video-lightbox__name {
    color: #1a1a1a;
}

html[data-theme="light"] .video-lightbox__text,
html[data-theme="light"] .video-lightbox__caption {
    color: rgba(0, 0, 0, 0.72);
}

html[data-theme="light"] .video-lightbox__nav,
html[data-theme="light"] .video-lightbox__close,
html[data-theme="light"] .video-lightbox__back {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: #1a1a1a;
}

html[data-theme="light"] .site-browser__panel {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 250, 244, 0.84);
}

html[data-theme="light"] .site-browser__backdrop {
    background: rgba(250, 246, 242, 0.52);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
    backdrop-filter: blur(14px) saturate(1.08);
}

html[data-theme="light"] .analytics-lightbox__backdrop {
    background: rgba(250, 246, 242, 0.52);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
    backdrop-filter: blur(14px) saturate(1.08);
}

html[data-theme="light"] .site-browser__title,
html[data-theme="light"] .site-browser__card-title,
html[data-theme="light"] .site-browser__name,
html[data-theme="light"] .site-browser__tab-title {
    color: #1a1a1a;
}

html[data-theme="light"] .site-browser__text,
html[data-theme="light"] .site-browser__card-caption,
html[data-theme="light"] .site-browser__caption,
html[data-theme="light"] .site-browser__tab-url,
html[data-theme="light"] .site-browser__card-url,
html[data-theme="light"] .site-browser__address-url {
    color: rgba(0, 0, 0, 0.68);
}

html[data-theme="light"] .site-browser__card,
html[data-theme="light"] .site-browser__tab,
html[data-theme="light"] .site-browser__address {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .site-browser__card-browser,
html[data-theme="light"] .site-browser__tab-browser,
html[data-theme="light"] .site-browser__frame {
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .site-browser__card-browser-bar,
html[data-theme="light"] .site-browser__tab-browser-bar,
html[data-theme="light"] .site-browser__frame-bar {
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .site-browser__close,
html[data-theme="light"] .site-browser__back {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: #1a1a1a;
}

/* Telegram reviews */
html[data-theme="light"] .telegram-reviews {
    border-color: var(--card-line);
    background:
        radial-gradient(
            circle at top right,
            rgba(41, 149, 255, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(255, 120, 77, 0.12),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(250, 251, 253, 0.98),
            rgba(241, 244, 248, 0.94)
        );
    box-shadow: 0 30px 90px rgba(39, 53, 74, 0.12);
}

html[data-theme="light"] .telegram-reviews__sidebar,
html[data-theme="light"] .telegram-reviews__main {
    position: relative;
    z-index: 1;
}

html[data-theme="light"] .telegram-reviews__sidebar {
    border-right-color: rgba(0, 0, 0, 0.08);
    background:
        linear-gradient(
            180deg,
            rgba(245, 248, 252, 0.98),
            rgba(237, 242, 247, 0.95)
        ),
        #edf2f7;
}

html[data-theme="light"] .telegram-reviews__brand strong,
html[data-theme="light"] .telegram-reviews__contact strong,
html[data-theme="light"] .telegram-chat-preview__top strong {
    color: #1a1a1a;
}

html[data-theme="light"] .telegram-reviews__brand span,
html[data-theme="light"] .telegram-reviews__contact span,
html[data-theme="light"] .telegram-chat-preview__top span {
    color: rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .telegram-reviews__search,
html[data-theme="light"] .telegram-reviews__composer-field,
html[data-theme="light"] .telegram-reviews__compose,
html[data-theme="light"] .telegram-reviews__header-actions button,
html[data-theme="light"] .telegram-reviews__composer button,
html[data-theme="light"] .telegram-reviews__mobile-back {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.84);
    color: rgba(0, 0, 0, 0.72);
    box-shadow: 0 10px 24px rgba(53, 71, 94, 0.08);
}

html[data-theme="light"] .telegram-chat-preview:hover {
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .telegram-chat-preview.is-active {
    background: linear-gradient(
        180deg,
        rgba(47, 137, 255, 0.12),
        rgba(47, 137, 255, 0.08)
    );
    box-shadow:
        inset 0 0 0 1px rgba(47, 137, 255, 0.2),
        0 12px 26px rgba(83, 138, 214, 0.08);
}

html[data-theme="light"] .telegram-chat-preview__message {
    color: rgba(0, 0, 0, 0.56);
}

html[data-theme="light"] .telegram-reviews__main {
    background:
        linear-gradient(
            180deg,
            rgba(249, 251, 254, 0.95),
            rgba(240, 244, 249, 0.94)
        ),
        radial-gradient(
            circle at top,
            rgba(83, 194, 255, 0.08),
            transparent 28%
        );
}

html[data-theme="light"] .telegram-reviews__header,
html[data-theme="light"] .telegram-reviews__composer {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .telegram-reviews__body {
    background:
        linear-gradient(
            180deg,
            rgba(243, 247, 252, 0.92),
            rgba(236, 241, 247, 0.95)
        ),
        radial-gradient(
            circle at 20% 20%,
            rgba(47, 137, 255, 0.08),
            transparent 24%
        ),
        radial-gradient(
            circle at 78% 12%,
            rgba(255, 120, 77, 0.08),
            transparent 20%
        );
    overflow: visible;
}

html[data-theme="light"] .telegram-thread__date,
html[data-theme="light"] .telegram-message__bubble {
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .telegram-thread__date {
    background: rgba(255, 255, 255, 0.74);
    color: rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .telegram-message--out .telegram-message__bubble {
    background: linear-gradient(
        180deg,
        rgba(47, 137, 255, 0.18),
        rgba(47, 137, 255, 0.1)
    );
    border-color: rgba(47, 137, 255, 0.16);
}

html[data-theme="light"] .telegram-message--in .telegram-message__bubble {
    background: rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .telegram-message__bubble p {
    color: rgba(0, 0, 0, 0.84);
}

html[data-theme="light"] .telegram-message__bubble {
    box-shadow:
        0 18px 34px rgba(83, 104, 138, 0.12),
        0 4px 12px rgba(83, 104, 138, 0.06);
}

html[data-theme="light"] .telegram-message__meta {
    color: rgba(0, 0, 0, 0.42);
}

html[data-theme="light"] .telegram-chat-preview__avatar,
html[data-theme="light"] .telegram-reviews__contact-avatar,
html[data-theme="light"] .telegram-message__avatar {
    box-shadow: 0 12px 24px rgba(53, 71, 94, 0.12);
}

html[data-theme="light"] .simon__story-bio-panel {
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.1),
            transparent 26%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(83, 194, 255, 0.08),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.96),
            rgba(240, 245, 251, 0.92)
        );
    border-color: rgba(18, 22, 30, 0.08);
}

html[data-theme="light"] .simon__story-bio-head h3,
html[data-theme="light"] .simon__story-badge strong {
    color: #1a1a1a;
}

html[data-theme="light"] .simon__story-kicker,
html[data-theme="light"] .simon__story-badge span {
    color: rgba(18, 22, 30, 0.5);
}

html[data-theme="light"] .simon__story-bio-copy p {
    color: rgba(18, 22, 30, 0.78);
}

html[data-theme="light"] .simon__story-badge,
html[data-theme="light"] .simon__story-toggle,
html[data-theme="light"] .simon__story-nav {
    background: rgba(255, 255, 255, 0.68);
    border-color: rgba(18, 22, 30, 0.08);
    box-shadow: 0 18px 38px rgba(53, 71, 94, 0.12);
    color: #1a1a1a;
}

html[data-theme="light"] .simon__story-toggle:hover,
html[data-theme="light"] .simon__story-nav:hover {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(255, 107, 74, 0.22);
}

html[data-theme="light"] .analytics-gallery__item {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 36px rgba(53, 71, 94, 0.08);
}

html[data-theme="light"] .telegram-message__media-time,
html[data-theme="light"] .telegram-media__time,
html[data-theme="light"] .telegram-audio__summary span,
html[data-theme="light"] .telegram-audio__tag {
    color: rgba(0, 0, 0, 0.46);
}

html[data-theme="light"] .telegram-note {
    background: conic-gradient(#42a9ff var(--progress), rgba(0, 0, 0, 0.1) 0);
    box-shadow: 0 16px 36px rgba(44, 60, 80, 0.14);
}

html[data-theme="light"] .telegram-note__inner,
html[data-theme="light"] .telegram-media__viewport {
    background: #dfe7f1;
}

html[data-theme="light"] .telegram-thread {
    padding-left: 8px;
    padding-right: 8px;
}

html[data-theme="light"] .telegram-note__toggle,
html[data-theme="light"] .telegram-media__toggle,
html[data-theme="light"] .telegram-audio__toggle,
html[data-theme="light"] .telegram-note__duration,
html[data-theme="light"] .telegram-media__badge {
    background: rgba(255, 255, 255, 0.76);
    color: #1a1a1a;
}

html[data-theme="light"] .telegram-media,
html[data-theme="light"] .telegram-audio {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 40px rgba(53, 71, 94, 0.08);
}

html[data-theme="light"] .telegram-note-wrap,
html[data-theme="light"] .telegram-media-wrap,
html[data-theme="light"] .telegram-audio-wrap {
    display: inline-flex;
    align-items: flex-end;
    max-width: min(100%, 36rem);
}

html[data-theme="light"] .telegram-media,
html[data-theme="light"] .telegram-audio {
    width: 100%;
}

html[data-theme="light"] .telegram-media__range,
html[data-theme="light"] .telegram-audio__range {
    background: linear-gradient(
        90deg,
        #42a9ff var(--progress),
        rgba(0, 0, 0, 0.1) 0
    );
}

html[data-theme="light"] .telegram-media__caption,
html[data-theme="light"] .telegram-audio__summary strong {
    color: rgba(0, 0, 0, 0.84);
}

html[data-theme="light"] .telegram-audio__bar {
    background: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .telegram-audio__bar.is-active {
    background: linear-gradient(180deg, #42a9ff, #8577ff);
}

html[data-theme="light"] .telegram-media-error {
    color: rgba(0, 0, 0, 0.45);
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .analytics-proof__hero,
html[data-theme="light"] .analytics-case {
    border-color: var(--card-line);
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.08),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.72),
            rgba(255, 255, 255, 0.58)
        ),
        var(--card-surface);
}

html[data-theme="light"] .analytics-proof__eyebrow,
html[data-theme="light"] .analytics-case__eyebrow,
html[data-theme="light"] .analytics-proof__metric,
html[data-theme="light"] .analytics-case__stat {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .analytics-proof__title,
html[data-theme="light"] .analytics-proof__text,
html[data-theme="light"] .analytics-proof__metric-value,
html[data-theme="light"] .analytics-proof__metric-label,
html[data-theme="light"] .analytics-case__title,
html[data-theme="light"] .analytics-case__text,
html[data-theme="light"] .analytics-case__stat strong {
    color: #1a1a1a;
}

html[data-theme="light"] .analytics-case__stat span {
    color: rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .analytics-case__screen {
    border-color: rgba(0, 0, 0, 0.08);
    background: #f3f3f3;
}

html[data-theme="light"] .analytics-lightbox__panel {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .analytics-lightbox__title,
html[data-theme="light"] .analytics-lightbox__text {
    color: #1a1a1a;
}

html[data-theme="light"] .analytics-lightbox__close {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: #1a1a1a;
}

html[data-theme="light"] .faq-card__eyebrow {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] .faq-card__video {
    background: #f0f0f0;
}

html[data-theme="light"] .faq-card__stat,
html[data-theme="light"] .faq-card__question {
    color: #1a1a1a;
}

html[data-theme="light"] .faq-card__text p {
    font-family: "Gilroy", "Inter", sans-serif;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

/* Tariff cards */
html[data-theme="light"] .tariff-card {
    border-color: var(--card-line);
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.08),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.9),
            rgba(247, 249, 252, 0.86)
        );
    box-shadow: 0 22px 48px rgba(53, 71, 94, 0.08);
    overflow: hidden;
}

html[data-theme="light"] .tariff-card--light {
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.08),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.92),
            rgba(248, 250, 253, 0.88)
        );
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .tariff-card--light .tariff-card__title,
html[data-theme="light"] .tariff-card--light .tariff-card__price {
    color: #1a1a1a;
}

html[data-theme="light"] .tariff-card__badge {
    color: #fff;
}

html[data-theme="light"] .tariff-card__title {
    color: #1a1a1a;
}

html[data-theme="light"] .tariff-card__price {
    color: #1a1a1a;
}

html[data-theme="light"] .tariff-card__price span {
    color: rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] .tariff-card--light .tariff-card__price span {
    color: rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] .tariff-card__btn {
    color: #fff;
    background: #1a1a1a;
}

html[data-theme="light"] .tariff-card__btn--red {
    background: var(--accent);
    color: #fff;
}

html[data-theme="light"] .tariff-card__btn--disabled,
html[data-theme="light"] .tariff-card__btn--disabled:hover {
    background: #ececec;
    color: rgba(17, 17, 17, 0.54);
}

html[data-theme="light"] .tariff-card--light .tariff-card__btn--disabled,
html[data-theme="light"] .tariff-card--light .tariff-card__btn--disabled:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

html[data-theme="light"] .tariff-card__divider::before,
html[data-theme="light"] .tariff-card__divider::after {
    background: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .tariff-card__divider span {
    font-family: "Gilroy", "Inter", sans-serif;
    color: rgba(0, 0, 0, 0.52);
    font-weight: 600;
}

html[data-theme="light"] .tariff-card--light .tariff-card__divider span {
    color: rgba(0, 0, 0, 0.52);
}

html[data-theme="light"] .tariff-card__features li {
    font-family: "Gilroy", "Inter", sans-serif;
    color: rgba(0, 0, 0, 0.82);
    font-weight: 600;
}

html[data-theme="light"] .tariff-card--light .tariff-card__features li {
    color: rgba(0, 0, 0, 0.82);
}

html[data-theme="light"] .tariff-card__features a {
    border-bottom-color: rgba(255, 59, 48, 0.86);
}

html[data-theme="light"] .tariff-card__features a:hover {
    color: rgba(0, 0, 0, 0.96);
    border-bottom-color: rgba(255, 59, 48, 0.84);
}

html[data-theme="light"] .tariff-card__features li::before {
    background: rgba(255, 59, 48, 0.14);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='rgba(24,24,24,0.78)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html[data-theme="light"] .tariff-card--light .tariff-card__features li::before {
    background: rgba(255, 59, 48, 0.14);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='rgba(24,24,24,0.78)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Glow card borders — black in light mode */
html[data-theme="light"] .glow-card::before {
    background: none;
    border-color: rgba(255, 59, 48, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 59, 48, 0.12);
}

html[data-theme="light"] .glow-card::after {
    background: radial-gradient(
        420px circle at var(--mx) var(--my),
        rgba(255, 59, 48, 0.18) 0%,
        rgba(255, 59, 48, 0.07) 24%,
        transparent 54%
    );
}

html[data-theme="light"] .agency-console__arrow,
html[data-theme="light"] .tariffs__arrow,
html[data-theme="light"] .analytics-lightbox__nav,
html[data-theme="light"] .analytics-lightbox__back {
    color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 26px rgba(53, 71, 94, 0.08);
}

html[data-theme="light"] .agency-console__dots,
html[data-theme="light"] .tariffs__dots {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 26px rgba(53, 71, 94, 0.06);
}

html[data-theme="light"] .agency-console__dot,
html[data-theme="light"] .tariffs__dot {
    background: rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] .agency-console__dot.is-active,
html[data-theme="light"] .tariffs__dot.is-active {
    background: var(--accent);
}

.telegram-note__video::-webkit-media-controls,
.telegram-note__video::-webkit-media-controls-enclosure,
.telegram-media__video::-webkit-media-controls,
.telegram-media__video::-webkit-media-controls-enclosure {
    display: none !important;
}

/* Skill/project cards */
html[data-theme="light"] .skill-card,
html[data-theme="light"] .project-card,
html[data-theme="light"] .contact__link-icon {
    background: rgba(245, 245, 245, 0.8);
}

html[data-theme="light"] .form__group input,
html[data-theme="light"] .form__group textarea {
    background: rgba(245, 245, 245, 0.8);
}

/* Disclaimer */
html[data-theme="light"] .disclaimer {
    border-top-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .disclaimer p,
html[data-theme="light"] .disclaimer__content p,
html[data-theme="light"] #disclaimerTypewriter {
    color: rgba(0, 0, 0, 0.25);
}

html[data-theme="light"] .disclaimer__date {
    color: rgba(0, 0, 0, 0.2) !important;
}

html[data-theme="light"] .disclaimer__list {
    color: rgba(0, 0, 0, 0.3) !important;
}

/* Footer */
html[data-theme="light"] .footer__legal p,
html[data-theme="light"] .footer__legal a {
    font-family: "Gilroy", "Inter", sans-serif;
    color: rgba(0, 0, 0, 0.45);
    font-weight: 300;
}

html[data-theme="light"] .footer__legal a:hover {
    color: rgba(0, 0, 0, 0.8);
}

/* Video player — keep dark */
html[data-theme="light"] .vp {
    background: #000;
}

/* Text wipe — dark color instead of white */
html[data-theme="light"] .text-wipe {
    background: linear-gradient(
        90deg,
        #1a1a1a 0%,
        #1a1a1a 50%,
        transparent 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
}

/* Mobile nav light */
@media (max-width: 768px) {
    html[data-theme="light"] .nav__links {
        background: #ffffff;
        border-color: rgba(0, 0, 0, 0.07);
        box-shadow:
            0 22px 62px rgba(24, 28, 36, 0.18),
            0 0 0 1px rgba(255, 255, 255, 0.78) inset,
            0 18px 42px rgba(255, 255, 255, 0.42) inset,
            0 0 34px rgba(255, 59, 48, 0.08);
    }

    html[data-theme="light"] .nav__links::before {
        display: none;
    }

    html[data-theme="light"] .nav__links::after {
        display: none;
    }

    html[data-theme="light"] .nav__mobile-toolbar {
        border-bottom-color: rgba(0, 0, 0, 0.075);
    }

    html[data-theme="light"] .nav__mobile-toolbar .theme-toggle,
    html[data-theme="light"] .nav__mobile-toolbar .theme-toggle--mobile,
    html[data-theme="light"] .nav__links .nav__link-icon {
        border-color: rgba(0, 0, 0, 0.07);
        background: #f4f4f4;
        color: rgba(0, 0, 0, 0.76);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.82) inset,
            0 -10px 22px rgba(0, 0, 0, 0.035) inset;
    }

    html[data-theme="light"] .nav__mobile-toolbar .theme-toggle::after,
    html[data-theme="light"] .nav__mobile-toolbar .theme-toggle--mobile::after {
        color: rgba(0, 0, 0, 0.72);
    }

    html[data-theme="light"] .nav__burger {
        border-color: rgba(0, 0, 0, 0.1);
        background: #ffffff;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    }

    html[data-theme="light"] .nav--menu-open .nav__burger {
        border-color: rgba(255, 59, 48, 0.24);
        background: #ffffff;
    }

    html[data-theme="light"] .nav__close {
        border-color: rgba(0, 0, 0, 0.14);
        color: rgba(0, 0, 0, 0.72);
    }

    html[data-theme="light"] .nav__close:hover {
        color: #111;
    }
}


/* Simon photo swap helpers (dark mode = default) */
.simon__photo .simon-photo--light {
    display: none;
}

.simon__photo .simon-photo--dark {
    display: block;
}

/* ===== Theme Toggle Button ===== */
.theme-toggle {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease;
    padding: 0;
    flex-shrink: 0;
    line-height: 0;
}

.theme-toggle:hover {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.theme-toggle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 23px;
    height: 23px;
    transform: translate(-50%, -50%) scale(0.94);
    fill: none;
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition:
        stroke 0.3s ease,
        transform 0.3s ease;
    display: block;
}

/* Sun icon hidden by default (dark mode shows moon) */
.theme-toggle .icon-sun {
    display: none;
    transform-origin: center center;
    animation:
        sunSpin 8s linear infinite,
        sunGlow 3s ease-in-out infinite;
}

.theme-toggle .icon-sun line {
    transform-box: fill-box;
    transform-origin: center center;
    stroke-dasharray: 2 0;
    animation: rayPulse 3s ease-in-out infinite;
}

/* Stagger each ray with a delay */
.theme-toggle .icon-sun line:nth-child(2) {
    animation-delay: 0s;
}
.theme-toggle .icon-sun line:nth-child(3) {
    animation-delay: 0.375s;
}
.theme-toggle .icon-sun line:nth-child(4) {
    animation-delay: 0.75s;
}
.theme-toggle .icon-sun line:nth-child(5) {
    animation-delay: 1.125s;
}
.theme-toggle .icon-sun line:nth-child(6) {
    animation-delay: 1.5s;
}
.theme-toggle .icon-sun line:nth-child(7) {
    animation-delay: 1.875s;
}
.theme-toggle .icon-sun line:nth-child(8) {
    animation-delay: 2.25s;
}
.theme-toggle .icon-sun line:nth-child(9) {
    animation-delay: 2.625s;
}

.theme-toggle .icon-moon {
    display: block;
    animation: moonGlow 3s ease-in-out infinite;
}

/* Keep theme icons on their own compositing layer during the radial reveal */
.theme-toggle--desktop .icon-moon,
.theme-toggle--desktop .icon-sun {
    will-change: transform, opacity;
}

.theme-toggle--desktop:hover .icon-moon {
    animation: moonGlow 3s ease-in-out infinite;
}

.theme-toggle--desktop:hover .icon-sun {
    animation:
        sunSpin 8s linear infinite,
        sunGlow 3s ease-in-out infinite;
}

/* Light mode: show sun, hide moon */
html[data-theme="light"] .theme-toggle {
    border-color: rgba(0, 0, 0, 0.14);
    background: transparent;
}

/* ===== Радиальная смена темы ===== */
html.theme-transitioning::view-transition-group(root) {
    animation-duration: 760ms;
}

html.theme-transitioning::view-transition-old(root),
html.theme-transitioning::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}

html.theme-transitioning::view-transition-new(root) {
    z-index: 2;
}

html.theme-transitioning::view-transition-old(root) {
    z-index: 1;
}

#theme-curtain {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    clip-path: circle(0 at var(--theme-x, 50%) var(--theme-y, 50%));
    transition:
        clip-path 760ms cubic-bezier(0.16, 1, 0.3, 1),
        opacity 220ms ease;
    will-change: clip-path, opacity;
}

#theme-curtain.is-active {
    opacity: 1;
    clip-path: circle(
        var(--theme-radius, 150vmax) at var(--theme-x, 50%) var(--theme-y, 50%)
    );
}

/* ===== Луна: мерцание в тёмной теме ===== */
@keyframes moonGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
        stroke: rgba(255, 255, 255, 0.7);
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9))
            drop-shadow(0 0 16px rgba(200, 220, 255, 0.5));
        stroke: rgba(255, 255, 255, 1);
    }
}

.theme-toggle .icon-moon {
    animation: moonGlow 3s ease-in-out infinite;
}

/* ===== Солнце: вращение + пульсация лучей ===== */
@keyframes sunSpin {
    from {
        transform: translate(-50%, -50%) scale(0.94) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) scale(0.94) rotate(360deg);
    }
}

@keyframes sunGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 3px rgba(255, 200, 50, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(255, 200, 50, 0.9))
            drop-shadow(0 0 16px rgba(255, 160, 0, 0.5));
    }
}

@keyframes rayPulse {
    0%,
    100% {
        stroke-dasharray: 1.5 0.5;
        stroke-width: 1.9;
        opacity: 0.6;
    }
    50% {
        stroke-dasharray: 2 0;
        stroke-width: 2.4;
        opacity: 1;
    }
}

/* ===== Звёздочки вокруг луны ===== */
.theme-toggle__star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
    opacity: 0;
}

.theme-toggle__star--1 {
    width: 2px;
    height: 2px;
    top: 8px;
    left: 10px;
    animation: starTwinkle 2.4s ease-in-out infinite 0s;
}
.theme-toggle__star--2 {
    width: 2px;
    height: 2px;
    top: 10px;
    right: 9px;
    animation: starTwinkle 2.1s ease-in-out infinite 0.7s;
}
.theme-toggle__star--3 {
    width: 3px;
    height: 3px;
    bottom: 9px;
    left: 12px;
    animation: starTwinkle 2.8s ease-in-out infinite 1.2s;
}
.theme-toggle__star--4 {
    width: 2px;
    height: 2px;
    bottom: 11px;
    right: 11px;
    animation: starTwinkle 1.9s ease-in-out infinite 0.4s;
}

@keyframes starTwinkle {
    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
    40%,
    60% {
        opacity: 0.9;
        transform: scale(1.2);
    }
}

/* В светлой теме звёздочки и анимация луны скрыты */
html[data-theme="light"] .theme-toggle__star {
    display: none;
}

html[data-theme="light"] .theme-toggle .icon-moon {
    animation: none;
}

html[data-theme="light"] .theme-toggle:hover {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

html[data-theme="light"] .theme-toggle svg {
    stroke: rgba(0, 0, 0, 0.6);
}

html[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
    animation:
        sunSpin 8s linear infinite,
        sunGlow 3s ease-in-out infinite;
}

html[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

/* ===== МОБИЛЬНАЯ ОПТИМИЗАЦИЯ И КРОССБРАУЗЕРНОСТЬ ===== */

/* --- iOS Safari фиксы --- */
html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

/* iOS Safari: fix 100vh */
.intro-screen {
    min-height: -webkit-fill-available;
}
/* hero больше не использует 100vh — фикс не нужен */

/* iOS Safari: fix для sticky/fixed */
.nav {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* --- Кроссбраузерные фиксы backdrop-filter --- */
.nav.scrolled,
.nav__links {
    -webkit-backdrop-filter: blur(20px);
}

/* --- GPU-ускорение для анимаций --- */
.reveal,
.hero__content,
.hero__visual,
.hero__photo,
.simon__left,
.simon__right,
.step-header-anim,
.split-char {
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* --- Touch-устройства: убираем hover эффекты --- */
@media (hover: none) and (pointer: coarse) {
    .glow-card::before {
        display: block !important;
        opacity: 1 !important;
        border-color: rgba(255, 59, 48, 0.88);
        box-shadow: inset 0 0 0 1px rgba(255, 59, 48, 0.18);
    }

    .glow-card::after {
        display: block !important;
        opacity: 0.75 !important;
        background: radial-gradient(
            360px circle at 50% 50%,
            rgba(255, 59, 48, 0.16) 0%,
            rgba(255, 59, 48, 0.05) 26%,
            transparent 56%
        );
    }

    .glow-card {
        box-shadow:
            0 16px 36px rgba(15, 23, 42, 0.1),
            0 4px 12px rgba(255, 59, 48, 0.07);
    }

    .review-card.glow-card::after,
    .faq-card.glow-card::after {
        display: none !important;
    }

    .review-card.glow-card::before,
    .faq-card.glow-card::before {
        box-shadow: inset 0 0 0 1px rgba(255, 59, 48, 0.18);
    }

    .review-card.glow-card,
    .faq-card.glow-card {
        box-shadow:
            0 14px 30px rgba(15, 23, 42, 0.08),
            0 4px 10px rgba(255, 59, 48, 0.06);
    }

    .review-card__video,
    .faq-card__video {
        border-bottom: 1px solid var(--card-line);
        box-shadow: inset 0 0 0 1px var(--card-line);
    }

    .review-card__video .vp,
    .faq-card__video .vp,
    .step-one__video,
    .step-one__video .vp {
        box-shadow: inset 0 0 0 1px var(--card-line);
    }

    .step-one__video {
        border-color: rgba(255, 59, 48, 0.76);
        box-shadow:
            0 0 0 1px rgba(255, 59, 48, 0.18),
            0 0 20px rgba(255, 59, 48, 0.16),
            0 0 48px rgba(255, 59, 48, 0.08);
    }

    .prod-content-btn,
    .reviews-more-btn {
        border-color: rgba(255, 59, 48, 0.94);
        box-shadow:
            0 0 0 1px rgba(255, 59, 48, 0.18),
            0 0 24px rgba(255, 59, 48, 0.24),
            0 0 64px rgba(255, 59, 48, 0.12);
    }

    .prod-content-btn::before,
    .reviews-more-btn::before {
        opacity: 1 !important;
    }

    .prod-content-btn::after,
    .reviews-more-btn::after {
        opacity: 0.82 !important;
    }

    .ks-embed__play-circle {
        width: 66px;
        height: 66px;
    }

    .ks-embed__play svg {
        width: 24px;
        height: 24px;
        margin-left: 3px;
    }

    .hero__btn-uiverse:hover,
    .tariff-card__btn:hover,
    .btn:hover {
        transform: none;
    }

    /* Увеличиваем кликабельные зоны */
    .nav__links a {
        padding: 12px 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .tariff-card__btn,
    .btn,
    .hero__btn-uiverse {
        min-height: 48px;
    }

    .theme-toggle {
        min-width: 44px;
        min-height: 44px;
    }
}

/* --- Улучшенные мобильные стили 480px --- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .intro-prod-frame {
        --intro-mask-size-x: 90%;
        --intro-media-position-y: 50%;
        --intro-media-scale: 1.02;
        --intro-media-stretch-x: 1.22;
        --intro-poster-stretch-x: 1.24;
        --intro-media-width: 123%;
        --intro-poster-width: 125%;
        --intro-media-left: -10%;
        --intro-poster-left: -11%;
        --intro-media-shift-x: 6%;
        --intro-poster-shift-x: 6%;
        width: 96vw;
        aspect-ratio: 3.85 / 1;
    }

    .intro-prod-text {
        font-size: clamp(3.45rem, 14.8vw, 5.35rem);
    }

    .intro-prod-poster,
    .intro-prod-video {
        object-position: 50% var(--intro-media-position-y);
    }

    .intro-subtitle {
        top: calc(50% + clamp(2.7rem, 11vw, 5.2rem));
        font-size: 0.72rem;
        letter-spacing: 3px;
    }

    .hero__container {
        padding: 0 16px;
        gap: 32px;
    }

    .hero__visual {
        padding-top: 40px;
    }

    .hero__photo-wrapper {
        max-width: min(90vw, 330px);
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }

    .hero__title-accent {
        font-size: inherit;
    }

    .simon__layout {
        gap: 16px;
    }

    .simon__photo {
        width: 100%;
    }

    .simon__photo picture img {
        border-radius: 16px;
    }

    .simon__bio {
        padding: 20px 16px;
    }

    .simon__stats {
        gap: 16px;
    }

    .section-arrow {
        width: 54px;
        height: 108px;
        margin: 10px auto 6px;
        position: relative;
        z-index: 2;
    }

    .section-arrow::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 108' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='27' y1='6' x2='27' y2='82' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23ff7a72' stop-opacity='0.14'/%3E%3Cstop offset='0.38' stop-color='%23ff5a52' stop-opacity='0.82'/%3E%3Cstop offset='1' stop-color='%23ff3b30'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M27 6V80' stroke='url(%23g)' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M15 68L27 80L39 68' stroke='%23ff3b30' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        filter: drop-shadow(0 0 12px rgba(255, 59, 48, 0.28))
            drop-shadow(0 0 24px rgba(255, 59, 48, 0.14));
    }

    .section-arrow::after {
        bottom: 8px;
        width: 62px;
        height: 46px;
        filter: blur(8px);
    }

    .step-one__badge,
    .step-two__badge,
    .step-three__badge,
    .step-four__badge {
        font-size: 1.04rem;
    }

    .step-one__title {
        font-size: 1.72rem;
    }

    .step-one__subtitle {
        font-size: 1rem;
    }

    .review-card__text,
    .faq-card__text {
        padding: 20px 16px;
    }

    .tariffs__grid {
        gap: 16px;
        padding: 0;
    }

    .tariff-card {
        padding: 22px 18px;
    }

    .tariff-card--featured {
        padding: 88px 18px 22px;
    }

    .tariff-card__badge {
        top: 14px;
        left: 18px;
        right: 18px;
        transform: none;
        min-width: 0;
        width: auto;
        padding: 9px 12px 10px;
        border-radius: 16px;
    }

    .tariff-card__price {
        font-size: clamp(1.9rem, 11vw, 2.2rem);
    }

    .tariff-card__title {
        font-size: 0.98rem;
        margin-bottom: 16px;
    }

    .tariff-card__price span {
        font-size: 0.95rem;
    }

    .tariff-card__features li {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .footer__inner {
        padding: 24px 16px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .disclaimer__content {
        padding: 0 16px;
    }
}

/* --- Очень маленькие экраны (320px) --- */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    .hero__container {
        padding: 0 12px;
    }

    .hero__title {
        font-size: 1.6rem;
    }

    .hero__photo-wrapper {
        max-width: min(92vw, 290px);
    }

    .nav__logo-text {
        font-size: 0.95rem;
    }

    .nav__links {
        width: min(290px, calc(100vw - 16px));
        padding-inline: 18px;
    }

    .tariff-card__title {
        font-size: 0.92rem;
    }

    .tariff-card__price {
        font-size: 1.7rem;
    }

    .tariff-card {
        padding: 20px 16px;
    }

    .tariff-card--featured {
        padding: 82px 16px 20px;
    }

    .tariff-card__badge {
        left: 16px;
        right: 16px;
    }

    .tariff-card__features li {
        font-size: 0.86rem;
    }

    .intro-prod-text {
        font-size: clamp(3.85rem, 18vw, 5.6rem);
        letter-spacing: 0.045em;
    }

    .intro-prod-frame {
        --intro-mask-size-x: 92%;
        --intro-media-scale: 1.03;
    }

    .intro-subtitle {
        font-size: 0.66rem;
        letter-spacing: 2.4px;
    }
}

/* --- Режим экономии анимаций --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Ландшафтная ориентация на телефонах --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 60px 0 40px;
    }

    .intro-screen {
        min-height: 100vh;
    }

    .hero__photo-wrapper {
        max-width: 200px;
    }

    .section {
        padding: 50px 0;
    }

    .intro-prod-frame {
        --intro-mask-size-x: 86.5%;
        --intro-media-position-y: 50%;
        --intro-media-scale: 0.98;
        --intro-media-stretch-x: 1.16;
        --intro-poster-stretch-x: 1.18;
        --intro-media-width: 115%;
        --intro-poster-width: 117%;
        --intro-media-left: -6%;
        --intro-poster-left: -7%;
        --intro-media-shift-x: 4%;
        --intro-poster-shift-x: 4%;
        width: min(84vw, 920px);
        aspect-ratio: 4.7 / 1;
    }

    .intro-prod-text {
        font-size: clamp(3.4rem, 12vw, 5.6rem);
    }

    .intro-subtitle {
        top: calc(50% + 3rem);
    }
}

/* --- Firefox specific --- */
@-moz-document url-prefix() {
    .hero__title-accent {
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

/* --- Плавный скролл на iOS --- */
@supports (-webkit-overflow-scrolling: touch) {
    .nav__links {
        -webkit-overflow-scrolling: touch;
    }
}

/* --- Безопасная зона (notch) для iPhone --- */
@supports (padding: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .nav {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    @media (max-width: 768px) {
        .nav__links {
            top: max(74px, calc(64px + env(safe-area-inset-top) + 10px));
        }
    }

    .hero__container {
        padding-left: max(32px, env(safe-area-inset-left));
        padding-right: max(32px, env(safe-area-inset-right));
    }
}

@media (max-width: 480px) {
    @supports (padding: env(safe-area-inset-bottom)) {
        .hero__container {
            padding-left: max(16px, env(safe-area-inset-left));
            padding-right: max(16px, env(safe-area-inset-right));
        }
    }
}

/* ===== April 2026 mobile/interaction pass ===== */
.simon__title,
.simon__title .split-char,
.simon__title .split-word,
.simon__title .split-space {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.simon__title .split-char,
.simon__title .split-space {
    display: inline;
}

.simon__title-line {
    display: inline-block;
}

.simon__layout {
    align-items: stretch;
}

.simon__story {
    position: relative;
    min-height: 620px;
    border: 1px solid var(--card-line);
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.16),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.015)
        ),
        var(--card-surface);
}

.simon__story-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.simon__story-face,
.simon__story-bio-panel {
    position: absolute;
    inset: 0;
    transition:
        opacity 0.5s ease,
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.5s ease;
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.simon__story-face {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.simon__story-face picture,
.simon__story-face picture img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.simon__story-face picture img {
    display: block;
    object-fit: cover;
    object-position: center 18%;
}

.simon__story-overlay {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    z-index: 2;
}

/* ===== Story card entrance animation ===== */
[data-story-card] .simon__story-face {
    opacity: 0;
    transform: scale(1.04);
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-story-card].sc-photo-in .simon__story-face {
    opacity: 1;
    transform: scale(1);
}

[data-story-card] .simon__story-overlay {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-story-card].sc-badge-in .simon__story-overlay {
    opacity: 1;
    transform: translateY(0);
}

.simon__story-badge,
.simon__story-toggle,
.simon__story-nav {
    background: rgba(12, 15, 21, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.simon__story-badge {
    max-width: 280px;
    padding: 16px 18px;
    border-radius: 22px;
}

.simon__story-badge strong,
.simon__story-bio-head h3 {
    display: block;
    font-family: "Inter", sans-serif;
    font-weight: 900;
    color: #fff;
}

.simon__story-badge strong {
    font-size: 1rem;
}

.simon__story-badge span,
.simon__story-kicker {
    display: block;
    margin-top: 6px;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.simon__story-toggle,
.simon__story-nav {
    min-height: 58px;
    border-radius: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease;
}

.simon__story.is-switching .simon__story-toggle,
.simon__story.is-switching .simon__story-nav {
    pointer-events: none;
}

.simon__story-toggle:hover,
.simon__story-nav:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 74, 0.4);
    background: rgba(18, 24, 32, 0.56);
}

.simon__story-toggle svg,
.simon__story-nav svg,
.telegram-reviews__mobile-back svg,
.agency-console__arrow svg,
.tariffs__arrow svg,
.analytics-lightbox__back svg,
.analytics-lightbox__nav svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.simon__story-bio-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    padding: 34px 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(42px) scale(0.98);
    background:
        linear-gradient(180deg, rgba(10, 14, 20, 0.92), rgba(10, 14, 20, 0.84)),
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.16),
            transparent 35%
        );
}

.simon__bio-kicker {
    margin-bottom: 10px;
}

.simon__story-bio-head h3 {
    margin-top: 10px;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    line-height: 1.12;
}

.simon__story-bio-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.simon__story-bio-copy {
    display: grid;
    gap: 16px;
}

.simon__story-bio-copy p {
    margin: 0;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 1.02rem;
    line-height: 1.66;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.84);
}

.simon__story-nav--ghost {
    background: transparent;
    box-shadow: none;
}

[data-profile-state="bio"] .simon__story-face {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-42px) scale(0.98);
}

[data-profile-state="bio"] .simon__story-bio-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

@media (min-width: 769px) {
    .simon__left {
        display: flex;
    }

    .simon__bio {
        height: 100%;
    }

    .simon__story {
        height: 100%;
    }

    .simon__story-stage {
        height: 100%;
        min-height: 100%;
    }

    .simon__story-face {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .simon__story-bio-panel {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(42px) scale(0.98) !important;
    }
}

.agency-console {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.agency-console__topbar {
    display: none;
}

.agency-console__label {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.56);
}

.agency-console__topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.agency-console__topbar-actions span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.agency-console__viewport {
    position: relative;
    min-height: auto;
}

.agency-console__stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    min-height: auto;
}

.agency-console__card {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    padding: 28px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.12),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        ),
        #101117;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
    --glow-radius: 26px;
}

.agency-console__card.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    z-index: auto;
}

.agency-console__card.is-prev {
    opacity: 1;
    transform: none;
    z-index: auto;
}

.agency-console__card.is-next {
    opacity: 1;
    transform: none;
    z-index: auto;
}

.agency-console__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    color: #ff7a5f;
}

.agency-console__title {
    max-width: 18ch;
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    line-height: 1.2;
    font-weight: 900;
    color: #fff;
    text-align: left;
}

.agency-console__text {
    max-width: 100%;
    margin: 0;
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.95rem;
    line-height: 1.68;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
    text-align: left;
}

/* Скрываем навигацию слайдера на десктопе */
.agency-console__controls {
    display: none;
    gap: 14px;
    margin-top: 24px;
}

.agency-console__arrow,
.tariffs__arrow,
.telegram-reviews__mobile-back,
.analytics-lightbox__nav {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease;
}

.agency-console__arrow:hover,
.tariffs__arrow:hover,
.telegram-reviews__mobile-back:hover,
.analytics-lightbox__nav:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 74, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.agency-console__dots,
.tariffs__dots {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.agency-console__dot,
.tariffs__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    transition:
        transform 0.28s ease,
        background 0.28s ease;
}

.agency-console__dot.is-active,
.tariffs__dot.is-active {
    background: var(--accent);
    transform: scale(1.18);
}

.prod-content-btn,
.reviews-more-btn {
    width: fit-content;
    max-width: 100%;
    min-height: 58px;
    margin-top: 26px;
    padding: 0 24px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.prod-content-btn::before,
.prod-content-btn::after,
.reviews-more-btn::before,
.reviews-more-btn::after {
    border-radius: 999px;
}

.analytics-gallery__item {
    padding: 0;
    cursor: pointer;
}

.analytics-lightbox__viewer-panel[hidden] {
    display: none;
}

.analytics-lightbox__panel[hidden] {
    display: none;
}

.analytics-lightbox__viewer-panel {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.analytics-lightbox__back {
    align-self: flex-start;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.analytics-lightbox__viewer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.analytics-lightbox__figure {
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 14, 0.95);
}

.analytics-lightbox__image {
    display: block;
    width: 100%;
    max-height: min(76vh, 980px);
    object-fit: contain;
}

.telegram-reviews__mobile-back {
    display: none;
    flex-shrink: 0;
    transition:
        transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.2s ease;
}

.telegram-reviews__mobile-back:hover {
    transform: translateX(-3px) !important;
}

.telegram-reviews__contact [data-review-status] {
    display: none;
}

.tariffs__carousel {
    position: relative;
}

.tariffs__arrow {
    display: none;
}

.tariffs__viewport {
    width: 100%;
}

.tariffs__mobile-nav {
    display: none;
}

.disclaimer {
    padding: 62px 0 26px;
}

.footer {
    padding: 26px 0 44px;
}

.footer__legal {
    gap: 12px;
}

.footer__legal p {
    max-width: 36ch;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .simon__layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .simon__story {
        order: -1;
    }

    .simon__story {
        min-height: 520px;
    }

    .agency-console__viewport {
        min-height: 400px;
    }

    .analytics-lightbox__viewer {
        grid-template-columns: 1fr;
    }

    .analytics-lightbox__nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .simon {
        padding: 72px 0 42px;
    }

    .simon__left {
        /* display: none removed */
    }

    .simon__title {
        margin-bottom: 20px;
        line-height: 1.18;
    }

    .simon__info-card {
        padding: 24px 20px;
    }

    .simon__story {
        min-height: var(--profile-panel-height, 0px);
        border-radius: 24px;
        overflow: hidden;
    }

    .simon__story-stage {
        min-height: var(--profile-panel-height, 0px);
    }

    .simon__story-face,
    .simon__story-bio-panel {
        position: relative;
        inset: auto;
        transform: none;
        transition: opacity 0.28s ease;
    }

    .simon__story-face {
        min-height: var(--profile-panel-height, 450px);
        overflow: hidden;
        border-radius: inherit;
    }

    .simon__story-face picture,
    .simon__story-face picture img {
        border-radius: inherit;
    }

    .simon__story-overlay {
        right: 16px;
        bottom: 16px;
        left: 16px;
        gap: 10px;
    }

    .simon__story-badge {
        padding: 14px 15px;
        border-radius: 18px;
    }

    .simon__story-toggle,
    .simon__story-nav {
        display: inline-flex;
    }

    .simon__story-bio-panel {
        display: none;
        min-height: var(--profile-panel-height, 0px);
        padding: 24px 20px;
        gap: 20px;
    }

    .simon__story-bio-copy {
        gap: 14px;
    }

    .simon__story-bio-copy p {
        font-size: 0.95rem;
        line-height: 1.62;
    }

    .agency-console {
        padding: 0;
        border-radius: 0;
        background: none;
        border: none;
    }

    .agency-console__viewport {
        min-height: auto;
    }

    .agency-console__stack {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 8px;
    }

    .agency-console__card {
        flex: 0 0 80vw;
        max-width: 320px;
        scroll-snap-align: start;
        padding: 24px 20px;
        border-radius: 22px;
        justify-content: flex-start;
        opacity: 1;
        transform: none;
    }

    .agency-console__title {
        max-width: none;
        font-size: 1.2rem;
    }

    .agency-console__text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .prod-content-btn,
    .reviews-more-btn {
        min-height: 52px;
        padding: 0 20px;
        font-size: 0.88rem;
    }

    .reviews-more-btn {
        padding-inline: 26px;
        font-weight: 400;
    }

    .telegram-reviews {
        position: relative;
        min-height: auto;
        overflow: hidden;
    }

    .telegram-reviews:not(.is-thread-open) {
        display: block;
        height: auto;
    }

    .telegram-reviews__sidebar {
        min-height: auto;
        border-bottom: 0;
        align-self: start;
    }

    .telegram-reviews:not(.is-thread-open) .telegram-reviews__sidebar {
        display: block;
        height: auto;
    }

    .telegram-reviews__chat-list {
        padding-bottom: 18px;
    }

    .telegram-reviews:not(.is-thread-open) .telegram-reviews__chat-list {
        overflow: visible;
    }

    .telegram-reviews__main {
        display: none;
        grid-template-rows: auto minmax(0, 1fr) auto;
        background: #0d141e;
    }

    .telegram-reviews:not(.is-thread-open) .telegram-reviews__main {
        display: none;
    }

    .telegram-reviews.is-thread-open .telegram-reviews__main {
        display: grid;
        width: 100%;
        height: 100%;
        position: relative;
        opacity: 1;
        pointer-events: auto;
    }

    .telegram-reviews.is-thread-open .telegram-reviews__header {
        position: relative;
        z-index: 2;
    }

    .telegram-reviews.is-thread-open .telegram-reviews__body {
        min-height: 0;
        overflow: hidden;
        background:
            linear-gradient(
                180deg,
                rgba(10, 16, 24, 0.98),
                rgba(10, 16, 24, 1)
            ),
            #0d141e;
    }

    .telegram-reviews.is-thread-open .telegram-thread {
        height: 100%;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-bottom: 26px;
    }

    .telegram-reviews.is-thread-open {
        display: block;
        overflow: hidden;
    }

    .telegram-reviews.is-thread-open .telegram-reviews__sidebar {
        display: none;
    }

    .telegram-reviews__header {
        justify-content: flex-start;
        gap: 10px;
    }

    .telegram-reviews__header-actions {
        margin-left: auto;
    }

    .telegram-reviews__mobile-back {
        display: inline-flex;
    }

    .tariffs {
        padding: 46px 0 84px;
    }

    .tariffs__carousel {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        align-items: center;
        gap: 10px;
    }

    .tariffs__arrow {
        display: inline-flex;
    }

    .tariffs__viewport {
        overflow: hidden;
        padding-bottom: 24px;
        margin-bottom: -24px;
    }

    .tariffs__grid {
        display: flex;
        gap: 0;
        max-width: none;
        margin: 0;
        transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .tariff-card {
        min-width: 100%;
        flex: 0 0 100%;
    }

    .tariffs__mobile-nav {
        display: flex;
    }

    .disclaimer {
        padding: 48px 0 18px;
    }

    .disclaimer .container,
    .disclaimer__content {
        text-align: left;
    }

    .disclaimer__title {
        margin-bottom: 12px;
        letter-spacing: 0.16em;
    }

    #disclaimerTypewriter,
    .disclaimer__date {
        max-width: none;
    }

    .footer {
        padding: 18px 0 34px;
    }

    .footer__legal {
        align-items: flex-start;
        text-align: left;
    }

    .footer__legal p {
        max-width: none;
        font-size: 0.84rem;
        letter-spacing: 0.03em;
    }

    [data-profile-state="photo"] .simon__story-face {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    [data-profile-state="photo"] .simon__story-bio-panel {
        display: none;
    }

    [data-profile-state="bio"] .simon__story-face {
        display: none;
    }

    [data-profile-state="bio"] .simon__story-bio-panel {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .simon__title {
        font-size: 1.84rem;
        text-wrap: balance;
    }

    .simon__story-face picture img {
        object-position: center 14%;
    }

    .simon__story-overlay {
        align-items: stretch;
    }

    .simon__story-badge {
        max-width: none;
    }

    .simon__story-toggle,
    .simon__story-nav {
        display: inline-flex;
        min-width: 56px;
        min-height: 56px;
        padding: 0 14px;
        border-radius: 16px;
    }

    .simon__story-toggle span,
    .simon__story-nav span {
        display: none;
    }

    .agency-console {
        padding: 14px;
    }

    .agency-console__viewport {
        min-height: 334px;
    }

    .agency-console__card {
        padding: 20px 16px;
    }

    .agency-console__controls {
        gap: 10px;
        margin-top: 18px;
    }

    .agency-console__arrow,
    .tariffs__arrow,
    .telegram-reviews__mobile-back {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .prod-content-btn,
    .reviews-more-btn {
        margin-top: 18px;
        font-size: 0.84rem;
    }

    .reviews-more-btn {
        padding-inline: 22px;
    }

    .telegram-reviews {
        min-height: auto;
    }

    .telegram-reviews:not(.is-thread-open) {
        display: block;
        height: auto;
    }

    .telegram-reviews__sidebar {
        min-height: auto;
        align-self: start;
    }

    .telegram-reviews:not(.is-thread-open) .telegram-reviews__sidebar {
        display: block;
        height: auto;
    }

    .telegram-reviews__sidebar-top {
        padding-top: 16px;
    }

    .telegram-reviews__header,
    .telegram-reviews__body,
    .telegram-reviews__composer {
        padding-left: 12px;
        padding-right: 12px;
    }

    .telegram-reviews__body {
        padding-top: 14px;
    }

    .telegram-reviews.is-thread-open .telegram-reviews__main {
        width: 100%;
        height: 100%;
        background: #0d141e;
    }

    .telegram-reviews.is-thread-open .telegram-reviews__body {
        min-height: 0;
        overflow: hidden;
    }

    .telegram-reviews:not(.is-thread-open) .telegram-reviews__chat-list {
        overflow: visible;
    }

    .telegram-reviews:not(.is-thread-open) .telegram-reviews__main {
        display: none;
    }

    .telegram-reviews.is-thread-open .telegram-reviews__main {
        display: grid;
    }

    .telegram-reviews.is-thread-open {
        display: block;
        overflow: hidden;
    }

    .telegram-reviews.is-thread-open .telegram-reviews__sidebar {
        display: none;
    }

    .telegram-message__bubble p {
        padding-right: 54px;
        font-size: 0.9rem;
        line-height: 1.48;
    }

    .telegram-message__bubble {
        padding: 10px 12px 8px;
        border-radius: 16px;
    }

    .telegram-message {
        gap: 8px;
    }

    .telegram-message__avatar {
        width: 34px;
        height: 34px;
    }

    .telegram-note {
        width: min(100%, 178px);
    }

    .tariffs__carousel {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 8px;
    }

    .tariff-card {
        padding: 22px 18px;
    }

    .tariff-card--featured {
        padding: 84px 18px 22px;
    }

    .analytics-lightbox__back {
        min-height: 48px;
        padding: 0 16px;
        border-radius: 16px;
    }

    .analytics-lightbox__image {
        max-height: 72vh;
    }
}

.step-one {
    padding-bottom: 78px;
}

.section {
    scroll-margin-top: 64px;
}

.section-arrow {
    margin: -6px auto 2px;
}

.step-two {
    padding-top: 74px;
}

.reviews-more-btn span {
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.tariff-card.scroll-reveal {
    transform: scale(0.94);
}

.tariff-card.scroll-reveal.visible {
    transform: scale(1);
}

@media (max-width: 768px) {
    .section-arrow {
        width: 46px;
        height: 88px;
        margin: -4px auto -2px;
    }

    .step-one {
        padding-top: 52px;
        padding-bottom: 58px;
    }

    .step-two {
        padding-top: 52px;
    }
}

/* --- Оптимизация шрифтов --- */
@font-face {
    font-family: "ClashGrotesk";
    font-display: swap;
}

@font-face {
    font-family: "ClashDisplay";
    font-display: swap;
}

@font-face {
    font-family: "Satoshi";
    font-display: swap;
}

/* ===== Light theme fixes ===== */
html[data-theme="light"] .agency-console {
    border-color: transparent;
    background: none;
    box-shadow: none;
}

html[data-theme="light"] .agency-console__card {
    border-color: rgba(18, 22, 30, 0.08);
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.08),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.96),
            rgba(239, 244, 250, 0.9)
        );
    box-shadow: 0 18px 42px rgba(53, 71, 94, 0.08);
}

html[data-theme="light"] .agency-console__card.is-prev,
html[data-theme="light"] .agency-console__card.is-next {
    box-shadow: 0 10px 24px rgba(53, 71, 94, 0.05);
}

html[data-theme="light"] .agency-console__eyebrow {
    border-color: rgba(18, 22, 30, 0.08);
    background: rgba(18, 22, 30, 0.03);
    color: #e2573e;
}

html[data-theme="light"] .agency-console__title {
    color: #1a1a1a;
}

html[data-theme="light"] .agency-console__text {
    color: rgba(18, 22, 30, 0.68);
}

html[data-theme="light"] .telegram-reviews__mobile-back,
html[data-theme="light"] .agency-console__arrow,
html[data-theme="light"] .tariffs__arrow {
    color: #1a1a1a;
    border-color: rgba(18, 22, 30, 0.1);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 30px rgba(53, 71, 94, 0.1);
}

html[data-theme="light"] .telegram-reviews__mobile-back svg,
html[data-theme="light"] .agency-console__arrow svg,
html[data-theme="light"] .tariffs__arrow svg {
    stroke: #1a1a1a;
}

html[data-theme="light"] .agency-console__dots,
html[data-theme="light"] .tariffs__dots {
    background: rgba(18, 22, 30, 0.05);
    border-color: rgba(18, 22, 30, 0.08);
    box-shadow: 0 12px 24px rgba(53, 71, 94, 0.06);
}

html[data-theme="light"] .agency-console__dot,
html[data-theme="light"] .tariffs__dot {
    background: rgba(18, 22, 30, 0.26);
}

html[data-theme="light"] .agency-console__dot.is-active,
html[data-theme="light"] .tariffs__dot.is-active {
    background: var(--accent);
}

html[data-theme="light"] .telegram-reviews {
    overflow: hidden;
}

html[data-theme="light"] .telegram-reviews__body {
    overflow: visible;
    padding-left: 20px;
    padding-right: 20px;
}

html[data-theme="light"] .telegram-thread {
    padding-left: 12px;
    padding-right: 12px;
}

html[data-theme="light"] .telegram-message {
    padding-left: 4px;
    padding-right: 4px;
}

html[data-theme="light"] .telegram-chat-preview__avatar,
html[data-theme="light"] .telegram-reviews__contact-avatar,
html[data-theme="light"] .telegram-message__avatar {
    box-shadow: 0 14px 28px rgba(53, 71, 94, 0.12);
    isolation: isolate;
}

html[data-theme="light"] .telegram-chat-preview__avatar img,
html[data-theme="light"] .telegram-reviews__contact-avatar img,
html[data-theme="light"] .telegram-message__avatar img {
    border-radius: 50%;
}

html[data-theme="light"] .telegram-message__bubble,
html[data-theme="light"] .telegram-media,
html[data-theme="light"] .telegram-audio,
html[data-theme="light"] .telegram-note {
    box-shadow: 0 18px 38px rgba(53, 71, 94, 0.1);
}

html[data-theme="light"] .telegram-note-wrap,
html[data-theme="light"] .telegram-media-wrap,
html[data-theme="light"] .telegram-audio-wrap {
    display: inline-flex;
    align-items: flex-start;
    width: fit-content;
    max-width: min(100%, 36rem);
}

html[data-theme="light"] .telegram-media,
html[data-theme="light"] .telegram-audio {
    width: auto;
    max-width: min(100%, 36rem);
}

html[data-theme="light"] .telegram-message__media-time {
    align-self: flex-end;
    width: auto;
    padding-right: 2px;
}

html[data-theme="light"] .telegram-media__controls {
    gap: 10px;
}

html[data-theme="light"] .telegram-media__time {
    flex-shrink: 0;
}

html[data-theme="light"] .tariff-card {
    --glow-radius: 28px;
    overflow: hidden;
    isolation: isolate;
}

html[data-theme="light"] .tariff-card--light {
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 107, 74, 0.1),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.94),
            rgba(246, 248, 252, 0.9)
        );
    border-color: rgba(18, 22, 30, 0.08);
    box-shadow: 0 24px 54px rgba(53, 71, 94, 0.1);
}

html[data-theme="light"] .tariff-card--light .tariff-card__divider span,
html[data-theme="light"] .tariff-card--light .tariff-card__price span {
    color: rgba(18, 22, 30, 0.5);
}

html[data-theme="light"] .tariff-card--light .tariff-card__features li,
html[data-theme="light"] .tariff-card--light .tariff-card__features a {
    color: rgba(18, 22, 30, 0.82);
}

html[data-theme="light"] .tariff-card--light .tariff-card__features li::before {
    background: rgba(255, 59, 48, 0.16);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%23161a22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html[data-theme="light"] .tariff-card.glow-card::before {
    border-radius: 28px;
}

html[data-theme="light"] .tariff-card.glow-card::after {
    border-radius: 28px;
    background: radial-gradient(
        360px circle at var(--mx) var(--my),
        rgba(255, 59, 48, 0.16) 0%,
        rgba(255, 59, 48, 0.08) 24%,
        transparent 58%
    );
}

@media (max-width: 768px) {
    html[data-theme="light"]
        .telegram-reviews.is-thread-open
        .telegram-reviews__main {
        background: #edf4fb;
    }

    html[data-theme="light"] .telegram-reviews__body {
        padding-left: 14px;
        padding-right: 14px;
    }

    html[data-theme="light"]
        .telegram-reviews.is-thread-open
        .telegram-reviews__body {
        overflow: hidden;
        background:
            linear-gradient(
                180deg,
                rgba(237, 244, 251, 0.98),
                rgba(231, 239, 248, 1)
            ),
            #edf4fb;
    }

    html[data-theme="light"] .telegram-thread {
        padding-left: 8px;
        padding-right: 8px;
    }

    html[data-theme="light"] .telegram-reviews.is-thread-open .telegram-thread {
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    html[data-theme="light"] .telegram-media-wrap,
    html[data-theme="light"] .telegram-audio-wrap {
        max-width: min(calc(100vw - 92px), 36rem);
    }

    html[data-theme="light"] .telegram-media,
    html[data-theme="light"] .telegram-audio {
        width: min(calc(100vw - 92px), 36rem);
    }
}

/* ══════════════════════════════════════════════════════════════
   CINEMATIC GALLERY OVERLAY
   ══════════════════════════════════════════════════════════════ */

/* ── Base overlay ─────────────────────────────────────────────── */
.cg-overlay {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* No solid background — page shows through blurred */
}

/* ── Blurred page background — integrated feel ────────────────── */
.cg-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* Blur + darken the page behind */
    background: rgba(4, 4, 6, 0.72);
    -webkit-backdrop-filter: blur(28px) saturate(0.6);
    backdrop-filter: blur(28px) saturate(0.6);
}

/* ── Page shake layer (zooms/shakes during montage) ───────────── */
/* Sits above bg but below burst — gives "world zooms in" feel    */
.cg-page-shake {
    position: absolute;
    inset: -10%; /* oversized so zoom doesn't show edges */
    z-index: 1;
    background: rgba(4, 4, 6, 0); /* transparent — just a transform target */
    transform-origin: center center;
    will-change: transform;
    pointer-events: none;
}

/* ── Energy burst ─────────────────────────────────────────────── */
.cg-burst-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cg-energy-ring {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 59, 48, 0.95) 0%,
        rgba(255, 120, 50, 0.65) 40%,
        transparent 70%
    );
    box-shadow:
        0 0 40px rgba(255, 59, 48, 0.85),
        0 0 90px rgba(255, 59, 48, 0.4),
        0 0 180px rgba(255, 100, 50, 0.2);
    transform-origin: center;
}

.cg-rays-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cg-ray {
    position: absolute;
    width: 2px;
    height: 52vh;
    bottom: 50%;
    left: calc(50% - 1px);
    background: linear-gradient(to top, rgba(255, 59, 48, 0.65), transparent);
    transform-origin: center bottom;
    border-radius: 2px;
}

.cg-particles-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cg-particle {
    position: absolute;
    border-radius: 50%;
    background: #ff3b30;
    box-shadow: 0 0 6px rgba(255, 59, 48, 0.9);
    transform: translate(-50%, -50%);
}

/* ── Montage stage ────────────────────────────────────────────── */
.cg-montage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.cg-shake-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cg-hero-wrap {
    position: relative;
    width: min(74vw, 920px);
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.07),
        0 40px 120px rgba(0, 0, 0, 0.85),
        0 0 80px rgba(255, 59, 48, 0.1);
}

.cg-hero-img,
.cg-hero-img-b {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cg-hero-img {
    z-index: 1;
}
.cg-hero-img-b {
    z-index: 2;
}

/* Film grain */
.cg-grain {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    mix-blend-mode: overlay;
    animation: cgGrainShift 0.08s steps(1) infinite;
}

@keyframes cgGrainShift {
    0% {
        background-position: 0 0;
    }
    25% {
        background-position: -28px 14px;
    }
    50% {
        background-position: 18px -10px;
    }
    75% {
        background-position: -14px 22px;
    }
    100% {
        background-position: 10px -18px;
    }
}

/* Vignette */
.cg-vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        transparent 38%,
        rgba(0, 0, 0, 0.45) 72%,
        rgba(0, 0, 0, 0.82) 100%
    );
}

/* Flicker on fast cuts */
.cg-flicker {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    mix-blend-mode: overlay;
}

/* Full-screen flash */
.cg-flash {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    background: #fff;
    opacity: 0;
}

/* ── Gallery grid ─────────────────────────────────────────────── */
.cg-grid {
    position: absolute;
    inset: 0;
    z-index: 8;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 80px 32px 56px;
    /* Slightly darker than the bg layer — still feels integrated */
    background: rgba(4, 4, 6, 0.55);
    -webkit-overflow-scrolling: touch;
}

.cg-grid-header {
    text-align: center;
    margin-bottom: 36px;
}

.cg-grid-eyebrow {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #ff3b30;
    margin-bottom: 10px;
}

.cg-grid-title {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.cg-grid-sub {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.38);
    margin: 0;
}

.cg-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ── Cards ────────────────────────────────────────────────────── */
.cg-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    will-change: transform;
}

.cg-card:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 59, 48, 0.32),
        0 0 28px rgba(255, 59, 48, 0.1);
    border-color: rgba(255, 59, 48, 0.22);
    z-index: 2;
}

.cg-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cg-card:hover img {
    transform: scale(1.07);
}

.cg-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.28s ease;
    display: flex;
    align-items: flex-end;
    padding: 10px 12px;
}

.cg-card:hover .cg-card-overlay {
    opacity: 1;
}

.cg-card-overlay span {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.04em;
}

/* ── Close button ─────────────────────────────────────────────── */
.cg-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 300000;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 10, 14, 0.55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.25s ease;
}

.cg-close:hover {
    background: rgba(255, 59, 48, 0.2);
    border-color: rgba(255, 59, 48, 0.45);
    transform: scale(1.1) rotate(90deg);
}

.cg-close svg {
    width: 17px;
    height: 17px;
}

/* ── Fullscreen viewer ────────────────────────────────────────── */
.cg-fullscreen {
    position: absolute;
    inset: 0;
    z-index: 400000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cg-fs-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: zoom-out;
}

.cg-fs-img {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9);
    display: block;
}

.cg-fs-caption {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cg-fs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 14, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cg-fs-nav:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-50%) scale(1.1);
}

.cg-fs-prev {
    left: 18px;
}
.cg-fs-next {
    right: 18px;
}
.cg-fs-nav svg {
    width: 20px;
    height: 20px;
}

.cg-fs-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 14, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.cg-fs-close:hover {
    background: rgba(255, 59, 48, 0.22);
    transform: scale(1.1) rotate(90deg);
}

.cg-fs-close svg {
    width: 15px;
    height: 15px;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .cg-hero-wrap {
        width: 96vw;
    }

    .cg-grid {
        padding: 68px 14px 40px;
    }

    .cg-grid-inner {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 7px;
    }

    .cg-fs-prev {
        left: 6px;
    }
    .cg-fs-next {
        right: 6px;
    }
    .cg-fs-nav {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .cg-grid-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}

/* Nav icon links — fixed widths to prevent layout shift */
/* Width = approximate rendered width of the text label */
.nav__links li:nth-child(2) .nav__link-icon {
    min-width: 5.8em;
} /* Главная */
.nav__links li:nth-child(3) .nav__link-icon {
    min-width: 7.2em;
} /* Агентство */
.nav__links li:nth-child(4) .nav__link-icon {
    min-width: 7.4em;
} /* Портфолио */
.nav__links li:nth-child(5) .nav__link-icon {
    min-width: 5.4em;
} /* Подход */
.nav__links li:nth-child(6) .nav__link-icon {
    min-width: 4.8em;
} /* Услуги */

/* Light theme label color */
html[data-theme="light"] .nav__link-label {
    color: rgba(0, 0, 0, 0.85);
}
html[data-theme="light"] .nav__link-icon:hover .nav__link-label {
    color: #1a1a1a;
}

/* Mobile: always show label, hide icon */
@media (max-width: 768px) {
    .nav__link-ico {
        display: none;
    }
    .nav__link-label {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }
    .nav__link-icon:hover .nav__link-ico {
        transform: none;
    }
    .nav__link-icon:hover .nav__link-label {
        transform: none;
    }
}

/* ===== Mobile viewport hardening ===== */
html {
    scroll-padding-top: 88px;
}

section[id],
.footer[id] {
    scroll-margin-top: 88px;
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
    }

    html {
        scroll-padding-top: 96px;
    }

    section[id],
    .footer[id] {
        scroll-margin-top: 96px;
    }

    .section,
    .step-four,
    .tariffs {
        overflow-x: clip;
    }

    .step-four,
    .tariffs {
        padding-top: clamp(58px, 12vw, 82px);
        padding-bottom: clamp(62px, 14vw, 88px);
    }

    .pricing-cards,
    .tariffs__grid-static {
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px;
        margin-left: 0;
        margin-right: 0;
    }

    .pricing-card,
    .tariff-card-new {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: clamp(20px, 5.4vw, 26px) !important;
        border-radius: 22px;
        gap: 12px;
        overflow: hidden;
    }

    .pricing-card > *,
    .tariff-card-new > * {
        position: relative;
        z-index: 1;
        max-width: 100%;
        min-width: 0;
    }

    .pricing-card.glow-card::before,
    .tariff-card-new.glow-card::before {
        box-shadow:
            inset 0 0 0 1px rgba(255, 59, 48, 0.55),
            inset 0 0 0 2px rgba(255, 59, 48, 0.08) !important;
    }

    .pricing-card.glow-card::after,
    .tariff-card-new.glow-card::after {
        opacity: 0.35 !important;
    }

    .pricing-card__popular,
    .pricing-card__eyebrow,
    .tariff-card-new__eyebrow,
    .tariff-card-new__badge {
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
        line-height: 1.18;
        letter-spacing: 0.1em;
    }

    .pricing-card__popular {
        position: static;
        order: -2;
        margin-bottom: 2px;
    }

    .pricing-card__eyebrow {
        order: -1;
    }

    .tariff-card-new__top-row {
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
    }

    .tariff-card-new__badge {
        flex: 0 1 auto;
    }

    .pricing-card__title,
    .tariff-card-new__title {
        font-size: clamp(1.08rem, 5vw, 1.32rem);
        line-height: 1.22;
        overflow-wrap: anywhere;
        text-wrap: balance;
    }

    .pricing-card__text,
    .tariff-card-new__list li,
    .pricing-note,
    .footer__tagline,
    .footer__bottom p {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .pricing-card__text {
        font-size: clamp(0.92rem, 4.1vw, 1rem);
        line-height: 1.58;
    }

    .tariff-card-new__list {
        gap: 8px;
    }

    .tariff-card-new__list li {
        font-size: clamp(0.9rem, 4vw, 0.98rem);
        line-height: 1.52;
        padding-left: 14px;
    }

    .pricing-card__btn,
    .tariff-card-new__btn {
        width: 100%;
        max-width: 100%;
        min-height: 46px;
        padding: 12px 14px;
        white-space: normal;
        line-height: 1.22;
        text-align: center;
    }

    .pricing-note {
        padding-inline: 2px;
        text-align: left;
        font-size: clamp(0.9rem, 4vw, 0.98rem);
        line-height: 1.5;
    }

    .footer {
        padding: 30px 0 max(34px, env(safe-area-inset-bottom));
        overflow: hidden;
    }

    .footer__main {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        margin-bottom: 22px;
        text-align: center;
    }

    .footer__brand {
        align-items: center;
    }

    .footer__tagline {
        max-width: 30ch;
        margin-inline: auto;
        line-height: 1.45;
    }

    .footer__nav {
        justify-content: center;
        gap: 8px 14px;
        max-width: 34ch;
        margin-inline: auto;
    }

    .footer__bottom {
        padding-top: 18px;
    }

    .footer__bottom p {
        max-width: 36ch;
        margin-inline: auto;
        text-align: center;
        line-height: 1.45;
    }
}

@media (max-width: 390px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .pricing-card,
    .tariff-card-new {
        padding: 18px 16px !important;
        border-radius: 20px;
    }

    .pricing-card__eyebrow,
    .tariff-card-new__eyebrow,
    .tariff-card-new__badge,
    .pricing-card__popular {
        font-size: 0.64rem;
        letter-spacing: 0.08em;
        padding-inline: 10px;
    }

    .pricing-card__title,
    .tariff-card-new__title {
        font-size: 1.06rem;
    }

    .footer__logo {
        font-size: 1rem;
    }
}

@supports not (overflow: clip) {
    @media (max-width: 768px) {
        .section,
        .step-four,
        .tariffs {
            overflow-x: hidden;
        }
    }
}

/* ═══════════════════════════════════════════════════════════════
   CINEMATIC VIDEO GALLERY  (.cvg-*)
   Mirror of .cg-* but for the video montage portal
   ═══════════════════════════════════════════════════════════════ */

.cvg-overlay {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cvg-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(4, 4, 6, 0.72);
    -webkit-backdrop-filter: blur(28px) saturate(0.6);
    backdrop-filter: blur(28px) saturate(0.6);
}

.cvg-page-shake {
    position: absolute;
    inset: -10%;
    z-index: 1;
    background: transparent;
    transform-origin: center center;
    will-change: transform;
    pointer-events: none;
}

/* Energy burst */
.cvg-burst-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cvg-energy-ring {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 59, 48, 0.95) 0%,
        rgba(255, 120, 50, 0.65) 40%,
        transparent 70%
    );
    box-shadow:
        0 0 40px rgba(255, 59, 48, 0.85),
        0 0 90px rgba(255, 59, 48, 0.4),
        0 0 180px rgba(255, 100, 50, 0.2);
    transform-origin: center;
}

.cvg-rays-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cvg-ray {
    position: absolute;
    width: 2px;
    height: 52vh;
    bottom: 50%;
    left: calc(50% - 1px);
    background: linear-gradient(to top, rgba(255, 59, 48, 0.65), transparent);
    transform-origin: center bottom;
    border-radius: 2px;
}

.cvg-particles-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cvg-particle {
    position: absolute;
    border-radius: 50%;
    background: #ff3b30;
    box-shadow: 0 0 6px rgba(255, 59, 48, 0.9);
    transform: translate(-50%, -50%);
}

/* Montage stage */
.cvg-montage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.cvg-shake-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cvg-hero-wrap {
    position: relative;
    /* Vertical (9:16) aspect for mobile-style video */
    width: min(38vw, 420px);
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.07),
        0 40px 120px rgba(0, 0, 0, 0.85),
        0 0 80px rgba(255, 59, 48, 0.1);
}

.cvg-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

/* Film grain */
.cvg-grain {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    mix-blend-mode: overlay;
    animation: cgGrainShift 0.08s steps(1) infinite;
}

.cvg-vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        transparent 38%,
        rgba(0, 0, 0, 0.45) 72%,
        rgba(0, 0, 0, 0.82) 100%
    );
}

.cvg-flicker {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    mix-blend-mode: overlay;
}

.cvg-flash {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    background: #fff;
    opacity: 0;
}

/* Gallery grid */
.cvg-grid {
    position: absolute;
    inset: 0;
    z-index: 8;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 80px 32px 56px;
    background: rgba(4, 4, 6, 0.55);
    -webkit-overflow-scrolling: touch;
}

.cvg-grid-header {
    text-align: center;
    margin-bottom: 36px;
}

.cvg-grid-eyebrow {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #ff3b30;
    margin-bottom: 10px;
}

.cvg-grid-title {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.cvg-grid-sub {
    font-family: "Gilroy", "Inter", sans-serif;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.38);
    margin: 0;
}

.cvg-grid-inner {
    display: grid;
    /* 4 cards in a row — vertical aspect ratio */
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

/* Cards */
.cvg-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 9 / 16;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    will-change: transform;
}

.cvg-card:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 59, 48, 0.32),
        0 0 28px rgba(255, 59, 48, 0.1);
    border-color: rgba(255, 59, 48, 0.22);
    z-index: 2;
}

.cvg-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cvg-card:hover .cvg-card-video {
    transform: scale(1.05);
}

.cvg-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.28s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
}

.cvg-card:hover .cvg-card-overlay {
    opacity: 1;
}

.cvg-card-play {
    width: 44px;
    height: 44px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.cvg-card-overlay span {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.04em;
    text-align: center;
}

/* Close button */
.cvg-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 300000;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 10, 14, 0.55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.25s ease;
}

.cvg-close:hover {
    background: rgba(255, 59, 48, 0.2);
    border-color: rgba(255, 59, 48, 0.45);
    transform: scale(1.1) rotate(90deg);
}

.cvg-close svg {
    width: 17px;
    height: 17px;
}

/* Fullscreen viewer */
.cvg-fullscreen {
    position: absolute;
    inset: 0;
    z-index: 400000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cvg-fs-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: zoom-out;
}

.cvg-fs-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.cvg-fs-video {
    max-width: min(90vw, 480px);
    max-height: 82vh;
    width: auto;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9);
    display: block;
    background: #000;
}

.cvg-fs-caption {
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cvg-fs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 14, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cvg-fs-nav:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-50%) scale(1.1);
}

.cvg-fs-prev {
    left: 18px;
}
.cvg-fs-next {
    right: 18px;
}
.cvg-fs-nav svg {
    width: 20px;
    height: 20px;
}

.cvg-fs-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 14, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.cvg-fs-close:hover {
    background: rgba(255, 59, 48, 0.22);
    transform: scale(1.1) rotate(90deg);
}

.cvg-fs-close svg {
    width: 15px;
    height: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .cvg-hero-wrap {
        width: 72vw;
    }

    .cvg-grid {
        padding: 68px 14px 40px;
    }

    .cvg-grid-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cvg-fs-prev {
        left: 6px;
    }
    .cvg-fs-next {
        right: 6px;
    }
    .cvg-fs-nav {
        width: 38px;
        height: 38px;
    }

    .cvg-fs-video {
        max-width: 88vw;
    }
}
