/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    --bg-left: #111111;     
    --bg-right: #E5E5E5;    
    --text-left: #FFFFFF;
    --text-right: #111111;
    --text-muted: #666666;
    --border: #CCCCCC;
    
    --chrome-grad: linear-gradient(135deg, #f5f5f5 0%, #dbdbdb 20%, #a3a3a3 50%, #dbdbdb 80%, #f5f5f5 100%);
    --chrome-grad-dark: linear-gradient(135deg, #222 0%, #444 20%, #111 50%, #444 80%, #222 100%);
    
    --font-display: 'Syncopate', sans-serif; 
    --font-body: 'Inter', sans-serif;
}

/* ===== СБРОС ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-right);
    color: var(--text-right);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow: hidden; 
}

a { text-decoration: none; color: inherit; }

/* ===== SPLIT LAYOUT ===== */
.split-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: 100vh;
}

/* ===== ЛЕВАЯ ПАНЕЛЬ ===== */
.sidebar {
    background: var(--chrome-grad-dark); 
    color: var(--text-left);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    z-index: 10;
    border-right: 1px solid #000;
}
.sidebar__top { display: flex; flex-direction: column; gap: 1rem; }

.logo { 
    font-family: var(--font-display); 
    font-size: clamp(0.9rem, 1.2vw, 1.1rem); 
    font-weight: 700; 
    letter-spacing: 0.5px; 
    white-space: nowrap; 
}
.logo span { color: #AAA; }

.status { font-size: 0.7rem; font-weight: 600; color: #AAA; display: flex; align-items: center; gap: 0.5rem; letter-spacing: 1px; }
.status .dot { width: 6px; height: 6px; background: #00FF00; border-radius: 50%; box-shadow: 0 0 10px #00FF00; }

.sidebar__nav { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 4rem; }
.sidebar__nav a { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: #888; transition: color 0.3s; letter-spacing: 1px; }
.sidebar__nav a:hover { color: var(--text-left); }

.sidebar__bottom { display: flex; flex-direction: column; gap: 2rem; }
.contact-block { display: flex; flex-direction: column; gap: 0.5rem; border-top: 1px solid #333; padding-top: 1.5rem; }
.label { font-size: 0.7rem; color: #666; letter-spacing: 1px; }
.phone { font-size: 1.2rem; font-weight: 600; transition: color 0.3s; }
.phone:hover { color: #CCC; }
.email { font-size: 0.8rem; color: #666; }

.btn-contact {
    display: flex; 
    justify-content: center; 
    align-items: center;
    padding: 1.2rem; 
    background: var(--chrome-grad); 
    color: var(--text-right); 
    font-family: var(--font-display); 
    font-weight: 700; 
    font-size: 0.8rem;
    transition: all 0.3s ease; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-contact:hover { 
    transform: scale(0.98); 
    color: #00FF00; 
    border-color: #00FF00; 
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4), inset 0 0 10px rgba(0, 255, 0, 0.2); 
    text-shadow: 0 0 8px #00FF00;
}

/* ===== ПРАВАЯ ЧАСТЬ ===== */
.main-content {
    height: 100vh;
    overflow-y: auto;
    padding: 4rem 6rem;
    position: relative;
    background: var(--chrome-grad); 
}

.main-content::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.4), transparent 80%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.main-content:hover::before { opacity: 1; }

.main-content > section { position: relative; z-index: 1; }

/* ===== ГЕРОЙ ===== */
.hero { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }
.hero__meta { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 600; border-bottom: 2px solid var(--text-right); padding-bottom: 1rem; margin-bottom: 3rem; letter-spacing: 2px; font-family: var(--font-display); }
.hero__title {
    font-family: var(--font-display); font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700; line-height: 1; letter-spacing: 2px; margin-bottom: 3rem;
}
.text-chrome {
    background: linear-gradient(180deg, #111 0%, #666 50%, #111 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__desc { font-size: 1.3rem; font-weight: 500; max-width: 550px; line-height: 1.4; }

/* ===== УСЛУГИ (ЖИДКИЙ ХРОМ НА ТЕКСТЕ) ===== */
.services { padding: 6rem 0; border-top: 2px solid var(--text-right); }
.section-title { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--text-muted); margin-bottom: 3rem; letter-spacing: 2px; }

.services-list { display: flex; flex-direction: column; }
.service {
    display: flex; justify-content: space-between; align-items: center;
    padding: 2rem 0; border-bottom: 1px solid var(--text-muted);
    transition: all 0.3s; cursor: pointer;
}
.service:hover { padding-left: 2rem; background: rgba(0,0,0,0.03); }

.service__title { 
    font-family: var(--font-display); 
    font-size: clamp(1.8rem, 3.5vw, 3.5rem); 
    font-weight: 700; 
    text-transform: uppercase; 
    position: relative;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    
    background: linear-gradient(90deg, #111 0%, #111 40%, #888 50%, #111 60%, #111 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.service:hover .service__title { 
    animation: chrome-shine 1.5s infinite linear;
    transform: translateX(10px); 
}

@keyframes chrome-shine {
    to { background-position: 200% center; }
}

.service__num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text-muted); }

/* ===== ПРОЦЕСС (СКАНИРУЮЩИЙ ЛУЧ) ===== */
.process { padding: 6rem 0; border-top: 2px solid var(--text-right); }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.step { 
    background: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.1); 
    padding: 3rem; 
    position: relative;
    overflow: hidden; 
    transition: all 0.3s ease;
}
.step:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 20px rgba(0, 255, 0, 0.2); 
}

.step::after {
    content: '';
    position: absolute;
    top: 0; 
    left: -10%;
    width: 4px; 
    height: 100%;
    background: #00FF00; 
    box-shadow: 
        0 0 10px #00FF00, 
        0 0 20px #00FF00, 
        0 0 40px #00FF00, 
        0 0 80px #00FF00;
    opacity: 0;
    z-index: 10; 
    pointer-events: none;
}

.step:hover::after {
    animation: laser-scan 1.5s linear infinite; 
}

@keyframes laser-scan {
    0% { left: -10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 110%; opacity: 0; }
}

/* ===== КОНТАКТЫ ===== */
.contact { padding: 8rem 0 2rem; border-top: 2px solid var(--text-right); }
.contact__title { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem); font-weight: 700; line-height: 1; margin-bottom: 3rem; letter-spacing: 1px; }
.contact__info { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 6rem; }

/* Изменено для двух номеров: уменьшен размер и добавлен display: block */
.contact__phone { 
    font-family: var(--font-display); 
    font-size: 2.2rem; 
    font-weight: 700; 
    transition: color 0.3s, text-shadow 0.3s; 
    display: block;
    line-height: 1.2;
}
.contact__phone:hover { 
    color: #00FF66;
    text-shadow: 
        0 0 8px rgba(0, 255, 102, 0.6), 
        0 0 20px rgba(0, 255, 102, 0.3); 
}
.contact__email { font-size: 1.2rem; font-weight: 600; color: var(--text-muted); transition: color 0.3s; }
.contact__email:hover { color: var(--text-right); }

/* ===== ФУТЕР ===== */
.footer { border-top: 1px solid var(--text-muted); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; }
.footer__links a { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); transition: color 0.3s; }
.footer__links a:hover { color: var(--text-right); }
.footer__copy { font-size: 0.8rem; color: var(--text-muted); }

/* ===== КУКИ ===== */
.cookie-banner {
    position: fixed; bottom: 20px; right: 20px; left: 340px;
    background: var(--chrome-grad-dark); color: var(--text-left); 
    padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem;
    z-index: 9999; transform: translateY(200%); transition: transform 0.4s ease;
    border: 1px solid #333;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.9rem; color: #AAA; }
.cookie-banner p a { color: var(--text-left); text-decoration: underline; }
.cookie-banner .btn { padding: 0.8rem 1.5rem; background: var(--chrome-grad); color: var(--text-right); border: none; font-family: var(--font-display); font-weight: 700; cursor: pointer; font-size: 0.8rem; }
.cookie-banner .btn:hover { opacity: 0.9; }

/* ===== АНИМАЦИЯ ПОЯВЛЕНИЯ (СКРОЛЛ) ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .split-layout { grid-template-columns: 1fr; height: auto; }
    body { overflow: auto; }
    .sidebar { height: auto; padding: 2rem; border-right: none; border-bottom: 1px solid #333; }
    .sidebar__nav { flex-direction: row; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
    .sidebar__bottom { display: none; }
    .main-content { height: auto; overflow: visible; padding: 2rem; }
    .process-grid { grid-template-columns: 1fr; }
    .cookie-banner { left: 20px; right: 20px; bottom: 20px; }
    .main-content::before { display: none; } 
}
@media (max-width: 768px) {
    .hero__title { font-size: 2.5rem; }
    .service__title { font-size: 1.5rem; }
    .contact__title { font-size: 2.5rem; }
    .contact__phone { font-size: 1.8rem; } /* Чуть уменьшил на мобилках */
    .footer { flex-direction: column; gap: 1rem; text-align: center; }
    .cookie-banner { flex-direction: column; text-align: center; }
    .cookie-banner .btn { width: 100%; }
}