 :root {
            --dark-blue: #0a192f;
            --medium-blue: #112240;
            --light-blue: #1e3a5f;
            --accent: #64ffda;
            --accent-light: #8892b0;
            --gray: #ccd6f6;
            --light-gray: #e6f1ff;
            --white: #ffffff;
            --gradient: linear-gradient(135deg, #0a192f 0%, #1e3a5f 100%);
            --gradient-accent: linear-gradient(135deg, #64ffda 0%, #4ecdc4 100%);
            --header-height: 60px;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
            -webkit-tap-highlight-color: transparent;
        }
        
        html {
            scroll-behavior: smooth;
            font-size: 14px;
        }
        
        @media (min-width: 768px) {
            html {
                font-size: 16px;
            }
        }
        
        body {
            background-color: var(--dark-blue);
            color: var(--gray);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            touch-action: manipulation;
            padding-top: var(--header-height);
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Улучшенный header с скрывающимся меню */
        header {
            background-color: rgba(10, 25, 47, 0.98);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--header-height);
            z-index: 1000;
            border-bottom: 1px solid rgba(100, 255, 218, 0.1);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 100%;
            padding: 0 20px;
        }
        
        .logo {
            font-size: 20px;
            font-weight: 700;
            color: var(--accent);
            display: flex;
            align-items: center;
            text-decoration: none;
            z-index: 1002;
        }
        
        .logo span {
            color: var(--white);
            margin-left: 4px;
        }
        
        .logo i {
            margin-right: 8px;
            font-size: 22px;
            color: var(--accent);
        }
        
        /* Скрывающееся меню для мобильных */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(10, 25, 47, 0.95);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 85%;
            max-width: 320px;
            height: 100vh;
            background: var(--dark-blue);
            z-index: 1000;
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding-top: 80px;
            box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
            border-left: 1px solid rgba(100, 255, 218, 0.1);
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }
        
        .mobile-menu.active {
            right: 0;
        }
        
        .mobile-menu nav {
            flex: 1;
            padding: 20px;
        }
        
        .mobile-menu ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .mobile-menu ul li {
            margin-bottom: 5px;
        }
        
        .mobile-menu ul li a {
            display: block;
            padding: 16px 20px;
            color: var(--gray);
            text-decoration: none;
            font-size: 18px;
            font-weight: 500;
            border-radius: 12px;
            transition: all 0.3s;
            border: 1px solid transparent;
        }
        
        .mobile-menu ul li a:hover,
        .mobile-menu ul li a.active {
            background: rgba(100, 255, 218, 0.1);
            color: var(--accent);
            border-color: rgba(100, 255, 218, 0.2);
            transform: translateX(5px);
        }
        
        .mobile-menu ul li a i {
            margin-right: 12px;
            width: 24px;
            text-align: center;
        }
        
        .mobile-menu-footer {
            padding: 30px 20px;
            border-top: 1px solid rgba(100, 255, 218, 0.1);
            background: rgba(30, 58, 95, 0.3);
        }
        
        .mobile-contact-info {
            margin-bottom: 25px;
        }
        
        .mobile-contact-info p {
            color: var(--accent-light);
            margin-bottom: 12px;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .mobile-contact-info p i {
            color: var(--accent);
            font-size: 16px;
            width: 20px;
        }
        
        .mobile-social-icons {
            display: flex;
            gap: 12px;
            justify-content: center;
        }
        
        .mobile-social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background-color: rgba(100, 255, 218, 0.1);
            color: var(--accent);
            font-size: 18px;
            transition: all 0.3s;
            border: 1px solid rgba(100, 255, 218, 0.2);
        }
        
        .mobile-social-icons a:hover {
            background-color: var(--accent);
            color: var(--dark-blue);
            transform: translateY(-3px);
        }
        
        .menu-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: rgba(100, 255, 218, 0.1);
            border: 1px solid rgba(100, 255, 218, 0.2);
            color: var(--accent);
            font-size: 22px;
            cursor: pointer;
            z-index: 1001;
            transition: all 0.3s;
            position: relative;
        }
        
        .menu-toggle:hover {
            background: rgba(100, 255, 218, 0.2);
            transform: scale(1.05);
        }
        
        .menu-toggle.active {
            background: rgba(100, 255, 218, 0.2);
        }
        
        .menu-toggle.active i:first-child {
            display: none;
        }
        
        .menu-toggle.active i:last-child {
            display: block;
        }
        
        .menu-toggle i:last-child {
            display: none;
        }
        
        /* Десктопное меню */
        .desktop-menu {
            display: none;
        }
        
        .desktop-menu ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }
        
        .desktop-menu ul li a {
            color: var(--gray);
            text-decoration: none;
            font-weight: 500;
            font-size: 15px;
            transition: all 0.3s;
            position: relative;
            padding: 5px 0;
        }
        
        .desktop-menu ul li a:hover {
            color: var(--accent);
        }
        
        .desktop-menu ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--accent);
            left: 0;
            bottom: 0;
            transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }
        
        .desktop-menu ul li a:hover::after {
            width: 100%;
        }
        
        /* Улучшенный Hero для мобильных */
        .hero {
            padding: 40px 0 60px;
            background: var(--gradient);
            position: relative;
            overflow: hidden;
            min-height: calc(100vh - var(--header-height));
            display: flex;
            align-items: center;
        }
        
        .hero::before,
        .hero::after {
            content: '';
            position: absolute;
            border-radius: 50%;
            animation: float 8s ease-in-out infinite;
        }
        
        .hero::before {
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(100, 255, 218, 0.08) 0%, transparent 70%);
            top: -80px;
            right: -40px;
        }
        
        .hero::after {
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, rgba(30, 58, 95, 0.15) 0%, transparent 70%);
            bottom: -60px;
            left: -60px;
            animation-delay: 2s;
        }
        
        .hero-content {
            display: flex;
            flex-direction: column;
            gap: 40px;
            position: relative;
            z-index: 1;
        }
        
        .hero-text {
            order: 2;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }
        
        .hero-image {
            order: 1;
            animation: fadeInRight 0.8s ease-out 0.4s both;
            text-align: center;
        }
        
        .hero h1 {
            font-size: 28px;
            color: var(--white);
            margin-bottom: 16px;
            line-height: 1.3;
            font-weight: 700;
            text-align: center;
        }
        
        .hero h1 span {
            color: var(--accent);
            display: inline;
            font-weight: 700;
        }
        
        .hero p {
            font-size: 16px;
            margin-bottom: 30px;
            text-align: center;
            color: var(--accent-light);
            padding: 0 10px;
        }
        
        .hero-buttons {
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: center;
            padding: 0 10px;
        }
        
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--gradient-accent);
            color: var(--dark-blue);
            border: none;
            padding: 16px 28px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            box-shadow: 0 6px 20px rgba(100, 255, 218, 0.2);
            min-width: 220px;
            width: 100%;
            max-width: 320px;
            min-height: 52px;
        }
        
        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.6s;
        }
        
        .btn:hover::before {
            left: 100%;
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(100, 255, 218, 0.3);
        }
        
        .btn i {
            margin-right: 10px;
            font-size: 18px;
        }
        
        .btn-filled {
            background: transparent;
            color: var(--accent);
            border: 2px solid var(--accent);
            box-shadow: 0 6px 20px rgba(100, 255, 218, 0.1);
        }
        
        .btn-filled:hover {
            background: rgba(100, 255, 218, 0.1);
            box-shadow: 0 10px 25px rgba(100, 255, 218, 0.2);
        }
        
        .hero-image img {
            max-width: 90%;
            border-radius: 16px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            transition: transform 0.6s;
        }
        
        .hero-image img:hover {
            transform: perspective(1000px) rotateY(-5deg);
        }
        
        /* Улучшенные Services для мобильных */
        .services {
            padding: 70px 0;
            background-color: var(--medium-blue);
            position: relative;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            padding: 0 15px;
        }
        
        .section-title h2 {
            font-size: 32px;
            color: var(--white);
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
            font-weight: 700;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            width: 60px;
            height: 4px;
            background: var(--accent);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }
        
        .section-title p {
            color: var(--accent-light);
            font-size: 16px;
            max-width: 700px;
            margin: 15px auto 0;
            line-height: 1.5;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .service-card {
            background: rgba(30, 58, 95, 0.5);
            border-radius: 20px;
            padding: 30px 25px;
            text-align: center;
            transition: all 0.3s;
            border: 1px solid rgba(100, 255, 218, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
            border-color: var(--accent);
        }
        
        .service-icon {
            font-size: 40px;
            color: var(--accent);
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--accent), #4ecdc4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .service-card h3 {
            font-size: 22px;
            color: var(--white);
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .service-card p {
            color: var(--accent-light);
            font-size: 15px;
            line-height: 1.6;
        }
        
        /* Улучшенный About для мобильных */
        .about {
            padding: 70px 0;
            background-color: var(--dark-blue);
            position: relative;
        }
        
        .about-content {
            display: flex;
            flex-direction: column;
            gap: 40px;
        }
        
        .about-text {
            order: 2;
        }
        
        .about-image {
            order: 1;
            text-align: center;
        }
        
        .about-text h3 {
            font-size: 28px;
            color: var(--white);
            margin-bottom: 20px;
            font-weight: 700;
            text-align: center;
        }
        
        .about-text p {
            margin-bottom: 18px;
            font-size: 16px;
            color: var(--accent-light);
            line-height: 1.6;
            text-align: center;
            padding: 0 10px;
        }
        
        .features {
            margin-top: 30px;
            padding: 0 10px;
        }
        
        .feature {
            display: flex;
            align-items: flex-start;
            margin-bottom: 16px;
            gap: 12px;
        }
        
        .feature i {
            color: var(--accent);
            font-size: 18px;
            flex-shrink: 0;
            margin-top: 3px;
        }
        
        .feature p {
            text-align: left;
            padding: 0;
        }
        
        .about-image img {
            max-width: 100%;
            border-radius: 16px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }
        
        /* Улучшенный Portfolio для мобильных */
        .portfolio {
            padding: 70px 0;
            background-color: var(--medium-blue);
        }
        
        .portfolio-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .portfolio-item {
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            height: 250px;
            cursor: pointer;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .portfolio-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s;
        }
        
        .portfolio-item:hover img {
            transform: scale(1.05);
        }
        
        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, transparent 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: flex-start;
            padding: 20px;
            opacity: 1;
            transition: opacity 0.3s;
        }
        
        .portfolio-overlay h4 {
            color: var(--white);
            font-size: 18px;
            margin-bottom: 8px;
            font-weight: 600;
        }
        
        .portfolio-overlay p {
            color: var(--accent);
            font-size: 14px;
        }
        
        /* Улучшенный Form для мобильных */
        .contact-form {
            padding: 70px 0;
            background-color: var(--dark-blue);
            position: relative;
        }
        
        .form-container {
            max-width: 800px;
            margin: 0 auto;
            background: rgba(30, 58, 95, 0.5);
            border-radius: 20px;
            padding: 35px 20px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(100, 255, 218, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        .form-container h3 {
            font-size: 28px;
            color: var(--white);
            margin-bottom: 12px;
            text-align: center;
            font-weight: 700;
        }
        
        .form-container p {
            text-align: center;
            margin-bottom: 30px;
            font-size: 16px;
            color: var(--accent-light);
            line-height: 1.5;
            padding: 0 10px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--white);
            font-weight: 500;
            font-size: 14px;
        }
        
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 16px;
            border: 1px solid rgba(100, 255, 218, 0.2);
            border-radius: 12px;
            background-color: rgba(10, 25, 47, 0.8);
            color: var(--white);
            font-size: 16px;
            transition: all 0.3s;
            -webkit-appearance: none;
            appearance: none;
        }
        
        .form-group select {
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364ffda'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 16px center;
            background-size: 20px;
            padding-right: 50px;
            cursor: pointer;
        }
        
        .form-group select option {
            background-color: var(--dark-blue);
            color: var(--white);
            padding: 12px;
        }
        
        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(136, 146, 176, 0.6);
            font-size: 15px;
        }
        
        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.1);
        }
        
        .form-row {
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        
        .form-row .form-group {
            flex: 1;
        }
        
        textarea {
            min-height: 140px;
            resize: vertical;
            font-family: inherit;
        }
        
        .submit-btn {
            display: block;
            width: 100%;
            padding: 18px;
            background: var(--gradient-accent);
            color: var(--dark-blue);
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            margin-top: 10px;
            min-height: 56px;
        }
        
        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(100, 255, 218, 0.3);
        }
        
        .submit-btn:disabled {
            background: var(--medium-blue);
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        /* Улучшенный Footer для мобильных */
        footer {
            background-color: var(--medium-blue);
            padding: 60px 0 25px;
            border-top: 1px solid rgba(100, 255, 218, 0.1);
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 35px;
            margin-bottom: 40px;
        }
        
        .footer-column h4 {
            color: var(--white);
            font-size: 20px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 12px;
            font-weight: 600;
        }
        
        .footer-column h4::after {
            content: '';
            position: absolute;
            width: 35px;
            height: 3px;
            background: var(--accent);
            bottom: 0;
            left: 0;
            border-radius: 2px;
        }
        
        .footer-column p {
            margin-bottom: 18px;
            color: var(--accent-light);
            font-size: 15px;
            line-height: 1.6;
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 14px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        
        .footer-column ul li i {
            color: var(--accent);
            font-size: 15px;
            flex-shrink: 0;
            margin-top: 3px;
        }
        
        .footer-column ul li a,
        .footer-column ul li {
            color: var(--accent-light);
            text-decoration: none;
            transition: color 0.3s;
            font-size: 14px;
            line-height: 1.5;
        }
        
        .footer-column ul li a:hover {
            color: var(--accent);
        }
        
        .footer-column ul li strong {
            color: var(--white);
            font-weight: 600;
            display: block;
            margin-bottom: 4px;
        }
        
        .social-icons {
            display: flex;
            gap: 12px;
            margin-top: 20px;
            justify-content: center;
        }
        
        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background-color: rgba(100, 255, 218, 0.1);
            color: var(--accent);
            font-size: 18px;
            transition: all 0.3s;
            border: 1px solid rgba(100, 255, 218, 0.2);
        }
        
        .social-icons a:hover {
            background-color: var(--accent);
            color: var(--dark-blue);
            transform: translateY(-3px);
        }
        
        .copyright {
            text-align: center;
            padding-top: 25px;
            border-top: 1px solid rgba(100, 255, 218, 0.05);
            color: var(--accent-light);
            font-size: 13px;
        }
        
        /* Улучшенный Notification для мобильных */
        .notification {
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            padding: 16px 20px;
            border-radius: 16px;
            color: white;
            font-weight: 500;
            z-index: 10000;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.3s, transform 0.3s;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            font-size: 14px;
            line-height: 1.4;
        }
        
        .notification.success {
            background: rgba(76, 175, 80, 0.95);
            opacity: 1;
            transform: translateY(0);
        }
        
        .notification.error {
            background: rgba(244, 67, 54, 0.95);
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Улучшенный Back to Top Button для мобильных */
        .back-to-top {
            position: fixed;
            bottom: 80px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: var(--gradient-accent);
            color: var(--dark-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px) scale(0.9);
            transition: all 0.3s;
            box-shadow: 0 5px 20px rgba(100, 255, 218, 0.3);
            border: none;
        }
        
        .back-to-top.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }
        
        .back-to-top:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px rgba(100, 255, 218, 0.4);
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes float {
            0%, 100% {
                transform: translateY(0) translateX(0);
            }
            50% {
                transform: translateY(-15px) translateX(5px);
            }
        }
        
        @keyframes slideIn {
            from {
                transform: translateX(-100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        /* Responsive улучшения */
        @media (min-width: 576px) {
            .container {
                padding: 0 25px;
            }
            
            .hero h1 {
                font-size: 32px;
            }
            
            .section-title h2 {
                font-size: 34px;
            }
            
            .services-grid,
            .portfolio-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 25px;
            }
            
            .portfolio-item {
                height: 280px;
            }
            
            .form-container {
                padding: 40px 30px;
            }
            
            .hero-buttons {
                flex-direction: row;
                justify-content: center;
                gap: 15px;
                flex-wrap: wrap;
            }
            
            .btn {
                width: auto;
                min-width: 200px;
            }
            
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .form-row {
                flex-direction: row;
                gap: 20px;
            }
            
            .back-to-top {
                right: 25px;
                bottom: 85px;
            }
        }
        
        @media (min-width: 768px) {
            .mobile-menu,
            .mobile-menu-overlay,
            .menu-toggle {
                display: none;
            }
            
            .desktop-menu {
                display: block;
            }
            
            .hero-content {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                gap: 60px;
                text-align: left;
            }
            
            .hero-text {
                order: 1;
                flex: 1;
                text-align: left;
            }
            
            .hero-image {
                order: 2;
                flex: 1;
            }
            
            .hero h1 {
                font-size: 38px;
                text-align: left;
            }
            
            .hero h1 span {
                display: block;
            }
            
            .hero p {
                text-align: left;
                padding: 0;
            }
            
            .hero-buttons {
                justify-content: flex-start;
                padding: 0;
            }
            
            .about-content {
                flex-direction: row;
                gap: 60px;
            }
            
            .about-text {
                order: 1;
                flex: 1;
                text-align: left;
            }
            
            .about-image {
                order: 2;
                flex: 1;
            }
            
            .about-text h3 {
                text-align: left;
                font-size: 32px;
            }
            
            .about-text p {
                text-align: left;
                padding: 0;
            }
            
            .feature p {
                text-align: left;
            }
            
            .section-title h2 {
                font-size: 38px;
            }
            
            .services-grid {
                grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
                gap: 30px;
            }
            
            .service-card {
                padding: 40px 30px;
            }
            
            .portfolio-grid {
                grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            }
            
            .portfolio-item {
                height: 300px;
            }
            
            .footer-content {
                grid-template-columns: repeat(4, 1fr);
                gap: 40px;
            }
            
            .notification {
                left: auto;
                right: 25px;
                max-width: 350px;
                bottom: 25px;
            }
            
            .back-to-top {
                right: 30px;
                bottom: 30px;
                width: 56px;
                height: 56px;
                font-size: 22px;
            }
        }
        
        @media (min-width: 992px) {
            .hero {
                padding: 60px 0 100px;
            }
            
            .hero h1 {
                font-size: 44px;
            }
            
            .section-title h2 {
                font-size: 40px;
            }
            
            .services, .about, .portfolio, .contact-form {
                padding: 100px 0;
            }
            
            .portfolio-grid {
                grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            }
            
            .portfolio-item {
                height: 320px;
            }
            
            .form-container {
                padding: 50px 60px;
            }
            
            footer {
                padding: 80px 0 30px;
            }
        }
        
        @media (min-width: 1200px) {
            .container {
                padding: 0 40px;
            }
            
            .hero h1 {
                font-size: 48px;
            }
        }
        
        /* Специальные улучшения для очень маленьких экранов */
        @media (max-width: 360px) {
            .container {
                padding: 0 15px;
            }
            
            .hero h1 {
                font-size: 26px;
            }
            
            .section-title h2 {
                font-size: 28px;
            }
            
            .portfolio-item {
                height: 220px;
            }
            
            .form-container {
                padding: 30px 20px;
            }
            
            .form-container h3 {
                font-size: 26px;
            }
            
            .btn {
                min-width: auto;
                padding: 14px 20px;
                font-size: 15px;
                min-height: 48px;
            }
            
            .mobile-menu {
                width: 90%;
            }
            
            .back-to-top {
                width: 46px;
                height: 46px;
                font-size: 18px;
            }
        }
        
        /* Улучшения для планшетов в портретной ориентации */
        @media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
            .hero-content {
                flex-direction: column;
                text-align: center;
                gap: 50px;
            }
            
            .hero-text, .hero-image {
                width: 100%;
            }
            
            .hero-image {
                order: -1;
            }
            
            .hero h1 {
                text-align: center;
            }
            
            .hero p {
                text-align: center;
            }
            
            .hero-buttons {
                justify-content: center;
            }
            
            .about-content {
                flex-direction: column;
                gap: 50px;
            }
            
            .about-image {
                order: -1;
            }
            
            .about-text h3 {
                text-align: center;
            }
            
            .about-text p {
                text-align: center;
            }
            
            .feature p {
                text-align: left;
            }
            
            .mobile-menu {
                display: none;
            }
            
            .menu-toggle {
                display: none;
            }
            
            .desktop-menu {
                display: block;
            }
        }
        
        /* Touch device optimizations */
        @media (hover: none) and (pointer: coarse) {
            .service-card:hover,
            .portfolio-item:hover,
            .btn:hover,
            .social-icons a:hover,
            .back-to-top:hover {
                transform: none;
            }
            
            .service-card:active,
            .portfolio-item:active,
            .btn:active,
            .social-icons a:active,
            .back-to-top:active {
                transform: scale(0.98);
            }
            
            .portfolio-overlay {
                opacity: 1;
                background: linear-gradient(to top, rgba(10, 25, 47, 0.85) 0%, transparent 100%);
            }
            
            .btn::before {
                display: none;
            }
            
            .desktop-menu ul li a::after {
                display: none;
            }
            
            /* Увеличение зоны клика для touch устройств */
            .desktop-menu ul li a,
            .btn,
            .form-group input,
            .form-group select,
            .form-group textarea,
            .submit-btn {
                min-height: 44px;
            }
            
            .mobile-menu ul li a {
                min-height: 52px;
            }
            
            /* Увеличение отступов для пальцев */
            .hero-buttons {
                gap: 15px;
            }
            
            .services-grid,
            .portfolio-grid {
                gap: 20px;
            }
            
            .feature {
                margin-bottom: 20px;
            }
            
            .footer-column ul li {
                margin-bottom: 18px;
            }
        }
        
        /* Улучшения для iOS Safari */
        @supports (-webkit-touch-callout: none) {
            .hero {
                min-height: -webkit-fill-available;
            }
            
            .btn,
            .submit-btn,
            .form-group input,
            .form-group select,
            .form-group textarea {
                font-size: 16px;
            }
        }
        
        /* Улучшения для Android Chrome */
        @media screen and (-webkit-min-device-pixel-ratio: 0) {
            select,
            textarea,
            input {
                font-size: 16px;
            }
        }
        
        /* Улучшение читаемости на светлых фонах в светлом режиме */
        @media (prefers-color-scheme: light) {
            body {
                background-color: #f0f4f8;
                color: #333;
            }
            
            .hero,
            .services,
            .about,
            .portfolio,
            .contact-form,
            footer {
                background: var(--gradient);
            }
            
            .section-title h2,
            .hero h1,
            .service-card h3,
            .about-text h3,
            .form-container h3,
            .footer-column h4 {
                color: var(--white);
            }
            
            .hero p,
            .section-title p,
            .service-card p,
            .about-text p,
            .form-container p,
            .footer-column p,
            .footer-column ul li,
            .footer-column ul li a {
                color: rgba(255, 255, 255, 0.9);
            }
        }
        
        /* Анимация для пунктов меню при открытии */
        .mobile-menu ul li {
            animation: slideIn 0.4s ease-out forwards;
            opacity: 0;
            transform: translateX(-20px);
        }
        
        .mobile-menu.active ul li:nth-child(1) { animation-delay: 0.1s; }
        .mobile-menu.active ul li:nth-child(2) { animation-delay: 0.15s; }
        .mobile-menu.active ul li:nth-child(3) { animation-delay: 0.2s; }
        .mobile-menu.active ul li:nth-child(4) { animation-delay: 0.25s; }
        .mobile-menu.active ul li:nth-child(5) { animation-delay: 0.3s; }
        /* Модальное окно для просмотра фотографий */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px;
}

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

.modal-content {
    background: var(--dark-blue);
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.2);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 30px;
    background: rgba(30, 58, 95, 0.8);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--accent);
    font-size: 22px;
    margin: 0;
    font-weight: 600;
}

