/* ========== VARIABLES ========== */
:root {
    --primary: #e63946;
    --primary-dark: #b71c1c;
    --primary-light: #ff5252;
    --primary-glow: rgba(230, 57, 70, 0.5);
    --bg-dark: #050505;
    --bg-card: rgba(26, 26, 26, 0.6);
    --bg-card-hover: rgba(34, 34, 34, 0.8);
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --text-muted: #666666;
    --border-color: rgba(255, 255, 255, 0.1);
    --success: #4CAF50;
    --whatsapp: #25D366;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    /* Новые premium переменные */
    --neon-glow: 0 0 20px rgba(230, 57, 70, 0.6), 0 0 40px rgba(230, 57, 70, 0.4), 0 0 60px rgba(230, 57, 70, 0.2);
    --card-gradient: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(26, 26, 26, 0.4) 100%);
    --glass-bg: rgba(20, 20, 20, 0.7);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========== PRELOADER ========== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(230, 57, 70, 0.2);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

.loader-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--text-light);
    animation: pulse-glow 2s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 990;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), #ff8a80);
    z-index: 10000;
    box-shadow: var(--neon-glow);
    transition: width 0.1s ease;
}

/* ========== CURSOR GLOW EFFECT ========== */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cursor-glow.active {
    opacity: 1;
}

/* ========== PARTICLES CANVAS ========== */
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(230, 57, 70, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 0% 50%, rgba(230, 57, 70, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 100% 50%, rgba(230, 57, 70, 0.05) 0%, transparent 30%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Scanline effect */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.15;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 0.5px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== ANIMATIONS ========== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Новые premium анимации */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 5px var(--primary-glow)); }
    50% { filter: drop-shadow(0 0 20px var(--primary-glow)); }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(230, 57, 70, 0.5); }
    50% { text-shadow: 0 0 20px rgba(230, 57, 70, 0.8), 0 0 30px rgba(230, 57, 70, 0.5); }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(230, 57, 70, 0.3); }
    50% { border-color: rgba(230, 57, 70, 0.8); }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(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 heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.05); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0; /* Start hidden */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Ripple Effect */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover::after {
    left: 100%;
    transition: 0.5s;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary-light) 100%);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.5), var(--neon-glow);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    backdrop-filter: blur(5px);
    position: relative;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary);
    transition: width 0.3s var(--transition-smooth);
    z-index: -1;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20BA5C;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    animation: heartbeat 0.5s ease;
}

.btn-outline-small,
.btn-primary-small {
    padding: 10px 20px;
    font-size: 12px;
    position: relative;
    overflow: hidden;
}

.btn-outline-small {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 6px;
    transition: all 0.3s var(--transition-smooth);
}

.btn-outline-small:hover {
    background: rgba(230, 57, 70, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.2);
}

.btn-primary-small {
    background: var(--gradient);
    color: white;
    border-radius: 6px;
    transition: all 0.3s var(--transition-smooth);
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.4);
}

/* ========== PARTICLES & CURSOR ========== */
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.cursor-glow {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.15), transparent 70%);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s;
    mix-blend-mode: screen;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient);
    z-index: 10001;
    width: 0%;
    transition: width 0.1s;
    box-shadow: 0 0 10px var(--primary);
}

/* ========== OPTIMIZATIONS ========== */
section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px; /* Approximate height */
}

.hero, .header {
    content-visibility: visible; /* Always visible */
}

.cursor-glow {
    will-change: transform, left, top;
}

