/* =========================================
   1. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ (NEON ORANGE)
   ========================================= */
:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-sidebar: #08080c;
    --accent: #ff6a00;
    --accent-light: #ff9500;
    --accent-gradient: linear-gradient(135deg, #ff6a00 0%, #ff9500 100%);
    --accent-glow: rgba(255, 106, 0, 0.3);
    --accent-glow-strong: rgba(255, 106, 0, 0.5);
    --steel: #2c3e50;
    --text: #e0e0e0;
    --text-muted: #8a8f94;
    --border: #1a1a24;
    --mono: 'Courier New', monospace;
    
    /* Safe-area для iPhone с notch */
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-left: env(safe-area-inset-left, 0px);
    --safe-area-right: env(safe-area-inset-right, 0px);
}

/* =========================================
   2. ГЛОБАЛЬНЫЙ СБРОС И iOS-ФИКСЫ
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* iOS Safari: высота на весь экран */
@supports (-webkit-touch-callout: none) {
    html, body {
        height: -webkit-fill-available;
    }
}

/* Динамическая высота viewport (современные браузеры) */
@supports (height: 100dvh) {
    .crm-layout { min-height: 100dvh; }
    .sidebar { height: 100dvh; }
    main { min-height: calc(100dvh - 200px); }
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Исправленный скролл — убираем жесткие ограничения */
html {
    overflow-x: hidden;
}
body {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    /* overscroll-behavior убран — он блокировал скролл на мобильных */
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.3s; 
    -webkit-tap-highlight-color: transparent;
}
a:hover { color: var(--accent); text-shadow: 0 0 10px var(--accent-glow); }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

main { padding: 0 0 20px 0; min-height: calc(100vh - 200px); }

/* =========================================
   3. ШАПКА САЙТА (NEON ORANGE)
   ========================================= */

/* Top Bar */
.top-bar {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 106, 0, 0.2);
    padding: 12px 0;
    font-size: 12px;
    color: var(--text-muted);
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 20px; }
.top-bar-right { display: flex; align-items: center; gap: 25px; }
.top-contact { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.4; }
.top-label { font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.top-contact a { color: var(--text); text-decoration: none; font-size: 12px; }
.top-contact a:hover { color: var(--accent); text-shadow: 0 0 10px var(--accent-glow); }
.btn-top-login {
    background: #2a2d31; color: var(--text); padding: 6px 14px; border-radius: 4px;
    text-decoration: none; font-size: 12px; font-weight: 600; transition: all 0.2s;
}
.btn-top-login:hover { background: var(--accent); color: var(--bg); box-shadow: 0 0 20px var(--accent-glow); }

/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    z-index: 1001;
}
.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: all 0.3s;
    box-shadow: 0 0 8px var(--accent-glow);
}
.burger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Main Header */
.main-header { 
    background: rgba(10, 10, 15, 0.8); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 106, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { 
    display: flex;
    align-items: center;
    gap: 170px;
    padding-bottom: 20px; 
}
.header-logo { text-decoration: none; flex-shrink: 0; }

/* Логотип обёртка */
.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* Логотип в шапке публичного сайта */
.logo-img {
    height: 90px;
    width: auto;
    max-width: 280px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 106, 0, 0.4));
    transition: all 0.3s;
}
.logo-img:hover {
    filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.7));
    transform: scale(1.03);
}

/* ЛОГОТИП В CRM-САЙДБАРЕ — КОМПАКТНЫЙ */
.logo-img-sidebar {
    height: 42px;
    width: auto;
    max-width: 100%;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 106, 0, 0.5));
    transition: all 0.3s;
}

/* ЛОГОТИП В ФУТЕРЕ — УМЕНЬШЕН */
.logo-img-footer {
    /*height: 60px;*/
    width: auto;
    max-width: 220px;
    display: block;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 12px rgba(255, 106, 0, 0.3));
    transition: all 0.3s;
}

.logo-text { 
    font-size: 24px; 
    font-weight: 800; 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px; 
    line-height: 1;
    text-shadow: 0 0 30px var(--accent-glow);
}
.logo-slogan { 
    font-size: 10px; 
    color: var(--text-muted); 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-top: 4px; 
}

.header-search { flex-grow: 1; max-width: 500px; }
.header-search form { display: flex; }
.header-search input {
    flex-grow: 1; background: var(--bg-card); border: 1px solid var(--border); border-right: none;
    color: var(--text); padding: 12px 16px; font-size: 14px; border-radius: 30px 0 0 30px; outline: none;
    transition: all 0.3s;
}
.header-search input:focus { border-color: var(--accent); box-shadow: 0 0 15px var(--accent-glow); }
.header-search button {
    background: var(--accent-gradient); border: none; color: #fff;
    padding: 0 24px; font-size: 18px; cursor: pointer; border-radius: 0 30px 30px 0;
    transition: all 0.3s;
}
.header-search button:hover { box-shadow: 0 0 20px var(--accent-glow); }
.btn-header-cta {
    background: var(--accent-gradient); color: #fff; padding: 12px 28px; border-radius: 30px;
    text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; 
    transition: all 0.3s;
    box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-header-cta:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 40px var(--accent-glow-strong);
    color: #fff;
}

/* Navigation */
.header-nav { background: var(--bg-card); border-top: 1px solid var(--border); }
.main-nav { display: flex; }
.nav-link {
    display: block; padding: 14px 24px; color: var(--text-muted); text-decoration: none;
    font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px;
    transition: all 0.3s;
}
.nav-link:hover, .nav-link.active { 
    color: var(--accent); 
    text-shadow: 0 0 20px var(--accent-glow);
}

/* =========================================
   4. ОБЩИЕ СТИЛИ СТРАНИЦ
   ========================================= */
.page-header {
    text-align: center; padding: 60px 40px; 
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg) 100%);
    border: 1px solid var(--border);
    margin-bottom: 40px; 
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 0;
}
.page-header h1 { 
    font-size: 48px; 
    margin-bottom: 15px; 
    color: var(--text);
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}
.page-header .accent { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-header .subtitle { 
    color: var(--text-muted); 
    font-size: 16px; 
    font-family: var(--mono);
    position: relative;
    z-index: 1;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }

.card, .text-block, .adv-card, .coop-card, .contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px 30px;
    transition: all 0.4s;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.card::before, .adv-card::before, .coop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.card:hover, .adv-card:hover, .coop-card:hover { 
    background: rgba(255, 106, 0, 0.05);
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 106, 0, 0.1);
}
.card:hover::before, .adv-card:hover::before, .coop-card:hover::before { opacity: 1; }

.text-block h2, .adv-card h3 { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px; 
    margin-bottom: 15px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    font-weight: 700;
}
.text-block p, .adv-card p, .coop-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.mono { font-family: var(--mono); color: var(--accent); }