.modal-close {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    color: var(--accent);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-body img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
    object-fit: contain;
    max-height: 60vh;
}

.modal-body p {
    color: var(--accent-light);
    font-size: 16px;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
}

.modal-counter {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    background: rgba(100, 255, 218, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.modal-footer {
    padding: 20px 30px;
    background: rgba(30, 58, 95, 0.8);
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    justify-content: center;
    gap: 20px;
}

.modal-nav {
    background: var(--gradient-accent);
    color: var(--dark-blue);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(100, 255, 218, 0.3);
}

.modal-nav:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.4);
}

.modal-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--medium-blue);
    color: var(--accent-light);
}

/* Анимация для открытия модального окна */
@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal.active .modal-content {
    animation: modalIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Эффект наведения для портфолио */
.portfolio-item {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-item::after {
    content: '\f00e'; /* Иконка лупы */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(100, 255, 218, 0.9);
    color: var(--dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
    font-size: 16px;
    z-index: 2;
}

.portfolio-item:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .modal-content {
        max-height: 95vh;
        margin: 10px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-body img {
        max-height: 50vh;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }
    
    .modal-nav {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .modal-close {
        width: 40px;
        height: 40px;
    }
}

/* Анимация для загрузки изображения */
.modal-body img.loading {
    background: linear-gradient(90deg, var(--medium-blue) 25%, var(--light-blue) 50%, var(--medium-blue) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    min-height: 300px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Эффект клика на портфолио */
.portfolio-item:active {
    transform: scale(0.98);
}

/* Подсказка при наведении */
@media (min-width: 768px) {
    .portfolio-item:hover .portfolio-overlay {
        background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, transparent 100%);
    }
}
/* Карусель-галерея */
.gallery-carousel {
    position: relative;
    margin: 40px auto;
    max-width: 1000px;
}

.main-photo-container {
    position: relative;
    background: var(--medium-blue);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(100, 255, 218, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.main-photo-container:hover {
    border-color: rgba(100, 255, 218, 0.3);
}

.main-photo {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-photo:hover img {
    transform: scale(1.02);
}

.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.95));
    padding: 30px;
    color: white;
    transform: translateY(0);
    transition: transform 0.3s;
}

.main-photo:hover .photo-info {
    transform: translateY(-5px);
}

.photo-info h4 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--accent);
}

.photo-info p {
    font-size: 16px;
    opacity: 0.9;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-accent);
    border: none;
    color: var(--dark-blue);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(100, 255, 218, 0.3);
    z-index: 10;
}

.carousel-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 25px rgba(100, 255, 218, 0.4);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.photo-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(10, 25, 47, 0.8);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.2);
}