.service-card, .work-card, .advantage-card {
    will-change: transform, opacity;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s var(--transition-smooth);
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(230, 57, 70, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    color: var(--primary);
    font-weight: 800;
    font-size: 14px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-pro {
    color: var(--primary);
}

.logo-subtitle {
    font-size: 10px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s var(--transition-smooth);
    box-shadow: 0 0 10px var(--primary);
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 600;
}

.phone-link i {
    color: var(--primary);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.mobile-nav a {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05); /* Reduced from 1.2 */
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.active .slide-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.8) 40%, rgba(5,5,5,0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 40px;
    border-radius: 24px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    opacity: 1;
    animation: fadeInUp 1s var(--transition-smooth) forwards 0.3s;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #ccc 50%, #fff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    animation: slideInLeft 0.8s var(--transition-smooth) forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-text {
    font-size: 22px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 30px;
    animation: textGlow 2s ease-in-out infinite;
}

.hero-ratings {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-rating-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-rating-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-color: var(--primary);
}

.hero-rating-badge i {
    font-size: 24px;
}

.hero-rating-badge.yandex i {
    color: #FC3F1D;
}

.hero-rating-badge.avito i {
    color: #96C03D;
}

.rating-info {
    display: flex;
    flex-direction: column;
}

.rating-source {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rating-score {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-score i {
    font-size: 14px;
    color: #FFD700;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .hero-content {
        padding: 20px;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
    }
    
    .hero-ratings {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* ========== ADVANTAGES ========== */
.advantages {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(230, 57, 70, 0.05), transparent 70%);
    pointer-events: none;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(15, 15, 15, 0.5) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.5s var(--transition-bounce);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* 3D Tilt Effect Base */
.advantage-card.tilt {
    transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.advantage-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s, transform 0.5s;
    z-index: -1;
}

.advantage-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.advantage-card:hover {
    border-color: var(--primary);
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 30px rgba(230, 57, 70, 0.2);
}

.advantage-number {
    font-size: 90px;
    font-weight: 900;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(230, 57, 70, 0.2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(230, 57, 70, 0.3));
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-number {
    transform: scale(1.1);
    filter: drop-shadow(0 15px 30px rgba(230, 57, 70, 0.5));
}

.advantage-icon {
    font-size: 80px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(230, 57, 70, 0.5));
    animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite;
}

.advantage-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.advantage-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 700;
    letter-spacing: 4px;
}

.advantage-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.advantage-subtitle {
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
    margin-top: 5px;
    text-shadow: 0 0 10px rgba(230, 57, 70, 0.3);
}

.advantage-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.8;
}

/* ========== WHY US ========== */
.why-us {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #ffffff; /* Fallback */
    background: linear-gradient(135deg, #fff 0%, #ccc 50%, #fff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2; /* Ensure it's above particles */
    opacity: 1; /* Ensure visible by default if JS fails */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 15px var(--primary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(15, 15, 15, 0.5) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Gradient border on hover */
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(230, 57, 70, 0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover::before {
    opacity: 1;
}

.why-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.7) 0%, rgba(20, 20, 20, 0.7) 100%);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(230, 57, 70, 0.15);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    margin: 0 auto 25px;
    transition: all 0.5s var(--transition-bounce);
    position: relative;
}

/* Pulsing ring effect */
.why-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: pulse-glow 2s ease-in-out infinite;
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 40px rgba(230, 57, 70, 0.7);
    transform: scale(1.15) rotate(10deg);
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-light);
}

.why-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========== SERVICES ========== */
.services {
    padding: 100px 0;
    background: var(--bg-dark);
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 30px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Spotlight Effect Card */
.service-card {
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 100% 100%, 30px 30px, 30px 30px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    transform-style: preserve-3d;
}

/* Animated gradient border */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), transparent, var(--primary));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientShift 3s ease infinite;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

/* Spotlight gradient overlay */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(230, 57, 70, 0.15), transparent 40%);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 40px rgba(230, 57, 70, 0.15);
}

.service-image {
    position: relative;
    height: 280px; /* Increased from 240px */
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background-color: #0a0a0a;
    transition: transform 0.5s ease;
}

.service-image.contain-image img {
    object-fit: contain;
    background-color: #0a0a0a;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-badge.hot {
    background: linear-gradient(135deg, #ff3333, #ff6b6b);
    color: white;
    animation: heartbeat 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.5);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-price {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(230, 57, 70, 0.3));
}

.service-actions {
    display: flex;
    gap: 10px;
}

/* ========== WORKS ========== */
.works {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
    overflow: hidden;
}

.works-slider {
    position: relative;
    padding: 0 60px; /* Увеличиваем отступы для кнопок */
}

.works-track-container {
    overflow: hidden;
    margin: 0 -20px;
    padding: 20px;
}

.works-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.work-card {
    flex: 0 0 300px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s var(--transition-smooth);
}

