header {
    display: block;
    padding: 0;
}

header section.block-1 {
    position: relative;
    display: flex;
    max-height: 900px;
}

header section.block-1 nav {
    position: absolute;
    background-color: var(--nav-bg);
    top: 40px;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    color: var(--nav-color);
    max-width: 1040px;
    border-radius: 10px;
    min-height: 70px;
    z-index: 2;
}

header section.block-1 .logo-and-menu {
    display: flex;
    gap: 42px;
    align-items: center;
    align-content: center;
    margin-left: 104px;
}


.burger-menu {
    display: none;
}

header section.block-1 nav .logo {
    display: block;
    width: 32px;
    height: 32px;
    box-shadow: 12px 6.46px 39.42px 22.15px #FFFFFF14;
    background: transparent;
    border-radius: 50%;
}

header section.block-1 .logo img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    background: transparent;
}

header section.block-1 nav ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 28px;
    font-family: var(--font);
}

header section.block-1 nav ul li a {
    color: var(--nav-color);
    text-decoration: none;
}

header section.block-1 nav ul li a:hover {
    color: var(--yellow)
}






/* Скрытое подменю */
header section.block-1 nav ul li .sub-menu {
    display: block;
    position: absolute;
    z-index: 10;
    padding-top: 27px;
    min-width: 318px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    box-shadow: 0px 4px 6px -2px #26262608;
    box-shadow: 0px 12px 16px -4px #26262614;
}

/* Показываем подменю при наведении */
header section.block-1 nav ul li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Элементы внутри подменю */
header section.block-1 nav ul li .sub-menu li {
    display: block;
    background-color: var(--nav-bg);
    width: 100%;
    padding: 4px;
}

header section.block-1 nav ul li .sub-menu li.loc-right a{
    display: flex;
    gap: 14px;
}