/* Миниатюры */
.thumbnails-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    padding: 15px;
    background: rgba(30, 58, 95, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.thumbnail {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: translateY(-3px);
    border-color: rgba(100, 255, 218, 0.3);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(100, 255, 218, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.thumbnail:hover::after {
    opacity: 1;
}

/* Скрытая галерея */
.hidden-gallery {
    display: none;
}

.gallery-item {
    display: none;
}

/* Кнопка показа всех работ */
.show-all-container {
    text-align: center;
    margin-top: 30px;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 14px 32px;
}

.btn-outline:hover {
    background: rgba(100, 255, 218, 0.1);
}

/* Полноэкранная галерея */
.fullscreen-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.98);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
    backdrop-filter: blur(15px);
}

.fullscreen-gallery.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-image {
    max-width: 90%;
    max-height: 70vh;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.gallery-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid.active {
    display: grid;
}

.grid-item {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    height: 250px;
}

.grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Адаптивность */
@media (max-width: 768px) {
    .main-photo {
        height: 350px;
    }
    
    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .photo-info {
        padding: 20px;
    }
    
    .photo-info h4 {
        font-size: 20px;
    }
    
    .thumbnails-container {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 8px;
        padding: 10px;
    }
    
    .fullscreen-image {
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .main-photo {
        height: 250px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .photo-counter {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .thumbnails-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.main-photo img {
    animation: fadeIn 0.5s ease-out;
}

/* Эффект параллакса */
.main-photo-container {
    perspective: 1000px;
}

.main-photo {
    transform-style: preserve-3d;
}

/* Эффект при переключении */
.main-photo img.switching {
    animation: switchPhoto 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes switchPhoto {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Анимация переключения фото */
.main-photo img {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.main-photo img.switching {
    opacity: 0.7;
    transform: scale(1.05);
}

/* Адаптивность для карусели на очень маленьких экранах */
@media (max-width: 360px) {
    .main-photo {
        height: 200px;
    }
    
    .photo-info h4 {
        font-size: 18px;
    }
    
    .photo-info p {
        font-size: 14px;
    }
    
    .thumbnails-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ховер эффекты для десктопов */
@media (hover: hover) and (pointer: fine) {
    .carousel-nav:hover {
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 12px 25px rgba(100, 255, 218, 0.4);
    }
    
    .thumbnail:hover {
        opacity: 1;
        transform: translateY(-3px);
        border-color: rgba(100, 255, 218, 0.3);
    }
    
    .main-photo:hover img {
        transform: scale(1.02);
    }
    
    .main-photo:hover .photo-info {
        transform: translateY(-5px);
    }
}

/* Фикс для iOS */
@supports (-webkit-touch-callout: none) {
    .main-photo {
        -webkit-transform-style: preserve-3d;
    }
}
/* SEO-оптимизация: скрыть элементы визуально, но оставить для скринридеров */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Улучшение читаемости для SEO */
h1, h2, h3, h4 {
    text-wrap: balance;
}

/* Оптимизация изображений */
img {
    max-width: 100%;
    height: auto;
}

/* Ленивая загрузка для производительности */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Структура заголовков для SEO */
.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
}

.section-title h2 {
    font-size: clamp(32px, 4vw, 40px);
}