.work-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.work-card:hover::before {
    opacity: 1;
}

.work-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(230, 57, 70, 0.2);
}

.work-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center center;
    background-color: #0a0a0a;
    transition: transform 0.6s var(--transition-smooth);
}

.work-card:hover img {
    transform: scale(1.15);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.work-card:hover .work-overlay {
    transform: translateY(0);
}

.work-overlay h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.work-overlay p {
    font-size: 14px;
    color: var(--primary);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    z-index: 10;
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.6), var(--neon-glow);
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

/* ========== RATINGS ========== */
.ratings {
    padding: 60px 0;
    background: var(--bg-dark);
}

.ratings-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.rating-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(15, 15, 15, 0.6) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px 50px;
    text-align: center;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.rating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: 0.6s;
}

.rating-card:hover::before {
    left: 100%;
}

.rating-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 30px rgba(230, 57, 70, 0.15);
}

.rating-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.rating-logo i {
    font-size: 24px;
    color: var(--primary);
}

.rating-logo span {
    font-weight: 600;
    font-size: 16px;
}

.rating-stars {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 10px;
}

.rating-value {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(230, 57, 70, 0.3));
}

/* ========== CONTACT FORM ========== */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}

.contact-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(15, 15, 15, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.contact-form-wrapper h2 {
    font-size: 32px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-form-wrapper > p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input {
    padding: 18px 24px;
    background: rgba(5, 5, 5, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s var(--transition-smooth);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.2);
    background: rgba(10, 10, 10, 0.8);
}

.contact-form input::placeholder {
    color: var(--text-muted);
}

.form-privacy {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== CONTACTS ========== */
.contacts {
    padding: 80px 0;
    background: var(--bg-dark);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts-info h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 18px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-socials {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

.contacts-map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.contacts-map iframe {
    display: block;
}

/* ========== FOOTER ========== */
.footer {
    padding: 30px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 20px;
    font-weight: 800;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.logo-77 {
    color: var(--primary);
    font-size: 16px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 14px;
}

/* ========== FIXED BUTTONS ========== */
.fixed-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    z-index: 1000;
}

.fixed-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    font-weight: 600;
    font-size: 14px;
}

.fixed-btn.call {
    background: var(--primary);
    color: var(--bg-dark);
}

.fixed-btn.whatsapp {
    background: var(--whatsapp);
    color: white;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--whatsapp), #20BA5C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s var(--transition-smooth);
    animation: float 3s ease-in-out infinite;
}

/* Pulsing ring effect */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--whatsapp);
    animation: pulse-glow 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
}

/* ========== MODALS ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    z-index: 2001;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.modal-content p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.modal-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.5s ease;
}

.modal-gallery img:hover {
    transform: scale(1.05);
}

/* ========== LIGHTBOX ========== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .header-actions .btn-whatsapp {
        display: none;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .work-card {
        flex: 0 0 280px;
    }
    
    .fixed-buttons {
        display: flex;
    }
    
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    body {
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .advantage-number {
        font-size: 48px;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .services-tabs {
        gap: 5px;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 10px;
    }
}

/* ========== PREMIUM EFFECTS ========== */

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.6s var(--transition-smooth);
}

.text-reveal.revealed span {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered Animations */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-animation.revealed > *:nth-child(1) { animation: fadeInUp 0.6s var(--transition-smooth) 0.1s forwards; }
.stagger-animation.revealed > *:nth-child(2) { animation: fadeInUp 0.6s var(--transition-smooth) 0.2s forwards; }
.stagger-animation.revealed > *:nth-child(3) { animation: fadeInUp 0.6s var(--transition-smooth) 0.3s forwards; }
.stagger-animation.revealed > *:nth-child(4) { animation: fadeInUp 0.6s var(--transition-smooth) 0.4s forwards; }
.stagger-animation.revealed > *:nth-child(5) { animation: fadeInUp 0.6s var(--transition-smooth) 0.5s forwards; }
.stagger-animation.revealed > *:nth-child(6) { animation: fadeInUp 0.6s var(--transition-smooth) 0.6s forwards; }

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.3s var(--transition-smooth);
}

