 /* --- 1. GLOBAL SETTINGS --- */
:root {
    --bg-dark: #080808;
    --bg-card-dark: #121212;
    --bg-white: #f3f3f3;
    
    --text-on-dark: #FFFFFF;
    --text-on-white: #000000;
    --text-muted: #888888;
    
    /* Gold Gradient */
    --gold-gradient: radial-gradient(70% 90% at 50% 0%, #ebdcc6 0%, #9e7d56 30%, #4a3421 60%, #000000 100%);
    --gold-text: linear-gradient(135deg, #F3E5D0 0%, #C49F70 100%);
    --gold-solid: #C49F70;
    
    /* Accent */
    --accent-gradient: linear-gradient(135deg, #ff6b00 0%, #ff2200 100%);
    
    --border-light: rgba(255, 255, 255, 0.1);
    
    /* Mobile Top Bar Height */
    --mobile-bar-height: 40px;
}

body, html { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; background-color: var(--bg-dark); color: var(--text-on-dark); overflow-x: hidden; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }

.sqs-container { max-width: 1600px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }

/* Typography */
.heading-xl { 
    font-size: 80px; 
    font-weight: 500; 
    line-height: 1.1; 
    letter-spacing: -2px; 
    margin-bottom: 30px; 
    /* Улучшенная тень для четкости поверх видео */
    text-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 0 40px rgba(0,0,0,0.4);
}
.heading-lg { font-size: 60px; font-weight: 300; line-height: 1.1; letter-spacing: -2px; margin-bottom: 50px; }
.text-body { color:#fff; font-size: 20px; max-width: 800px; opacity: 0.9; }
.text-gold { background: var(--gold-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* --- SECTIONS & GLOW --- */
.section-dark { 
    background-color: var(--bg-dark); 
    color: var(--text-on-dark); 
    padding: 120px 0; 
    position: relative; 
    overflow: hidden; 
    z-index: 1; 
}

.section-dark::before {
    content: ""; position: absolute; width: 800px; height: 800px;
    background: var(--gold-gradient); border-radius: 50%; filter: blur(80px); opacity: 0.85; z-index: -1; pointer-events: none; mix-blend-mode: screen; 
}

.glow-top-left::before { top: -400px; left: -200px; transform: rotate(45deg); }
.glow-center-right::before { top: 50%; right: -400px; transform: translateY(-50%) rotate(-45deg); }
.glow-bottom-center::before { bottom: -400px; left: 50%; transform: translateX(-50%); width: 1000px; }
.glow-footer::before { top: -600px; left: 50%; transform: translateX(-50%); width: 100%; opacity: 0.5; }

.section-white { background-color: var(--bg-white); color: var(--text-on-white); padding: 120px 0; }
.section-white .heading-lg { color: #000; }
.section-white .text-body { color: #444; }

/* --- NEW: MOBILE TOP BAR --- */
.mobile-top-bar {
    display: none; /* Hidden on Desktop */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--mobile-bar-height);
    background: #111;
    color: #fff;
    z-index: 1003;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-top-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff; 
    transition: opacity 0.3s ease;
	text-decoration: none;
}

.mobile-top-bar a:hover {
    color: #fff !important; 
    opacity: 0.8;
}

.mobile-top-bar svg {
    margin-right: 10px;
    width: 14px;
    height: 14px;
    fill: var(--gold-solid); 
}

/* --- HEADER --- */
.sqs-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 90px; 
    z-index: 1000; 
    background: transparent;
    transition: background 0.4s ease, top 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}
.sqs-header.header-scrolled {
    background: #000;
    backdrop-filter: blur(12px); 
}
.sqs-header .sqs-container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.sqs-logo { max-width: 140px; z-index: 1002; } .sqs-logo img { width: 100%; }

/* Desktop Nav */
.sqs-nav ul { display: flex; gap: 40px; }
.sqs-nav a { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; color: #fff; text-decoration: none; }
.sqs-nav a:hover { opacity: 1; color: #C49F70; }

.header-actions { display: flex; align-items: center; }
.header-phone { font-size: 15px; font-weight: 600; color: #fff; margin-right: 25px; text-decoration: none; }
.btn-header { padding: 12px 25px; background: #fff; color: #000; font-size: 12px; font-weight: 600; text-transform: uppercase; border-radius: 4px; }

/* --- BURGER MENU & MOBILE NAV --- */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1002;
}
.burger-bar {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 1005; 
    padding: 120px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}
.mobile-nav-overlay.is-active {
    transform: translateX(0);
}
.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: auto;
}
.mobile-nav-link {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
	text-decoration: none;
}
.mobile-nav-link:hover { color: var(--gold-solid); }

.mobile-close-btn {
    position: absolute;
    top: 30px;
    right: 25px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1006;
}
.mobile-close-btn span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    display: block;
}
.mobile-close-btn span:nth-child(1) { transform: rotate(45deg); }
.mobile-close-btn span:nth-child(2) { transform: rotate(-45deg); }

.burger-menu.is-active .burger-bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger-menu.is-active .burger-bar:nth-child(2) { opacity: 0; }
.burger-menu.is-active .burger-bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* --- HERO WITH VIDEO --- */
.sqs-hero { 
    padding-top: 180px; 
    min-height: 100vh; 
    background-color: #000; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    position: relative; 
    overflow: hidden; 
}

/* Видео фон */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Сложный оверлей: Выделение H1 + Градиент за заголовком */
.sqs-hero::before { 
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: 
       /* Тёмное пятно точно под текстом для максимальной читаемости */ radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 60%), /* Атмосферный градиент для глубины */ radial-gradient(70% 90% at 50% 0%, #3c3834 0%, #040303 30%, #241d18 60%, #000000 100%);
    opacity: 0.85; 
    z-index: 2; 
}

/* Плавный бесшовный переход к следующей секции в белый */
.sqs-hero::after { 
    content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; 
    background: linear-gradient(to top, 
        var(--bg-white) 0%, 
        rgba(255, 255, 255, 0.9) 20%, 
        rgba(255, 255, 255, 0) 100%
    ); 
    z-index: 3; 
    pointer-events: none; 
}

.sqs-hero-content { position: relative; z-index: 4; margin-bottom: 60px; max-width: 1000px; }

.sqs-slider-wrapper { 
    width: 100%; 
    padding-bottom: 100px; 
    position: relative; 
    z-index: 4; 
    transform: rotate(-1.5deg) translateY(40px); 
    overflow: hidden;
}
.sqs-slider-track { display: flex; gap: 30px; width: max-content; animation: sqs-scroll 40s linear infinite; will-change: transform; }
.sqs-slider-card { width: 400px; height: 360px; background-color: #111; border-radius: 12px; position: relative; overflow: hidden; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.1); }
.sqs-card-img { width: 100%; height: 100%; background-size: initial; background-position: center; padding-top: 36px; filter: brightness(0.9); }
.sqs-card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 30px; background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); z-index: 5; text-align: left; }
.sqs-card-title { font-size: 24px; font-weight: 500; color: #fff; margin: 0; }
.sqs-card-cat { font-size: 11px; text-transform: uppercase; color: #C49F70; margin-bottom: 8px; letter-spacing: 2px; font-weight: 700; }

@keyframes sqs-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 15px)); } }

/* --- CATALOG STRIP --- */
.catalog-section { padding: 120px 0 80px; background: #f3f3f3; border-bottom: 1px solid #f0f0f0; position: relative; z-index: 5; }
.catalog-title { font-size: 16px; font-weight: 800; text-transform: uppercase; margin-bottom: 40px; color: #000; letter-spacing: 2px; opacity: 0.9; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; align-items: center; }
.catalog-item { display: flex; align-items: center; gap: 15px; cursor: pointer; transition: 0.3s; padding: 15px; border-radius: 8px; background: #fcfcfc; border: 1px solid #f5f5f5; }
.catalog-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: var(--gold-solid); }
.cat-icon { width: 44px; height: 44px; stroke: var(--gold-solid); stroke-width: 1.2; fill: none; flex-shrink: 0; }
.cat-name { font-size: 14px; font-weight: 700; color: #000; text-transform: uppercase; white-space: nowrap; }

/* --- STORIES SECTION --- */
.stories-section { padding: 100px 0; background: #000; border-bottom: 1px solid #111; position: relative; z-index: 5; }
.stories-track { display: flex; gap: 25px; padding-bottom: 20px; scrollbar-width: none; }
.stories-track::-webkit-scrollbar { display: none; }
.story-card { min-width: 260px; height: 420px; border-radius: 16px; position: relative; overflow: hidden; cursor: pointer; border: 1px solid rgba(255,255,255,0.1); transition: 0.4s; }
.story-card:hover {transform: scale(1.02); }
.story-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: 0.5s; }
.story-card:hover .story-img { transform: scale(1.1); filter: brightness(0.7); }
.play-icon { 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 
    width: 60px; height: 60px; background: rgba(196, 159, 112, 0.9); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    color: #fff; box-shadow: 0 0 20px rgba(196, 159, 112, 0.4);
    transition: 0.3s;
}
.play-icon svg { width: 32px; height: 32px; }
.story-card:hover .play-icon { transform: translate(-50%, -50%) scale(1.1); background: #fff; color: #000; }
.story-title { position: absolute; bottom: 25px; left: 25px; font-size: 18px; font-weight: 600; z-index: 2; color: #fff; }
/* Дополнение к вашим стилям */
.story-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Видео заполнит карточку без искажений */
    transition: 0.5s;
}

.story-card:hover .story-video {
    transform: scale(1.1);
    filter: brightness(0.7);
}

/* Скрываем иконку, когда видео играет активно */
.story-card.playing .play-icon {
    opacity: 0;
    visibility: hidden;
}

/* Эффект нажатия */
.story-card:active {
    transform: scale(0.98);
}
/* --- FEATURES BLOCK --- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-top: 80px; }
.feature-item { text-align: left; }
.feature-icon { width: 50px; height: 50px; margin-bottom: 20px; stroke: var(--gold-solid); fill: none; stroke-width: 1.5; display: block; }
.feature-title { font-weight: 700; font-size: 14px; text-transform: uppercase; margin-bottom: 15px; color: #000; line-height: 1.4; letter-spacing: 1px; }
.feature-text { font-size: 13px; line-height: 1.6; color: #666; }

/* --- STATS --- */
.stats-grid { display: flex; justify-content: space-around; text-align: center; }
.stat-item h3 { font-size: 60px; font-weight: 300; margin: 0; line-height: 1; background: linear-gradient(135deg, #000 0%, #666 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-item p { font-size: 13px; color: #666; margin-top: 5px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }

/* --- CLIENTS --- */
.clients-track { display: flex; align-items: center; gap: 120px; width: max-content; animation: sqs-scroll 30s linear infinite; }
.client-logo { 
    font-size: 50px; 
    font-weight: 700; 
    color: #fff; 
    opacity: 0.2; 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    white-space: nowrap; 
}

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

        .section-white {
            background: #fff;
            padding: 80px 0;
        }

        .heading-lg {
            font-size: 36px;
            font-weight: 700;
            text-align: center;
        }

        /* --- SERVICES GRID --- */
        .services-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
            gap: 20px; 
            margin-top: 60px; 
        }

        .service-card { 
            background: #fcfcfc; 
            border-radius: 12px; 
            /* Убрали общий padding, чтобы фото прилегало к краям */
            padding: 0; 
            display: flex; 
            flex-direction: column; 
            transition: 0.4s; 
            position: relative; 
            overflow: hidden; 
            border: 1px solid #eee; 
        }

        .service-card:hover { 
            transform: translateY(-10px); 
            box-shadow: 0 30px 60px rgba(0,0,0,0.08); 
            background: #fff; 
            border-color: var(--gold-solid); 
        }

        /* Фото без отступов */
        .service-img { 
            width: 100%;
            height: 280px; 
            background-size: cover; 
            background-position: center; 
            /* Скругление только сверху, чтобы соответствовать карточке */
            border-radius: 11px 11px 0 0; 
            transition: 0.5s; 
        }

        .service-card:hover .service-img { 
            transform: scale(1.05); 
        }

        /* Контейнер для текста с отступами */
        .service-content {
            padding: 30px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .service-card h3 { 
            font-size: 22px; 
            margin-bottom: 12px; 
            margin-top: 0;
            color: #000; 
            font-weight: 600; 
        }

        .service-card p { 
            font-size: 14px; 
            line-height: 1.6; 
            color: #555; 
            margin: 0;
        }

        /* --- FEATURES --- */
        .features-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
            gap: 30px; 
            margin-top: 80px; 
            border-top: 1px solid #eee;
            padding-top: 60px;
        }

        .feature-item { 
       
			text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
        }

        .feature-icon { 
            width: 40px; 
            height: 40px; 
            fill: none; 
            stroke: var(--gold-solid); 
            stroke-width: 2; 
            margin-bottom: 20px; 
        }

        .feature-title { 
            font-weight: 700; 
            font-size: 16px; 
            line-height: 1.3; 
            margin-bottom: 10px; 
            text-transform: uppercase; 
        }

        .feature-text { 
            font-size: 13px; 
            color: #777; 
            line-height: 1.5; 
        }

/* --- ОБНОВЛЕННАЯ ГАЛЕРЕЯ (Без потери качества) --- */
.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    
    /* СЕКРЕТ ЧЕТКОСТИ:
       170px (1 строка) + 170px (2 строка) + 20px (отступ) = ровно 360px!
       Теперь блоки .g-big и .g-tall имеют высоту точно по размеру ваших фото. */
    grid-auto-rows: 170px; 
    
    gap: 20px; 
    grid-auto-flow: dense; 
}

.gallery-item { 
    position: relative; 
    border-radius: 12px; 
    overflow: hidden; 
    background: #111; 
}

.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* Фото будет аккуратно кадрироваться под формат без сплющивания */
    display: block;
    transition: 0.6s ease;
    filter: brightness(0.8);
}

.gallery-item:hover img { 
    transform: scale(1.05); 
    filter: brightness(1); 
}

/* Классы размеров */
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-big { grid-column: span 2; grid-row: span 2; }

/* Адаптив для SEO-friendly верстки */
@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .gallery-grid { 
        grid-template-columns: 1fr; 
        grid-auto-rows: auto; 
    }
    .g-wide, .g-tall, .g-big { grid-column: span 1; grid-row: span 1; }
    
    /* Меняем с 4/3 на 16:9, чтобы на мобильных фото показывались в своих родных пропорциях (640x360) */
    .gallery-item { aspect-ratio: 16/9; } 
}

/* Lightbox Styles */
.lightbox { position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.95); z-index: 2000; display: none; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.lightbox.active { display: flex; opacity: 1; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: 4px; box-shadow: 0 0 40px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 40px; cursor: pointer; }

/* --- PROJECTS --- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; z-index: 2; }
.project-item { position: relative; height: 600px; border-radius: 16px; overflow: hidden; cursor: pointer; border: 1px solid rgba(255,255,255,0.05); transition: 0.4s; }
.project-item:hover { border-color: var(--gold-solid); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.project-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: 1s; }
.project-item:hover .project-img { transform: scale(1.1); }
.project-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, #000 15%, rgba(0,0,0,0.2) 100%); padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; }
.project-meta { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: #C49F70; font-weight: 700; margin-bottom: 12px; }
.project-title { font-size: 28px; font-weight: 500; color: #fff; margin-bottom: 15px; line-height: 1.2; }
.project-details { font-size: 14px; color: #bbb; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; max-height: 0; overflow: hidden; transition: 0.5s; opacity: 0; }
.project-item:hover .project-details { max-height: 200px; opacity: 1; }

/* --- LED VARIANTS --- */
.led-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; margin-bottom: 60px; }
.led-card { background: #fff; border-radius: 16px; overflow: hidden; transition: 0.4s; border: 1px solid #eee; display: flex; flex-direction: column; }
.led-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.1); border-color: var(--gold-solid); }
.led-img { height: 400px; width: 100%; background-size: cover; background-position: center; transition: 0.6s; }
.led-card:hover .led-img { filter: brightness(1.1); }
.led-info { padding: 35px; }
.led-title { font-size: 26px; font-weight: 600; margin-bottom: 12px; color: #000; }
.led-desc { font-size: 15px; color: #666; line-height: 1.6; }

/* --- USAGE DIAGRAM --- */
.usage-container { display: flex; justify-content: center; align-items: center; position: relative; height: 600px; }
.usage-center { width: 220px; height: 220px; background: #000; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid #C49F70; z-index: 2; text-align: center; box-shadow: 0 0 60px rgba(196, 159, 112, 0.3); }
.usage-item { position: absolute; width: 280px; }
.usage-item h4 { font-size: 20px; margin-bottom: 8px; color: #000; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.usage-item p { font-size: 14px; color: #666; line-height: 1.5; }
.u-tl { top: 60px; left: 12%; text-align: right; }
.u-tr { top: 60px; right: 12%; text-align: left; }
.u-bl { bottom: 60px; left: 12%; text-align: right; }
.u-br { bottom: 60px; right: 12%; text-align: left; }
.u-line { position: absolute; background: #e0e0e0; z-index: 1; }
.u-l-h { width: 50%; height: 1px; top: 50%; left: 25%; }
.u-l-v { width: 1px; height: 50%; top: 25%; left: 50%; }

/* --- ABOUT --- */
.about-flex { display: flex; gap: 80px; align-items: center; }
.about-text { flex: 1.2; }
.about-img { flex: 0.8; height: 250px; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); background: #000;     border-radius: 16px; }
.about-img img { width: 100%; height: 100%; object-fit: none; }
.btn-black { display: inline-block; padding: 18px 40px; background: #000; color: #fff; text-transform: uppercase; font-size: 13px; letter-spacing: 2px; font-weight: 700; border-radius: 4px; transition: 0.3s; }
.btn-black:hover { background: var(--gold-solid); transform: translateY(-3px); }

/* --- CTA BANNER --- */
/* --- НОВЫЙ ДИЗАЙН CTA-БЛОКА: ЧЕРНЫЙ + ЗОЛОТОЕ СВЕЧЕНИЕ --- */

/* Контейнер для наложения на следующую секцию */
.bitrate-cta-overlap {
    position: relative;
    z-index: 10;
    margin-bottom: -60px; /* Наложение снизу */
}

/* Основной баннер: Глубокий черный, матовый */
.cta-banner-dark {
    background-color: #000; /* Абсолютно черный */
    padding: 60px 80px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Тонкая, едва заметная золотая рамка */
    border: 1px solid rgba(196, 159, 112, 0.15); 
    /* Глубокая тень для объема */
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Фирменное золотое свечение (используем --gold-gradient) */
.cta-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    /* Ваша переменная градиента */
    background: radial-gradient(70% 90% at 50% 0%, #ebdcc6 0%, #9e7d56 30%, #4a3421 60%, #000000 100%);
    opacity: 0.35; /* Делаем свечение мягким, не кричащим */
    pointer-events: none;
    z-index: 1;
}

/* Контент (слева) */
.cta-content {
    z-index: 2; /* Поверх свечения */
    position: relative;
}
.cta-content h2 {
    font-size: 40px;
    color: #fff;
    margin: 0 0 10px 0;
    font-weight: 600;
    letter-spacing: -1px;
}
.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    margin: 0;
    font-weight: 300;
}

/* Действия (справа) */
.cta-actions {
    z-index: 2;
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Блок контактов */
.cta-actions-div {
    text-align: right;
    color: #fff;
    margin-right: 10px;
}
.cta-phone {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.cta-email {
    font-size: 13px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Кнопка «Заказать звонок»: Чистое золото */
.btn-call-gold {
    background-color: #C49F70; /* var(--gold-solid) */
    color: #000;
    padding: 18px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(196, 159, 112, 0.3);
}
.btn-call-gold:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Группа соцсетей */
.cta-social-group {
    display: flex;
    gap: 12px;
}

/* Кнопки соцсетей: Темные, почти сливаются с фоном */
.btn-icon-dark {
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.03); /* Почти прозрачный черный */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-icon-dark:hover {
    background-color: #fff; /* Становится белой при наведении */
    transform: translateY(-5px);
}

/* Иконки внутри (ТГ и ВК) */
.cta-social-icon {
    width: 26px;
    height: 26px;
    background-color: #888; /* Исходный тусклый серый */
    transition: background-color 0.3s ease;
}

/* При наведении кнопка белая, а иконка становится черной */
.btn-icon-dark:hover .cta-social-icon {
    background-color: #000;
}

/* --- АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ --- */
@media (max-width: 1024px) {
    .cta-banner-dark {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 30px;
    }
    .cta-content h2 { font-size: 32px; }
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .cta-actions-div {
        text-align: center;
        margin-right: 0;
    }
}
@media (max-width: 1024px) {
.bitrate-cta-overlap {
	    margin: 20px 0;
	}
}

/* --- FAQ --- */
.faq-item { 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 25px 0; 
    cursor: pointer; 
    transition: border-color 0.3s ease;
}
.faq-item:hover { border-color: var(--gold-solid); }

.faq-question { 
    font-size: 22px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    font-weight: 300; 
    color: #fff; 
    transition: color 0.3s ease;
}
.faq-item:hover .faq-question { color: var(--gold-solid); }

.faq-plus { 
    font-size: 28px; 
    color: var(--gold-solid); 
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    width: 30px;
    text-align: center;
}

.faq-answer { 
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
}

.faq-content { 
    padding: 20px 0 10px; 
    color: #888; 
    font-size: 16px; 
    line-height: 1.7;
    max-width: 850px;
}

.faq-item.active .faq-plus { transform: rotate(45deg); color: #ff4d00; }
.faq-item.active .faq-answer { opacity: 1; }
.faq-item.active .faq-question { color: var(--gold-solid); }

/* --- FOOTER --- */
.sqs-footer { padding: 120px 0 60px; background: #000; border-top: 1px solid #111; margin-top:40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; margin-bottom: 100px; }
.footer-col h4 { font-size: 13px; margin-bottom: 30px; opacity: 0.4; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }
.footer-col ul li { margin-bottom: 15px; font-size: 15px; color: #aaa; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 40px; font-size: 13px; opacity: 0.4; text-align: center; }



/* --- ADAPTIVE / MOBILE --- */
@media (max-width: 1024px) {
    .sqs-container { padding: 0 24px; }
    .heading-xl { font-size: 42px; margin-bottom: 20px; } 
    .heading-lg { font-size: 32px; margin-bottom: 30px; }
    .text-body { font-size: 14px; }
    .feature-item {    text-align: center;}
    .feature-icon {margin: 0 auto 20px auto;}
    .feature-title {font-size:16px;}
    .cta-actions-div {text-align: center !important;margin-right: 0 !important ;}
    
    /* SHOW MOBILE BAR */
    .mobile-top-bar { display: block; }

    /* ADJUST HEADER FOR MOBILE BAR */
    .sqs-header { 
        top: var(--mobile-bar-height); /* Push header down by 40px */
    }

    /* Adjust Hero padding because Header is lower */
    .sqs-hero { padding-top: 140px; }
    
    /* Hide Desktop Nav and Phone text, but keep Button on mobile */
    .sqs-nav, .header-phone { display: none; }
    .btn-header { display: inline-block; margin-right: 0; }
    
    /* Show Burger */
    .burger-menu { display: flex; }
    
    /* Grids to Single Column */
    .services-grid, .projects-grid, .footer-grid, .about-flex, .stats-grid, .led-grid, .features-grid, .catalog-grid { 
        grid-template-columns: 1fr; 
        flex-direction: column; 
        gap: 40px; 
    }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; grid-auto-rows: 150px; }
    .g-wide, .g-tall, .g-big { grid-column: span 1; grid-row: span 1; }
    .g-big { grid-column: span 2; grid-row: span 2; }
    
    /* Section Paddings */
    .section-dark, .section-white, .sqs-footer { padding: 60px 0; }
    
    .section-dark::before { width: 100%; height: 500px; opacity: 1; }
    
    /* Cards & Items */
    .project-item { height: 400px; } 
    .project-details { opacity: 1; max-height: 200px; border-top: none; padding-top: 10px; }
    .led-img { height: 250px; }
    .about-img { height: 300px; margin-top: 40px; width: 100%; }
    
    /* Slider Mobile Fix */
    .sqs-slider-card { width: 85vw; height: 50vh; }
    .sqs-slider-wrapper { padding-bottom: 40px; transform: rotate(0); }
    .sqs-slider-track { gap: 15px; animation: sqs-scroll 20s linear infinite; }
    @keyframes sqs-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-85vw * 4)); } }
    
    /* Usage Diagram Mobile */
    .usage-container { height: auto; flex-direction: column; padding: 40px 0; }
    .usage-item { position: static; text-align: center; width: 100%; margin-bottom: 30px; }
    .u-line { display: none; }
    .usage-center { margin: 30px 0; width: 180px; height: 180px; }
    
    /* CTA & FAQ */
    .cta-banner { flex-direction: column; text-align: center; padding: 40px 20px; gap: 30px; border-radius: 12px; margin-bottom:40px; }
    .cta-content, .cta-actions { padding: 0; }
    .cta-content h2 { font-size: 32px; }
    .cta-actions { flex-direction: column; width: 100%; }
    
    .faq-question { font-size: 18px; }
    
    /* Catalog Mobile */
    .catalog-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .catalog-item { flex-direction: column; text-align: center; padding: 20px 10px; }
    .cat-icon { margin-bottom: 10px; }
    
    /* Footer Mobile */
    .footer-grid { margin-bottom: 40px; gap: 40px; }
    .footer-col { text-align: center; }

    /* Видео фон мобильные правки */
    .sqs-hero::after { height: 40%; }
}

@media (max-width: 480px) {
    .heading-xl { font-size: 32px; }
    .sqs-slider-card { width: 80vw; height: 400px; }
    .catalog-grid { grid-template-columns: 1fr; }
    .usage-center { width: 140px; height: 140px; }
    .cat-name {    font-size: 18px;}
}

@media (max-width: 400px) {
    .heading-xl { font-size: 26px; }
}
		
		   /* Typography */
        .heading-lg { font-size: 60px; font-weight: 300; line-height: 1.1; letter-spacing: -2px; margin-bottom: 50px; }
        .section-white { background-color: var(--bg-white); color: var(--text-on-white); padding: 120px 0; }
        .section-white .heading-lg { color: #000; }

        /* --- LED VARIANTS --- */
        .led-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
        .led-card { background: #fff; border-radius: 16px; overflow: hidden; transition: 0.4s; border: 1px solid #eee; display: flex; flex-direction: column; }
        .led-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.1); border-color: var(--gold-solid); }
        .led-img { height: 400px; width: 100%; background-size: cover; background-position: center; transition: 0.6s; }
        .led-card:hover .led-img { filter: brightness(1.1); }
        .led-info { padding: 35px; }
        .led-title { font-size: 26px; font-weight: 600; margin-bottom: 12px; color: #000; }
        .led-desc { font-size: 15px; color: #666; line-height: 1.6; }

        /* --- PHOTO BLOCK (NEW) --- */
        .photo-block { padding: 120px 0; background: #fff; border-top: 1px solid #eee; }
        .photo-block__title { 
            font-size: 48px; 
            font-weight: 300; 
            text-align: center; 
            margin-bottom: 60px; 
            color: #000; 
            letter-spacing: -1px;
        }
        .photo-block__list { 
            display: grid; 
            grid-template-columns: repeat(3, 1fr); 
            gap: 30px; 
        }
        .photo-block__item { 
            display: flex; 
            flex-direction: column; 
            transition: 0.4s;
        }
        .photo-block__image { 
            border-radius: 12px; 
            overflow: hidden; 
            margin-bottom: 20px; 
            aspect-ratio: 16/10;
            background: #f0f0f0;
        }
        .photo-block__image img { 
            width: 100%; 
            height: 100%; 
            object-fit: cover; 
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .photo-block__item:hover .photo-block__image img {
            transform: scale(1.05);
        }
        .photo-block__note p { 
            font-size: 15px; 
            line-height: 1.5; 
            color: #555; 
            margin: 0;
            font-weight: 500;
        }

        /* --- ADAPTIVE / MOBILE --- */
        @media (max-width: 1024px) {
            .sqs-container { padding: 0 24px; }
            .heading-lg { font-size: 32px; margin-bottom: 30px; }
            
            .led-grid { 
                grid-template-columns: 1fr; 
                gap: 30px; 
            }
            .led-img { height: 300px; }

            /* Photo Block Mobile */
            .photo-block { padding: 80px 0; }
            .photo-block__title { font-size: 32px; margin-bottom: 40px; }
            .photo-block__list { 
                grid-template-columns: repeat(2, 1fr); 
                gap: 20px; 
            }
        }

        @media (max-width: 640px) {
            .photo-block__list { 
                grid-template-columns: 1fr; 
            }
            .photo-block__title { font-size: 28px; }
        }
		
		   :root {
            --card-width: 280px;
            --card-height: 450px;
            --radius: 16px;
        }

        .stories-section {
            padding: 20px 0;
            overflow: hidden;
        }

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

        .heading-lg {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 50px;
        }

        .stories-track {
            display: flex;
            gap: 20px;
            padding-bottom: 20px;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }

        .stories-track::-webkit-scrollbar {
            display: none;
        }

        .story-card {
            flex: 0 0 var(--card-width);
            height: var(--card-height);
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            background: #111;
            cursor: pointer;
            transition: transform 0.3s ease;
            -webkit-tap-highlight-color: transparent;
        }

        .story-card:hover {
            transform: translateY(-5px);
        }

        .story-video-preview {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.6);
            transition: filter 0.3s ease;
            background: #111;
        }

        .story-card:hover .story-video-preview {
            filter: brightness(0.8);
        }

        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            transition: transform 0.3s ease;
            pointer-events: none;
        }

        .play-icon svg {
            width: 30px;
            height: 30px;
            margin-left: 4px;
        }

        .story-title {
            position: absolute;
            bottom: 20px;
            left: 20px;
            right: 20px;
            font-weight: 600;
            font-size: 1.1rem;
            color: white;
            text-shadow: 0 2px 10px rgba(0,0,0,0.8);
            z-index: 2;
        }

        .story-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(transparent, rgba(0,0,0,0.9));
            z-index: 1;
            pointer-events: none;
        }

        @media (max-width: 768px) {
            :root {
                --card-width: 200px;
                --card-height: 320px;
            }
            .heading-lg {
                font-size: 1.8rem;
                margin-bottom: 30px;
            }
            .play-icon {
                width: 44px;
                height: 44px;
            }
            .play-icon svg {
                width: 20px;
                height: 20px;
            }
            .story-title {
                font-size: 0.9rem;
                bottom: 15px;
                left: 15px;
            }
			
			.stories-track {
				overflow-x: auto;
			}
        }

        /* Модальное окно */
        .video-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .video-modal.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            position: relative;
            width: 95%;
            max-width: 1000px;
            max-height: 80vh;
            border-radius: 12px;
            overflow: hidden;
            background: #000;
        }

        .full-video {
            width: 100%;
            height: auto;
            max-height: 80vh;
            display: block;
        }

        /* Обновленная кнопка закрытия */
        .close-btn {
            position: absolute;
            top: 40px; /* Было 20px, стало ниже */
            right: 30px;
            background: rgba(255, 255, 255, 0.15);
            border: none;
            color: white;
            width: 56px; /* Было 44px */
            height: 56px; /* Было 44px */
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            z-index: 1001;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        .close-btn svg {
            width: 32px; /* Увеличен размер иконки */
            height: 32px;
			fill: white;
        }

        @media (max-width: 768px) {
            .close-btn {
                top: 60px;
                right: 20px;
                width: 48px;
                height: 48px;
            }
            .close-btn svg {
                width: 28px;
            }
        }
		
		      .portfolio { padding: 80px 0; }
        .portfolio__sub-title {
            font-size: 32px;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 60px;
            letter-spacing: 2px;
        }

        .portfolio__list { display: flex; flex-direction: column; gap: 100px; }
        
        .portfolio__item {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 50px;
            align-items: start;
        }

        .portfolio__left { width: 100%; }
        
        .portfolio__images {
            border-radius: 8px;
            overflow: hidden;
            background: #1a1a1a;
            aspect-ratio: 16/9;
            margin-bottom: 15px;
        }
        .portfolio__images img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .portfolio__miniatures {
            display: flex;
            gap: 10px;
            overflow-x: auto;
        }
        .portfolio__miniatures img {
            width: 80px;
            height: 50px;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            opacity: 0.6;
            transition: 0.3s;
            border: 1px solid transparent;
        }
        .portfolio__miniatures img:hover, .portfolio__miniatures img.active {
            opacity: 1;
            border-color: var(--gold-solid);
        }

        .portfolio__name {
            font-size: 28px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
            text-transform: uppercase;
            color: #fff;
        }

        .portfolio__text {
            color: #ccc;
            font-size: 16px;
        }
        .portfolio__text p { margin-bottom: 15px; }
        .portfolio__text strong { color: #fff; display: block; margin-top: 25px; margin-bottom: 10px; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; }
        .portfolio__text ul { list-style: none; padding-left: 0; }
        .portfolio__text ul li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 8px;
            font-size: 15px;
        }
        .portfolio__text ul li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--gold-solid);
        }

        /* --- 4. ADAPTIVE --- */
        @media (max-width: 1024px) {
            .portfolio__item {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            .portfolio__name { font-size: 24px; }
            .portfolio__sub-title { font-size: 26px; text-align: center; }
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar { width: 6px; height: 4px; }
        ::-webkit-scrollbar-track { background: #000; }
        ::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
		
		  .bitrate-portfolio-footer {
            margin-top: 80px;
            text-align: center;
        }
		  .bitrate-btn-black { 
            display: inline-block; 
            padding: 18px 40px; 
            background: #000; 
            color: #fff; 
            text-transform: uppercase; 
            font-size: 13px; 
            letter-spacing: 2px; 
            font-weight: 700; 
            border-radius: 4px; 
            transition: 0.3s; 
            border: 1px solid var(--border-light);
            cursor: pointer;
        }
        
        .bitrate-btn-black:hover { 
            background: var(--gold-solid); 
            border-color: var(--gold-solid);
            transform: translateY(-3px); 
            color: #000;
        }

            /* --- SOCIAL ICONS --- */
            .header-socials {
                display: flex;
                gap: 12px;
                margin-right: 25px;
                align-items: center;
            }
            .header-socials a {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 24px;
                height: 24px;
                opacity: 0.8;
                transition: 0.3s ease;
            }
            .header-socials a:hover {
                opacity: 1;
                transform: translateY(-2px);
            }

            /* --- Подключение SVG по ссылкам через маски --- */
            .social-icon {
                width: 100%;
                height: 100%;
                background-color: #fff; /* Исходный белый цвет */
                transition: background-color 0.3s ease;
            }
            .icon-tg {
                -webkit-mask: url('https://gosgazeta.ru/tg.svg') no-repeat center / contain;
                mask: url('https://gosgazeta.ru/tg.svg') no-repeat center / contain;
            }
            .icon-vk {
                -webkit-mask: url('https://gosgazeta.ru/vk.svg') no-repeat center / contain;
                mask: url('https://gosgazeta.ru/vk.svg') no-repeat center / contain;
            }

            /* Изменение цвета на золотой при наведении */
            .header-socials a:hover .social-icon {
                background-color: var(--gold-solid);
            }

            /* Мобильные соцсети */
            .mobile-socials {
                display: flex;
                gap: 15px;
                margin-top: 15px;
            }
            .mobile-socials a {
                width: 32px;
                height: 32px;
            }

            @media (max-width: 1024px) {
                .header-socials { display: none; } 
            }

.cf7-form p {
	margin: 0;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 0 0 0em !important;
}

.cf7-acceptance .wpcf7-list-item-label {
    line-height: 20px;
    top: -3px;
    position: relative;
}

a:where(:not(.wp-element-button)) {
    text-decoration: none !important;
}

.pum-theme-67 .pum-content + .pum-close, .pum-theme-lightbox-2 .pum-content + .pum-close {
	opacity: 0;
}

/* --- 404 PAGE STYLES --- */

/* Контейнер секции: растягиваем на весь экран, добавляем темный фон */
.error-section {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    min-height: calc(100vh - 90px); /* Учитываем высоту хедера */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 120px 0;
}

/* Фирменное золотое свечение на заднем фоне */
.error-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--gold-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6; /* Чуть мягче, чем на главной, чтобы не отвлекать */
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Ограничитель ширины (аналог вашего .sqs-container) */
.error-section .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.error-section__wrapper {
    text-align: center;
    position: relative;
}

/* Декоративный гигантский текст "404" на фоне */
.error-section__wrapper::before {
    content: "404";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 350px;
    font-weight: 800;
    color: #fff;
    opacity: 0.03;
    z-index: -1;
    letter-spacing: -10px;
    line-height: 1;
    pointer-events: none;
}

.error-section__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Стилизация заголовка (копирует логику .heading-xl) */
.wp-block-gtm-headline__headline {
    font-size: 80px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 0;
    color: var(--text-on-dark);
    text-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 0 40px rgba(0,0,0,0.4);
}

/* Стилизация кнопки (копирует логику .btn-call-gold) */
.error-search a.button--action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--gold-solid);
    color: #000 !important;
    padding: 18px 40px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(196, 159, 112, 0.3);
    text-decoration: none !important;
    border: none;
}

.error-search a.button--action:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Перекрашиваем inline SVG стрелку из красного в черный */
.error-search a.button--action svg path {
    stroke: #000 !important;
    transition: stroke 0.3s ease;
}

/* --- ADAPTIVE / MOBILE --- */
@media (max-width: 1024px) {
    .error-section .container {
        padding: 0 24px;
    }
    .wp-block-gtm-headline__headline {
        font-size: 42px;
    }
    .error-section__wrapper::before {
        font-size: 200px;
    }
}

@media (max-width: 480px) {
    .wp-block-gtm-headline__headline {
        font-size: 32px;
    }
    .error-section__wrapper::before {
        font-size: 120px;
    }
    .error-search a.button--action {
        width: 100%;
        padding: 18px 20px;
    }
}

/* --- SERVICES ARCHIVE LAYOUT (NO SIDEBAR) --- */

.services-archive {
    padding-top: 160px; /* Увеличенный отступ под хедер и для воздуха */
    min-height: 100vh;
}

/* Центрированный блок заголовка */
.services-archive-header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Сетка карточек услуг на всю ширину */
.services-grid { 
    display: grid; 
    /* Увеличили минимальную ширину карточки до 320px для полноэкранного вида */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 40px; 
    margin-bottom: 80px;
}

/* Карточка услуги (темная тема) */
.services-archive .service-card { 
    background: #111; 
    border-radius: 12px; 
    padding: 0; 
    display: flex; 
    flex-direction: column; 
    transition: 0.4s; 
    position: relative; 
    overflow: hidden; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
}

.service-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); 
    border-color: var(--gold-solid); 
}

.service-img-wrapper {
    display: block;
    width: 100%;
    height: 280px; /* Картинка повыше для баланса с шириной */
    overflow: hidden;
}

.service-img { 
    width: 100%;
    height: 100%; 
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
    filter: brightness(0.85);
}

.service-card:hover .service-img { 
    transform: scale(1.05); 
    filter: brightness(1.1);
}

.service-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    text-align: center; /* Текст в карточке теперь по центру */
}

.service-title { 
    font-size: 22px; 
    margin: 0; 
    font-weight: 600; 
    line-height: 1.4;
}

.service-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.service-card:hover .service-title a {
    color: var(--gold-solid);
}

/* --- ПАГИНАЦИЯ --- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center; /* Центрируем пагинацию */
    gap: 10px;
    margin-top: 40px;
    padding-bottom: 80px;
}

.pagination a, 
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: var(--gold-solid);
    color: var(--gold-solid);
    transform: translateY(-2px);
}

.pagination span.current {
    background: var(--gold-solid);
    color: #000;
    border-color: var(--gold-solid);
}

.pagination .prev,
.pagination .next {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-img-wrapper {
        height: 240px;
    }
    .services-archive-header {
        margin-bottom: 50px;
    }
}

/* --- SINGLE SERVICE PAGE STYLES --- */

/* 1. HERO Секция Услуги */
.service-hero {
    padding-top: 140px;
    padding-bottom: 120px;
    min-height: auto; /* В отличие от главной, не растягиваем на весь экран */
    align-items: center;
}

.service-hero__inner {
    max-width: 900px;
}

/* 2. Шаги работы (Процесс) */
.service-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-num {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    opacity: 0.8;
}

/* 3. Адаптив для внутренних страниц */
@media (max-width: 1024px) {
    .service-hero {
        padding-top: 140px;
        text-align: center;
    }
    
    .service-hero__inner {
        margin: 0 auto;
    }
    
    .service-steps {
        margin-top: 30px;
    }
    
    .step-item {
        text-align: left; /* Текст шагов оставляем по левому краю для читаемости */
    }
}

@media (max-width: 600px) {
    .step-item {
        flex-direction: column;
        gap: 10px;
    }
    .step-num {
        font-size: 24px;
    }
}

/* Дополнительные стили для специфичных блоков этой страницы */
.streaming-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.platform-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: 0.4s;
}
.platform-card:hover {
    border-color: var(--gold-solid);
    transform: translateY(-5px);
}
.platform-card h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 30px;
    min-height: 44px;
}
.platform-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}
.platform-logos img {
    max-height: 40px;
    opacity: 0.7;
    transition: 0.3s;
}
.platform-card:hover .platform-logos img {
    opacity: 1;
}
.platform-logos--sites img {
    border-radius: 8px;
    max-height: 80px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Сетка 2x2 для конфигураций на десктопе */
.led-grid--2x2 {
    grid-template-columns: repeat(2, 1fr) !important;
}
@media (max-width: 768px) {
    .led-grid--2x2 {
        grid-template-columns: 1fr !important;
    }
}

/* Адаптив для видео в портфолио */
.portfolio-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}
.portfolio-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Дополнительные стили для специфичных блоков этой страницы */
.streaming-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.platform-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: 0.4s;
}
.platform-card:hover {
    border-color: var(--gold-solid);
    transform: translateY(-5px);
}
.platform-card h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 30px;
    min-height: 44px;
}
.platform-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}
.platform-logos img {
    max-height: 40px;
    opacity: 0.7;
    transition: 0.3s;
}
.platform-card:hover .platform-logos img {
    opacity: 1;
}
.platform-logos--sites img {
    border-radius: 8px;
    max-height: 80px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Сетка 2x2 для конфигураций на десктопе */
.led-grid--2x2 {
    grid-template-columns: repeat(2, 1fr) !important;
}
@media (max-width: 768px) {
    .led-grid--2x2 {
        grid-template-columns: 1fr !important;
    }
}

/* Адаптив для видео в портфолио и презентаций */
.portfolio-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}
.portfolio-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Красивые списки для текстовых блоков */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.custom-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}
.custom-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-solid);
    font-size: 20px;
    line-height: 1.2;
}
.custom-list--dark li {
    color: #ccc;
}

