/* Header, navigation, mega menu and responsive styles. */
.site-header {
    background: #000;
    position: sticky;
    top: 0;
    z-index: 9999
}

.header-wrap {
    max-width: 1400px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo img {
    height: 60px
}

.logo {
    position: relative
}

.logo:after {
    content: "";
    width: 1px;
    height: 136%;
    background: #d1ab6a;
    position: absolute;
    right: -12px;
    top: -10px
}

.cta .but-one svg {
    position: absolute;
    right: 15px;
    transform: rotate(90deg);
    fill: #000;
    z-index: 1;
    top: 16px
}

.cta .but-one span {
    padding: 15px 35px 15px 15px
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
    margin: 0
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .5px;
    display: flex;
    align-items: normal;
    position: relative;
    gap: 6px
}

.nav a::after {
    content: "";
    position: absolute;
    background-color: #d1ab6a;
    transition: transform .5s;
    left: 0;
    width: 100%;
    height: 1px;
    bottom: -10px;
    transform: scaleX(0);
    transform-origin: left
}

.nav a:hover::after {
    transform: scaleX(1)
}

.nav a:hover {
    color: #d1ab6a
}

.cta {
    display: flex;
    align-items: center;
    gap: 16px
}

.btn {
    background: #d1ab6a;
    color: #000;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none
}

.menu-toggle {
    font-size: 28px;
    color: #d1ab6a;
    cursor: pointer;
    display: none
}

.has-mega {
    position: static
}

.mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff0;
    opacity: 0;
    visibility: hidden;
    transition: .35s ease
}

.has-mega:hover .mega {
    opacity: 1;
    visibility: visible
}

.widgettitle {
    display: block;
    margin-bottom: 20px;
    padding-bottom: 12px;
    font-size: 18px;
    border: 0 solid #fff0;
    border-bottom: 1px solid #d1ab6a;
    color: #d1ab6a;
    position: absolute;
    width: 100%;
    bottom: 0
}

.mega-wrap {
    max-width: 1400px;
    margin: auto;
    padding: 0;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
    background: #000
}

.mega-img img {
    width: 70%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px
}

.mega-content {
    display: grid;
    gap: 15px 45px;
    position: relative;
    margin-top: 50px
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
    height: 0
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr)
}

.mega-content a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    line-height: 20px;
    position: relative;
    transition: transform .1s ease-in-out
}

.mega-content a::after {
    content: "";
    position: absolute;
    background-color: #d1ab6a;
    transition: transform .5s;
    left: 0;
    height: 1px;
    bottom: -10px;
    transform: scaleX(0);
    transform-origin: left;
    width: 25px
}

.mega-content a:hover::after {
    transform: scaleX(1)
}

.mega-content a:hover {
    color: #d1ab6a
}

.mobile-top {
    display: none
}

.has-sub {
    position: relative
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #000;
    border: 1px solid rgb(255 255 255 / .1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s
}

.has-sub:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.sub-menu a {
    padding: 12px 16px;
    display: block;
    font-size: 13px;
    border-bottom: 1px solid rgb(255 255 255 / 21%)
}

.sub-menu a:after {
    bottom: -2px
}

@media (max-width:991px) {
    .cta {
        position: absolute;
        right: 15px;
        gap: 0
    }

    footer {
        position: inherit !important
    }

    .footer-top .grid .item:before {
        height: 1px !important;
        width: 50% !important;
        position: absolute !important;
        top: -20px !important;
        left: 0 !important;
        right: 0;
        margin: 0 auto
    }

    .cta .but-one svg {
        position: absolute;
        background: #d1ab6a;
        z-index: 111;
        width: 40px;
        height: 40px;
        padding: 12px;
        top: -20px
    }

    .cta .but-one span {
        display: none
    }

    .cta .but-one {
        position: relative;
        overflow: inherit
    }

    .menu-toggle {
        display: block
    }

    .menu-toggle svg {
        height: 40px;
        width: 40px;
        fill: #fff
    }

    .nav ul li a span {
        width: 30px;
        height: 30px;
        background: #d1ab6a;
        text-align: center
    }

    .nav ul li a:hover span {
        background: #fff
    }

    .widgettitle {
        display: none
    }

    .mobile-top {
        display: block
    }

    .nav {
        position: fixed;
        inset: 0;
        background: #000;
        transform: translateX(-100%);
        transition: .45s ease;
        z-index: 99999;
        overflow-y: auto
    }

    .nav.active {
        transform: translateX(0)
    }

    .mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        border-bottom: 1px solid rgb(255 255 255 / .15);
        width: 100%;
        height: 100px
    }

    /* Preserve the logo ratio when reducing its height in the mobile menu. */
    .mobile-top img {
        height: 50px;
        width: auto;
        object-fit: contain;
    }

    .menu-close {
        font-size: 28px;
        color: #fff;
        cursor: pointer
    }

    .nav ul {
        flex-direction: column;
        padding: 0;
        gap: 0;
        width: 100%;
        position: absolute;
        top: 100px
    }

    .nav ul li {
        width: 100%;
        border-bottom: 1px solid rgb(255 255 255 / .12);
        padding: 14px 30px
    }

    .nav ul li a {
        font-size: 22px;
        justify-content: space-between;
        font-size: 16px
    }

    .has-mega .mega,
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border: 0
    }

    .has-mega.active .mega,
    .has-sub.active .sub-menu {
        display: block;
        padding: 20px 0
    }

    .sub-menu a {
        font-size: 16px;
        padding-left: 15px;
        border-bottom: 0
    }

    .mega-wrap {
        grid-template-columns: 1fr;
        padding: 0
    }

    .mega-content a {
        line-height: 30px
    }

    .mega-img {
        display: none
    }

    .mega-content {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 0;
        display: table
    }
}

/* Native menu buttons retain the original icon-only appearance. */
.site-header .menu-toggle,
.site-header .menu-close {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    font-family: inherit;
    line-height: inherit;
    text-transform: none;
    cursor: pointer;
}
.site-header .menu-toggle:focus-visible,
.site-header .menu-close:focus-visible {
    outline: 2px solid #d1ab6a;
    outline-offset: 4px;
}