/* Glowing text effect for important elements */
.glow-text {
    animation: textGlow 2s ease-in-out infinite;
}

/* Premium Card Hover State */
.premium-hover {
    position: relative;
}

.premium-hover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), transparent, rgba(230, 57, 70, 0.1));
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: gradientShift 3s ease infinite;
    pointer-events: none;
}

.premium-hover:hover::before {
    opacity: 1;
}

/* Loading Skeleton Animation */
@keyframes skeleton {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s ease infinite;
}

/* Smooth Image Loading */
img {
    opacity: 1;
    transition: opacity 0.5s ease;
}

img.lazy-loading {
    opacity: 0;
}

/* Focus States for Accessibility */
.btn:focus-visible,
.tab-btn:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .cursor-glow,
    .particles-canvas {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-whatsapp {
        border: 2px solid currentColor;
    }
    
    .service-card,
    .why-card,
    .advantage-card {
        border-width: 2px;
    }
}

/* ========== CRITICAL VISIBILITY FIXES ========== */
/* Ensure section titles are ALWAYS visible */
.section-title {
    opacity: 1 !important;
    visibility: visible !important;
    color: #ffffff;
}

/* Ensure service cards are visible and work with tabs */
.service-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.service-card[style*="display: block"] {
    opacity: 1 !important;
}

/* Work cards visibility */
.work-card {
    opacity: 1;
}

.work-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Advantage cards always visible */
.advantage-card {
    opacity: 1;
}

.advantage-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Why cards always visible */
.why-card {
    opacity: 1;
}

.why-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fix for tab filtering */
.services-grid .service-card {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ========== WOW EFFECTS - PREMIUM ANIMATIONS ========== */

/* Glowing border animation for cards on hover */
@keyframes borderGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(230, 57, 70, 0.3), 0 0 10px rgba(230, 57, 70, 0.2);
    }
    50% { 
        box-shadow: 0 0 20px rgba(230, 57, 70, 0.5), 0 0 30px rgba(230, 57, 70, 0.3), 0 0 40px rgba(230, 57, 70, 0.2);
    }
}

/* Floating animation for icons */
@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Shimmer effect for buttons */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Pulse ring effect */
@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Text typing effect */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

/* Premium button hover effect */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Card 3D tilt effect base */
.service-card,
.why-card,
.advantage-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Glowing text for prices */
.service-price {
    text-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
}

/* Animated underline for links */
.nav a {
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary);
}

.nav a:hover::after {
    width: 100%;
}

/* Floating social icons */
.social-link {
    animation: floatUpDown 3s ease-in-out infinite;
}

.social-link:nth-child(2) {
    animation-delay: 0.2s;
}

.social-link:nth-child(3) {
    animation-delay: 0.4s;
}

/* WhatsApp floating button glow */
.whatsapp-float {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8), 0 0 50px rgba(37, 211, 102, 0.4);
    }
}

/* Hero text entrance animation */
.hero h1 {
    animation: fadeInUp 1s ease forwards, gradientShift 5s ease infinite;
}

.hero-subtitle {
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-text {
    animation: fadeInUp 1s ease 0.4s forwards, textGlow 2s ease-in-out infinite;
    opacity: 0;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

/* Rating stars sparkle */
.rating-stars i {
    animation: starSparkle 1.5s ease-in-out infinite;
}

.rating-stars i:nth-child(2) { animation-delay: 0.1s; }
.rating-stars i:nth-child(3) { animation-delay: 0.2s; }
.rating-stars i:nth-child(4) { animation-delay: 0.3s; }
.rating-stars i:nth-child(5) { animation-delay: 0.4s; }

@keyframes starSparkle {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 2px gold);
    }
    50% { 
        transform: scale(1.2);
        filter: drop-shadow(0 0 10px gold) drop-shadow(0 0 20px gold);
    }
}

/* Advantage number counter glow */
.advantage-number {
    text-shadow: 0 0 30px rgba(230, 57, 70, 0.5);
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-number {
    transform: scale(1.1);
    text-shadow: 0 0 50px rgba(230, 57, 70, 0.8);
}

/* Form input focus glow */
.contact-form input:focus {
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.3), 0 0 20px rgba(230, 57, 70, 0.2);
    border-color: var(--primary);
}

