        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --primary-light: #3b82f6;
            --secondary: #06b6d4;
            --accent: #f59e0b;
            --accent-hover: #d97706;
            --dark: #0f172a;
            --dark-mid: #1e293b;
            --gray-900: #111827;
            --gray-800: #1f2937;
            --gray-700: #374151;
            --gray-600: #4b5563;
            --gray-500: #6b7280;
            --gray-400: #9ca3af;
            --gray-300: #d1d5db;
            --gray-200: #e5e7eb;
            --gray-100: #f3f4f6;
            --gray-50: #f9fafb;
            --white: #ffffff;
            --success: #10b981;
            --danger: #ef4444;
            --gradient-1: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
            --gradient-2: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
            --gradient-3: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
            --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
            --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
            --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
            --radius: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--gray-50);
            color: var(--gray-800);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* ===== HEADER ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255,255,255,0.08);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .header.scrolled {
            background: rgba(15, 23, 42, 0.95);
            box-shadow: 0 4px 30px rgba(0,0,0,0.3);
        }

        .header-inner {
            max-width: 1340px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--white);
        }

        .logo-icon {
            width: 44px;
            height: 44px;
            background: var(--gradient-1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: 800;
            color: white;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
        }

        .logo-text {
            font-size: 18px;
            font-weight: 700;
            letter-spacing: -0.3px;
        }

        .logo-text span {
            color: var(--secondary);
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .nav-link {
            padding: 8px 8px;
            color: var(--gray-300);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.25s ease;
            position: relative;
        }

        .nav-link:hover {
            color: var(--white);
            background: rgba(255,255,255,0.08);
        }

        .nav-link.active {
            color: var(--white);
            background: rgba(37, 99, 235, 0.2);
        }

        .nav-cta {
            padding: 10px 24px;
            background: var(--gradient-1);
            color: var(--white);
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            border-radius: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
            margin-left: 8px;
        }

        .nav-cta:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
        }

        .burger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 8px;
            border: none;
            background: none;
        }

        .burger span {
            width: 24px;
            height: 2px;
            background: var(--white);
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .burger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .burger.active span:nth-child(2) {
            opacity: 0;
        }

        .burger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* ===== HERO ===== */
        .hero {
            min-height: 100vh;
            background: var(--gradient-2);
            position: relative;
            display: flex;
            align-items: center;
            overflow: hidden;
            padding-top: 72px;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            animation: heroPulse 8s ease-in-out infinite;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: heroPulse 10s ease-in-out infinite reverse;
        }

        @keyframes heroPulse {
            0%, 100% { transform: scale(1); opacity: 0.5; }
            50% { transform: scale(1.1); opacity: 1; }
        }

        .hero-grid {
            position: absolute;
            inset: 0;
            background-image: 
                linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
            background-size: 60px 60px;
        }

        .hero-inner {
            max-width: 1340px;
            margin: 0 auto;
            padding: 80px 24px;
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .hero-content {
            max-width: 600px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            background: rgba(37, 99, 235, 0.15);
            border: 1px solid rgba(37, 99, 235, 0.3);
            border-radius: 50px;
            color: var(--primary-light);
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 24px;
            animation: fadeInUp 0.6s ease-out;
        }

        .hero-badge::before {
            content: '';
            width: 8px;
            height: 8px;
            background: var(--success);
            border-radius: 50%;
            animation: blink 2s ease-in-out infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        .hero h1 {
            font-size: clamp(36px, 5vw, 64px);
            font-weight: 800;
            color: var(--white);
            line-height: 1.1;
            letter-spacing: -1.5px;
            margin-bottom: 24px;
            animation: fadeInUp 0.6s ease-out 0.1s both;
        }

        .hero h1 .highlight {
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-desc {
            font-size: 18px;
            color: var(--gray-400);
            line-height: 1.7;
            margin-bottom: 40px;
            max-width: 520px;
            animation: fadeInUp 0.6s ease-out 0.2s both;
        }

        .hero-actions {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            animation: fadeInUp 0.6s ease-out 0.3s both;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 32px;
            font-size: 15px;
            font-weight: 600;
            border-radius: 12px;
            text-decoration: none;
            cursor: pointer;
            border: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-family: inherit;
        }

        .btn-primary {
            background: var(--gradient-1);
            color: var(--white);
            box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(37, 99, 235, 0.5);
        }

        .btn-outline {
            background: rgba(255,255,255,0.05);
            color: var(--white);
            border: 1px solid rgba(255,255,255,0.15);
        }

        .btn-outline:hover {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }

        .hero-stats {
            display: flex;
            gap: 40px;
            margin-top: 48px;
            animation: fadeInUp 0.6s ease-out 0.4s both;
        }

        .hero-stat {
            text-align: left;
        }

        .hero-stat-value {
            font-size: 32px;
            font-weight: 800;
            color: var(--white);
            letter-spacing: -1px;
        }

        .hero-stat-label {
            font-size: 13px;
            color: var(--gray-500);
            font-weight: 500;
            margin-top: 2px;
        }

        .hero-visual {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            animation: fadeInRight 0.8s ease-out 0.3s both;
        }

        .hero-image-wrapper {
            position: relative;
            width: 100%;
            max-width: 520px;
        }

        .hero-image-wrapper img {
            width: 100%;
            height: auto;
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-xl);
        }

        .hero-image-wrapper::before {
            content: '';
            position: absolute;
            inset: -3px;
            background: var(--gradient-1);
            border-radius: calc(var(--radius-xl) + 3px);
            z-index: -1;
            opacity: 0.5;
            filter: blur(20px);
        }

	.big-primary-text, .big-primary-text a {
	    font-size: 24px;
	    color: var(--primary);
	}

        .floating-card {
            position: absolute;
            background: rgba(30, 41, 59, 0.9);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 14px;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            animation: float 6s ease-in-out infinite;
            box-shadow: var(--shadow-lg);
        }

        .floating-card-1 {
            top: 10%;
            right: -30px;
            animation-delay: 0s;
        }

        .floating-card-2 {
            bottom: 15%;
            left: -40px;
            animation-delay: 2s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-12px); }
        }

        .floating-card-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }

        .floating-card-text {
            font-size: 12px;
            color: var(--gray-400);
        }

        .floating-card-text strong {
            display: block;
            font-size: 15px;
            color: var(--white);
            font-weight: 700;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeInRight {
            from { opacity: 0; transform: translateX(40px); }
            to { opacity: 1; transform: translateX(0); }
        }

        /* ===== SECTIONS COMMON ===== */
        .section {
            padding: 100px 24px;
        }

        .section-dark {
            background: var(--dark);
            color: var(--white);
        }

        .section-light {
            background: var(--white);
        }

        .section-gray {
            background: var(--gray-50);
        }

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

        .section-header {
            text-align: center;
            max-width: 720px;
            margin: 0 auto 64px;
        }

        .section-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 18px;
            background: rgba(37, 99, 235, 0.08);
            border: 1px solid rgba(37, 99, 235, 0.15);
            border-radius: 50px;
            color: var(--primary);
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
        }

        .section-dark .section-label {
            background: rgba(37, 99, 235, 0.15);
            border-color: rgba(37, 99, 235, 0.3);
            color: var(--primary-light);
        }

        .section-title {
            font-size: clamp(28px, 4vw, 44px);
            font-weight: 800;
            letter-spacing: -1px;
            line-height: 1.15;
            margin-bottom: 16px;
        }

        .section-dark .section-title {
            color: var(--white);
        }

        .section-subtitle {
            font-size: 17px;
            color: var(--gray-500);
            line-height: 1.7;
        }

        .section-dark .section-subtitle {
            color: var(--gray-400);
        }

        /* ===== ABOUT ===== */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-image {
            position: relative;
            border-radius: var(--radius-xl);
            overflow: hidden;
        }

        .about-image img {
            width: 100%;
            height: 480px;
            object-fit: cover;
            border-radius: var(--radius-xl);
        }

        .about-image::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: var(--radius-xl);
            border: 1px solid rgba(255,255,255,0.1);
        }

        .about-content h2 {
            font-size: 36px;
            font-weight: 800;
            color: var(--white);
            letter-spacing: -0.5px;
            margin-bottom: 20px;
        }

        .about-content p {
            font-size: 16px;
            color: var(--gray-400);
            line-height: 1.8;
            margin-bottom: 16px;
        }

        .about-features {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-top: 32px;
        }

        .about-feature {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 18px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .about-feature:hover {
            background: rgba(37, 99, 235, 0.1);
            border-color: rgba(37, 99, 235, 0.2);
        }

        .about-feature-icon {
            width: 36px;
            height: 36px;
            background: var(--gradient-1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
        }

        .about-feature span {
            font-size: 14px;
            font-weight: 600;
            color: var(--gray-300);
        }

        /* ===== SERVICE SECTIONS ===== */
        .service-hero {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            margin-bottom: 80px;
        }

        .service-hero.reverse {
            direction: rtl;
        }

        .service-hero.reverse > * {
            direction: ltr;
        }

        .service-hero-image {
            position: relative;
            border-radius: var(--radius-xl);
            overflow: hidden;
            box-shadow: var(--shadow-xl);
        }

        .service-hero-image img {
            width: 100%;
            height: 420px;
            object-fit: cover;
            display: block;
        }

        .service-hero-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-1);
            z-index: 2;
        }

        .service-hero-content h2 {
            font-size: 36px;
            font-weight: 800;
            color: var(--gray-900);
            letter-spacing: -0.5px;
            margin-bottom: 16px;
        }

        .section-dark .service-hero-content h2 {
            color: var(--white);
        }

        .service-hero-content > p {
            font-size: 16px;
            color: var(--gray-600);
            line-height: 1.8;
            margin-bottom: 24px;
        }

        .section-dark .service-hero-content > p {
            color: var(--gray-400);
        }

        /* ===== SPECS TABLE ===== */
        .specs-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            border: 1px solid var(--gray-200);
            overflow: hidden;
            box-shadow: var(--shadow);
        }

        .specs-card-header {
            padding: 24px 32px;
            background: var(--gradient-1);
            color: var(--white);
        }

        .specs-card-header h3 {
            font-size: 20px;
            font-weight: 700;
        }

        .specs-card-header p {
            font-size: 14px;
            opacity: 0.85;
            margin-top: 4px;
        }

        .specs-table {
            width: 100%;
            border-collapse: collapse;
        }

        .specs-table tr {
            border-bottom: 1px solid var(--gray-100);
        }

        .specs-table tr:last-child {
            border-bottom: none;
        }

        .specs-table td {
            padding: 16px 32px;
            font-size: 14px;
        }

        .specs-table td:first-child {
            font-weight: 600;
            color: var(--gray-700);
            width: 45%;
        }

        .specs-table td:last-child {
            color: var(--gray-600);
        }

        .specs-table tr:hover {
            background: var(--gray-50);
        }

        /* ===== GALLERY ===== */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .gallery-item {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            cursor: pointer;
            aspect-ratio: 4/3;
            box-shadow: var(--shadow);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .gallery-item:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-xl);
        }

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

        .gallery-item iframe {
            width: 100%;
            height: 100%;
            border: none;
            pointer-events: none; /* Чтобы клик по iframe проходил сквозь него на onclick div-а */
        }

        .gallery-item:hover img {
            transform: scale(1.08);
        }

        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 60%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 24px;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-overlay h4 {
            color: var(--white);
            font-size: 16px;
            font-weight: 700;
        }

        .gallery-overlay p {
            color: var(--gray-300);
            font-size: 13px;
            margin-top: 4px;
        }

        /* ===== PRICING ===== */
        .pricing-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            border: 1px solid var(--gray-200);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
        }

        .pricing-card:hover {
            box-shadow: var(--shadow-lg);
        }

        .pricing-header {
            padding: 28px 32px;
            border-bottom: 1px solid var(--gray-200);
        }

        .pricing-header h3 {
            font-size: 22px;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 4px;
        }

        .pricing-header p {
            font-size: 14px;
            color: var(--gray-500);
        }

        .pricing-table {
            width: 100%;
            border-collapse: collapse;
        }

        .pricing-table thead th {
            padding: 14px 24px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--gray-500);
            background: var(--gray-50);
            text-align: left;
            border-bottom: 1px solid var(--gray-200);
        }

        .pricing-table thead th:last-child {
            text-align: right;
        }

        .pricing-table tbody td {
            padding: 16px 24px;
            font-size: 14px;
            border-bottom: 1px solid var(--gray-100);
        }

        .pricing-table tbody td:first-child {
            font-weight: 600;
            color: var(--gray-800);
        }

        .pricing-table tbody td:last-child {
            text-align: right;
            font-weight: 700;
            color: var(--primary);
            font-family: 'JetBrains Mono', monospace;
        }

        .pricing-table tbody tr:hover {
            background: rgba(37, 99, 235, 0.03);
        }

        .pricing-note {
            padding: 20px 32px;
            background: var(--gray-50);
            border-top: 1px solid var(--gray-200);
        }

        .pricing-note p {
            font-size: 13px;
            color: var(--gray-500);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* ===== CONTACTS ===== */
        .contacts-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .contact-card {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            padding: 28px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: var(--radius-lg);
            transition: all 0.3s ease;
        }

        .contact-card:hover {
            background: rgba(37, 99, 235, 0.08);
            border-color: rgba(37, 99, 235, 0.2);
            transform: translateX(6px);
        }

        .contact-card-icon {
            width: 52px;
            height: 52px;
            background: var(--gradient-1);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            flex-shrink: 0;
            box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
        }

        .contact-card-content h4 {
            font-size: 14px;
            font-weight: 600;
            color: var(--gray-400);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
        }

        .contact-card-content p {
            font-size: 17px;
            font-weight: 600;
            color: var(--white);
            line-height: 1.5;
        }

        .contact-card-content a {
            color: var(--primary-light);
            text-decoration: none;
            transition: color 0.2s;
        }

        .contact-card-content a:hover {
            color: var(--secondary);
        }

        .contact-map {
            border-radius: var(--radius-xl);
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.08);
            min-height: 400px;
            background: var(--dark-mid);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .contact-map iframe {
            width: 100%;
            height: 100%;
            border: none;
            min-height: 400px;
        }

        .map-placeholder {
            text-align: center;
            padding: 40px;
        }

        .map-placeholder .map-icon {
            font-size: 48px;
            margin-bottom: 16px;
        }

        .map-placeholder p {
            color: var(--gray-500);
            font-size: 15px;
        }

        /* ===== FOOTER ===== */
        .footer {
            background: var(--gray-900);
            padding: 40px 24px;
            border-top: 1px solid rgba(255,255,255,0.06);
        }

        .footer-inner {
            max-width: 1340px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-text {
            font-size: 14px;
            color: var(--gray-500);
        }

        .footer-links {
            display: flex;
            gap: 24px;
        }

        .footer-links a {
            font-size: 14px;
            color: var(--gray-500);
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-links a:hover {
            color: var(--primary-light);
        }

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

        .lightbox.active {
            opacity: 1;
            visibility: visible;
        }

        /* Контейнер для контента (img или iframe) */
        .lightbox-content-wrapper {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Изображение в лайтбоксе */
        .lightbox-content-wrapper img {
            max-width: 100%;
            max-height: 85vh;
            border-radius: 4px;
            box-shadow: 0 0 20px rgba(0,0,0,0.5);
            display: block;
        }

        /* Видео в лайтбоксе */
        .lightbox-content-wrapper iframe {
            width: 80vw; /* Ширина видео на экране */
            height: 45vw; /* 16:9 соотношение */
            max-width: 1000px;
            max-height: 562px;
            border: none;
            background: #000;
        }

        /* Адаптация видео для мобильных */
        @media (max-width: 768px) {
            .lightbox-content-wrapper iframe {
                width: 95vw;
                height: 53.4vw; /* 16:9 */
            }
        }

        /* --- Подпись под изображением/видео --- */
        .lightbox-caption {
            position: absolute;
            bottom: 40px; /* Отступ от нижнего края */
            left: 50%;
            transform: translateX(-50%);
            color: #fff;
            font-size: 20px;
            font-weight: 600;
            text-align: center;
            width: 100%;
            padding: 0 80px; /* Отступы, чтобы не наезжать на кнопки навигации */
            box-sizing: border-box;
            text-shadow: 0 2px 4px rgba(0,0,0,0.9);
            pointer-events: none; /* Чтобы клики проходили сквозь текст */
            z-index: 1005;
            white-space: nowrap; /* Текст в одну строку, можно убрать для переноса */
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Кнопки управления */
        .lightbox-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: var(--gradient-1);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
            z-index: 1010;
        }

        .lightbox-btn:hover {
            background: var(--gradient-2);
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--gradient-1);
            color: white;
            border: none;
            cursor: pointer;
            font-size: 20px;
            z-index: 1020;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s;
	    font-weight: bold;
        }

        .lightbox-close:hover {
            transform: rotate(90deg);
        }

        .lightbox-prev { left: 20px; }
        .lightbox-next { right: 20px; }


        /* ===== SCROLL ANIMATIONS ===== */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .reveal-delay-1 { transition-delay: 0.1s; }
        .reveal-delay-2 { transition-delay: 0.2s; }
        .reveal-delay-3 { transition-delay: 0.3s; }
        .reveal-delay-4 { transition-delay: 0.4s; }

        /* ===== MOBILE NAV ===== */
        .mobile-nav {
            display: none;
            /*position: fixed;*/
            top: 72px;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(15, 23, 42, 0.98);
            backdrop-filter: blur(20px);
            z-index: 999;
            padding: 24px;
            flex-direction: column;
            gap: 8px;
        }

        .mobile-nav.active {
            display: flex;
        }

        .mobile-nav .nav-link {
            padding: 16px 20px;
            font-size: 16px;
            border-radius: 12px;
        }

        .mobile-nav .nav-cta {
            margin-left: 0;
            margin-top: 12px;
            text-align: center;
            justify-content: center;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .hero-inner {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 40px;
            }

            .hero-content {
                max-width: 100%;
            }

            .hero-desc {
                max-width: 100%;
                margin-left: auto;
                margin-right: auto;
            }

            .hero-actions {
                justify-content: center;
            }

            .hero-stats {
                justify-content: center;
            }

            .hero-visual {
                max-width: 500px;
                margin: 0 auto;
            }

            .floating-card-1 { right: -10px; }
            .floating-card-2 { left: -10px; }

            .about-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .about-image img {
                height: 360px;
            }

            .service-hero {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .service-hero.reverse {
                direction: ltr;
            }

            .contacts-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .nav {
                display: none;
            }

            .burger {
                display: flex;
            }

            .hero-inner {
                padding: 60px 20px;
            }

            .section {
                padding: 70px 20px;
            }

            .gallery-grid {
                grid-template-columns: 1fr 1fr;
                gap: 14px;
            }

            .about-features {
                grid-template-columns: 1fr;
            }

            .hero-stats {
                gap: 24px;
            }

            .hero-stat-value {
                font-size: 26px;
		text-align: center;
            }

            .floating-card {
                display: none;
            }

            .specs-table td {
                padding: 12px 16px;
                font-size: 13px;
            }

            .pricing-table thead th,
            .pricing-table tbody td {
                padding: 12px 16px;
                font-size: 13px;
            }

            .service-hero-image img {
                height: 300px;
            }

            .section-header {
                margin-bottom: 48px;
            }

            .footer-inner {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .gallery-grid {
                grid-template-columns: 1fr;
            }

            .hero-actions {
                flex-direction: column;
                align-items: center;
            }

            .btn {
                width: 100%;
                justify-content: center;
            }

            .hero-stats {
                flex-direction: column;
                gap: 16px;
                align-items: center;
            }
        }

        /* ===== SCROLL TO TOP ===== */
        .scroll-top {
            position: fixed;
            bottom: 32px;
            right: 32px;
            width: 48px;
            height: 48px;
            background: var(--gradient-1);
            border: none;
            border-radius: 14px;
            color: white;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
            z-index: 100;
        }

        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .scroll-top:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
        }

        /* ===== TABS ===== */
        .tabs-container {
            display: flex;
            gap: 8px;
            justify-content: center;
            margin-bottom: 48px;
            flex-wrap: wrap;
        }

        .tab-btn {
            padding: 10px 24px;
            background: var(--white);
            border: 1px solid var(--gray-200);
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            color: var(--gray-600);
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .tab-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        .tab-btn.active {
            background: var(--primary);
            border-color: var(--primary);
            color: var(--white);
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeInUp 0.5s ease;
        }

        /* ===== ADVANTAGES ===== */
        .advantages-grid {
            display: grid;
//            grid-template-columns: repeat(4, 1fr);
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .advantage-card {
            padding: 32px 24px;
            background: var(--white);
            border: 1px solid var(--gray-200);
            border-radius: var(--radius-lg);
            text-align: center;
            transition: all 0.3s ease;
        }

        .advantage-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(37, 99, 235, 0.2);
        }

        .advantage-icon {
            width: 64px;
            height: 64px;
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            margin: 0 auto 20px;
        }

        .advantage-card h4 {
            font-size: 16px;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 8px;
        }

        .advantage-card p {
            font-size: 14px;
            color: var(--gray-500);
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .advantages-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 480px) {
            .advantages-grid {
                grid-template-columns: 1fr;
            }
        }
