header.header {
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
}
header .container {
    padding-top: 45px;
/*     padding-inline: 35px; */
}
.header__content {
    display: flex; gap: 30px;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 30px;
    background-color: transparent;
    transition: background-color 0.2s ease;
    will-change: background-color;
}
header .logo {
    width: auto;
    height: 60px;
}
header .logo svg {
    width: auto;
    height: 100%;
}
header .logo svg path:not(:first-child) { fill: var(--white-color); }
header .menu { padding: 20px; }
header .LiquidGlass__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: var(--white-color-a20);
}
header .menu__list {
    display: flex; gap: 15px;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
.header--desc .menu__item-link:hover p { color: var(--green-color); }
header .phone { 
    height: 60px; 
    white-space: nowrap;
}
header .phone svg { margin-right: 5px; }


.header--mobile { display: none; }
.header--mobile .header__content > .LiquidGlass__bg { display: none; }
.header--mobile .header__content > .LiquidGlass__bg { display: block; }
.header--mobile .menu > .LiquidGlass__bg { display: none; }
.header--mobile .main-content { 
    display: flex; gap: 30px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.header--mobile .header__content {
    flex-direction: column;
    gap: 0;
    transition: 
        background-color 0.2s ease,
        gap 0.2s ease;
    will-change: background-color, gap;
}
.header--mobile .mobil-menu {
    cursor: pointer;
    width: 50px;
    min-width: 50px;
    height: 50px;
    border: 0;
    border-radius: 10px;
    background-color: var(--green-color);
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 13px 10px;
	transition: filter 0.2s ease;
	will-change: filter;
}
.header--mobile .mobil-menu:hover { filter: brightness(0.9)}
.header--mobile .menu {
    padding: 0;
    display: grid;
    opacity: 0;
    grid-template-rows: 0fr;
    transition: 
        grid-template-rows 0.2s ease,
        opacity 0.2s ease;
    will-change: 
        grid-template-rows,
        opacity;
}
.header--mobile .menu > * { overflow: hidden; }
.header--mobile .mobil-menu { display: flex; }
.header--mobile .mobil-menu span {
    width: 30px;
    height: 0px;
    border: 2px solid var(--black-color);
    border-radius: 10px;
}
.header--mobile .menu__list {
    display: grid; gap: 20px;
    grid-template-columns: repeat(4, minmax(max-content, 1fr));
    grid-template-rows: 60px 60px;
}
.header--mobile .menu__item {
    width: 100%;
    height: 100%;
}
.header--mobile .menu__item-link {
    width: 100%;
    height: 100%;
    text-align: center;
    display: block;
    align-content: center;
    background-color: var(--white-color);
    border-radius: 10px;
    filter: brightness(1);
    transition: filter 0.2s ease;
    will-change: filter;
}
.header--mobile .menu__item-link:hover { filter: brightness(0.9); }
.header--mobile .menu__item p { color: var(--black-color); }

.header--mobile.open .header__content { gap: 30px; }
.header--mobile.open .menu { 
    grid-template-rows: 1fr; 
    opacity: 1;
}


.header--mobile.scrolled .header__content,
.header--desc.scrolled .header__content {
    border-radius: 30px;
    background-color: var(--grey-color);
}
.header--mobile.scrolled .logo svg path:not(:first-child),
.header--desc.scrolled .logo svg path:not(:first-child) {
    fill: var(--black-color);
}
.header--mobile.scrolled .menu__item-link p,
.header--desc.scrolled .menu__item-link p {
    color: var(--black-color);
}
.header--mobile.scrolled .LiquidGlass__bg,
.header--desc.scrolled .LiquidGlass__bg { display: none; }


@media screen and (max-width: 1300px) {
    .header--desc .phone span { display: none; }
}

@media screen and (max-width: 1070px) {
    .header--desc   { display: none;  }
    .header--mobile { display: block; }
}

@media screen and (max-width: 850px) {
	header .container { padding-top: 20px; }
    .header--mobile .menu__list {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: unset;
        grid-auto-rows: 1fr;
    }
/*     .header--mobile .menu__list > :first-child, */
    .header--mobile .menu__list > :last-child {
        grid-column: 1 / -1;
    }
    .header--mobile .menu { width: 100%; }
    .header--mobile .menu .button {
        max-width: 80%;
        margin: 0 auto;
        justify-content: center;
    }
}

@media screen and (max-width: 550px) {
	header .container { padding-top: 10px; }
	
	.header--mobile.scrolled .header__content,
	.header--mobile .header__content,
	header .LiquidGlass__bg { border-radius: 15px; }
	
	.header--mobile .header__content { padding: 10px; }
}