/* Slider button pulse */
.slider-btn {
    position: relative;
}

.slider-btn::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
}

.slider-btn:hover::after {
    animation: pulseRing 1s ease-out;
}

/* Tab button active glow */
.tab-btn.active {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.6), 0 0 40px rgba(230, 57, 70, 0.3);
}

/* Logo hover effect */
.logo:hover .logo-img {
    filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.5));
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Work card image zoom on hover */
.work-card:hover img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

/* Section divider gradient line */
section {
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.3), transparent);
}

section:last-of-type::after {
    display: none;
}

/* Smooth page transitions */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards !important;
    opacity: 1 !important;
}

/* Fix visibility for hero content */
.hero-content {
    opacity: 1 !important;
}

.hero-subtitle,
.hero-text,
.hero-buttons {
    opacity: 1 !important;
}

/* ========== BRANDS MARQUEE ========== */
.brands-section {
    padding: 40px 0;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.brands-track {
    display: flex;
    gap: 50px;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 30px;
    transition: all 0.3s ease;
}

.brand-item img {
    height: 40px;
    width: auto;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: scale(1.1);
}

.brand-item:hover img {
    /* Превращаем белый в красный (#e63946) при наведении */
    /* Сначала делаем черным (brightness 0), потом применяем фильтр для красного */
    filter: brightness(0) invert(28%) sepia(95%) saturate(2065%) hue-rotate(344deg) brightness(96%) contrast(88%) drop-shadow(0 0 5px rgba(230, 57, 70, 0.8));
    opacity: 1;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== PROCESS SECTION ========== */
.process-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #050505, #0a0a0a);
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.process-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.process-number {
    font-size: 60px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    transition: all 0.3s;
}

.process-card:hover .process-number {
    color: rgba(230, 57, 70, 0.2);
    transform: scale(1.2);
}

.process-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.process-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.process-text {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    padding: 100px 0;
    background: #050505;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    color: white;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 12px;
}

.faq-item.active .faq-toggle {
    background: var(--primary);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
    color: var(--text-gray);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding-bottom: 25px;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark), #000);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    margin: 50px 0;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/лого.jpg') center/cover;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* ========== 3D LOGO STYLES ========== */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.logo-img-large {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 
        0 5px 20px rgba(230, 57, 70, 0.4),
        0 0 30px rgba(230, 57, 70, 0.2);
    transition: all 0.3s ease;
}

.logo-img-large:hover {
    transform: scale(1.05);
    box-shadow: 
        0 8px 30px rgba(230, 57, 70, 0.5),
        0 0 40px rgba(230, 57, 70, 0.3);
}

.logo-phone {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 5px;
    text-align: center;
    width: 100%;
}

/* ========== YANDEX REVIEWS SECTION ========== */
.yandex-reviews {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(26, 26, 26, 0.8) 100%);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-top: -20px;
    margin-bottom: 40px;
}

.reviews-phone-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Телефонный фрейм */
.phone-frame {
    width: 320px;
    height: 650px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 45px;
    padding: 12px;
    position: relative;
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.5),
        0 0 0 2px #333,
        inset 0 0 0 2px rgba(255,255,255,0.05);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #0a0a0a;
    border-radius: 0 0 15px 15px;
    z-index: 10;
}

.phone-speaker {
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 35px;
    overflow: hidden;
}

.phone-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.phone-home-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid #333;
    border-radius: 50%;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Скрыт для современного дизайна */
}

.btn-all-reviews {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(252, 63, 29, 0.1);
    border: 2px solid #FC3F1D;
    color: #FC3F1D;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-all-reviews:hover {
    background: #FC3F1D;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(252, 63, 29, 0.4);
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 57, 70, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    font-size: 40px;
    color: #fff;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ========== PROMO SECTION ========== */
.promo-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(20, 20, 20, 1) 100%);
}

.promo-card {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(20, 20, 20, 0.9) 100%);
    border: 2px solid var(--primary);
    border-radius: 30px;
    padding: 50px 40px;
    overflow: hidden;
    animation: borderGlow 3s ease-in-out infinite;
}