/* Дополнительные стили для специфичных блоков этой страницы */

/* Сетка 2x2 для оборудования */
.led-grid--2x2 {
    grid-template-columns: repeat(2, 1fr) !important;
}
@media (max-width: 768px) {
    .led-grid--2x2 {
        grid-template-columns: 1fr !important;
    }
}

/* Красивые списки для текстовых блоков внутри карточек */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.custom-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}
.custom-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-solid);
    font-size: 20px;
    line-height: 1.2;
}

/* Спецпредложение (Золотой баннер) */
.promo-banner {
    background: var(--gold-gradient);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: #000;
    box-shadow: 0 20px 50px rgba(196, 159, 112, 0.2);
    position: relative;
    overflow: hidden;
}
.promo-banner::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.5;
    pointer-events: none;
}
.promo-banner__title {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}
.promo-banner__subtitle {
    font-size: 22px;
    font-weight: 600;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Адаптив для видео в портфолио */
.portfolio-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}
.portfolio-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Галерея портфолио */
.portfolio__images {
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    aspect-ratio: 16/9;
    margin-bottom: 15px;
}
.portfolio__images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.portfolio__miniatures {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.portfolio__miniatures img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
    border: 2px solid transparent;
}
.portfolio__miniatures img:hover, 
.portfolio__miniatures img.active {
    opacity: 1;
    border-color: var(--gold-solid);
}

