:root {
            --bg-main: #f8fafc;
            --bg-card: #ffffff;
            --accent: #2563eb;
            --accent-hover: #1d4ed8;
            --accent-light: #eff6ff;
            --text-main: #111827;
            --text-muted: #4b5563;
            --border: #e2e8f0;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

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

        html,
        body {
            width: 100%;
            overflow-x: hidden;
            /* Критично для мобильных */
        }

        body {
            background-color: var(--bg-main);
            background-image: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
            font-family: 'Inter', sans-serif;
            color: var(--text-main);
            line-height: 1.5;
        }

        /* --- FONTS & HEADINGS --- */
        h1,
        h2,
        h3,
        h4,
        .logo {
            font-family: 'Oswald', sans-serif;
            color: var(--text-main);
            font-weight: 700;
            line-height: 1.2;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Стиль контура (как на лого) */
        .outline-style {
            font-family: 'Oswald', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            color: transparent;
            -webkit-text-stroke: 1.5px var(--accent);
            letter-spacing: 1px;
        }

        p {
            color: var(--text-muted);
            margin-bottom: 1rem;
            font-size: 15px;
            text-transform: none;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: 0.3s;
        }

        ul {
            list-style: none;
        }

        /* --- UTILITIES --- */
        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section {
            padding: 80px 0;
            border-bottom: 1px solid var(--border);
        }

        .section-title {
            font-size: 42px;
            margin-bottom: 50px;
            font-family: 'Oswald', sans-serif;
            font-weight: 700;
            color: transparent;
            -webkit-text-stroke: 1.5px var(--accent);
            text-transform: uppercase;
            padding-left: 0;
            border-left: none;
            text-align: center;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background-color: var(--accent);
            color: white;
            padding: 14px 28px;
            border-radius: 8px;
            font-weight: 600;
            font-family: 'Inter', sans-serif;
            border: none;
            cursor: pointer;
            text-align: center;
            font-size: 16px;
            box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
            transition: transform 0.2s;
            text-transform: none;
        }

        .btn:hover {
            background-color: var(--accent-hover);
            transform: translateY(-2px);
        }

        .btn-full {
            width: 100%;
        }

        /* --- HEADER --- */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid var(--border);
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: 'Oswald', sans-serif;
            font-weight: 700;
            font-size: 26px;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 10px;
            letter-spacing: -0.5px;
        }

        .logo i {
            color: var(--accent);
            font-size: 28px;
        }

        .logo span {
            color: var(--accent);
            -webkit-text-stroke: 1px var(--accent);
            color: transparent;
        }

        .nav-links {
            display: flex;
            gap: 30px;
        }

        .nav-links a {
            color: var(--text-main);
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            text-transform: uppercase;
            font-weight: 700;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        .header-phone {
            font-family: 'Inter', sans-serif;
            font-weight: 800;
            color: var(--accent);
            font-size: 18px;
        }

        /* --- HERO SECTION --- */
        .hero {
            padding-top: 160px;
            padding-bottom: 80px;
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 60px;
            align-items: center;
        }

        .hero-badges {
            display: flex;
            gap: 10px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .badge {
            background: var(--accent-light);
            border: 1px solid rgba(37, 99, 235, 0.2);
            color: var(--accent);
            padding: 6px 12px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 700;
            font-family: 'Inter', sans-serif;
            text-transform: uppercase;
        }

        .hero h1 {
            font-size: 64px;
            margin-bottom: 20px;
            word-wrap: break-word;
            font-weight: 700;
            color: var(--text-main);
            line-height: 1.1;
        }

        .hero h1 span.outline {
            color: white;
            -webkit-text-stroke: 2px var(--accent);
        }

        .hero-subtitle {
            font-size: 20px;
            color: var(--text-muted);
            margin-bottom: 35px;
            font-weight: 400;
            max-width: 600px;
            font-family: 'Inter', sans-serif;
        }

        .hero-img {
            width: 100%;
            height: 450px;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid var(--border);
            position: relative;
            box-shadow: var(--shadow);
        }

        .hero-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* ФОТО ПРИЖАТО К ВЕРХУ */
            object-position: top;
            filter: contrast(1.05);
        }

        /* --- CATALOG (SERVICES) GRID --- */
        .catalog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 25px;
        }

        .service-item {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 30px;
            display: flex;
            flex-direction: column;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        }

        .service-item:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
            box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.15);
        }

        .service-icon {
            width: 64px;
            height: 64px;
            background: var(--accent-light);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: var(--accent);
            margin-bottom: 25px;
        }

        .service-title {
            font-size: 22px;
            margin-bottom: 12px;
            color: var(--text-main);
            font-weight: 700;
            line-height: 1.3;
            min-height: 56px;
            font-family: 'Oswald', sans-serif;
            text-transform: none;
        }

        .service-desc {
            font-size: 15px;
            color: var(--text-muted);
            margin-bottom: 25px;
            flex-grow: 1;
            white-space: pre-line;
            line-height: 1.6;
            font-family: 'Inter', sans-serif;
        }

        /* --- CONTACT FORM --- */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }

        .form-box {
            background: var(--bg-card);
            padding: 40px;
            border-radius: 16px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            max-width: 100%;
            /* Защита от переполнения */
        }

        .form-input {
            width: 100%;
            background: #f1f5f9;
            border: 1px solid var(--border);
            padding: 14px;
            border-radius: 8px;
            color: var(--text-main);
            margin-bottom: 15px;
            font-size: 15px;
            font-family: 'Inter', sans-serif;
        }

        .form-input::placeholder {
            color: #9ca3af;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--accent);
            background: #fff;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        .contact-item {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
            align-items: center;
        }

        .contact-icon-small {
            width: 50px;
            height: 50px;
            background: white;
            color: var(--accent);
            border: 1px solid var(--border);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            flex-shrink: 0;
            /* Запрещаем сжимать иконку */
        }

        .contact-item h3 {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 20px;
            text-transform: none;
            word-break: break-word;
            /* Перенос длинных слов (email) */
        }

        .footer {
            padding: 40px 0;
            text-align: center;
            background: #fff;
            border-top: 1px solid var(--border);
            font-size: 14px;
            color: var(--text-muted);
            font-family: 'Inter', sans-serif;
        }

        .footer a {
            color: var(--accent);
            font-weight: 600;
        }

        /* --- RESPONSIVE FIXES (МОБИЛЬНАЯ ВЕРСИЯ) --- */
        @media (max-width: 900px) {
            .container {
                padding: 0 20px;
            }

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

            .hero {
                padding-top: 100px;
                text-align: center;
            }

            .hero h1 {
                font-size: 42px;
            }

            .hero-subtitle {
                font-size: 16px;
                margin: 0 auto 25px auto;
            }

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

            .catalog-grid {
                grid-template-columns: minmax(0, 1fr);
            }

            .hero-img {
                height: 280px;
                order: -1;
            }

            .header-phone,
            .nav-links {
                display: none;
            }

            .section-title {
                font-size: 32px;
            }

            .contact-info {
                text-align: center;
            }

            .contact-item {
                flex-direction: column;
                gap: 10px;
                text-align: center;
                justify-content: center;
            }

            /* --- ИСПРАВЛЕНИЕ СДВИГА ФОРМЫ НА ТЕЛЕФОНЕ --- */
            .form-box {
                padding: 20px;
                /* Уменьшили отступы, чтобы влез контент */
            }

            /* Масштабирование Recaptcha для узких экранов */
            .g-recaptcha {
                transform: scale(0.85);
                transform-origin: 0 0;
            }
        }
    