.promo-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.3) 0%, transparent 60%);
    animation: rotate 10s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.promo-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    animation: pulse-glow 2s infinite;
}

.promo-title {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(180deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(230, 57, 70, 0.5);
    margin-bottom: 10px;
}

.promo-text {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.promo-label {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.promo-code-wrapper {
    margin-bottom: 20px;
}

.promo-code {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px dashed var(--primary);
    border-radius: 15px;
    padding: 15px 30px;
}

.code-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
}

.copy-btn {
    background: var(--primary);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
}

.promo-hint {
    font-size: 13px;
    color: var(--text-muted);
}

.promo-lights {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.promo-lights span {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary);
}

.promo-lights span:nth-child(2) { animation-delay: 0.1s; }
.promo-lights span:nth-child(3) { animation-delay: 0.2s; }
.promo-lights span:nth-child(4) { animation-delay: 0.3s; }
.promo-lights span:nth-child(5) { animation-delay: 0.4s; }
.promo-lights span:nth-child(6) { animation-delay: 0.5s; }
.promo-lights span:nth-child(7) { animation-delay: 0.6s; }
.promo-lights span:nth-child(8) { animation-delay: 0.7s; }
.promo-lights span:nth-child(9) { animation-delay: 0.8s; }
.promo-lights span:nth-child(10) { animation-delay: 0.9s; }

@keyframes blink {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ========== MAP PHONE FRAME ========== */
.map-phone-frame {
    width: 320px;
    height: 550px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 45px;
    padding: 12px;
    position: relative;
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.5),
        0 0 0 2px #333,
        inset 0 0 0 2px rgba(255,255,255,0.05);
    margin: 0 auto;
}

.map-phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 22px;
    background: #0a0a0a;
    border-radius: 0 0 12px 12px;
    z-index: 10;
}

.map-phone-notch {
    width: 50px;
    height: 5px;
    background: #333;
    border-radius: 3px;
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
}

.map-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 35px;
    overflow: hidden;
}

.map-phone-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 35px;
}

/* ========== PRICE LIST IN MODAL ========== */
.price-list {
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.price-list h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 18px;
}

.price-list ul {
    list-style: none;
    padding: 0;
}

.price-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    color: var(--text-gray);
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list strong {
    color: var(--primary);
}

/* ========== WORKS SLIDER AUTO ========== */
.works-track {
    animation: autoSlide 30s linear infinite;
}

.works-track:hover {
    animation-play-state: paused;
}

@keyframes autoSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== RESPONSIVE FOR NEW ELEMENTS ========== */
@media (max-width: 768px) {
    .logo-img-large {
        width: 60px;
        height: 60px;
    }
    
    .logo-phone {
        font-size: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-title {
        font-size: 42px;
    }
    
    .code-text {
        font-size: 24px;
    }
    
    .promo-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .phone-frame {
        width: 280px;
        height: 570px;
        border-radius: 40px;
    }
    
    .phone-frame::before {
        width: 100px;
        height: 22px;
    }
    
    .phone-screen {
        border-radius: 30px;
    }
    
    .map-phone-frame {
        width: 280px;
        height: 480px;
        border-radius: 40px;
    }
    
    .map-phone-screen {
        border-radius: 30px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-title {
        font-size: 32px;
    }
    
    .code-text {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .phone-frame {
        width: 260px;
        height: 530px;
    }
    
    .map-phone-frame {
        width: 260px;
        height: 450px;
    }
}

/* ========== BANNER CTA ========== */
.banner-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    color: var(--text-light);
    text-align: center;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(0.6);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.8) 0%, rgba(5,5,5,0.6) 50%, rgba(5,5,5,0.9) 100%);
    z-index: -1;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.banner-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.banner-title .highlight {
    color: var(--primary);
    text-shadow: var(--neon-glow);
}

.banner-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.tag:hover {
    background: rgba(230, 57, 70, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.banner-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 50px;
    max-width: 800px;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.banner-buttons .btn {
    min-width: 250px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .banner-cta {
        padding: 60px 0;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-tags {
        gap: 10px;
    }

    .tag {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .banner-description {
        font-size: 1rem;
    }

    .banner-buttons .btn {
        width: 100%;
        min-width: auto;
    }
}