.portfolio__list { display: flex; flex-direction: column; gap: 80px; padding: 0; }
.portfolio__item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}
.portfolio__name {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}
@media (max-width: 1024px) {
    .portfolio__item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Списки характеристик */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.custom-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}
.custom-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-solid);
    font-size: 18px;
    line-height: 1.2;
}

/* Карточка модели экрана */
.screen-model-card {
    display: grid;
    grid-template-columns: 320px 1fr 350px;
    gap: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    transition: 0.4s;
    align-items: center;
}
.screen-model-card:hover {
    border-color: var(--gold-solid);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}
.screen-model-img {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fcfcfc;
    border-radius: 12px;
    padding: 20px;
}
.screen-model-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.screen-model-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #000;
}
.screen-model-price {
    font-size: 18px;
    color: var(--gold-solid);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.screen-model-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}
.screen-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Таблица цен справа */
.screen-model-pricing {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}
.screen-model-pricing h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    color: #000;
}
.pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eaeaea;
    font-size: 15px;
}
.pricing-row:last-child {
    border-bottom: none;
    margin-bottom: 20px;
}
.pricing-day {
    color: #666;
}
.pricing-val {
    font-weight: 700;
    color: #000;
}

/* Баннер доставки */
.promo-banner {
    background: var(--gold-gradient);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: #000;
    box-shadow: 0 20px 50px rgba(196, 159, 112, 0.2);
    position: relative;
    overflow: hidden;
}
.promo-banner__title {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}
.promo-banner__text {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Сетка фотографий */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.photo-card {
    transition: 0.4s;
}
.photo-card-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f0f0f0;
    aspect-ratio: 16/10;
}
.photo-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.photo-card:hover .photo-card-img img {
    transform: scale(1.05);
}
.photo-card-note {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Адаптив */
@media (max-width: 1200px) {
    .screen-model-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .screen-model-img {
        height: auto;
        padding: 40px;
    }
}
@media (max-width: 768px) {
    .screen-specs-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .photo-grid {
        grid-template-columns: 1fr;
    }
    .promo-banner__title {
        font-size: 24px;
    }
}

/* Баннер доставки (Новый премиальный стиль) */
.delivery-banner {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}
.delivery-banner:hover {
    border-color: var(--gold-solid);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}
.delivery-banner::before {
    content: "";
    position: absolute;
    top: -50%; left: -100px;
    width: 300px; height: 200%;
    background: radial-gradient(circle, rgba(196, 159, 112, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transition: 0.4s;
}
.delivery-banner:hover::before {
    opacity: 0.5;
}
.delivery-banner__icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    background: rgba(196, 159, 112, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-solid);
    border: 1px solid rgba(196, 159, 112, 0.2);
}
.delivery-banner__icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}
.delivery-banner__content {
    flex-grow: 1;
    position: relative;
    z-index: 2;
}
.delivery-banner__title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.delivery-banner__text {
    font-size: 16px;
    color: #aaa;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .delivery-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 25px;
    }
    .delivery-banner::before {
        left: 50%; top: -100px;
        transform: translateX(-50%);
        width: 100%; height: 300px;
    }
}

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ ТЕХНИЧЕСКОГО ОБЕСПЕЧЕНИЯ --- */

