:root {
    --primary-color: #3D5A80;
    --secondary-color: #00a8e8;
    --text-color: #1E1E1E;
    --text-gray: #6B7280;
    --light-bg: #EDF2F7;
    --hero-bg: #E8EEF4;
    --white: #ffffff;
    --border-radius: 12px;
    --container-width: 1400px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ==================== HEADER ==================== */
.header {
    background-color: var(--white);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
}


.logo {
    text-decoration: none;
    display: block;
}

.logo-svg {
    width: 100px;
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    width: 48px;
    height: 48px;
    background: #4A7FD0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.social-icon:hover {
    opacity: 0.85;
}

.header-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    margin-left: 8px;
    letter-spacing: -0.5px;
}

.header-phone:hover {
    color: #5B9BD5;
}

.burger-btn {
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: 8px;
    transition: opacity 0.2s;
}

.burger-btn:hover {
    opacity: 0.85;
}

.burger-btn img {
    width: 48px;
    height: 48px;
    display: block;
    border-radius: 8px;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: var(--white);
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.mobile-menu-logo .logo-svg {
    width: 80px;
    height: 32px;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s;
    color: #666;
}

.mobile-menu-close:hover {
    background-color: #f5f5f5;
}

.mobile-menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-link {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-link:hover {
    color: var(--primary-color);
    background-color: #f8f9fa;
    padding-left: 12px;
}

.mobile-menu-contacts {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.mobile-menu-phone {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 20px;
    text-align: center;
}

.mobile-menu-phone:hover {
    color: var(--primary-color);
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.mobile-social-icon {
    width: 48px;
    height: 48px;
    background: #4A7FD0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.mobile-social-icon:hover {
    transform: translateY(-2px);
}

/* ==================== HERO SECTION ==================== */
.hero {
    background-color: #eaf6ff;
    padding: 35px 0 35px;
    overflow: hidden;
    border-radius: 40px;
    margin-left: 25px;
    margin-right: 25px;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    z-index: 10;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

@media(max-width: 1200px) {
    .hero-wrapper img {
        position: relative !important;
        right: 160px !important;
    }
}
@media(max-width: 1024px) {
    .hero {
        position: relative;
        z-index: -2;
    }
    .hero-wrapper img {
        position: absolute !important;
        top: 100px;
        left: 100px;
        z-index: 0;
        z-index: -1;
    }
}
@media(max-width: 992px) {
    .hero {
    }
    .hero-wrapper img {
        display: none;
    }
}

.service-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.service-tag {
    background: #ffffff;
    color: #1a1a1a;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.service-tag:hover {
    transform: translateY(-2px);
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0 0 40px 0;
    font-weight: 400;
}

.btn-hero {
    background: #366DDB;
    color: #ffffff;
    padding: 20px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(54, 109, 219, 0.3);
}

.btn-hero:hover {
    background: #2557c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(54, 109, 219, 0.4);
}



/* Responsive Design */
@media (max-width: 1024px) {
    .hero-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .service-tags {
        justify-content: center;
    }

    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn-hero {
        padding: 16px 32px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
    }

    .header-left {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        order: 1;
    }

    .header-left::after {
        content: '';
        order: 2;
    }

    .header-right {
        gap: 12px;
        justify-content: flex-start;
        order: 2;
    }

    .burger-btn {
        position: absolute;
        top: 18px;
        right: 40px;
        width: 40px;
        height: 40px;
        margin-left: 0;
        z-index: 10;
    }

    .burger-btn img {
        width: 40px;
        height: 40px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .header-phone {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .service-tags {
        gap: 8px;
    }

    .service-tag {
        padding: 10px 18px;
        font-size: 14px;
    }

    .mobile-menu-content {
        width: 280px;
        padding: 16px;
    }

    .mobile-menu-link {
        font-size: 16px;
        padding: 14px 0;
    }

    .mobile-menu-phone {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .service-tag {
        padding: 8px 16px;
        font-size: 13px;
    }
}