

/* Start:/local/templates/lvov_studio/styles.css?1781643618153*/
/* Стили для визуального редактора 1С-Битрикс */
body {
    font-family: 'Nunito', sans-serif;
    color: #1a1a1a;
}

/* End */


/* Start:/local/templates/lvov_studio/template_styles.css?178190744447939*/
        /* --- Переменные (Светлая тема) --- */
        :root {
            --bg-color: #ffffff;
            --text-main: #1a1a1a;
            --text-muted: #666666;
            --accent-red: #dd0000;
            --border-color: #e0e0e0;
            --hover-bg: #f5f5f5;
            --dark-bg: #111111;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-main);
            font-family: 'Nunito', sans-serif;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        /* --- Кнопки и общие элементы --- */
        .btn {
            display: inline-block;
            background-color: var(--accent-red);
            color: #fff;
            padding: 18px 40px;
            text-decoration: none;
            font-family: 'Oswald', sans-serif;
            font-size: 18px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: transform 0.3s ease, background-color 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background-color: #ff1a1a;
            transform: translateY(-3px);
        }

        .section-padding { padding: 120px 5%; }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 60px;
            border-bottom: 2px solid var(--text-main);
            padding-bottom: 20px;
        }

        .section-title {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(36px, 5vw, 64px);
            text-transform: uppercase;
            line-height: 1.1;
        }

        .section-link {
            color: var(--text-main);
            font-weight: 600;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .section-link:hover { color: var(--accent-red); }

        /* --- Шапка --- */
        header {
            display: flex;
            align-items: center;
            padding: 0 5%;
            height: 100px;
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            background-color: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(12px);
            z-index: 1000;
            gap: 0;
        }

        .logo {
            font-family: 'Oswald', sans-serif;
            font-size: 20px;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            text-decoration: none;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }
        .logo-icon {
            width: auto; height: 65px; flex-shrink: 0;
            object-fit: contain;
        }
        .logo span { color: var(--accent-red); }

        /* --- Навигация --- */
        header nav {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 1;
            margin: 0 20px;
            height: 100%;
        }
        header nav > .nav-item {
            position: relative;
            height: 100%;
            display: flex;
            align-items: center;
        }
        header nav > .nav-item > a {
            color: var(--text-main);
            text-decoration: none;
            font-size: 17px;
            font-weight: 700;
            letter-spacing: 0.5px;
            padding: 0 18px;
            height: 100%;
            display: flex;
            align-items: center;
            transition: color 0.2s;
            white-space: nowrap;
            position: relative;
        }
        header nav > .nav-item > a::after {
            content: '';
            position: absolute;
            bottom: 0; left: 16px; right: 16px;
            height: 2px;
            background: var(--accent-red);
            transform: scaleX(0);
            transition: transform 0.2s;
        }
        header nav > .nav-item:hover > a { color: var(--accent-red); }
        header nav > .nav-item:hover > a::after { transform: scaleX(1); }
        header nav > .nav-item.active > a { color: var(--accent-red); }
        header nav > .nav-item.active > a::after { transform: scaleX(1); }

        /* --- Мега-меню --- */
        .mega-drop {
            position: fixed;
            top: 100px;
            left: 0; right: 0;
            background: #fff;
            border-bottom: 1px solid var(--border-color);
            box-shadow: 0 24px 64px rgba(0,0,0,.1);
            padding: 40px 5%;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr auto;
            gap: 40px;
            opacity: 0;
            pointer-events: none;
            transform: translateY(-8px);
            transition: opacity 0.22s, transform 0.22s;
            z-index: 999;
        }
        .nav-item:hover .mega-drop {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }
        
        .mega-head {
            grid-column: 1 / -1;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 4px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-color);
        }
        .mega-head h4 {
            font-family: 'Oswald', sans-serif;
            font-size: 24px;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--text-main);
        }
        .mega-head a {
            font-size: 14px; font-weight: 600;
            color: var(--text-main); text-decoration: none;
            display: flex; align-items: center; gap: 8px;
            transition: color 0.2s;
        }
        .mega-head a:hover { color: var(--accent-red); }
        .mega-col h6 {
            font-size: 12px; letter-spacing: 1px;
            text-transform: uppercase; color: #444; /* Darker than muted for better structure */
            margin-bottom: 20px; font-weight: 700;
        }
        .mega-col a {
            display: block; color: var(--text-main);
            text-decoration: none; font-size: 15px; font-weight: 500;
            padding: 8px 12px; margin-left: -12px; /* padding offset */
            margin-bottom: 6px; border-radius: 8px;
            transition: all 0.2s ease;
        }
        .mega-col a:hover { 
            background: #f4f4f4; color: var(--accent-red); 
            transform: translateX(4px);
        }
        .mega-products h6 { font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; margin-bottom: 16px; color: var(--text-main); }
        .mega-product-card {
            display: block; text-decoration: none;
            border: 1px solid var(--border-color);
            padding: 16px; margin-bottom: 12px;
            background: #f9f9f9;
            transition: border-color 0.2s, background 0.2s;
            width: 220px;
        }
        .mega-product-card:hover { border-color: var(--accent-red); background: #fff; }
        .mega-product-card .mpc-icon {
            width: 28px; height: 28px; margin-bottom: 8px;
            background: var(--accent-red); display: flex;
            align-items: center; justify-content: center;
            color: #fff; font-size: 14px;
        }
        .mega-product-card .mpc-title { font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--text-main); margin-bottom: 4px; }
        .mega-product-card .mpc-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

        /* --- Справа в шапке --- */
        .header-right {
            display: flex; align-items: center; gap: 20px; flex-shrink: 0;
        }
        .h-search {
            background: none; border: none; cursor: pointer;
            padding: 8px; color: var(--text-main);
            transition: color 0.2s; line-height: 1;
        }
        .h-search:hover { color: var(--accent-red); }
        .h-contacts { text-align: right; margin-right: 12px; }
        .h-phone {
            display: block; 
            font-family: 'Oswald', sans-serif;
            font-size: 22px; 
            font-weight: 700;
            color: var(--text-main); text-decoration: none;
            line-height: 1; transition: color 0.2s;
            margin-bottom: 4px;
            letter-spacing: 0.5px;
        }
        .h-phone:hover { color: var(--accent-red); }
        .h-email { display: block; font-size: 15px; color: #777; text-decoration: none; transition: color 0.2s; }
        .h-email:hover { color: var(--accent-red); }
        .h-cta {
            display: inline-block; background: var(--accent-red);
            color: #fff; padding: 12px 24px;
            font-family: 'Oswald', sans-serif; font-size: 16px;
            font-weight: 500; text-transform: uppercase;
            text-decoration: none; white-space: nowrap;
            transition: background 0.2s;
        }
        .h-cta:hover { background: #ff3333; }

        /* --- Blob анимации --- */
        @keyframes blob1 {
            0%,100% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; transform: translate(0,0) scale(1); }
            33%      { border-radius: 30% 60% 70% 40%/50% 60% 30% 60%; transform: translate(30px,-20px) scale(1.05); }
            66%      { border-radius: 50% 60% 20% 80%/70% 30% 60% 40%; transform: translate(-20px,30px) scale(0.97); }
        }
        @keyframes blob2 {
            0%,100% { border-radius: 40% 60% 70% 30%/40% 50% 60% 50%; transform: translate(0,0) scale(1); }
            33%      { border-radius: 70% 30% 40% 60%/30% 60% 70% 40%; transform: translate(-30px,20px) scale(1.06); }
            66%      { border-radius: 30% 70% 60% 40%/60% 40% 50% 60%; transform: translate(20px,-30px) scale(0.95); }
        }
        @keyframes blob3 {
            0%,100% { border-radius: 50% 50% 40% 60%/50% 40% 60% 50%; transform: translate(0,0) scale(1); }
            50%      { border-radius: 30% 70% 60% 40%/50% 60% 40% 60%; transform: translate(20px,15px) scale(1.04); }
        }
        .hero-blob {
            position: absolute;
            pointer-events: none; z-index: 0;
            opacity: 0; animation-fill-mode: forwards;
        }
        .hero-blob-1 {
            width: 520px; height: 520px;
            top: -80px; right: 5%;
            background: radial-gradient(ellipse, rgba(221,0,0,.07) 0%, rgba(221,0,0,.02) 60%, transparent 80%);
            animation: blob1 12s ease-in-out infinite, fadeInBlob .8s .2s ease forwards;
        }
        .hero-blob-2 {
            width: 380px; height: 380px;
            top: 30%; right: 28%;
            background: radial-gradient(ellipse, rgba(221,0,0,.05) 0%, rgba(221,0,0,.01) 60%, transparent 80%);
            animation: blob2 16s ease-in-out infinite, fadeInBlob .8s .5s ease forwards;
        }
        .hero-blob-3 {
            width: 280px; height: 280px;
            bottom: 5%; right: 15%;
            background: radial-gradient(ellipse, rgba(0,0,0,.04) 0%, transparent 70%);
            animation: blob3 10s ease-in-out infinite, fadeInBlob .8s .8s ease forwards;
        }
        @keyframes fadeInBlob { to { opacity: 1; } }

        /* --- Плавающие фигуры --- */
        @keyframes floatA {
            0%,100% { transform: translateY(0) rotate(0deg); }
            50%      { transform: translateY(-18px) rotate(12deg); }
        }
        @keyframes floatB {
            0%,100% { transform: translateY(0) rotate(0deg); }
            50%      { transform: translateY(14px) rotate(-10deg); }
        }
        @keyframes floatC {
            0%,100% { transform: translate(0,0) scale(1); }
            33%      { transform: translate(8px,-12px) scale(1.1); }
            66%      { transform: translate(-8px,6px) scale(0.9); }
        }
        @keyframes spinSlow { to { transform: rotate(360deg); } }
        .geo {
            position: absolute !important; pointer-events: none; z-index: 0;
            opacity: 0; animation-fill-mode: forwards;
        }
        @keyframes fadeGeo { to { opacity: 1; } }
        /* Кружок-обводка */
        .geo-circle {
            border-radius: 50%;
            border: 1.5px solid rgba(221,0,0,.18);
        }
        /* Крестик / plus */
        .geo-plus::before, .geo-plus::after {
            content:'';
            position:absolute;background:rgba(0,0,0,.12);
        }
        .geo-plus::before{width:100%;height:1.5px;top:50%;left:0;transform:translateY(-50%);}
        .geo-plus::after{width:1.5px;height:100%;left:50%;top:0;transform:translateX(-50%);}
        /* Точка */
        .geo-dot {
            border-radius:50%;
            background: rgba(221,0,0,.22);
        }

        /* --- Главный экран --- */
        .hero-wrapper {
            min-height: calc(100vh - 100px);
            display: flex;
            flex-direction: column;
        }
        .hero {
            flex: 1;
            position: relative;
            padding: 40px 5%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            overflow: hidden;
        }
        .hero > * { position: relative; z-index: 1; }
        .hero-blob { z-index: 0; position: absolute !important; }

        .badge {
            display: inline-block;
            padding: 8px 16px;
            border-radius: 30px;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--accent-red);
            margin-bottom: 32px;
            background-color: rgba(221, 0, 0, 0.08); /* Premium SaaS tint */
            border: none;
        }

        h1 {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(48px, 8vw, 100px);
            font-weight: 700;
            line-height: 1.05;
            text-transform: uppercase;
            margin-bottom: 32px;
            max-width: 1200px;
        }

        .hero-description {
            font-size: 22px;
            line-height: 1.6;
            color: #444444;
            max-width: 650px;
            margin-bottom: 48px;
            font-weight: 400;
        }

        /* --- Главный экран: анимация появления (Stagger) --- */
        @keyframes heroFadeUp {
            from { opacity: 0; transform: translateY(28px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .hero-anim-1 { opacity: 0; animation: heroFadeUp 0.6s ease forwards 0.1s; }
        .hero-anim-2 { opacity: 0; animation: heroFadeUp 0.7s ease forwards 0.25s; }
        .hero-anim-3 { opacity: 0; animation: heroFadeUp 0.7s ease forwards 0.4s; }
        .hero-anim-4 { opacity: 0; animation: heroFadeUp 0.7s ease forwards 0.55s; }
        .hero-anim-5 { opacity: 0; animation: heroFadeUp 0.8s ease forwards 0.7s, floatHero 8s ease-in-out 1.5s infinite; }

        /* --- Две CTA-кнопки --- */
        .hero-cta-row {
            display: flex;
            align-items: center;
            gap: 24px;
            flex-wrap: wrap;
        }
        .btn-ghost {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--text-main);
            font-family: 'Oswald', sans-serif;
            font-size: 18px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-decoration: none;
            padding: 17px 0;
            border-bottom: 2px solid currentColor;
            transition: color 0.3s, border-color 0.3s;
        }
        .btn-ghost:hover { color: var(--accent-red); }

        /* --- Hero Stats Card --- */
        .hero-stats-card {
            position: absolute;
            right: 5%;
            top: 50%;
            transform: translateY(-50%);
            width: 340px;
            background: #1e2337;
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 20px;
            box-shadow: 0 48px 96px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,255,255,0.04);
            z-index: 2;
            padding: 36px;
            overflow: hidden;
        }
        /* Красное свечение сверху */
        .hero-stats-card::before {
            content: '';
            position: absolute;
            top: -60px; left: 50%;
            transform: translateX(-50%);
            width: 220px; height: 120px;
            background: radial-gradient(ellipse, rgba(221,0,0,0.35) 0%, transparent 70%);
            pointer-events: none;
        }
        @keyframes floatHero {
            0%, 100% { transform: translateY(-50%) translate(0, 0); }
            50%       { transform: translateY(-50%) translate(0, -12px); }
        }
        .hero-anim-5 {
            opacity: 0;
            animation: heroFadeUp 0.8s ease forwards 0.7s, floatHero 8s ease-in-out 1.5s infinite;
        }
        .hsc-label {
            font-family: 'Oswald', sans-serif;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: rgba(255,255,255,0.3);
            margin-bottom: 32px;
            position: relative;
        }
        .hsc-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            margin-bottom: 32px;
            position: relative;
        }
        /* Разделители сетки */
        .hsc-grid::before {
            content: '';
            position: absolute;
            left: 50%; top: 0; bottom: 0;
            width: 1px;
            background: rgba(255,255,255,0.07);
        }
        .hsc-item {
            padding: 20px 20px 20px 0;
            border-bottom: 1px solid rgba(255,255,255,0.07);
        }
        .hsc-item:nth-child(2n) {
            padding-left: 24px;
            padding-right: 0;
        }
        .hsc-item:nth-child(3),
        .hsc-item:nth-child(4) {
            border-bottom: none;
            padding-bottom: 0;
        }
        .hsc-num {
            font-family: 'Oswald', sans-serif;
            font-size: 48px;
            font-weight: 700;
            line-height: 1;
            color: #ffffff;
            margin-bottom: 8px;
            letter-spacing: -2px;
        }
        .hsc-num span {
            font-size: 26px;
            color: var(--accent-red);
            font-weight: 700;
            letter-spacing: 0;
        }
        .hsc-desc {
            font-size: 12px;
            color: rgba(255,255,255,0.4);
            font-weight: 600;
            line-height: 1.4;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .hsc-divider {
            height: 1px;
            background: rgba(255,255,255,0.07);
            margin-bottom: 20px;
            position: relative;
        }
        .hsc-badge {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 12px;
            font-weight: 600;
            color: rgba(255,255,255,0.4);
            position: relative;
        }
        .hsc-badge-dot {
            width: 7px; height: 7px;
            border-radius: 50%;
            background: #27c93f;
            flex-shrink: 0;
            box-shadow: 0 0 0 3px rgba(39,201,63,0.25);
            animation: pulse-green 2s ease-in-out infinite;
        }
        @keyframes pulse-green {
            0%, 100% { box-shadow: 0 0 0 3px rgba(39,201,63,0.25); }
            50%       { box-shadow: 0 0 0 7px rgba(39,201,63,0.1); }
        }

        /* --- Scroll индикатор --- */
        .scroll-indicator {
            position: absolute;
            bottom: 32px;
            left: 5%;
            display: flex;
            align-items: center;
            gap: 12px;
            opacity: 0;
            animation: heroFadeUp 0.8s ease forwards 1.1s;
        }
        .scroll-line {
            width: 40px;
            height: 1px;
            background: var(--text-main);
            position: relative;
            overflow: hidden;
        }
        .scroll-line::after {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: var(--accent-red);
            animation: scrollLineAnim 2s ease-in-out infinite 1.5s;
        }
        @keyframes scrollLineAnim {
            0%   { left: -100%; }
            50%  { left: 100%; }
            100% { left: 100%; }
        }
        .scroll-indicator span {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--text-muted);
        }

        /* --- Стек технологий --- */
        .tech-stack {
            padding: 40px 5%;
            display: flex;
            gap: 16px;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            border-bottom: 1px solid var(--border-color);
            background-color: var(--bg-color);
        }

        .tech-item {
            font-family: 'Oswald', sans-serif;
            font-size: 16px;
            font-weight: 500;
            letter-spacing: 1px;
            color: var(--text-muted);
            text-transform: uppercase;
            border: 1px solid var(--border-color);
            padding: 10px 24px;
            border-radius: 40px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .tech-item:hover { 
            color: var(--accent-red); 
            border-color: var(--accent-red); 
            background: rgba(221,0,0,0.04);
        }

        /* --- Экспертиза --- */
        .expertise-list { display: flex; flex-direction: column; }

        .expertise-item {
            display: grid;
            grid-template-columns: 120px 450px 1fr;
            gap: 40px;
            align-items: center;
            padding: 60px 0;
            border-bottom: 1px solid var(--border-color);
            transition: background-color 0.4s ease;
            position: relative;
            cursor: pointer;
        }

        .expertise-item:hover {
            background-color: #fcfcfc;
        }

        .expertise-number {
            font-family: 'Oswald', sans-serif;
            font-size: 80px;
            font-weight: 700;
            color: #dcdcdc; /* Чуть темнее для лучшей читаемости */
            line-height: 0.8;
            margin-right: 40px;
            transition: color 0.4s, transform 0.4s;
            width: 80px;
        }

        .expertise-name {
            font-family: 'Oswald', sans-serif;
            font-size: 42px;
            font-weight: 700;
            text-transform: uppercase;
            transition: color 0.4s, transform 0.4s;
        }

        .expertise-desc {
            font-size: 16px;
            color: var(--text-muted);
            line-height: 1.6;
            max-width: 480px;
        }

        .expertise-item::after {
            content: '→';
            position: absolute;
            right: 20px;
            top: 50%;
            margin-top: -20px;
            font-size: 40px;
            line-height: 40px;
            color: var(--accent-red);
            font-family: Arial, sans-serif;
            opacity: 0;
            transform: translateX(-20px);
            transition: opacity 0.4s, transform 0.4s;
        }
        
        .expertise-item:hover .expertise-number { color: #cccccc; }
        .expertise-item:hover .expertise-name { color: var(--accent-red); transform: translateX(12px); }
        .expertise-item:hover::after { opacity: 1; transform: translateX(0); }

        /* --- Логотипы клиентов --- */
        .clients-strip {
            padding: 32px 5%;
            display: flex;
            align-items: center;
            gap: 40px;
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            background: #fafafa;
            overflow: hidden;
        }
        .cs-label {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: #bbb;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .cs-logos {
            display: flex;
            gap: 48px;
            align-items: center;
            flex-wrap: wrap;
        }
        .cs-logo {
            font-family: 'Oswald', sans-serif;
            font-size: 18px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #ccc;
            transition: color 0.3s;
            cursor: default;
            white-space: nowrap;
        }
        .cs-logo:hover { color: #999; }

        /* --- Отзывы клиентов --- */
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }
        .testi-card {
            background: #fff;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 40px;
            position: relative;
            transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .testi-card:hover {
            border-color: var(--accent-red);
            box-shadow: 0 20px 40px rgba(0,0,0,0.04);
            transform: translateY(-4px);
        }
        .testi-card:hover .testi-hover-logo {
            filter: grayscale(0%) !important;
            opacity: 1 !important;
        }
        .testi-card:hover .testi-hover-arrow {
            opacity: 1 !important;
            transform: translate(0, 0) !important;
        }
        .testi-quote {
            font-family: 'Oswald', sans-serif;
            font-size: 72px;
            line-height: 0.6;
            color: var(--accent-red);
            margin-bottom: 24px;
            opacity: 0.3;
        }
        .testi-text {
            font-size: 16px;
            line-height: 1.7;
            color: #444;
            margin-bottom: 32px;
            font-style: italic;
        }
        .testi-author {
            display: flex;
            align-items: center;
            gap: 16px;
            padding-top: 24px;
            border-top: 1px solid var(--border-color);
            margin-top: auto;
        }
        .testi-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Oswald', sans-serif;
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            flex-shrink: 0;
        }
        .testi-author strong {
            display: block;
            font-size: 15px;
            font-weight: 700;
            color: var(--text-main);
        }
        .testi-author span {
            font-size: 13px;
            color: var(--text-muted);
        }

        /* --- Блог на главной --- */
        .blog-preview-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: start;
        }
        .bp-card {
            display: block;
            text-decoration: none;
            color: var(--text-main);
        }
        .bp-card--featured .bp-img {
            width: 100%;
            aspect-ratio: 16/9;
            background: #f4f4f4 linear-gradient(45deg, #f4f4f4 25%, #f9f9f9 25%, #f9f9f9 50%, #f4f4f4 50%, #f4f4f4 75%, #f9f9f9 75%, #f9f9f9 100%);
            background-size: 20px 20px;
            border: 1px solid rgba(0,0,0,0.05);
            border-radius: 12px;
            margin-bottom: 24px;
            transition: transform 0.4s ease;
            overflow: hidden;
        }
        .bp-card--featured:hover .bp-img { transform: scale(1.02); }
        .bp-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 12px;
        }
        .bp-tag {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--accent-red);
        }
        .bp-date { font-size: 12px; color: var(--text-muted); font-weight: 600; }
        .bp-title {
            font-family: 'Oswald', sans-serif;
            font-size: 28px;
            font-weight: 700;
            text-transform: uppercase;
            line-height: 1.25;
            margin-bottom: 12px;
            transition: color 0.3s;
        }
        .bp-card:hover .bp-title { color: var(--accent-red); }
        .bp-excerpt { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
        .bp-side {
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        .bp-card--small {
            padding: 24px 0;
            border-bottom: 1px solid var(--border-color);
        }
        .bp-card--small:first-child { border-top: 1px solid var(--border-color); }
        .bp-title-sm {
            font-family: 'Oswald', sans-serif;
            font-size: 20px;
            font-weight: 700;
            text-transform: uppercase;
            line-height: 1.3;
            transition: color 0.3s;
        }
        .bp-card--small:hover .bp-title-sm { color: var(--accent-red); }

        /* --- Портфолио --- */
        .works-section { background-color: var(--hover-bg); }
        
        .works-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
        }

        .work-card {
            display: block;
            text-decoration: none;
            color: inherit;
        }

        .work-image-placeholder {
            width: 100%;
            aspect-ratio: 4/3;
            background-color: #e8e8e8;
            margin-bottom: 24px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #aaa;
            font-family: 'Oswald', sans-serif;
            font-size: 24px;
            transition: transform 0.5s ease;
        }

        .work-card:hover .work-image-placeholder { transform: scale(0.98); }

        .work-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 16px;
        }

        .work-title {
            font-family: 'Oswald', sans-serif;
            font-size: 28px;
            text-transform: uppercase;
        }

        .work-category {
            font-size: 14px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* --- Процессы (Новый блок) --- */
        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
        }

        .process-card {
            padding-top: 24px;
            border-top: 2px solid var(--border-color);
            transition: border-color 0.3s ease;
        }

        .process-card:hover { border-color: var(--accent-red); }

        .process-step {
            font-family: 'Oswald', sans-serif;
            font-size: 14px;
            color: var(--accent-red);
            margin-bottom: 16px;
            display: block;
        }

        .process-title {
            font-family: 'Oswald', sans-serif;
            font-size: 24px;
            text-transform: uppercase;
            margin-bottom: 16px;
            line-height: 1.2;
        }

        .process-desc {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.5;
        }

        /* --- CTA (Call to Action) --- */
        .cta-section {
            background-color: var(--dark-bg);
            color: #fff;
            text-align: center;
            padding: 160px 5%;
        }

        .cta-title {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(40px, 6vw, 80px);
            text-transform: uppercase;
            margin-bottom: 32px;
        }

        .cta-desc {
            font-size: 20px;
            color: #aaa;
            max-width: 600px;
            margin: 0 auto 48px;
        }

        /* --- Футер --- */
        footer {
            background-color: var(--bg-color);
            padding: 60px 5% 40px;
            border-top: 1px solid var(--border-color);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 60px;
        }

        .footer-col h4 {
            font-family: 'Oswald', sans-serif;
            font-size: 18px;
            text-transform: uppercase;
            margin-bottom: 24px;
            color: var(--text-main);
        }

        .footer-col a, .footer-col p {
            display: block;
            color: var(--text-muted);
            text-decoration: none;
            margin-bottom: 12px;
            font-size: 15px;
            transition: color 0.3s ease;
        }

        .footer-col a:hover { color: var(--accent-red); }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 24px;
            border-top: 1px solid var(--border-color);
            font-size: 14px;
            color: var(--text-muted);
        }

        /* --- Stats-bar --- */
        .stats-bar {
            display: grid;
            grid-template-columns: 2.4fr 1fr 1fr 1fr;
            background: #1e2337;
        }
        .sb-partner {
            padding: 28px 24px;
            border-right: 1px solid rgba(255,255,255,.08);
            display: flex; align-items: center; gap: 16px;
        }
        .sb-partner-icon {
            width: 36px; height: 36px; flex-shrink: 0;
            background: var(--accent-red);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 18px; color: #fff; font-weight: 700;
        }
        .sb-partner-text { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }
        .sb-partner-text b { color: #fff; display: block; margin-bottom: 2px; font-size: 13px; }
        .sb-stat {
            padding: 28px 24px;
            border-right: 1px solid rgba(255,255,255,.08);
        }
        .sb-stat:last-child { border-right: none; }
        .sb-num {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(32px,3.5vw,48px); font-weight: 700;
            color: #fff; line-height: 1;
        }
        .sb-num em { color: var(--accent-red); font-style: normal; }
        .sb-label { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 6px; }

        /* --- Адаптив --- */
        @media (max-width: 1024px) {
            .process-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
            .stats-bar { grid-template-columns: 1fr 1fr; }
            .sb-partner { grid-column: 1 / -1; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
            .hero-visual { display: none; }
            .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
            .blog-preview-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 768px) {
            header nav { display: none; /* Для мобильных тут нужен бургер */ }
            
            /* Экспертиза */
            .expertise-item { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
            .expertise-number { font-size: 48px; margin-right: 0; width: auto; margin-bottom: 4px; line-height: 1; text-align: left; }
            .expertise-name { font-size: 26px; }
            .expertise-desc { font-size: 15px; }
            .expertise-item::after { display: none; }
            
            .works-grid { grid-template-columns: 1fr; }
            .process-grid { grid-template-columns: 1fr; }
            .testimonials-grid { grid-template-columns: 1fr; }
            .testi-card { padding: 32px 24px; }
            .clients-strip { flex-wrap: wrap; gap: 24px; justify-content: center; }
            
            .footer-grid { grid-template-columns: 1fr; gap: 40px; }
            .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
            .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
        }

/* Footer Styles */

.site-footer {
    background: #fff;
    color: #555;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    padding-top: 72px;
    border-top: 1px solid var(--border-color, #e8e8e8);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 64px;
    border-bottom: 1px solid var(--border-color, #e8e8e8);
}

/* Бренд-колонка */
.footer-col--brand .footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-col--brand .logo-icon { height: 60px; width: auto; }
.footer-tagline { font-family: 'Nunito', sans-serif; font-size: 14px; line-height: 1.7; color: #888; max-width: 260px; margin-bottom: 28px; }

/* Соцсети */
.footer-socials { display: flex; gap: 10px; }
.fs-link {
    width: 38px; height: 38px;
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #aaa;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.fs-link svg { width: 17px; height: 17px; }
.fs-link:hover { border-color: #dd0000; color: #dd0000; background: rgba(221,0,0,0.05); }

/* Навигационные колонки */
.footer-col-title {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #111;
    margin-bottom: 20px;
}

.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
    font-family: 'Nunito', sans-serif;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s, padding-left 0.2s;
}
.footer-nav a:hover { color: #dd0000; padding-left: 4px; }

/* Контакты */
.footer-contacts { display: flex; flex-direction: column; gap: 14px; }
.fc-item {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Nunito', sans-serif;
    color: #888; text-decoration: none; font-size: 14px; font-weight: 600;
    transition: color 0.2s;
}
.fc-item svg { width: 15px; height: 15px; flex-shrink: 0; color: #bbb; }
.fc-item:hover { color: #111; }
.fc-item--telegram:hover { color: #2aabee; }

/* Нижняя полоска */
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: #aaa;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: #aaa; text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: #333; }

@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-bottom-links { justify-content: center; }
}

/* Отдельный мобильный подвал */
.mobile-footer { display: none; }

@media (max-width: 1024px) {
    .desktop-footer { display: none !important; }
    .mobile-footer { display: block; padding: 40px 5% 20px; text-align: center; }
    
    .mf-inner { display: flex; flex-direction: column; align-items: center; }
    .mobile-footer .footer-logo { display: inline-flex; justify-content: center; margin-bottom: 20px; }
    .mobile-footer .logo-icon { height: 50px; }
    .mf-tagline { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 40px; max-width: 320px; }
    
    .mf-contacts { display: flex; flex-direction: column; gap: 24px; align-items: center; margin-bottom: 40px; width: 100%; }
    .mf-contacts .fc-item { font-size: 16px; color: var(--text-main); justify-content: center; }
    .mf-contacts .fc-item svg { width: 20px; height: 20px; color: var(--accent-red); margin-right: 8px; }
    
    .mf-bottom { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; align-items: center; font-size: 13px; color: #aaa; width: 100%; border-top: 1px solid var(--border-color); padding-top: 20px; }
    .mf-bottom a { color: #aaa; text-decoration: none; }
}

/* --- Отдельная Мобильная Шапка --- */
.mobile-header { display: none; }
.mobile-menu-overlay { display: none; }

@media (max-width: 1024px) {
    .desktop-header { display: none !important; }
    
    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 5%;
        height: 70px;
        border-bottom: 1px solid var(--border-color);
        position: sticky;
        top: 0;
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 1000;
    }
    
    .mobile-header .logo-icon { height: 45px; }
    
    .mh-right { display: flex; align-items: center; gap: 16px; }
    .mh-search { background: none; border: none; padding: 4px; color: var(--text-main); }
    
    .mh-burger {
        background: none; border: none; cursor: pointer;
        width: 30px; height: 24px;
        display: flex; flex-direction: column; justify-content: space-between;
        padding: 0;
    }
    .mh-burger span {
        display: block; height: 3px; width: 100%;
        background-color: var(--text-main);
        border-radius: 3px; transition: 0.3s;
    }
    
    /* Оверлей меню */
    .mobile-menu-overlay {
        display: flex; flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: #fff;
        z-index: 2000;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
    }
    .mobile-menu-overlay.is-open { transform: translateX(0); }
    
    .mmo-header {
        display: flex; align-items: center; justify-content: space-between;
        padding: 0 5%; height: 70px; border-bottom: 1px solid var(--border-color);
        flex-shrink: 0;
    }
    .mmo-header .logo-icon { height: 45px; }
    .mmo-close { background: none; border: none; color: var(--text-main); cursor: pointer; padding: 4px; }
    
    .mmo-body { padding: 40px 5%; display: flex; flex-direction: column; flex: 1; }
    
    .mmo-nav { display: flex; flex-direction: column; gap: 24px; margin-bottom: 50px; }
    .mmo-nav a { font-family: 'Oswald', sans-serif; font-size: 26px; font-weight: 700; color: var(--text-main); text-decoration: none; text-transform: uppercase; letter-spacing: 1px;}
    .mmo-nav a.active { color: var(--accent-red); }
    
    .mmo-contacts { margin-bottom: 40px; display: flex; flex-direction: column; gap: 12px; }
    .mmo-phone { font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 700; color: var(--text-main); text-decoration: none; }
    .mmo-email { font-size: 18px; color: var(--text-muted); text-decoration: none; font-weight: 500; }
    
    .mmo-cta { margin-top: auto; margin-bottom: 20px; }
}

/* =========================================
   СТАЙЛГАЙД ДЛЯ ПОРТФОЛИО (ГИБРИДНЫЙ ПОДХОД)
   ========================================= */

/* Контейнер для выравнивания контента внутри кейса */
.portfolio-case-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0 80px 0;
    font-family: 'Inter', 'Nunito', sans-serif;
}

/* Общие стили для всех картинок мокапов */
.portfolio-case-body img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-case-body img:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* 1. Картинка на всю ширину (100%) */
.case-img-full {
    margin-bottom: 60px;
}

/* 2. Две картинки рядом (50% / 50%) */
.case-grid-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* 3. Текстовый блок */
.case-text-block {
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.case-text-block h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.case-text-block p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .case-grid-half {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .portfolio-case-body img {
        border-radius: 12px;
    }
    .case-text-block h3 {
        font-size: 24px;
    }
}

/* 4. Зигзаг: Текст и Картинка (чередование) */
.case-zigzag {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}
.case-zigzag.reverse {
    flex-direction: row-reverse;
}
.case-zigzag-text {
    flex: 1;
    text-align: left;
}
.case-zigzag-text h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
    text-transform: uppercase;
    line-height: 1.3;
}
.case-zigzag-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}
.case-zigzag-img {
    flex: 1.5; /* Картинка занимает чуть больше места, чем текст */
}

/* Адаптив для зигзага */
@media (max-width: 991px) {
    .case-zigzag, .case-zigzag.reverse {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .case-zigzag-text {
        text-align: center;
    }
}

/* --- Яндекс Рейтинг --- */
.yandex-rating-badge {
    display: inline-flex;
    flex-direction: column;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 16px;
    text-decoration: none;
    color: #1a1a1a;
    margin-top: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
    width: max-content;
}
.yandex-rating-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.yrb-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.yrb-logo {
    width: 20px; height: 26px;
}
.yrb-score {
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}
.yrb-stars {
    display: flex;
    gap: 2px;
}
.yrb-stars svg {
    width: 16px; height: 16px;
}
.yrb-bottom {
    font-size: 11px;
    color: #666;
}


/* End */
/* /local/templates/lvov_studio/styles.css?1781643618153 */
/* /local/templates/lvov_studio/template_styles.css?178190744447939 */