/* Списки характеристик */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.custom-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
    line-height: 1.4;
}
.custom-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-solid);
    font-size: 18px;
    line-height: 1.2;
}
.custom-list--dark li {
    color: #ccc;
}

/* Баннер доставки (Логистика) */
.delivery-banner {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}
.delivery-banner:hover {
    border-color: var(--gold-solid);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}
.delivery-banner::before {
    content: "";
    position: absolute;
    top: -50%; left: -100px;
    width: 300px; height: 200%;
    background: radial-gradient(circle, rgba(196, 159, 112, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transition: 0.4s;
}
.delivery-banner:hover::before {
    opacity: 0.5;
}
.delivery-banner__icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    background: rgba(196, 159, 112, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-solid);
    border: 1px solid rgba(196, 159, 112, 0.2);
}
.delivery-banner__icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}
.delivery-banner__content {
    flex-grow: 1;
    position: relative;
    z-index: 2;
}
.delivery-banner__title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.delivery-banner__text {
    font-size: 16px;
    color: #aaa;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .delivery-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 25px;
    }
    .delivery-banner::before {
        left: 50%; top: -100px;
        transform: translateX(-50%);
        width: 100%; height: 300px;
    }
}

/* Сетка фотографий для проектов/схем */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.photo-grid--2col {
    grid-template-columns: repeat(2, 1fr);
}
.photo-card {
    transition: 0.4s;
}
.photo-card-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f0f0f0;
    aspect-ratio: 16/10;
}
.photo-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.photo-card:hover .photo-card-img img {
    transform: scale(1.05);
}
.photo-card-note {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    font-weight: 500;
}

/* Адаптив для видео в портфолио */
.portfolio-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}
.portfolio-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Галерея портфолио */
.portfolio__images {
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    aspect-ratio: 16/9;
    margin-bottom: 15px;
}
.portfolio__images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.portfolio__miniatures {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.portfolio__miniatures img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
    border: 2px solid transparent;
}
.portfolio__miniatures img:hover, 
.portfolio__miniatures img.active {
    opacity: 1;
    border-color: var(--gold-solid);
}

.portfolio__list { display: flex; flex-direction: column; gap: 80px; padding: 0; }
.portfolio__item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}
.portfolio__name {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}
@media (max-width: 1024px) {
    .portfolio__item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .photo-grid {
        grid-template-columns: 1fr;
    }
}