header section.block-1 nav ul li .sub-menu li.loc-right a:after {
    content: "";
    width: 14px;
    height: 18px;
    display: block;
    background-image: url("../images/svg/loc.svg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 14px 18px;
}

header section.block-1 nav ul li .sub-menu li:first-child {
    border-radius: 6px 6px 0 0;
}

header section.block-1 nav ul li .sub-menu li:last-child {
    border-radius: 0 0 6px 6px;
}

header section.block-1 nav ul li .sub-menu li a {
    display: block;
    padding: 14px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

header section.block-1 nav ul li .sub-menu li a:hover {
    background-color: white;
    color: var(--nav-bg);
}

/* Родитель с подменю — стрелка по умолчанию (скрыта) */
header section.block-1 nav ul li.menu-item-has-children {
    position: relative;
    padding-right: 20px;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 12px 7px;

    /* Анимация стрелки */
    background-image: url("../images/svg/arrow.svg");
    /*opacity: 0.6;*/
    transition: background-image 0.3s ease, opacity 0.3s ease;
}

/* При наведении — смена стрелки и плавность */
header section.block-1 nav ul li.menu-item-has-children:hover {
    background-image: url("../images/svg/arrow-up.svg");
    opacity: 1;
}



header section.block-1 nav .soc-links {
    display: flex;
    margin-right: 104px;
    gap: 12px;
    align-content: center;
    align-items: center;
    text-align: right;
}

header section.block-1 nav .soc-links a {
    display: block;
    width: 24px;
    height: 24px;
    background-position: center;
    background-size: 20px 20px;
    background-repeat: no-repeat
}

header section.block-1 nav .soc-links a img {
    object-fit: cover;
}


header section.block-1 .inner-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
}

header section.block-1 .inner-wrapper .col {
    width: 50%;
}
header section.block-1 .inner-wrapper .col:first-child {
    /* max-width: 720px; */
    display: block;
    /* border-radius: 20px; */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

header section.block-1 .inner-wrapper .col:first-child img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

header section.block-1 .inner-wrapper .col:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

header section.block-1 .inner-wrapper .col:last-child .text-block {
    display: flex;
    max-width: 589px;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    margin: 190px 40px 20px 40px;
    color: white;
}

header section.block-1 .inner-wrapper .col:last-child .text-block h1 {
    font-weight: 700;
    font-size: 82px;
    line-height: 120%;
    color: var(--yellow);
    font-family: var(--font);
    padding: 0;
    margin: 0;
}


header section.block-1 .inner-wrapper .col:last-child .text-block h3 {
    font-family: var(--font);
    font-weight: 700;
    font-size: 28px;
    line-height: 110%;
    letter-spacing: 1%;
}


header section.block-1 .inner-wrapper .col:last-child .text-block p {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 140%;
    text-align: justify;
}

header section.block-1 .inner-wrapper .col .text-block .wishlist-form-wrapper {
    display: block;
    position: relative;
    max-width: 476px;
    min-height: 56px;
    font-family: var(--font-inter);
    margin-top: 20px;
}

header section.block-1 .inner-wrapper .col .text-block .wishlist-form-wrapper input {
    border: none;
    display: block;
    border-radius: 10px;
    padding: 20px 14px;
    background-color: var(--green);
    width: calc(100% - 28px);
    color: var(--black-1);
    font-weight: 400;
    font-size: 16px;
}


/* Hover */
header section.block-1 .inner-wrapper .col .text-block .wishlist-form-wrapper input:hover {
    outline: none;
}

/* Focus */
header section.block-1 .inner-wrapper .col .text-block .wishlist-form-wrapper input:focus {
    outline: none;
}

/* Active */
header section.block-1 .inner-wrapper .col .text-block .wishlist-form-wrapper input:active {
    outline: none;
}

/* Disabled */
header section.block-1 .inner-wrapper .col .text-block .wishlist-form-wrapper input:disabled {
    outline: none;
    cursor: not-allowed;
    opacity: 0.6;
}

header section.block-1 .inner-wrapper .col .text-block .wishlist-form-wrapper input::placeholder {
    color: var(--black-1);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

header section.block-1 .inner-wrapper .col .text-block .wishlist-form-wrapper button {
    position: absolute;
    right: 14px;
    top: 9px;
    background-color: var(--yellow);
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    text-align: center;
    padding: 12px 16px;
    cursor: pointer;
}

header section.block-1 .inner-wrapper .col .text-block .wishlist-form-wrapper button:hover {
    opacity: 0.7;
}

.adaptive-nav {
    display: block;
    position: fixed;
    top: 70px;
    bottom: 70px;
    z-index: 9998;
    left: 0;
    right: 0;
    background-color: var(--black);
    height: 100vh;
    overflow-y: auto;
}

.adaptive-nav .button-wrapper {
    display: block;
    padding: 0 20px;
    text-align: center;
}

.adaptive-nav .button
{
    max-width: 335px;
    display: flex;
    padding-left: 20px;
    padding: 14px 20px;
    border-radius: 10px;
    border-width: 1px;
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    background-color: var(--yellow);
    align-items: center;
    justify-content: center;
    margin: auto;
    color: var(--black-3);
    text-decoration: none;
}

.adaptive-nav .button:hover {
    opacity: 0.8
}




.adaptive-nav .menu-container ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 28px;
    font-family: var(--font);
    flex-direction: column;
    max-width: 375px;
    align-items: flex-start;
    padding: 34px 20px 30px 20px;
}

.adaptive-nav .menu-container ul li a {
    color: var(--nav-color);
    text-decoration: none;
    font-size: 24px;
}


.adaptive-nav .menu-container ul li .sub-menu {
    position: relative;
    display: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.adaptive-nav .menu-container ul  li.open .sub-menu {
    position: relative;
    display: flex;
    transform: translateY(0);
    pointer-events: auto;
    padding: 0;
    margin: 0;
    gap: 20px;
    margin-top: 20px;
}

.adaptive-nav .menu-container ul li .sub-menu li {
    width: 100%;
    padding: 0;
}

.adaptive-nav .menu-container ul li .sub-menu li a {
    color: white;
    font-size: 14px;
}


.adaptive-nav .menu-container ul li .sub-menu li.loc-right a{
    display: flex;
    gap: 14px;
}

.adaptive-nav .menu-container ul li .sub-menu li.loc-right a:after {
    content: "";
    width: 9px;
    height: 12px;
    display: block;
    background-image: url("../images/svg/loc.svg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 9px 12px;
    margin-top: 3px;
}


.adaptive-nav .menu-container ul li .sub-menu li:first-child {
    border-radius: 0;
}

.adaptive-nav .menu-container ul  li .sub-menu li:last-child {
    border-radius: 0 0 6px 6px;
}

.adaptive-nav .menu-container ul  li .sub-menu li a {
    display: block;
    padding: 0;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.adaptive-nav .menu-container ul  li .sub-menu li a:hover {
    background-color: white;
}

/* Родитель с подменю — стрелка по умолчанию (скрыта) */
.adaptive-nav .menu-container ul  li.menu-item-has-children > a {
    position: relative;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 12px 7px;
    padding-right: 20px;

    /* Анимация стрелки */
    background-image: url("../images/svg/arrow.svg");
    /*opacity: 0.6;*/
    transition: background-image 0.3s ease, opacity 0.3s ease;
}

/* При наведении — смена стрелки и плавность */
.adaptive-nav .menu-container ul  li.menu-item-has-children.open > a{
    background-image: url("../images/svg/arrow-up-white.svg");
    opacity: 1;
}



.soc-links-container {
    display: block;
    padding: 20px;
    border-top: solid 1px var(--grey-2);
    margin-bottom: 12px;
}



.adaptive-nav .soc-links-container .soc-links {
    display: flex;
    gap: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.adaptive-nav .soc-links-container .soc-links a {
    display: flex;
    width: 50px;
    height: 50px;
    background-color: var(--black-2);
    border-radius: 15px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px;
    align-items: center;
    justify-content: center;
}





@media screen and (max-width: 1024px) {
    header section.block-1 nav ul,
    header section.block-1 nav .soc-links
    {
        display: none;
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 24px;
        margin-right: 104px;
    }


    .burger-menu span {
        width: 100%;
        height: 3px;
        background-color: var(--yellow);
        transition: all 0.3s ease;
    }



    .burger-menu.open {
        display: flex;
        flex-direction: column;
        gap: 0;

    }


    .burger-menu.open span {
        position: relative;
        transition: all 0.3s ease;
    }

    .burger-menu.open span:nth-child(1) {
        transform: rotate(45deg) translate(3px, 3px);
    }

    .burger-menu.open span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.open span:nth-child(3) {
        transform: rotate(-45deg) translate(1px,-2px);
    }



    header section.block-1 nav {
        position: fixed;
        top: 0;
        border-radius: 0;
    }

    .burger-menu {
        margin-right: 20px;
    }

    header section.block-1 .logo-and-menu {
        margin-left: 20px;
    }


    header section.block-1 .inner-wrapper {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        width: 100%;
        align-content: center;
        position: relative;
    }

    header section.block-1 .inner-wrapper .col {
        width: 100%;
        z-index: 1;
    }

    header section.block-1 .inner-wrapper .col:first-child {
        display: none;
    }



    header section.block-1 .inner-wrapper .col:last-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
        position: absolute;
        /* top: 100px; */
        height: 100%;
        background-image: url(../images/header-min.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }


    header section.block-1 .inner-wrapper .col:last-child:before{
        display: block;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        background: #080808;
        background: -webkit-linear-gradient(180deg, rgba(8, 8, 8, 0.96) 63%, rgba(8, 8, 8, 0) 87%);
        background: -moz-linear-gradient(180deg, rgba(8, 8, 8, 0.96) 63%, rgba(8, 8, 8, 0) 87%);
        background: linear-gradient(180deg, rgba(8, 8, 8, 0.96) 63%, rgba(8, 8, 8, 0) 87%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#080808", endColorstr="#080808", GradientType=0);
        z-index: 0;
        height: 300px;
        width: 100%;'
    }


    header section.block-1 .inner-wrapper .col:last-child:after{
        display: block;
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        bottom: 0;
        background: #080808;
        background: -webkit-linear-gradient(360deg, rgba(8, 8, 8, 0.96) 63%, rgba(8, 8, 8, 0) 87%);
        background: -moz-linear-gradient(360deg, rgba(8, 8, 8, 0.96) 63%, rgba(8, 8, 8, 0) 87%);
        background: linear-gradient(360deg, rgba(8, 8, 8, 0.96) 63%, rgba(8, 8, 8, 0) 87%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#080808", endColorstr="#080808", GradientType=0);
        z-index: 0;
        height: 270px;
        width: 100%;'
    }



    header section.block-1 .inner-wrapper .col:last-child .text-block {
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: flex-start;
        margin: 0px 20px 20px 20px;
        color: white;
        height: 100%;
        z-index: 1;
    }


    header section.block-1 .inner-wrapper .col:last-child .text-block h1 {
        font-family: var(--font-inter);
        font-weight: 700;
        font-size: 40px;
        line-height: 130%;
        padding-top: 80px;
    }


    header section.block-1 .inner-wrapper .col:last-child .text-block h3 {font-family: var(--font-inter);font-weight: 600; font-size: 24px;leading-trim: NONE;line-height: 130%;letter-spacing: 0%;padding:  0;margin: 10px 0;}


    header section.block-1 .inner-wrapper .col:last-child .text-block p {
        font-family: var(--font-inter);
        margin-top: 60%;
        font-weight: 400;
        font-size: 16px;
        leading-trim: NONE;
        line-height: 130%;
        text-align: left;
    }

    header section.block-1 {
        min-height: 780px;
        overflow: hidden;
        position: relative;
    }

}


@media screen and (max-width: 768px) {

    header section.block-1 .inner-wrapper .col:last-child .text-block p {
        position: absolute;
        bottom: 110px;
        left: 20px;
        right: 20px;
        margin: auto;
    }

    header section.block-1 .inner-wrapper .col .text-block .wishlist-form-wrapper {
        display: block;
        max-width: unset;
        min-height: unset;
        position: absolute;
        bottom: 30px;
        left: 20px;
        right: 20px;
        margin: auto;
    }


    header section.block-1 nav {
        position: fixed;
        top: 0;
        border-radius: 0;
        z-index: 9999;
    }

    .burger-menu {
        margin-right: 20px;
    }

    header section.block-1 .logo-and-menu {
        margin-left: 20px;
    }

    header section.block-1 .inner-wrapper .col .text-block .wishlist-form-wrapper input::placeholder {
        font-size: 12px;
    }

    header section.block-1 .inner-wrapper .col .text-block .wishlist-form-wrapper button {
        font-weight: 600;
        font-size: 12px;
    }


    .adaptive-nav .soc-links-container .soc-links a {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }
}