:root {
            --bg: #ffffff;
            --bg-secondary: #f5f5f7;
            --text: #1d1d1f;
            --text-secondary: #6e6e73;
            --border: #d2d2d7;
            --card-bg: #ffffff;
            --header-bg: rgba(255, 255, 255, 0.8);
            --shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
            --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        [data-theme="dark"] {
            --bg: #000000;
            --bg-secondary: #1d1d1f;
            --text: #f5f5f7;
            --text-secondary: #86868b;
            --border: #424245;
            --card-bg: #1d1d1f;
            --header-bg: rgba(0, 0, 0, 0.8);
            --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg);
            color: var(--text);
            transition: background var(--transition), color var(--transition);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* HEADER */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: var(--header-bg);
            backdrop-filter: saturate(180%) blur(20px);
            -webkit-backdrop-filter: saturate(180%) blur(20px);
            border-bottom: 1px solid var(--border);
            transition: background var(--transition);
        }

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

        .logo {
            font-size: 20px;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: var(--text);
            text-decoration: none;
            transition: color var(--transition);
        }

        html[data-theme="dark"] a.logo img {
            filter: contrast(0) brightness(10.5);
        }

        a.logo img {
            width: 170px;
        }

        .header-contacts {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .header-contacts a {
            font-size: 13px;
            color: var(--text-secondary);
            text-decoration: none;
            transition: color var(--transition);
        }

        .header-contacts a:hover {
            color: var(--text);
        }

        .theme-toggle {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid var(--border);
            background: transparent;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition);
            color: var(--text);
        }

        .theme-toggle:hover {
            background: var(--bg-secondary);
            transform: scale(1.05);
        }

        .theme-toggle svg {
            width: 18px;
            height: 18px;
            transition: transform 0.5s ease;
        }

        .theme-toggle:hover svg {
            transform: rotate(30deg);
        }

        .sun-icon,
        .moon-icon {
            display: none;
        }

        [data-theme="light"] .sun-icon {
            display: block;
        }

        [data-theme="light"] .moon-icon {
            display: none;
        }

        [data-theme="dark"] .sun-icon {
            display: none;
        }

        [data-theme="dark"] .moon-icon {
            display: block;
        }

        /* SECTIONS */
        section {
            padding: 120px 24px;
        }

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

        /* HERO / ABOUT */
        .about-section {
            padding-top: 140px;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .about-image {
            border-radius: 24px;
            overflow: hidden;
            box-shadow: var(--shadow);
            aspect-ratio: 3/3;
        }

        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.6s ease;
        }

        .about-image:hover img {
            transform: scale(1.02);
        }

        .about-text h1 {
            font-size: 48px;
            font-weight: 700;
            letter-spacing: -1.5px;
            line-height: 1.1;
            margin-bottom: 8px;
        }

        .about-text .subtitle {
            font-size: 16px;
            color: var(--text-secondary);
            margin-bottom: 32px;
            font-weight: 400;
        }

        .about-text p {
            font-size: 17px;
            line-height: 1.65;
            color: var(--text-secondary);
            margin-bottom: 20px;
        }

        /* SERVICES */
        .services-section {
            background: var(--bg-secondary);
            transition: background var(--transition);
        }

        .section-label {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
        }

        .section-title {
            font-size: 48px;
            font-weight: 700;
            letter-spacing: -1.5px;
            margin-bottom: 50px;
            line-height: 1.1;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .service-card {
            background: var(--card-bg);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all var(--transition);
            border: 1px solid var(--border);
        }

        .service-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        }

        [data-theme="dark"] .service-card:hover {
            box-shadow: 0 12px 40px rgba(255, 255, 255, 0.05);
        }

        .service-image {
            aspect-ratio: 16/10;
            overflow: hidden;
        }

        .service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.6s ease;
        }

        .service-card:hover .service-image img {
            transform: scale(1.05);
        }

        .service-content {
            padding: 28px;
        }

        .service-content h3 {
            font-size: 20px;
            font-weight: 600;
            letter-spacing: -0.3px;
            margin-bottom: 12px;
        }

        .service-content p {
            font-size: 14px;
            line-height: 1.6;
            color: var(--text-secondary);
        }

        /* CONTACTS */
        .contacts-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .contacts-info {
            display: block;
            gap: 24px;
        }

        .contact-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-bottom: 20px;
            margin-top: 30px;
        }

        .contact-label {
            font-size: 13px;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .contact-value {
            font-size: 20px;
            font-weight: 500;
            letter-spacing: -0.3px;
        }

        .contact-value a {
            color: var(--text);
            text-decoration: none;
            transition: opacity 0.3s;
        }

        .contact-value a:hover {
            opacity: 0.7;
        }

        .contacts-image {
            border-radius: 24px;
            overflow: hidden;
            box-shadow: var(--shadow);
            aspect-ratio: 3/3;
        }

        .contacts-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* FOOTER */
        footer {
            padding: 30px 24px;
            border-top: 1px solid var(--border);
            text-align: center;
            transition: border-color var(--transition);
        }

        footer p {
            font-size: 13px;
            color: var(--text-secondary);
        }

        section.contacts-section {
            padding-bottom: 50px;
            padding-top: 50px;
        }

        .about-text p:last-child {
            margin-bottom: 0;
        }


        /* ANIMATIONS */
        .fade-in {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .fade-in-left {
            opacity: 0;
            transform: translateX(-40px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .fade-in-left.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .fade-in-right {
            opacity: 0;
            transform: translateX(40px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .fade-in-right.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .contacts-grid .section-title+p {
            font-size: 24px
        }

        .contacts-grid .section-title+p+p {
            font-size: 15px;
            margin-top: 2px;
        }

        /* RESPONSIVE */
        @media (max-width: 900px) {

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

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

            .about-text h1,
            .section-title {
                font-size: 36px;
            }

            .header-contacts {
                display: none;
            }
        }

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

            .about-section {
                padding-top: 111px;
            }

            section {
                padding: 50px 16px;
            }

            .about-text h1,
            .section-title {
                font-size: 28px;
                margin-bottom: 40px;
            }

            .about-text p {
                font-size: 15px;
            }

            section.contacts-section {
                padding-bottom: 30px;
                padding-top: 40px;
            }

            footer span {
                display: block
            }

        }