.header {
    position: relative;
}

.header-clone {
    opacity: 0;
    z-index: -1;
}

.header-clone.active {
    opacity: 1;
    z-index: 999999;
}

.header .line {
    position: absolute;
    top: 30px;
    left: 20px;
    width: calc(100% - 40px);
    border: 1px solid var(--white, #FFF);
    background: var(--black, #212121);
    border-radius: 10px;
    padding: 11px 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
}

.header .line.active {
    border: unset;
}

.header .line p {
    color: var(--white, #fff);
    width: fit-content;
}

.header .line .pwrap {
    width: 110px;
}

.header .line.active .menu-button {
    font-size: 16px;
}

.header .line p.cta, .menu-wrap .lets-talk {
    color: var(--yellow, #FFF201);
}

.header .menu-wrap {
    transform: translateY(-100vh);
    transition: .3s;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    background: var(--black);
    padding: 140px 75px;
    overflow: hidden;
}

.header .menu-wrap.active {
    transform: translateY(0);
}

.header .menu-wrap .menu-header-container {
    position: relative;
}

.header .menu-wrap .menu-header-container,
.header .menu-wrap .menu-header-container ul {
    /* height: 100%;
    width: 100%; */
}

.header .menu-wrap .menu-header-container ul {
    display: flex;
    flex-wrap: wrap;
    column-gap: 50px;
}

.header .menu-wrap .menu-header-container ul li a {
    color: var(--light-gray);
    font-size: 100px;
    font-family: 'Inter';
    font-weight: 700;
    text-transform: uppercase;
    line-height: 121px;
    transition: 0s;
    z-index: 9;
}

.header .menu-wrap .menu-header-container ul li a.clone {
    position: absolute;
    z-index: -1;
    color: var(--yellow);
}

.header .menu-wrap .menu-header-container ul li a.link {
    clip-path: circle(40px at var(--x) var(--y));
}

.header .menu-wrap .menu-header-container ul li {
    width: auto;
    display: flex;
    transition: .3s;
    align-items: flex-start;
}

.header .menu-wrap .menu-header-container ul li.blur {
    filter: blur(10px);
}

/* .header .menu-wrap .menu-header-container ul li:nth-child(1),
.header .menu-wrap .menu-header-container ul li:nth-child(2),
.header .menu-wrap .menu-header-container ul li:nth-child(3) {

}


.header .menu-wrap .menu-header-container ul li:nth-child(4) {
    width: 33%;
    justify-content: flex-end;
}

.header .menu-wrap .menu-header-container ul li:nth-child(5) {
    width: 50%;
}

.header .menu-wrap .menu-header-container ul li:nth-child(8) {
    width: 45%;
    justify-content: flex-end;
} */

.header .menu-wrap .cover-image {
    border-radius: 20px;
    width: 400px;
    height: 230px;
    object-fit: cover;
    margin-top: 50px;
    opacity: 0;
    transition: .3s;
}

.header .menu-wrap .cover-image.active {
    opacity: 1;
}

.contact-overlay {
    transform: translateY(-100vh);
    transition: .3s;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    background: var(--black);
    padding: 140px 75px;
    overflow: hidden;
}

.contact-overlay.active {
    transform: translateY(0);
}

.lets-talk.unactive {
    visibility: hidden;
}

.overlay-wrap {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
}

.contact-overlay form {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-overlay form .form {
    max-width: 750px;
    position: relative;
}

.contact-overlay form .form .title-mak {
    color: var(--white);
    line-height: 50px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}

.contact-overlay form .form .title-mak span {
    margin-bottom: 20px;
    font-family: 'Inter';
}

.contact-overlay form .form .row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.contact-overlay form .form .row .col {
    width: calc(50% - 15px);
}

.contact-overlay form .form .row .col-full {
    width: 100%;
}

.contact-overlay form .form .row .wpcf7-form-control-wrap {
    display: flex;
    flex-direction: column;
    position: relative;
}

.wpcf7-not-valid-tip {
    position: absolute;
    width: 100%;
    font-family: 'Inter';
    font-size: 14px;
    line-height: 1;
    bottom: -20px;
    left: 30px;
}

.contact-overlay form .form .row .wpcf7-form-control-wrap input,
.contact-overlay form .form .row .wpcf7-form-control-wrap textarea {
    height: 79px;
    display: flex;
    align-items: center;
    border: 2px solid var(--white);
    font-family: 'Inter';
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    border-radius: 50px;
    width: 100%;
    padding: 25px 30px;
    resize: none;
    overflow: hidden;
    transition: .3s;
    color: var(--white);
    background: transparent;
}

.contact-overlay form .form .row .wpcf7-form-control-wrap input::placeholder,
.contact-overlay form .form .row .wpcf7-form-control-wrap textarea::placeholder {
    font-family: 'Inter';
    font-size: 24px;
    font-weight: 400;
    color: var(--white);
}

.contact-overlay form .form .row .wpcf7-form-control-wrap input:focus,
.contact-overlay form .form .row .wpcf7-form-control-wrap textarea:focus,
.contact-overlay form .form .row .wpcf7-form-control-wrap input:not(:placeholder-shown),
.contact-overlay form .form .row .wpcf7-form-control-wrap textarea:not(:placeholder-shown) {
    background: var(--white);
    color: var(--black);
}

.contact-overlay form .form .row .wpcf7-form-control-wrap textarea:focus {
    height: 160px;
}

.contact-overlay form .form .terms-text {
    margin-left: 30px;
    color: var(--white);
    text-transform: uppercase;
}

.contact-overlay form .form .terms-text span {
    color: var(--blue);
}

.contact-overlay form .form .cta-button {
    height: 150px;
    width: 150px;
    margin: 50px 0 0 auto;
    position: static;
}

.contact-overlay form .form .cta-button .cta-wrap {
    background: var(--blue);
}

.contact-overlay form .form .cta-button img {
    width: 30px;
    min-width: 30px;
    height: 30px;
}

.contact-overlay form .form .cta-button input[type='submit'] {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.wpcf7-response-output, .wpcf7-spinner {
    display: none;
}

.terms, .thx-message {
    display: none;
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: calc(100% + 2px);
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    background: var(--black);
    color: var(--white);
    z-index: 99999999;
    padding-right: 30px;
}

.terms.active, .thx-message.active {
    display: flex;
}

.terms h2 {
    margin-bottom: 30px;
}

.terms p {
    margin-bottom: 30px;
}

.thx-message {
    padding: 140px 70px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.thx-message .thx-wrap {
    max-width: 1035px;
}

.thx-message .thx-wrap .title-mak .inter {
    font-weight: 500;
    font-family: 'Inter';
}

.thx-message .thx-wrap .title-mak {
    padding-bottom: 25px;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 100px;
    line-height: 1.2;
}

.thx-message .thx-wrap h2 .yellow {
    color: var(--yellow);
}

.thx-message .thx-wrap h2 {
    margin-bottom: 80px;
    font-family: 'Inter';
}

.thx-message .thx-wrap .links {
    display: flex;
    gap: 40px;
}

.thx-message .thx-wrap .links a {
    font-family: 'Inter';
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.thx-message .thx-wrap .links img {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(30%) sepia(63%) saturate(3589%) hue-rotate(204deg) brightness(98%) contrast(113%);
}

.menu-wrap .lets-talk {
    display: none;
}

@media(max-width: 1600px) {
    .header .menu-wrap .menu-header-container ul li a {
        font-size: 62px;
        line-height: 1;
    }
    .header .menu-wrap .menu-header-container ul {
        row-gap: 20px;
    }
    .thx-message .thx-wrap .title-mak {
        font-size: 48px;
        margin-bottom: 50px;
    }
    .contact-overlay form .form .title-mak {
        margin-bottom: 30px;
    }
    .contact-overlay form .form .row {
        margin-bottom: 25px;
    }
    .contact-overlay {
        padding: 110px 75px
    }
    .contact-overlay form .form .cta-button {
        margin: 20px 0 0 auto;
    }
}

@media(max-width: 1024px) {
    .header .menu-wrap .cover-image {
        display: none;
    }
    .thx-message .thx-wrap .links {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
    }
    .thx-message .thx-wrap h2 {
        margin-bottom: 30px;
    }
}

@media(max-width: 769px) {
    .header .line .pwrap:last-child {
        display: none;
    }
    .menu-wrap .lets-talk {
        display: block;
        margin-top: 50px;
    }
    .header .line {
        flex-direction: row-reverse;
        top: 20px;
        left: 15px;
        background: unset;
        border: unset;
        padding: 0;
    }

    .header .line.show {
        width: calc(100% - 30px);
        padding: 0 10px;
        background: var(--black, #212121);
        border: 1px solid var(--white, #FFF);
    }

    .header .line .pwrap {
        width: auto;
        padding: 18px 6px;
        border-radius: 10px;
        background: var(--design-black, #212121);
    }
    .header .menu-wrap .menu-header-container ul li a {
        font-size: 48px;
    }
    .contact-overlay {
        padding: 100px 15px;
    }
    .thx-message {
        padding: 100px 15px;
    }
    .thx-message .thx-wrap .title-mak {
        padding-bottom: 20px;
        font-size: 22px;
    }
    .thx-message .thx-wrap h2 {
        font-size: 18px;
    }
    .thx-message .thx-wrap .links a {
        font-size: 16px;
    }
    .thx-message .thx-wrap .links img {
        width: 18px;
        height: 18px;
    }
    .header .menu-wrap {
        padding: 110px 15px;
    }
}

@media(max-width: 480px) {
    .menu-wrap .lets-talk {
        font-size: 16px;
    }
    .header .line .custom-logo-link img {
        width: 75px;
        height: 30px;
    }
    .header .line .pwrap p {
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
    }
    .header .menu-wrap .menu-header-container ul {
        gap: 20px;
        flex-direction: column;
    }
    .header .menu-wrap .menu-header-container ul li a {
        font-size: 22px;
    }
    .contact-overlay form .form .title-mak {
        font-size: 22px;
        line-height: 1;
        margin-bottom: 30px;
    }
    .contact-overlay form .form .row {
        gap: 20px;
        margin-bottom: 20px;
        flex-direction: column;
    }
    .contact-overlay form .form .row .col {
        width: 100%;
    }
    .contact-overlay form .form .row .wpcf7-form-control-wrap input,
    .contact-overlay form .form .row .wpcf7-form-control-wrap textarea {
        height: 50px;
        padding: 20px;
        font-size: 14px;
    }
    .contact-overlay form .form .row .wpcf7-form-control-wrap input::placeholder,
    .contact-overlay form .form .row .wpcf7-form-control-wrap textarea::placeholder {
        font-size: 14px;
    }
    .wpcf7-not-valid-tip {
        bottom: -17px;
        font-size: 12px;
    }
    .contact-overlay form .form .row .wpcf7-form-control-wrap textarea {
        padding-top: 17px;
    }
    .contact-overlay form .form .terms-text {
        margin-left: 20px;
        font-size: 9px;
    }
    .contact-overlay form .form .cta-button {
        width: 103px;
        height: 103px;
        margin: 20px auto 0 auto;
    }
    .contact-overlay form .form .title-mak span {
        margin-bottom: 10px;
    }
    .cta-button p {
        font-size: 12px;
    }
    .contact-overlay form .form .cta-button img {
        width: 20px;
        min-width: 20px;
        height: 20px;
    }
    .terms, .thx-message {
        padding-right: 20px;
        top: -3px;
        height: calc(100% + 3px);
    }
    .terms h2 {
        font-size: 18px;
    }
    .terms p {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

.loader {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999999 !important;
    --d: 3em;
    --t: 1s;
    transition: .3s;
}

.loader.loaded {
    opacity: 0;
    z-index: -1 !important;
}

.loader .dot {
    background: var(--primary);
}

.loader .dot, .loader .dot:after {
    display: inline-block;
    width: var(--d);
    height: var(--d);
    border-radius: 50%;
    animation: a var(--t) infinite;
    animation-delay: calc(((var(--i) + var(--o, 0))/var(--n) - 1)*var(--t));
}

.loader .dot:after {
    --o: 1;
    background: currentcolor;
    content: "";
}

@keyframes a { 0%, 50% { transform: scale(0) } }