.btn-cta, .btn-submit {
    display: inline-block; 
    background: var(--accent-gradient); 
    color: #fff; 
    padding: 14px 32px;
    font-size: 14px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    border: none; 
    border-radius: 30px; 
    cursor: pointer; 
    transition: all 0.3s;
    box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-cta:hover, .btn-submit:hover { 
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--accent-glow-strong);
    color: #fff;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; font-family: var(--mono); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; background: var(--bg); border: 1px solid var(--border); color: var(--text);
    padding: 12px; font-size: 14px; font-family: inherit; border-radius: 8px;
    transition: all 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { 
    outline: none; 
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

.alert-success { background: rgba(46, 204, 113, 0.1); color: #2ecc71; padding: 12px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; border: 1px solid rgba(46, 204, 113, 0.3); }
.alert-error { background: rgba(231, 76, 60, 0.1); color: #e74c3c; padding: 12px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; border: 1px solid rgba(231, 76, 60, 0.3); }

/* =========================================
   5. CRM LAYOUT & SIDEBAR
   ========================================= */
.crm-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sidebar {
    background: var(--bg-sidebar); 
    border-right: 1px solid var(--border); 
    position: sticky;
    top: 0; 
    height: 100vh; 
    transition: width 0.3s, min-width 0.3s; 
    overflow-y: auto;
}
.sidebar-header { padding: 25px 20px; border-bottom: 1px solid var(--border); }
.sidebar-logo { 
    font-size: 18px; 
    font-weight: 700; 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px; 
    text-transform: uppercase;
}
.sidebar-logo span { color: var(--text-muted); font-weight: 400; font-size: 11px; display: block; letter-spacing: 1px; margin-top: 4px; }
.sidebar-nav { padding: 20px 0; }
.sidebar-section { margin-bottom: 20px; }
.sidebar-section-title { color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; padding: 0 20px; margin-bottom: 10px; font-family: var(--mono); }
.sidebar-link { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: var(--text-muted); font-size: 14px; border-left: 3px solid transparent; transition: all 0.3s; }
.sidebar-link:hover { 
    color: var(--accent); 
    background: rgba(255, 106, 0, 0.05); 
    border-left-color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}
.sidebar-link.active { 
    color: var(--accent); 
    background: rgba(255, 106, 0, 0.08); 
    border-left-color: var(--accent); 
    font-weight: 600;
    text-shadow: 0 0 15px var(--accent-glow);
}
.sidebar-link .icon { font-size: 16px; width: 20px; text-align: center; }
.sidebar-link .badge { margin-left: auto; background: var(--accent-gradient); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; font-family: var(--mono); box-shadow: 0 0 10px var(--accent-glow); }
.sidebar-footer { padding: 20px; border-top: 1px solid var(--border); margin-top: auto; }
.sidebar-user { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.user-avatar { 
    width: 36px; 
    height: 36px; 
    border-radius: 50%; 
    background: var(--accent-gradient); 
    color: #fff; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
    font-size: 14px;
    box-shadow: 0 0 15px var(--accent-glow);
}
.user-info { flex: 1; min-width: 0; }
.user-name { color: var(--text); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.btn-logout { display: block; width: 100%; padding: 10px; background: transparent; border: 1px solid var(--border); color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; text-align: center; border-radius: 8px; transition: all 0.3s; }
.btn-logout:hover { border-color: #e74c3c; color: #e74c3c; box-shadow: 0 0 15px rgba(231, 76, 60, 0.3); }
.main-content { padding: 30px 40px; min-width: 0; }

.sidebar-toggle { 
    position: absolute; 
    top: 20px; 
    right: -14px; 
    width: 28px; 
    height: 28px; 
    background: var(--accent-gradient); 
    border: none; 
    border-radius: 50%; 
    color: #fff; 
    font-size: 12px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 100; 
    box-shadow: 0 0 20px var(--accent-glow);
    transition: all 0.3s;
}
.sidebar-toggle:hover { 
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--accent-glow-strong);
}
.sidebar-collapsed .sidebar { width: 60px; min-width: 60px; }
.sidebar-collapsed .sidebar-header { padding: 15px 10px; text-align: center; }
.sidebar-collapsed .sidebar-logo { font-size: 14px; }
.sidebar-collapsed .sidebar-logo span, .sidebar-collapsed .sidebar-section-title, .sidebar-collapsed .sidebar-link span:not(.icon), .sidebar-collapsed .sidebar-link .badge, .sidebar-collapsed .user-info, .sidebar-collapsed .btn-logout { display: none; }
.sidebar-collapsed .sidebar-link { justify-content: center; padding: 14px 0; border-left: none; }
.sidebar-collapsed .sidebar-link .icon { font-size: 20px; }
.sidebar-collapsed .sidebar-footer { padding: 15px 10px; text-align: center; }
.sidebar-collapsed .user-avatar { margin: 0 auto; }
.sidebar-collapsed .btn-logout { font-size: 10px; padding: 8px 4px; }
.sidebar-collapsed .crm-layout { grid-template-columns: 60px 1fr; }

/* CRM Stats */
.crm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.stat-card { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px; 
    text-align: center; 
    transition: all 0.4s; 
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s;
}
.stat-card:hover, .stat-card.highlight { 
    border-color: rgba(255, 106, 0, 0.3);
    background: rgba(255, 106, 0, 0.05);
    box-shadow: 0 20px 40px rgba(255, 106, 0, 0.1);
}
.stat-card:hover::before, .stat-card.highlight::before { opacity: 1; }
.stat-number { 
    font-size: 44px; 
    font-weight: 800; 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--mono); 
    margin-bottom: 10px;
}
.stat-label { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* CRM Tables */
.data-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.data-table th, .data-table td { padding: 14px 15px; text-align: left; border-bottom: 1px solid var(--border); font-size: 13px; }
.data-table th { 
    background: var(--bg); 
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 11px; 
    letter-spacing: 1px;
}
.data-table tbody tr:hover { background: rgba(255, 106, 0, 0.04); cursor: pointer; }
.data-table .mono { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }

.status-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.status-new { background: #3498db; color: #fff; }
.status-calculation { background: var(--accent-gradient); color: #fff; box-shadow: 0 0 10px var(--accent-glow); }
.status-approved { background: #2ecc71; color: #fff; }
.status-in_production { background: #9b59b6; color: #fff; }
.status-completed { background: #27ae60; color: #fff; }
.status-cancelled { background: #e74c3c; color: #fff; }

.role-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.role-admin { background: #e74c3c; color: #fff; }
.role-manager { background: #3498db; color: #fff; }
.role-technologist { background: #9b59b6; color: #fff; }
.role-client { background: #7f8c8d; color: #fff; }

.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.status-dot.active { background: #2ecc71; box-shadow: 0 0 8px rgba(46, 204, 113, 0.5); }
.status-dot.inactive { background: #e74c3c; }

.actions-cell { white-space: nowrap; }
.btn-icon { text-decoration: none; font-size: 16px; margin-right: 8px; opacity: 0.7; transition: all 0.3s; }
.btn-icon:hover { opacity: 1; transform: scale(1.1); }
.btn-icon.danger:hover { filter: hue-rotate(-30deg); }

.page-actions { margin-bottom: 20px; }
.btn-primary { 
    display: inline-block; 
    background: var(--accent-gradient); 
    color: #fff; 
    padding: 10px 24px; 
    font-size: 13px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    border: none; 
    border-radius: 30px; 
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-primary:hover { 
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px var(--accent-glow-strong);
    color: #fff;
}
.btn-secondary { 
    display: inline-block; 
    background: transparent; 
    color: var(--text-muted); 
    padding: 10px 24px; 
    font-size: 13px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    border: 1px solid var(--border); 
    border-radius: 30px; 
    cursor: pointer;
    transition: all 0.3s;
}
.btn-secondary:hover { 
    border-color: var(--accent); 
    color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* CRM Forms */
.form-container { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px; 
    margin-bottom: 30px; 
    border-radius: 20px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.form-group.full-width { grid-column: 1 / -1; }
textarea.form-input { resize: vertical; font-family: inherit; }
.checkbox-group { display: flex; align-items: center; padding-top: 25px; }
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--text) !important; text-transform: none !important; font-family: inherit !important; font-size: 14px !important; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
.form-actions { display: flex; gap: 15px; padding-top: 20px; border-top: 1px solid var(--border); }

/* Media & Attributes */
.media-section { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px; 
    margin-bottom: 30px; 
    border-radius: 20px;
}
.section-title { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 16px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 20px; 
    padding-bottom: 10px; 
    border-bottom: 1px solid var(--border); 
    font-family: var(--mono);
    font-weight: 700;
}
.media-upload-block { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.upload-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 15px; }
.upload-hint { display: block; color: var(--text-muted); font-size: 11px; margin-top: 5px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.media-item { 
    background: var(--bg); 
    border: 1px solid var(--border); 
    padding: 10px; 
    position: relative; 
    border-radius: 12px;
    transition: all 0.3s;
}
.media-item:hover { border-color: rgba(255, 106, 0, 0.3); }
.media-item.is-main { 
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}
.media-preview { width: 100%; height: 150px; background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 10px; border-radius: 8px; }
.media-preview img, .media-preview video { width: 100%; height: 100%; object-fit: cover; }
.video-preview { position: relative; }
.video-overlay { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    background: var(--accent-gradient); 
    color: #fff; 
    padding: 8px 16px; 
    font-weight: 700; 
    font-size: 12px; 
    border-radius: 20px;
    box-shadow: 0 0 20px var(--accent-glow);
}
.video-url-preview { color: var(--text-muted); font-size: 10px; padding: 10px; word-break: break-all; }
.media-info { margin-bottom: 10px; }
.media-title { color: var(--text); font-size: 12px; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-type { color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.media-actions { display: flex; gap: 8px; justify-content: flex-end; }
.btn-media { 
    background: var(--border); 
    color: var(--text); 
    padding: 6px 10px; 
    text-decoration: none; 
    font-size: 14px; 
    border-radius: 8px;
    transition: all 0.3s;
}
.btn-media:hover { 
    background: var(--accent-gradient); 
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}
.btn-media.danger:hover { background: #e74c3c; color: #fff; box-shadow: 0 0 15px rgba(231, 76, 60, 0.5); }
.main-badge { 
    color: var(--accent); 
    font-size: 11px; 
    font-weight: 700; 
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--accent-glow);
}
.media-empty { color: var(--text-muted); font-style: italic; padding: 20px; text-align: center; }

.attributes-section { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px; 
    margin: 30px 0; 
    border-radius: 20px;
}
.attributes-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.section-subtitle { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-family: var(--mono); 
    margin: 0;
    font-weight: 700;
}
.btn-add-attr { 
    background: transparent; 
    border: 1px dashed var(--accent); 
    color: var(--accent); 
    padding: 8px 16px; 
    font-size: 12px; 
    font-weight: 700; 
    cursor: pointer; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    border-radius: 30px;
    transition: all 0.3s;
}
.btn-add-attr:hover { 
    background: var(--accent-gradient); 
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}
.attr-row { 
    display: grid; 
    grid-template-columns: 1fr 1.5fr 1fr 0.8fr auto; 
    gap: 10px; 
    margin-bottom: 10px; 
    align-items: end; 
    padding: 12px; 
    background: var(--bg-card); 
    border: 1px solid var(--border); 
    border-left: 3px solid var(--accent); 
    border-radius: 12px;
}
.attr-field label { display: block; color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; font-family: var(--mono); }
.attr-field input { 
    width: 100%; 
    background: var(--bg); 
    border: 1px solid var(--border); 
    color: var(--text); 
    padding: 8px; 
    font-size: 13px; 
    border-radius: 8px;
    transition: all 0.3s;
}
.attr-field input:focus { 
    outline: none; 
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}
.btn-remove-attr { 
    background: #e74c3c; 
    color: #fff; 
    border: none; 
    width: 36px; 
    height: 36px; 
    font-size: 16px; 
    cursor: pointer; 
    border-radius: 50%;
    transition: all 0.3s;
}
.btn-remove-attr:hover { 
    opacity: 0.8;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
}
.attr-presets { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.presets-label { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-right: 10px; font-family: var(--mono); }
.btn-preset { 
    background: var(--border); 
    color: var(--text); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 6px 12px; 
    font-size: 12px; 
    cursor: pointer; 
    border-radius: 20px;
    transition: all 0.3s;
}
.btn-preset:hover { 
    background: var(--accent-gradient); 
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* =========================================
   6. КАТАЛОГ И ТОВАРЫ
   ========================================= */
.catalog-header { 
    text-align: center; 
    padding: 60px 40px; 
    border: 1px solid var(--border); 
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg) 100%);
    margin-bottom: 30px; 
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.catalog-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.2;
}
.catalog-header h1 { 
    font-size: 48px; 
    margin-bottom: 15px; 
    color: var(--text);
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}
.catalog-header .subtitle { 
    color: var(--text-muted); 
    font-size: 16px; 
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.catalog-stats .mono { 
    font-family: var(--mono); 
    color: var(--accent); 
    font-size: 14px;
    text-shadow: 0 0 10px var(--accent-glow);
}

.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; margin-bottom: 50px; }
.catalog-sidebar { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px; 
    height: fit-content; 
    position: sticky; 
    top: 20px; 
    border-radius: 20px;
}
.filter-title { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 15px; 
    font-family: var(--mono);
    font-weight: 700;
}
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin-bottom: 4px; }
.filter-link { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 12px; 
    color: var(--text-muted); 
    font-size: 14px; 
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s;
}
.filter-link:hover { 
    color: var(--accent);
    background: rgba(255, 106, 0, 0.05);
    border-left-color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}
.filter-link.active { 
    color: var(--accent); 
    background: rgba(255, 106, 0, 0.08); 
    border-left-color: var(--accent); 
    font-weight: 600;
    text-shadow: 0 0 15px var(--accent-glow);
}
.filter-count { 
    font-family: var(--mono); 
    font-size: 12px; 
    color: var(--text-muted); 
    background: var(--bg); 
    padding: 2px 8px; 
    border-radius: 20px;
}

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.product-card { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px; 
    transition: all 0.4s; 
    display: flex; 
    flex-direction: column; 
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s;
}
.product-card:hover { 
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 106, 0, 0.1);
}
.product-card:hover::before { opacity: 1; }
.product-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.product-article { 
    font-family: var(--mono); 
    font-size: 11px; 
    color: var(--accent); 
    background: rgba(255, 106, 0, 0.1);
    padding: 3px 8px; 
    border-radius: 20px;
    text-shadow: 0 0 8px var(--accent-glow);
}
.product-category { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.product-name { font-size: 18px; margin-bottom: 15px; flex-grow: 1; font-weight: 700; }
.product-name a { color: var(--text); transition: all 0.3s; }
.product-name a:hover { 
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}
.product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.spec-badge { 
    font-family: var(--mono); 
    font-size: 12px; 
    color: var(--accent); 
    border: 1px solid rgba(255, 106, 0, 0.3);
    padding: 4px 10px; 
    border-radius: 20px;
    background: rgba(255, 106, 0, 0.05);
    text-shadow: 0 0 8px var(--accent-glow);
}
.product-price { 
    font-size: 20px; 
    font-weight: 800; 
    color: var(--text); 
    margin-bottom: 15px; 
    font-family: var(--mono);
}
.product-cta { 
    display: block; 
    text-align: center; 
    background: var(--accent-gradient); 
    color: #fff; 
    padding: 12px; 
    font-size: 12px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px var(--accent-glow);
}
.product-cta:hover { 
    transform: translateY(-2px);
    box-shadow: 0 15px 40px var(--accent-glow-strong);
    color: #fff;
}

.empty-catalog { 
    text-align: center; 
    padding: 80px 20px; 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}
.empty-icon { font-size: 64px; color: var(--accent); margin-bottom: 20px; text-shadow: 0 0 30px var(--accent-glow); }

.product-slider-section { 
    margin-bottom: 30px; 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px; 
    overflow: hidden;
}
.productSwiper { width: 100%; height: 500px; }
.swiper-slide { display: flex; align-items: center; justify-content: center; background: #000; }
.swiper-slide img, .swiper-slide video, .swiper-slide iframe { width: 100%; height: 100%; object-fit: contain; }
.video-error { color: var(--text-muted); font-size: 16px; }
.swiper-button-next, .swiper-button-prev { 
    color: var(--accent) !important;
    text-shadow: 0 0 20px var(--accent-glow);
}
.swiper-pagination-bullet-active { 
    background: var(--accent) !important;
    box-shadow: 0 0 10px var(--accent-glow);
}
.no-media { padding: 80px 20px; text-align: center; }
.no-media-placeholder .no-media-icon { 
    font-size: 80px; 
    color: var(--border); 
    margin-bottom: 15px;
}
.no-media-placeholder p { color: var(--text-muted); font-size: 14px; }

.product-detail-header { padding: 30px 20px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.breadcrumb { font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); transition: all 0.3s; }
.breadcrumb a:hover { 
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}
.breadcrumb .current { 
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

.product-detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; margin-bottom: 50px; }
.detail-article { color: var(--text-muted); font-size: 13px; margin-bottom: 10px; }
.detail-article .mono { 
    font-family: var(--mono); 
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent-glow);
}
.detail-title { 
    font-size: 36px; 
    color: var(--text); 
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}
.detail-category { color: var(--text-muted); font-size: 14px; margin-bottom: 30px; }
.detail-category a { 
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent-glow);
}
.detail-category a:hover { text-decoration: underline; }

.detail-specs-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px; 
    margin-bottom: 30px; 
    padding: 25px; 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}
.spec-item { text-align: center; }
.spec-label { 
    color: var(--text-muted); 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 6px; 
    font-family: var(--mono);
}
.spec-value { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 22px; 
    font-weight: 800; 
    font-family: var(--mono);
}
.spec-unit { font-size: 12px; color: var(--text-muted); margin-left: 4px; font-weight: 400; }

.detail-description h2 { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 16px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 15px; 
    font-family: var(--mono);
    font-weight: 700;
}
.detail-description p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

.price-card, .cta-card, .contact-card-detail { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px; 
    margin-bottom: 20px; 
    border-radius: 20px;
}
.price-label, .contact-label-detail { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.price-value { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px; 
    font-weight: 800; 
    font-family: var(--mono);
}
.cta-card h3, .contact-card-detail h3 { color: var(--text); font-size: 18px; margin-bottom: 15px; font-weight: 700; }
.cta-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; line-height: 1.5; }
.btn-cta-full { 
    display: block; 
    text-align: center; 
    background: var(--accent-gradient); 
    color: #fff; 
    padding: 14px; 
    font-size: 13px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-cta-full:hover { 
    transform: translateY(-2px);
    box-shadow: 0 15px 40px var(--accent-glow-strong);
    color: #fff;
}
.contact-row { margin-bottom: 12px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-phone { 
    color: var(--accent); 
    text-decoration: none; 
    font-size: 16px; 
    font-weight: 600;
    text-shadow: 0 0 10px var(--accent-glow);
}
.contact-phone:hover { text-decoration: underline; }

.product-thumb { width: 60px; }
.product-thumb img { width: 50px; height: 50px; object-fit: cover; border: 1px solid var(--border); border-radius: 8px; }
.no-thumb { color: var(--text-muted); font-size: 12px; }

/* =========================================
   7. ГЛАВНАЯ СТРАНИЦА (NEON ORANGE)
   ========================================= */
.hero-taurus {
    padding: 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.hero-taurus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero-taurus::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(10, 10, 15, 0.85) 0%, 
        rgba(10, 10, 15, 0.6) 50%,
        rgba(255, 106, 0, 0.15) 100%
    );
    z-index: 1;
}

.hero-taurus .container {
    position: relative;
    z-index: 2;
    padding: 80px 40px;
}

.hero-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: transparent;
    border: none;
    backdrop-filter: none;
}
.hero-banner-content { padding: 80px 50px; display: flex; flex-direction: column; justify-content: center; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.3);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 25px;
    width: fit-content;
    text-shadow: 0 0 10px var(--accent-glow);
}
.hero-badge::before {
    content: '●';
    color: var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.hero-banner-content h1 { 
    font-size: 56px; 
    color: var(--text); 
    line-height: 1.1; 
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -2px;
}
.hero-banner-content h1 em { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}
.hero-banner-content p { 
    color: var(--text-muted); 
    font-size: 18px; 
    line-height: 1.7; 
    margin-bottom: 40px;
}
.hero-banner-buttons { display: flex; gap: 15px; }
.btn-hero-primary {
    background: var(--accent-gradient);
    color: #fff;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-hero-primary:hover { 
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--accent-glow-strong);
    color: #fff;
}
.btn-hero-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}
.btn-hero-secondary:hover { 
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}
.hero-banner-image {
    background: linear-gradient(135deg, #0a0a0f 0%, #12121a 100%);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    min-height: 500px; 
    position: relative;
}
.hero-banner-image::before { 
    content: '⚙'; 
    font-size: 200px; 
    color: var(--accent);
    opacity: 0.1;
    text-shadow: 0 0 50px var(--accent-glow);
}

.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.section-title-taurus { 
    font-size: 42px; 
    color: var(--text); 
    margin-bottom: 0; 
    font-weight: 800;
    letter-spacing: -1px;
}
.section-title-taurus.left { text-align: left; }
.section-link { 
    color: var(--accent); 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 15px;
    text-shadow: 0 0 10px var(--accent-glow);
}
.section-link:hover { text-decoration: underline; }

.categories-taurus, .news-taurus, .coop-taurus { 
    padding: 100px 0; 
    background: var(--bg);
}
.promotions-taurus, .about-taurus { 
    padding: 100px 0; 
    background: linear-gradient(180deg, transparent 0%, rgba(255, 106, 0, 0.03) 50%, transparent 100%);
    border-top: 1px solid var(--border); 
    border-bottom: 1px solid var(--border);
}

.categories-grid-taurus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.category-card-taurus {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.category-card-taurus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s;
}
.category-card-taurus:hover { 
    background: rgba(255, 106, 0, 0.05);
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 106, 0, 0.1);
}
.category-card-taurus:hover::before { opacity: 1; }
.cat-icon { font-size: 32px; margin-bottom: 15px; }
.cat-name { 
    color: var(--text); 
    font-size: 20px; 
    font-weight: 700; 
    margin-bottom: 10px;
}
.cat-desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.news-grid-taurus { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.news-card-taurus { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; 
    overflow: hidden; 
    transition: all 0.4s;
}
.news-card-taurus:hover { 
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 106, 0, 0.1);
}
.news-image { height: 150px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.news-placeholder { font-size: 60px; color: var(--border); }
.news-content { padding: 20px; }
.news-content h3 { color: var(--text); font-size: 15px; margin-bottom: 10px; line-height: 1.4; font-weight: 600; }
.news-date { color: var(--text-muted); font-size: 12px; }

.promotions-grid-taurus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.promotion-card-taurus { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px; 
    overflow: hidden; 
    position: relative; 
    transition: all 0.4s;
}
.promotion-card-taurus:hover { 
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 106, 0, 0.1);
}
.promo-badge {
    position: absolute; 
    top: 15px; 
    left: 15px; 
    background: #e74c3c; 
    color: #fff;
    padding: 6px 12px; 
    border-radius: 20px; 
    font-weight: 700; 
    font-size: 13px; 
    z-index: 2;
}
.promo-image { 
    height: 200px; 
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg) 100%);
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.promo-placeholder { 
    font-size: 80px; 
    color: var(--accent); 
    opacity: 0.3;
    text-shadow: 0 0 30px var(--accent-glow);
}
.promo-content { padding: 30px; }
.promo-content h3 { color: var(--text); font-size: 20px; margin-bottom: 12px; font-weight: 700; }
.promo-content p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; line-height: 1.6; }
.btn-promo {
    display: inline-block; 
    background: transparent; 
    border: 1px solid var(--accent); 
    color: var(--accent);
    padding: 10px 24px; 
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 13px; 
    transition: all 0.3s;
}
.btn-promo:hover { 
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.about-taurus-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.about-taurus-content p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin-bottom: 20px; }
.about-stats-taurus { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin: 40px 0; 
    padding: 30px 0; 
    border-top: 1px solid var(--border); 
    border-bottom: 1px solid var(--border);
}
.stat-taurus { text-align: center; }
.stat-val { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 33px; 
    font-weight: 800; 
    font-family: var(--mono); 
    margin-bottom: 8px;
}
.stat-label { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.btn-primary-taurus {
    display: inline-block; 
    background: transparent; 
    color: var(--accent); 
    border: 1px solid var(--accent);
    padding: 14px 32px; 
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 14px; 
    transition: all 0.3s;
}
.btn-primary-taurus:hover { 
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}
.about-taurus-image { 
    background: var(--bg); 
    border: 1px solid var(--border); 
    border-radius: 20px; 
    height: 450px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.image-placeholder-about { 
    color: var(--border); 
    font-size: 24px; 
    font-weight: 600;
}

.coop-grid-taurus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.coop-card-taurus { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px; 
    border-radius: 20px; 
    text-align: center;
    transition: all 0.4s;
}
.coop-card-taurus:hover {
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 106, 0, 0.1);
}
.coop-icon-taurus { 
    font-size: 48px; 
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}
.coop-card-taurus h3 { color: var(--text); font-size: 20px; margin-bottom: 15px; font-weight: 700; }
.coop-card-taurus p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

.cta-taurus { 
    padding: 100px 0; 
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.1) 0%, rgba(255, 149, 0, 0.05) 100%);
    position: relative;
    overflow: hidden;
}
.cta-taurus::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
}
.cta-taurus-inner { 
    text-align: center; 
    color: var(--bg);
    position: relative;
    z-index: 1;
}
.cta-taurus-inner h2 { 
    font-size: 42px; 
    font-weight: 800; 
    margin-bottom: 20px; 
    color: var(--text);
    letter-spacing: -1px;
}
.cta-taurus-inner h2 em {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}
.cta-taurus-inner p { 
    font-size: 18px; 
    margin-bottom: 35px; 
    color: var(--text-muted);
}
.cta-buttons-wrapper { display: flex; gap: 40px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn-cta-large-taurus {
    display: inline-block; 
    background: var(--accent-gradient);
    color: #fff;
    padding: 18px 48px;
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 16px;
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: all 0.3s;
    box-shadow: 0 15px 40px var(--accent-glow);
}
.btn-cta-large-taurus:hover { 
    transform: translateY(-3px);
    box-shadow: 0 20px 50px var(--accent-glow-strong);
    color: #fff;
}
.cta-phones-block { text-align: left; }
.cta-phone-taurus { 
    display: block; 
    color: var(--accent);
    font-size: 29px; 
    font-weight: 800; 
    text-decoration: none; 
    font-family: var(--mono);
    text-shadow: 0 0 20px var(--accent-glow);
}
.cta-phone-taurus:hover { 
    text-decoration: underline;
}
.cta-phone-label { color: var(--text-muted); font-size: 14px; opacity: 0.8; }

/* =========================================
   8. СТРАНИЦЫ: УСЛУГИ, КОНТАКТЫ, О КОМПАНИИ
   ========================================= */
.services-list { margin-bottom: 40px; }
.service-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px;
    margin-bottom: 25px;
    transition: all 0.4s;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s;
}
.service-card:hover { 
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 106, 0, 0.1);
}
.service-card:hover::before { opacity: 1; }
.service-number { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--mono); 
    font-size: 56px; 
    font-weight: 800; 
    line-height: 1;
}
.service-content h3 { 
    color: var(--text); 
    font-size: 22px; 
    margin-bottom: 12px;
    font-weight: 700;
}
.service-content p { 
    color: var(--text-muted); 
    font-size: 15px; 
    line-height: 1.6; 
    margin-bottom: 15px;
}
.service-specs { display: flex; gap: 20px; }
.service-specs span { 
    color: var(--accent);
    font-family: var(--mono); 
    font-size: 13px; 
    padding: 6px 12px;
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 20px;
    background: rgba(255, 106, 0, 0.05);
    text-shadow: 0 0 8px var(--accent-glow);
}

.cta-block { 
    text-align: center; 
    padding: 80px 40px; 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 40px; 
    border-radius: 20px;
}
.cta-block h2 { 
    font-size: 32px; 
    margin-bottom: 20px; 
    color: var(--text);
    font-weight: 800;
}
.cta-block p { 
    color: var(--text-muted); 
    margin-bottom: 30px;
    font-size: 16px;
}

.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 50px; }
.contact-card { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px; 
    border-radius: 20px;
}
.contact-label { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 15px; 
    font-family: var(--mono);
    font-weight: 700;
}
.contact-info { margin-bottom: 15px; }
.contact-phone, .contact-email { 
    display: block; 
    color: var(--text); 
    text-decoration: none; 
    font-size: 20px; 
    margin-bottom: 8px; 
    transition: all 0.3s;
    font-weight: 600;
}
.contact-phone:hover, .contact-email:hover { 
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}
.contact-desc { color: var(--text-muted); font-size: 14px; }
.contact-form-section { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px; 
    margin-bottom: 40px; 
    border-radius: 20px;
}
.form-hint { text-align: center; color: var(--text-muted); font-size: 15px; margin-bottom: 30px; }
.contact-form { max-width: 700px; margin: 0 auto; }

.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.advantages h2, .cooperation h2 { 
    text-align: center; 
    font-size: 36px; 
    margin-bottom: 40px; 
    color: var(--text);
    font-weight: 800;
    letter-spacing: -1px;
}
.adv-number { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--mono); 
    font-size: 14px; 
    margin-bottom: 10px;
    font-weight: 700;
}
.adv-card .mono { 
    font-family: var(--mono); 
    color: var(--accent); 
    font-size: 13px;
    text-shadow: 0 0 8px var(--accent-glow);
}
.coop-card { text-align: center; }
.coop-icon { 
    color: var(--accent); 
    font-size: 40px; 
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

/* =========================================
   9. CRM: ДАШБОРД, ЗАЯВКИ, ИСТОРИЯ
   ========================================= */
.quick-actions h2 { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 20px; 
    font-family: var(--mono);
    font-weight: 700;
}
.actions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.action-card { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px; 
    text-decoration: none; 
    transition: all 0.4s; 
    border-radius: 20px; 
    display: block;
    position: relative;
    overflow: hidden;
}
.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s;
}
.action-card:hover { 
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 106, 0, 0.1);
}
.action-card:hover::before { opacity: 1; }
.action-icon { font-size: 36px; margin-bottom: 15px; }
.action-title { 
    color: var(--text); 
    font-size: 18px; 
    font-weight: 700; 
    margin-bottom: 8px;
}
.action-desc { color: var(--text-muted); font-size: 13px; }

.leads-table-container { overflow-x: auto; margin-bottom: 40px; }
.leads-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.leads-table th, .leads-table td { padding: 16px 15px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.leads-table th { 
    background: var(--bg); 
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 11px; 
    letter-spacing: 1px;
}
.leads-table tbody tr { transition: background 0.15s; }
.leads-table tbody tr:hover { 
    background: rgba(255, 106, 0, 0.04);
    cursor: pointer;
}
.lead-row { cursor: pointer; }
.lead-id { 
    color: var(--accent);
    font-weight: 700; 
    font-family: var(--mono);
    text-shadow: 0 0 8px var(--accent-glow);
}
.manager-name { color: var(--text); font-size: 13px; }
.no-manager { color: var(--text-muted); font-style: italic; font-size: 13px; }
.lead-link { 
    color: var(--accent);
    text-decoration: none; 
    font-weight: 600;
    text-shadow: 0 0 8px var(--accent-glow);
}
.lead-link:hover { text-decoration: underline; }

.lead-layout { display: grid; grid-template-columns: 1fr 380px; gap: 25px; margin-bottom: 40px; }
.lead-info-card { 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px; 
    margin-bottom: 20px; 
    border-radius: 20px;
}
.lead-info-card h2 { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 15px; 
    font-family: var(--mono);
    font-weight: 700;
}
.status-row { margin-bottom: 15px; }
.status-form { margin-top: 15px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.form-select, .form-input, .form-textarea { 
    width: 100%; 
    background: var(--bg); 
    border: 1px solid var(--border); 
    color: var(--text); 
    padding: 12px; 
    font-size: 13px; 
    font-family: inherit; 
    border-radius: 8px;
    transition: all 0.3s;
}
.form-select:focus, .form-input:focus, .form-textarea:focus { 
    outline: none; 
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}
.btn-small { 
    background: var(--accent-gradient);
    color: #fff;
    padding: 10px 20px; 
    border: none; 
    font-size: 12px; 
    font-weight: 600; 
    text-transform: uppercase; 
    cursor: pointer; 
    transition: all 0.3s; 
    border-radius: 30px;
    box-shadow: 0 5px 15px var(--accent-glow);
}
.btn-small:hover { 
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--accent-glow-strong);
}
.btn-small.full-width { width: 100%; }
.mt-15 { margin-top: 15px; }

.contact-details { margin-top: 10px; }
.detail-row { display: grid; grid-template-columns: 140px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.detail-row.full { grid-template-columns: 1fr; }
.detail-label { color: var(--text-muted); font-family: var(--mono); font-size: 12px; }
.detail-value { color: var(--text); }
.detail-value.link { 
    color: var(--accent);
    text-decoration: none;
    text-shadow: 0 0 8px var(--accent-glow);
}
.detail-value.link:hover { text-decoration: underline; }

.files-list { margin-top: 10px; }
.file-item { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding: 12px; 
    background: var(--bg); 
    border: 1px solid var(--border); 
    margin-bottom: 8px; 
    border-radius: 12px;
    transition: all 0.3s;
}
.file-item:hover { border-color: rgba(255, 106, 0, 0.3); }
.file-icon { font-size: 20px; }
.file-info { display: flex; flex-direction: column; }
.file-name { 
    color: var(--accent);
    text-decoration: none; 
    font-size: 13px;
    text-shadow: 0 0 8px var(--accent-glow);
}
.file-name:hover { text-decoration: underline; }
.file-size { color: var(--text-muted); font-size: 11px; font-family: var(--mono); }

.empty-history { color: var(--text-muted); font-size: 13px; font-style: italic; }
.history-list { margin-top: 10px; }
.history-item { 
    padding: 15px; 
    background: var(--bg); 
    border-left: 3px solid var(--accent); 
    margin-bottom: 10px; 
    border-radius: 0 12px 12px 0;
}
.history-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.history-user { 
    color: var(--accent);
    font-size: 12px; 
    font-weight: 600;
    text-shadow: 0 0 8px var(--accent-glow);
}
.history-date { color: var(--text-muted); font-size: 11px; font-family: var(--mono); }
.history-action { color: var(--text); font-size: 13px; margin-bottom: 4px; }
.history-comment { color: var(--text-muted); font-size: 12px; line-height: 1.5; padding-top: 8px; border-top: 1px solid var(--border); }

/* =========================================
   10. АДМИНКА: КАТЕГОРИИ, ЛОГИН, 404
   ========================================= */
.categories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.category-section h2 { 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 16px; 
    margin-bottom: 15px; 
    padding-bottom: 10px; 
    border-bottom: 1px solid var(--border);
    font-weight: 700;
}
.empty-text { 
    color: var(--text-muted); 
    font-style: italic; 
    padding: 20px; 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center; 
    border-radius: 12px;
}

.login-container { max-width: 420px; margin: 0 auto; padding: 20px; }
.login-footer { text-align: center; margin-top: 20px; }
.back-link { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 13px; 
    transition: all 0.3s;
}
.back-link:hover { 
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

.page-404 { text-align: center; padding: 100px 20px; }
.error-code { 
    font-size: 120px; 
    font-weight: 800; 
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--mono); 
    line-height: 1; 
    margin-bottom: 20px;
}
.page-404 h1 { color: var(--text); font-size: 28px; margin-bottom: 10px; font-weight: 700; }
.page-404 p { color: var(--text-muted); margin-bottom: 30px; }

/* =========================================
   11. ФУТЕР
   ========================================= */
.main-footer { 
    background: #050508; 
    padding: 80px 0 30px; 
    border-top: 1px solid rgba(255, 106, 0, 0.2);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-col h4 { 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 20px; 
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
    font-weight: 700;
}
.footer-logo { margin-bottom: 20px; }
.footer-desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
    width: 44px; 
    height: 44px; 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-decoration: none;
    font-size: 18px; 
    transition: all 0.3s;
}
.social-link:hover { 
    background: var(--accent-gradient);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 14px; 
    transition: all 0.3s;
}
.footer-links a:hover { 
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}
.footer-contact-block { margin-bottom: 20px; }
.footer-contact-label { 
    color: var(--accent);
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 8px; 
    display: block;
    text-shadow: 0 0 8px var(--accent-glow);
}
.footer-phone { 
    display: block; 
    color: var(--text); 
    font-size: 18px; 
    font-weight: 700; 
    text-decoration: none; 
    margin-bottom: 5px;
    transition: all 0.3s;
}
.footer-phone:hover { 
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}
.footer-email { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 14px;
    transition: all 0.3s;
}
.footer-email:hover { 
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}
.footer-work-time { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 14px; margin-top: 20px; }
.footer-bottom { 
    text-align: center; 
    color: #444; 
    font-size: 13px; 
    padding-top: 30px; 
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-copyright { color: #555; font-size: 13px; }
.footer-policy a { color: #555; text-decoration: none; font-size: 13px; }
.footer-policy a:hover { 
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* =========================================
   12. АНИМАЦИИ ПОЯВЛЕНИЯ (единый блок)
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 40px var(--accent-glow-strong), 0 0 60px var(--accent-glow); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* По умолчанию — контент видим (fallback без JS) */
.animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: all 0.6s ease-out;
}

/* Анимации только при наличии JS */
body.js-enabled .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

body.js-enabled .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Карточки с анимацией */
.category-card-taurus,
.product-card,
.service-card,
.coop-card-taurus,
.news-card-taurus,
.promotion-card-taurus,
.stat-card,
.action-card {
    opacity: 1;
    transform: none;
    transition: all 0.6s ease-out;
}

body.js-enabled .category-card-taurus,
body.js-enabled .product-card,
body.js-enabled .service-card,
body.js-enabled .coop-card-taurus,
body.js-enabled .news-card-taurus,
body.js-enabled .promotion-card-taurus,
body.js-enabled .stat-card,
body.js-enabled .action-card {
    opacity: 0;
    transform: translateY(30px);
}

body.js-enabled .category-card-taurus.visible,
body.js-enabled .product-card.visible,
body.js-enabled .service-card.visible,
body.js-enabled .coop-card-taurus.visible,
body.js-enabled .news-card-taurus.visible,
body.js-enabled .promotion-card-taurus.visible,
body.js-enabled .stat-card.visible,
body.js-enabled .action-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-fade-in { animation: fadeIn 1s ease-out forwards; }
.animate-slide-left { animation: slideInLeft 0.8s ease-out forwards; }
.animate-slide-right { animation: slideInRight 0.8s ease-out forwards; }
.animate-scale-in { animation: scaleIn 0.6s ease-out forwards; }
.animate-glow { animation: glowPulse 3s ease-in-out infinite; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Анимация для hero-элементов */
.hero-banner-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}
.hero-banner-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-banner-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-banner-content > *:nth-child(3) { animation-delay: 0.6s; }
.hero-banner-content > *:nth-child(4) { animation-delay: 0.8s; }

/* Анимация для секций */
.section-header,
.page-header {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Hover-эффекты с анимацией */
.category-card-taurus:hover,
.product-card:hover,
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Пульсирующая кнопка CTA */
.btn-hero-primary,
.btn-cta-large-taurus,
.btn-cta {
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::after,
.btn-cta-large-taurus::after,
.btn-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero-primary:hover::after,
.btn-cta-large-taurus:hover::after,
.btn-cta:hover::after {
    width: 300px;
    height: 300px;
}

/* =========================================
   13. КРОСС-БРАУЗЕРНАЯ МОБИЛЬНАЯ АДАПТАЦИЯ
   ========================================= */

/* iOS Safari: учёт safe-area (notch) */
@supports (padding-top: env(safe-area-inset-top)) {
    .top-bar {
        padding-top: calc(12px + var(--safe-area-top));
    }
    .main-footer {
        padding-bottom: calc(30px + var(--safe-area-bottom));
    }
}

/* Планшеты (до 1200px) */
@media (max-width: 1200px) {
    .news-grid-taurus { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .container { padding: 0 30px; }
    .header-inner { gap: 100px; }
}

/* Мобильные (до 900px) */
@media (max-width: 900px) {
    * { max-width: 100%; }

    /* Top Bar — компактный, sticky */
    .top-bar {
        padding: 8px 0;
        position: sticky;
        top: 0;
        z-index: 101;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .top-bar-left { display: none; }
    .top-bar-right { 
        width: 100%; 
        justify-content: center; 
        flex-wrap: wrap; 
        gap: 12px; 
        font-size: 11px;
    }
    .top-contact { align-items: center; }
    .top-contact a { font-size: 11px; }
    .btn-top-login { display: none; }

    /* Бургер в top-bar с увеличенной touch-зоной */
    .burger-menu { 
        display: flex; 
        order: 10; 
        margin-left: 10px;
        /*padding: 8px;*/
        margin: -8px 0 -8px 10px;
    }

    /* Header — адаптивный, sticky */
    .main-header {
        padding: 15px 0;
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .header-inner { 
        flex-wrap: wrap; 
        gap: 12px; 
        padding: 10px 20px;
    }
    .logo-img { height: 50px; }
    .logo-img-sidebar { height: 38px; }
    .logo-img-footer { height: 50px; max-width: 160px; }
    .logo-slogan { font-size: 9px; }
    .header-search { 
        order: 3; 
        width: 100%; 
        max-width: 100%; 
        margin-top: 10px;
    }
    .header-search input { 
        padding: 12px 16px;
        /* Фикс для iOS — предотвращает zoom при фокусе */
        font-size: 16px !important;
    }
    .header-search button { padding: 0 20px; }
    .btn-header-cta { 
        margin-left: auto; 
        padding: 10px 18px; 
        font-size: 13px; 
        order: 2;
    }

    /* Навигация мобильная с анимацией */
    .header-nav { position: relative; width: 100%; }
    .main-nav {
        display: none;
        position: relative;
        width: 100%;
        background: var(--bg-card);
        border-top: 1px solid var(--border);
        flex-direction: column;
        z-index: 1000;
        animation: slideDown 0.3s ease-out;
    }
    .main-nav.mobile-open { display: flex; }
    .nav-link { 
        border-right: none; 
        border-bottom: 1px solid var(--border); 
        padding: 16px 20px; 
        text-align: center; 
        font-size: 14px;
        /* Увеличенная touch-зона (минимум 44px по рекомендациям Apple) */
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav-link:first-child { border-left: none; }

    /* Hero — адаптивный */
    .hero-taurus {
        margin-left: 0;
        width: 100%;
        padding: 40px 0;
    }
    .hero-taurus .container { padding: 0 20px; }
    .hero-banner { 
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    .hero-banner-image { display: none; }
    .hero-banner-content { padding: 40px 25px; }
    .hero-banner-content h1 { 
        font-size: 32px;
        line-height: 1.2;
    }
    .hero-banner-content p { font-size: 15px; }
    .hero-banner-buttons { 
        flex-direction: column; 
        gap: 12px;
    }
    .btn-hero-primary, .btn-hero-secondary { 
        text-align: center; 
        padding: 14px 24px; 
        font-size: 14px; 
        width: 100%;
        -webkit-tap-highlight-color: transparent;
    }

    /* Секции — одна колонка */
    .categories-grid-taurus { grid-template-columns: 1fr; }
    .about-taurus-grid { grid-template-columns: 1fr; gap: 40px; }
    .coop-grid-taurus { grid-template-columns: 1fr; }
    .promotions-grid-taurus { grid-template-columns: 1fr; }
    .news-grid-taurus { grid-template-columns: 1fr; }

    /* О компании */
    .content-block { grid-template-columns: 1fr; gap: 20px; }
    .text-block { padding: 25px; }
    .text-block h2 { font-size: 18px; }
    .text-block p { font-size: 14px; }
    .advantages h2, .cooperation h2 { font-size: 24px; padding: 0 20px; }
    .grid-2 { grid-template-columns: 1fr; }
    .adv-card, .coop-card { padding: 25px; }

    /* Контакты */
    .contacts-grid { grid-template-columns: 1fr; gap: 20px; }
    .contact-card { padding: 25px; }
    .contact-phone, .contact-email { font-size: 18px; }
    .contact-form-section { padding: 30px; }
    .form-row { grid-template-columns: 1fr; }

    /* Услуги */
    .service-card { grid-template-columns: 1fr; padding: 25px; }
    .service-number { font-size: 48px; }

    /* CRM */
    .crm-layout { grid-template-columns: 1fr; }
    .sidebar { 
        position: relative; 
        height: auto;
        max-height: none;
    }
    .main-content { padding: 20px; }
    .crm-stats { grid-template-columns: repeat(2, 1fr); }

    /* Каталог */
    .catalog-layout, .product-detail-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; padding: 20px; }
    .detail-specs-grid { grid-template-columns: 1fr; }
    .productSwiper { height: 300px; }

    /* Формы */
    .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
    .form-grid, .upload-row, .attr-row { grid-template-columns: 1fr; }

    /* Футер */
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .cta-buttons-wrapper { flex-direction: column; }
    .cta-phones-block { text-align: center; }

    .container { padding: 0 20px; }
}

/* Маленькие мобильные (до 600px) */
@media (max-width: 600px) {
    .header-inner { padding: 10px 15px; }
    .logo-img { height: 45px; }
    .logo-img-sidebar { height: 35px; }
    .logo-img-footer { height: 45px; max-width: 140px; }
    .btn-header-cta { font-size: 12px; padding: 8px 14px; }
    .hero-banner-content { padding: 30px 20px; }
    .hero-banner-content h1 { font-size: 26px; }
    .section-title-taurus { font-size: 24px; }
    .category-card-taurus, .coop-card-taurus, .news-card-taurus { padding: 20px; }
    .product-detail-layout { gap: 20px; }
    .detail-title { font-size: 26px; }
    .price-value { font-size: 26px; }
    .attr-row { grid-template-columns: 1fr; }
    .about-stats-taurus { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .page-header h1 { font-size: 28px; }
    .catalog-header h1 { font-size: 28px; }
    
    /* Увеличиваем touch-зоны для кнопок */
    .btn-primary, .btn-secondary, .btn-cta, .btn-submit {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Фикс для iOS — предотвращает zoom на input */
    input, textarea, select {
        font-size: 16px !important;
    }
}

/* Очень маленькие экраны (до 400px) */
@media (max-width: 400px) {
    .logo-img { height: 40px; }
    .logo-img-sidebar { height: 32px; }
    .logo-img-footer {         height: 100px;
        max-width: 150px;
        margin: 0 auto; }
    .hero-banner-content h1 { font-size: 24px; }
    .section-title-taurus { font-size: 22px; }
    .crm-stats { grid-template-columns: 1fr; }
    .logo-slogan { display: none; }
}
/* =========================================
   LEAD CAPTURE QUIZ WIDGET (NEON ORANGE)
   ========================================= */

/* Плавающая кнопка */
.quiz-widget-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-gradient);
    color: #fff;
    padding: 16px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--accent-glow-strong);
    z-index: 999;
    transition: all 0.3s;
    animation: pulseWidget 2s infinite;
}
.quiz-widget-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px var(--accent-glow-strong);
}
.quiz-icon { font-size: 24px; }
.quiz-text { font-size: 14px; line-height: 1.2; text-align: left; }
.quiz-text strong { font-size: 16px; }

@keyframes pulseWidget {
    0%, 100% { box-shadow: 0 10px 30px var(--accent-glow-strong); }
    50% { box-shadow: 0 10px 40px rgba(255, 106, 0, 0.7); }
}

/* Модальное окно */
.quiz-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}
.quiz-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.quiz-modal-content {
    background: var(--bg-card);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s;
}
.quiz-modal-overlay.active .quiz-modal-content {
    transform: translateY(0);
}

.quiz-close-btn {
    position: absolute;
    top: 15px; right: 20px;
    background: none; border: none;
    color: var(--text-muted);
    font-size: 32px;
    cursor: pointer;
    transition: color 0.2s;
}
.quiz-close-btn:hover { color: var(--accent); }

/* Прогресс-бар */
.quiz-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 10px;
    overflow: hidden;
}
.quiz-progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--accent-glow);
}
.quiz-step-counter {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-family: var(--mono);
}

/* Шаги квиза */
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeInUp 0.4s ease-out; }
.quiz-step h3 {
    color: var(--text);
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: 700;
}

/* Опции (радио-кнопки) */
.quiz-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.quiz-option {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.quiz-option:hover {
    border-color: rgba(255, 106, 0, 0.5);
    background: rgba(255, 106, 0, 0.05);
}
.quiz-option input[type="radio"] {
    appearance: none;
    width: 20px; height: 20px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}
.quiz-option input[type="radio"]:checked {
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}
.quiz-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
}
.quiz-option span {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
}

/* Поля ввода */
.quiz-input-group { margin-bottom: 15px; }
.quiz-input-group input,
.quiz-input-group textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}
.quiz-input-group input:focus,
.quiz-input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}
.quiz-bonus {
    background: rgba(255, 106, 0, 0.1);
    border-left: 3px solid var(--accent);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 20px;
}
.quiz-bonus strong { color: var(--accent); }

/* Кнопки навигации */
.quiz-nav { display: flex; justify-content: space-between; gap: 15px; margin-top: 10px; }
.quiz-btn-next, .quiz-btn-submit {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px var(--accent-glow);
    margin-left: auto; /* Push to right */
}
.quiz-btn-next:hover, .quiz-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow-strong);
}
.quiz-btn-prev {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}
.quiz-btn-prev:hover {
    border-color: var(--text);
    color: var(--text);
}

/* Экран успеха */
.quiz-success { text-align: center; padding: 20px 0; }
.success-icon { font-size: 64px; margin-bottom: 20px; }
.quiz-success h3 { margin-bottom: 15px; }
.quiz-success p { color: var(--text-muted); margin-bottom: 30px; line-height: 1.6; }
.quiz-success .quiz-btn-next { margin: 0 auto; display: inline-block; }

/* Адаптив для виджета */
@media (max-width: 600px) {
    .quiz-widget-btn {
        bottom: 20px; right: 20px;
        padding: 14px 20px;
    }
    .quiz-text { font-size: 13px; }
    .quiz-text strong { font-size: 14px; }
    .quiz-modal-content { padding: 25px; }
    .quiz-step h3 { font-size: 18px; }
    .quiz-option { padding: 14px 16px; }
}
/* Стили для загрузки файла в квизе */
.quiz-file-label {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 106, 0, 0.3);
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
}
.quiz-file-label:hover {
    border-color: var(--accent);
    background: rgba(255, 106, 0, 0.05);
}
.quiz-file-icon {
    font-size: 28px;
    flex-shrink: 0;
}
.quiz-file-text {
    color: var(--text);
    font-size: 14px;
    line-height: 1.4;
}
.quiz-file-text strong {
    color: var(--accent);
    font-size: 15px;
}
.quiz-file-text small {
    color: var(--text-muted);
    font-size: 12px;
}
.quiz-file-input {
    display: none; /* Прячем стандартный input */
}
.quiz-file-name {
    color: var(--accent);
    font-size: 13px;
    margin-top: 8px;
    font-family: var(--mono);
    word-break: break-all;
}
.quiz-file-name.has-file::before {
    content: '✅ Прикреплён: ';
    color: #2ecc71;
}