/* --- БАЗОВЫЕ СТИЛИ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #050505; 
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* --- ЖИВОЙ ФОН --- */
.space-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; overflow: hidden;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 165, 0, 0.05) 0%, transparent 50%);
}

.nebula {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.3;
    animation: nebulaPulse 20s infinite alternate linear;
}
.nebula-1 { top: -20%; left: 30%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%); }
.nebula-2 { bottom: -10%; right: 10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, transparent 70%); animation-delay: -5s; }

.stars {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: starsMove 100s linear infinite; opacity: 0.4;
}

@keyframes nebulaPulse {
    0% { transform: translate(0, 0) scale(1); opacity: 0.2; }
    50% { transform: translate(50px, 30px) scale(1.1); opacity: 0.4; }
    100% { transform: translate(-30px, -50px) scale(1); opacity: 0.2; }
}
@keyframes starsMove {
    from { background-position: 0 0, 40px 60px, 130px 270px; }
    to { background-position: 550px 1100px, 1090px 710px, 1130px 270px; }
}

header { position: relative; z-index: 1000; }
main, .marquee-container { position: relative; z-index: 1; }

/* --- ШАПКА --- */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px; background-color: rgba(12, 12, 12, 0.8);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1); backdrop-filter: blur(10px);
    width: 100%; max-width: 1400px; margin: 0 auto;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 80px; max-width: 100%; object-fit: contain; transition: transform 0.3s ease; }
.logo img:hover { transform: scale(1.05); }

