.Header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 1262626;
    transition: 0.3s ease;
    color: #fff;
}

.Header.scrolled {
    background-color: rgba(0, 0, 0, .5);
    backdrop-filter: blur(30px);
}

body.ActiveHeader .Header {
    background: #fff;
}

.Header:has(li.has-dropdown:hover),
.Header:has(.DropdownMenu:hover),
body.ActiveHeader .Header {
    color: #262626;
}

.Header .Nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.Header .Logo {
    width: 106px;
    height: 36px;
    object-fit: contain;
    transition: filter 0.4s ease;
}

.Header:has(li.has-dropdown:hover) .Logo,
.Header:has(.DropdownMenu:hover) .Logo,
body.ActiveHeader .Header .Logo {
    filter: invert(1);
}

.Header ul {
    display: flex;
    align-items: center;
    list-style: none;
    color: inherit;
    font-size: 14px;
    margin: 0 0 0 30px;
    padding: 0;
    height: 100%;
}

.Header ul li {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding-left: 30px;
}

.Header ul li .BrandIcon {
    position: absolute;
    bottom: 7px;
    left: 15px;
    width: 100%;
    height: 3px;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.4s ease;
    filter: brightness(0) invert(1);
}

.Header ul li:hover .BrandIcon {
    opacity: 1;
    transform: translateY(0);
}

.Header:has(li.has-dropdown:hover) .BrandIcon,
.Header:has(.DropdownMenu:hover) .BrandIcon,
body.ActiveHeader .Header .BrandIcon {
    filter: brightness(0);
}

.Header .Buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: filter 0.4s ease;
}

.Header .Buttons button {
    height: 36px;
}

.Header:has(li.has-dropdown:hover) .Buttons app-icon,
.Header:has(.DropdownMenu:hover) .Buttons app-icon,
body.ActiveHeader .Header .Buttons app-icon {
    filter: invert(1);
}

.Header:has(li.has-dropdown:hover) .Button.btn-outline,
.Header:has(.DropdownMenu:hover) .Button.btn-outline,
body.ActiveHeader .Header .Button.btn-outline {
    border-color: #262626;
    color: #262626;
}

.Header:has(li.has-dropdown:hover) .Button.btn-transparent,
.Header:has(.DropdownMenu:hover) .Button.btn-transparent,
body.ActiveHeader .Header .Button.btn-transparent {
    color: #262626;
}

body.ActiveHeader .Header .Button.btn-outline:hover {
    color: #fff !important;
}

.DropdownMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: fit-content;
    background-color: #fff;
    color: #262626;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
    z-index: -1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.Header ul li.has-dropdown:hover .DropdownMenu,
.DropdownMenu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.DropdownContent {
    padding: 100px 230px 0;
    width: 100%;
}

.ModelsGrid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-height: 500px;
    overflow-y: scroll;
    padding-bottom: 50px;
}

.CategoryGroup {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.CategoryTitle {
    font-size: 16px;
    font-weight: 500;
    color: #767676;
}

.ItemsRow {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ModelItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 210px;
    cursor: pointer;
    position: relative;
}

.ImageWrapper {
    width: 210px;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #F9F9F9;
    border-radius: 8px;
}

.ModelItem img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ModelItem:hover img {
    width: 210px;
    height: 210px;
}

.ModelItem p {
    font-size: 16px;
    font-weight: 500;
    color: #262626;
    transition: color 0.3s;
    position: absolute;
    bottom: 20px;
}

.Service {
    padding-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 160px;
}

.ServiceBox {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ServiceList {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ServiceItem {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ServiceItem img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ServiceItem:hover img {
    width: 210px;
    height: 210px;
}

.ServiceItem p {
    position: absolute;
    bottom: 16px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.ServiceItem p.Dark {
    color: #262626;
}

.SubServiceList {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.SubServiceList a {
    width: fit-content;
    font-size: 16px;
}

@media (max-width: 1440px) {
    .DropdownContent {
        padding: 100px 40px 0;
    }
}

@media (max-width: 1024px) {
    .Header {
        padding: 0 20px;
    }

    .Header ul {
        margin-left: 15px;
    }

    .Header ul li {
        padding-left: 15px;
        font-size: 13px;
    }

    .Service {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .Header {
        height: 50px;
    }

    .Header .Nav ul,
    .Header .Buttons .Button.btn-outline,
    .Header .Buttons .Button.btn-transparent {
        display: none;
    }

    .Header .Buttons {
        gap: 10px;
    }

    .DropdownContent {
        padding: 70px 20px 20px;
    }

    .ModelsGrid {
        max-height: 80vh;
    }

    .ItemsRow {
        justify-content: center;
    }

    .ModelItem,
    .ImageWrapper {
        width: 160px;
        height: 160px;
    }

    .ModelItem img {
        width: 140px;
        height: 140px;
    }

    .Service {
        flex-direction: column;
        gap: 20px;
    }
}