nav { display: flex; gap: 30px; align-items: center; }
nav a { color: #aaaaaa; text-decoration: none; font-size: 0.9rem; transition: color 0.2s ease; }
nav a:hover { color: #FFD700; text-shadow: 0 0 8px rgba(255, 215, 0, 0.4); }

.dropdown { position: relative; display: inline-block; }
.dropbtn { cursor: pointer; display: flex; align-items: center; gap: 5px; color: #aaaaaa; text-decoration: none; font-size: 0.9rem; transition: color 0.2s ease; }
.dropbtn:hover { color: #FFD700; text-shadow: 0 0 8px rgba(255, 215, 0, 0.4); }
.dropdown-content { visibility: hidden; opacity: 0; position: absolute; top: 100%; left: -20px; margin-top: 15px; background-color: rgba(15, 15, 15, 0.95); min-width: 240px; border: 1px solid rgba(255, 215, 0, 0.2); border-radius: 8px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(255, 215, 0, 0.05); backdrop-filter: blur(10px); padding: 10px 0; z-index: 100; transform: translateY(15px); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.dropdown-content::before { content: ""; position: absolute; top: -15px; left: 0; width: 100%; height: 15px; background: transparent; }
.dropdown-content a { display: block; padding: 12px 25px; color: #cccccc; font-size: 0.85rem; text-decoration: none; transition: all 0.2s ease; border-left: 2px solid transparent; }
.dropdown-content a:hover { background-color: rgba(255, 215, 0, 0.05); color: #FFD700; border-left: 2px solid #FFD700; text-shadow: 0 0 8px rgba(255, 215, 0, 0.4); }
.dropdown:hover .dropdown-content { visibility: visible; opacity: 1; transform: translateY(0); }

/* --- КНОПКИ --- */
.btn { padding: 10px 24px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.btn-outline { background: rgba(255, 215, 0, 0.03); color: #FFD700; border: 1px solid rgba(255, 215, 0, 0.3); }
.btn-outline:hover { border-color: #FFD700; background: rgba(255, 215, 0, 0.1); box-shadow: 0 0 15px rgba(255, 215, 0, 0.2); }
.btn-solid { background: #FFD700; color: #000000; box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3); }
.btn-solid:hover { background: #ffffff; box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4); }

/* --- БЕГУЩАЯ СТРОКА --- */
.marquee-container { width: 100%; overflow: hidden; padding: 15px 0; margin-top: 10px; }
.marquee-content { display: inline-block; white-space: nowrap; color: #FFD700; font-size: 0.95rem; letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 0 10px rgba(255, 215, 0, 0.4); animation: marquee 25s linear infinite; }
@keyframes marquee { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* --- ГЛАВНЫЙ КОНТЕЙНЕР --- */
main { display: flex; flex-direction: column; padding: 60px 40px 120px 40px; max-width: 1400px; margin: 0 auto; width: 100%; gap: 80px; flex-grow: 1; }

/* --- ПЕРВЫЙ ЭКРАН --- */
.hero-section { display: flex; gap: 60px; align-items: center; justify-content: center; width: 100%; }
.text-section { flex: 1.2; max-width: 700px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(255, 215, 0, 0.05); border: 1px solid rgba(255, 215, 0, 0.15); border-radius: 20px; font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 30px; color: #FFD700; text-transform: uppercase; box-shadow: 0 0 10px rgba(255, 215, 0, 0.1); }
h1 { font-size: 4.5rem; line-height: 1; margin-bottom: 30px; font-weight: 800; background: linear-gradient(180deg, #ffffff 0%, #aaaaaa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-section p { color: #cccccc; line-height: 1.7; margin-bottom: 50px; font-size: 1.15rem; max-width: 90%; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.action-buttons { display: flex; gap: 20px; }

/* Консоль с видео */
.console-section { flex: 1; width: 100%; max-width: 550px; background: rgba(15, 15, 15, 0.6); border: 1px solid rgba(255, 215, 0, 0.2); border-radius: 16px; padding: 30px; backdrop-filter: blur(5px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.05); }
.console-header { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255, 215, 0, 0.1); padding-bottom: 20px; margin-bottom: 25px; align-items: center; }
.console-title { font-weight: 600; color: #ffffff; font-size: 0.95rem; }
.console-status { color: #FFD700; font-size: 0.8rem; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.dot { width: 8px; height: 8px; background-color: #FFD700; border-radius: 50%; display: inline-block; box-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700; animation: pulse 1.5s infinite; }
.console-body { background: #000000; border: 1px solid #1a1a1a; border-radius: 12px; padding: 0; overflow: hidden; min-height: 240px; display: flex; box-shadow: inset 0 0 20px rgba(0,0,0,0.8); }
.console-body video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
@keyframes pulse { 0% { box-shadow: 0 0 5px #FFD700; } 50% { box-shadow: 0 0 15px #FFD700, 0 0 25px #FFD700; } 100% { box-shadow: 0 0 5px #FFD700; } }

/* --- БЛОК СТАТИСТИКИ --- */
.stats-container { 
    display: flex; gap: 40px; width: 100%; max-width: 1200px; justify-content: center; margin: 0 auto; 
}
.stat-card {
    background: rgba(15, 15, 15, 0.7); border: 1px solid rgba(255, 215, 0, 0.4); border-radius: 12px;
    padding: 25px 30px;
    width: 100%; max-width: 450px; 
    backdrop-filter: blur(5px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    text-align: left; position: relative; overflow: hidden; cursor: default;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15), inset 0 0 15px rgba(255, 215, 0, 0.05);
}
.stat-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,215,0,0.15), transparent); transform: skewX(-25deg); transition: all 0.6s ease; }
.stat-card:hover { border-color: rgba(255, 215, 0, 0.9); box-shadow: 0 0 40px rgba(255, 215, 0, 0.4), inset 0 0 25px rgba(255, 215, 0, 0.15); transform: translateY(-8px); }
.stat-card:hover::before { left: 125%; }
.stat-card h3 { font-size: 2.2rem; color: #FFD700; margin-bottom: 5px; font-weight: 800; text-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
.stat-card p { font-size: 0.75rem; color: #cccccc; text-transform: uppercase; letter-spacing: 1px; margin: 0; }

/* --- ИНДИКАТОР СКРОЛЛА --- */
.scroll-indicator { display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.7; transition: opacity 0.3s ease; cursor: pointer; margin: 20px auto; }
.scroll-indicator:hover { opacity: 1; }
.mouse { width: 24px; height: 38px; border: 2px solid #FFD700; border-radius: 15px; position: relative; box-shadow: 0 0 10px rgba(255, 215, 0, 0.2); }
.mouse::before { content: ''; position: absolute; top: 6px; left: 50%; margin-left: -2px; width: 4px; height: 6px; background-color: #FFD700; border-radius: 2px; animation: scrollWheel 1.5s infinite; box-shadow: 0 0 5px #FFD700; }
.scroll-indicator span { color: #FFD700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
@keyframes scrollWheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* --- БЛОК: ПРОЦЕСС РАБОТЫ --- */
.process-section { width: 100%; padding: 40px 0; }
.process-section h2 { font-size: 3.2rem; font-weight: 800; color: #ffffff; margin-bottom: 15px; line-height: 1.2; }
.process-section h2 span { color: #FFD700; text-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }
.process-subtitle { color: #999999; font-size: 1.1rem; margin-bottom: 70px; }
.steps-container { display: flex; justify-content: space-between; gap: 20px; }
.step { flex: 1; position: relative; padding-right: 20px; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 30px; left: 75px; right: 0; height: 1px; background: rgba(255, 215, 0, 0.2); z-index: -2; }
.step:not(:last-child)::before { content: ''; position: absolute; top: 29px; left: 75px; right: 0; height: 2px; background: #FFD700; z-index: -1; opacity: 0; animation: linePulse 2.5s infinite; }
@keyframes linePulse { 0% { opacity: 0; box-shadow: 0 0 0px #FFD700; } 10% { opacity: 1; box-shadow: 0 0 15px #FFD700, 0 0 5px #FFD700; } 20% { opacity: 0; box-shadow: 0 0 0px #FFD700; } 30% { opacity: 1; box-shadow: 0 0 15px #FFD700, 0 0 5px #FFD700; } 40% { opacity: 0; box-shadow: 0 0 0px #FFD700; } 100% { opacity: 0; box-shadow: 0 0 0px #FFD700; } }
.step:nth-child(1)::before { animation-delay: 0s; }
.step:nth-child(2)::before { animation-delay: 0.5s; }
.step:nth-child(3)::before { animation-delay: 1.0s; }
.step-number { width: 60px; height: 60px; border-radius: 50%; background: rgba(12, 12, 12, 0.9); border: 2px solid rgba(255, 215, 0, 0.3); color: #FFD700; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; margin-bottom: 25px; position: relative; z-index: 2; transition: all 0.3s ease; box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.05); }
.step:hover .step-number { border-color: #FFD700; box-shadow: 0 0 25px rgba(255, 215, 0, 0.3), inset 0 0 15px rgba(255, 215, 0, 0.2); transform: scale(1.05); }
.step-title { font-size: 1.25rem; color: #ffffff; margin-bottom: 12px; font-weight: 700; }
.step-desc { font-size: 0.95rem; color: #888888; line-height: 1.6; }

/* --- БЛОК FAQ --- */
.faq-section { display: flex; justify-content: space-between; gap: 60px; width: 100%; padding: 80px 0; align-items: flex-start; }
.faq-left { flex: 0 0 35%; position: sticky; top: 40px; }
.faq-header-top { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; }
.faq-num-box { background: rgba(255, 215, 0, 0.08); color: #FFD700; padding: 4px 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; border: 1px solid rgba(255, 215, 0, 0.2); }
.faq-top-text { color: #999999; font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; }
.faq-line { flex-grow: 1; height: 1px; background: linear-gradient(90deg, rgba(255,215,0,0.4) 0%, transparent 100%); }
.faq-title { font-size: 4rem; font-weight: 800; line-height: 1.1; color: #ffffff; margin-bottom: 25px; }
.faq-title span { color: #FFD700; }
.faq-desc { color: #cccccc; font-size: 1rem; line-height: 1.6; }
.faq-right { flex: 1; display: flex; flex-direction: column; gap: 15px; }
.accordion-item { background: rgba(15, 15, 15, 0.6); border: 1px solid rgba(255, 215, 0, 0.1); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.accordion-item:hover { border-color: rgba(255, 215, 0, 0.3); background: rgba(20, 20, 20, 0.8); }
.accordion-item.active { border-color: rgba(255, 215, 0, 0.5); box-shadow: 0 0 20px rgba(255, 215, 0, 0.05); }
.accordion-header { display: flex; align-items: center; padding: 20px 25px; cursor: pointer; user-select: none; }
.acc-num { background: rgba(255, 215, 0, 0.08); color: #FFD700; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 700; font-size: 0.8rem; border: 1px solid rgba(255, 215, 0, 0.2); margin-right: 20px; flex-shrink: 0; }
.acc-title { flex-grow: 1; font-size: 1.05rem; font-weight: 600; color: #ffffff; margin: 0; padding-right: 20px; }
.acc-icon { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; flex-shrink: 0; }
.acc-icon svg { fill: #999; width: 14px; height: 14px; transition: fill 0.3s ease; }
.accordion-item:hover .acc-icon { background: rgba(255, 255, 255, 0.1); }
.accordion-item.active .acc-icon { transform: rotate(180deg); background: rgba(255, 215, 0, 0.15); }
.accordion-item.active .acc-icon svg { fill: #FFD700; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s cubic-bezier(0, 1, 0, 1); }
.accordion-content-inner { padding: 0 25px 25px 80px; }
.accordion-content p { color: #999999; font-size: 0.95rem; line-height: 1.6; }

/* --- СТРАНИЦА ПОРТФОЛИО --- */
.portfolio-section { display: flex; flex-direction: column; align-items: center; width: 100%; padding-top: 20px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; width: 100%; }
.portfolio-card { background: rgba(15, 15, 15, 0.6); border: 1px solid rgba(255, 215, 0, 0.1); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; backdrop-filter: blur(5px); display: flex; flex-direction: column; }
.portfolio-card:hover { border-color: rgba(255, 215, 0, 0.5); transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.15); }
.card-image { width: 100%; aspect-ratio: 16 / 9; background: rgba(0, 0, 0, 0.5); overflow: hidden; position: relative; border-bottom: 1px solid rgba(255, 215, 0, 0.1); }
.card-image img, .card-image video { width: 100%; height: 100%; object-fit: contain; opacity: 0.7; transition: all 0.5s ease; background-color: transparent; }
.portfolio-card:hover .card-image img, .portfolio-card:hover .card-image video { opacity: 1; transform: scale(1.05); }
.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { color: #FFD700; font-size: 1.3rem; margin-bottom: 12px; font-weight: 700; }
.card-content p { color: #cccccc; font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; }
.card-btn { margin-top: auto; width: 100%; font-size: 0.85rem; padding: 12px 15px; }

/* --- ГАЛЕРЕЯ КРУПНЫХ ДОКУМЕНТОВ --- */
.document-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; width: 100%; max-width: 1100px; margin: 0 auto; }
.doc-image { background: rgba(15, 15, 15, 0.6); border: 1px solid rgba(255, 215, 0, 0.15); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.5); display: flex; position: relative; }
.doc-image:hover { border-color: rgba(255, 215, 0, 0.5); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 215, 0, 0.15); }
.doc-image img { width: 100%; height: auto; display: block; opacity: 0.85; transition: opacity 0.3s ease; }
.doc-image:hover img { opacity: 1; }
.country-badge { position: absolute; top: 20px; left: 20px; background: rgba(10, 10, 10, 0.7); border: 1px solid rgba(255, 215, 0, 0.3); color: #ffffff; padding: 8px 16px; border-radius: 20px; font-size: 0.95rem; font-weight: 600; display: flex; align-items: center; gap: 10px; backdrop-filter: blur(5px); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); z-index: 2; transition: all 0.3s ease; }
.doc-image:hover .country-badge { border-color: #FFD700; box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4); transform: scale(1.05); }
.flag-icon { font-size: 1.3rem; display: inline-block; animation: flagWave 2s infinite ease-in-out alternate; }
@keyframes flagWave { 0% { transform: rotate(-8deg) translateY(0px); } 100% { transform: rotate(8deg) translateY(-3px); } }

/* --- СТРАНИЦА ОТЗЫВОВ --- */
.reviews-section { display: flex; flex-direction: column; align-items: center; width: 100%; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; width: 100%; max-width: 1200px; margin: 0 auto; }
.review-card { background: rgba(15, 15, 15, 0.6); border: 1px solid rgba(255, 215, 0, 0.1); border-radius: 12px; padding: 30px; backdrop-filter: blur(5px); transition: all 0.3s ease; display: flex; flex-direction: column; gap: 15px; }
.review-card:hover { border-color: rgba(255, 215, 0, 0.5); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.15); }
.review-header { display: flex; align-items: center; gap: 15px; border-bottom: 1px solid rgba(255, 215, 0, 0.1); padding-bottom: 15px; }
.review-avatar { width: 45px; height: 45px; border-radius: 50%; background: rgba(255, 215, 0, 0.1); border: 1px solid rgba(255, 215, 0, 0.3); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #FFD700; font-size: 1.2rem; box-shadow: 0 0 10px rgba(255, 215, 0, 0.1); }
.review-info { display: flex; flex-direction: column; }
.review-name { font-weight: 700; color: #ffffff; font-size: 1.05rem; }
.review-date { font-size: 0.8rem; color: #777777; margin-top: 4px; }
.review-stars { color: #FFD700; font-size: 1.1rem; letter-spacing: 2px; text-shadow: 0 0 5px rgba(255, 215, 0, 0.4); }
.review-text { color: #cccccc; font-size: 0.95rem; line-height: 1.6; font-style: italic; margin-bottom: 15px; }
.review-case-btn { margin-top: auto; display: inline-block; padding: 10px 15px; background: transparent; color: #FFD700; border: 1px solid rgba(255, 215, 0, 0.3); border-radius: 8px; font-size: 0.85rem; font-weight: 600; text-align: center; text-decoration: none; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; }
.review-case-btn:hover { background: rgba(255, 215, 0, 0.1); border-color: #FFD700; box-shadow: 0 0 15px rgba(255, 215, 0, 0.2); transform: translateX(5px); }

/* --- СТРАНИЦА КЕЙСА (CASE STUDY) --- */
.case-page-section { width: 100%; max-width: 1200px; margin: 0 auto; padding-top: 20px; }
.case-nav { margin-bottom: 40px; }
.case-header-block { margin-bottom: 50px; text-align: left; }
.case-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin: 20px 0; color: #ffffff; }
.case-title span { color: #FFD700; }
.case-meta { display: flex; align-items: center; gap: 15px; color: #999999; font-size: 0.95rem; flex-wrap: wrap; }
.case-meta strong { color: #cccccc; }
.case-details-horizontal { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-bottom: 40px; }
.detail-block h3 { color: #ffffff; font-size: 1.5rem; margin-bottom: 15px; display: flex; align-items: center; gap: 12px; }
.step-num { color: #000; background: #FFD700; border-radius: 4px; padding: 2px 8px; font-size: 0.9rem; font-weight: 800; }
.detail-block p { color: #cccccc; line-height: 1.7; font-size: 1.05rem; }
.gallery-title { font-size: 2.8rem; font-weight: 800; color: #ffffff; text-align: center; margin-bottom: 40px; padding-top: 40px; border-top: 1px solid rgba(255, 215, 0, 0.1); }
.gallery-title span { color: #FFD700; }
.case-visuals-full { display: flex; flex-direction: column; gap: 50px; width: 100%; max-width: 900px; margin: 0 auto; }
.blur-proof-container { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: #111; border: 1px solid rgba(255, 215, 0, 0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.8); transition: all 0.3s ease; display: flex; }
.blurred-image { width: 100%; height: auto; display: block; filter: brightness(0.6); transition: all 0.4s ease; }
.privacy-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; border: 2px solid rgba(255, 215, 0, 0.5); padding: 20px 30px; border-radius: 8px; background: rgba(10, 10, 10, 0.6); backdrop-filter: blur(5px); width: 80%; max-width: 400px; transition: all 0.3s ease; }
.privacy-icon { font-size: 2rem; }
.privacy-overlay span { color: #FFD700; font-weight: 800; font-size: 1.2rem; letter-spacing: 2px; }
.privacy-overlay small { color: #aaaaaa; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.blur-proof-container:hover .blurred-image { filter: brightness(1); }
.blur-proof-container:hover .privacy-overlay { opacity: 0; }

/* --- ПОДВАЛ (FOOTER) --- */
.site-footer { background-color: rgba(10, 10, 10, 0.8); border-top: 1px solid rgba(255, 215, 0, 0.1); padding: 40px 20px 30px 20px; margin-top: auto; backdrop-filter: blur(10px); text-align: center; position: relative; z-index: 1; }
.footer-content { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.footer-logo { font-size: 2.8rem; font-weight: 900; letter-spacing: 6px; text-transform: uppercase; background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; animation: premiumPulse 3s infinite ease-in-out; }
@keyframes premiumPulse { 0% { transform: scale(1); filter: drop-shadow(0px 5px 15px rgba(255, 215, 0, 0.2)); } 50% { transform: scale(1.05); filter: drop-shadow(0px 15px 35px rgba(255, 215, 0, 0.6)) brightness(1.2); } 100% { transform: scale(1); filter: drop-shadow(0px 5px 15px rgba(255, 215, 0, 0.2)); } }
.disclaimer { color: #999999; font-size: 0.85rem; line-height: 1.6; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.copyright { color: #555555; font-size: 0.75rem; margin-top: 15px; letter-spacing: 1px; }
/* --- МЕТОДЫ ОПЛАТЫ В ПОДВАЛЕ --- */
.payment-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    padding: 20px 0;
    width: 100%;
}

.payment-title {
    color: #777777;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pay-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.pay-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #aaaaaa;
    font-size: 0.85rem; 
    text-transform: lowercase; /* Принудительно делаем все буквы маленькими */
    background: rgba(255, 215, 0, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.15);
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: default;
}

.pay-badge:hover {
    border-color: #FFD700;
    color: #ffffff;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.15);
}

.pay-icon {
    color: #FFD700;
    font-size: 1.1rem;
    font-weight: 800;
}


/* ==========================================================================
   АДАПТИВНОСТЬ (МОБИЛЬНЫЕ УСТРОЙСТВА) - СТРОГО В САМОМ КОНЦЕ
   ========================================================================== */

/* Для планшетов и небольших экранов (меньше 900px) */
@media (max-width: 900px) {
    main { padding: 40px 20px 80px 20px; gap: 60px; text-align: center; }
    .hero-section { flex-direction: column; gap: 50px; }
    h1 { font-size: 2.8rem; margin-bottom: 20px; }
    .text-section p { font-size: 1rem; max-width: 100%; margin-bottom: 30px; margin-left: auto; margin-right: auto; }
    .text-section, .console-section { max-width: 100%; }
    .action-buttons { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .action-buttons .btn { width: 100%; max-width: 250px; } 

    header { flex-direction: column; gap: 20px; padding: 20px; }
    nav { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .console-section { padding: 20px; }
    .console-body { min-height: 200px; }
    .marquee-content { font-size: 0.8rem; }
    
    .stats-container { flex-wrap: wrap; justify-content: center; }
    .stat-card { min-width: calc(50% - 10px); text-align: center; }

    .process-section h2 { font-size: 2.3rem; }
    .steps-container { flex-direction: column; gap: 40px; }
    .step { padding-right: 0; display: flex; flex-direction: column; align-items: center; }
    .step:not(:last-child)::after, .step:not(:last-child)::before { display: none; }

    .faq-section { flex-direction: column; gap: 40px; text-align: left; }
    .faq-left { position: relative; top: 0; }
    .faq-title { font-size: 2.8rem; }
    .accordion-content-inner { padding: 0 20px 20px 20px; }
    .faq-header-top { justify-content: flex-start; }
}

/* Специально для телефонов (меньше 500px) */
@media (max-width: 500px) {
    h1 { font-size: 1.8rem !important; line-height: 1.2; margin-bottom: 15px; word-wrap: break-word; }
    nav { gap: 10px; }
    nav a, .dropbtn { font-size: 0.8rem; }
    .logo img { height: 60px; }
    .stat-card { min-width: 100%; }
    .acc-title { font-size: 0.95rem; }
    .accordion-header { padding: 15px 20px; }
    
    /* Сбрасываем сетки в одну колонку на телефонах */
    .case-details-horizontal { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .document-gallery { grid-template-columns: 1fr; gap: 25px; }
    .case-title { font-size: 2.2rem; }

    /* === НОВЫЕ ФИКСЫ ДЛЯ КЕЙСОВ И ПОДВАЛА === */
    
    /* Убиваем горизонтальную прокрутку (чтобы сайт не шатался) */
    body, html { overflow-x: hidden; width: 100%; }
    
    /* Картинки-пруфы делаем на всю ширину экрана */
    .blur-proof-container { width: 100% !important; margin-bottom: 20px; }
    
    /* Адаптируем подвал и способы оплаты */
    .site-footer { padding: 30px 15px; text-align: center; }
    .pay-badges { flex-wrap: wrap; justify-content: center; gap: 10px; }
}