.feedback-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin-top: 45px;
}

.feedback-form {
    font-family: var(--font-family-text);
    width: 450px;
    padding: 30px 50px;
    background: rgba(242, 221, 255, 0.058);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.541);
    color: #ffffff;
    font-size: 18px;
}

.feedback-form h2 {
    text-align: center;
    margin-bottom: 15px;
}

.form__group {
    position: relative;
    padding: 20px 0 8px;
    width: 100%;
}

.form__field {
    font-family: var(--font-family-text);
    width: 100%;
    border: none;
    border-bottom: 2px solid #a1a1a1;
    outline: 0;
    font-size: 16px;
    color: #ffffff;
    padding: 7px 0;
    background: transparent;
    transition: border-color 0.2s;
}

.form__field::placeholder {
    color: transparent;
}

.form__field:placeholder-shown~.form__label {
    font-size: 15px;
    cursor: text;
    top: 20px;
    font-family: var(--font-family-text);
    color: #f3e2ff;
}

.form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 14px;
    color: #d7d7d7;
    pointer-events: none;
    font-family: var(--font-family-text);
}

.form__field:focus~.form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 13px;
    color: #e5bfff;
    font-weight: 600;
    font-family: var(--font-family-text);
}

.form__field:required,
.form__field:invalid {
    box-shadow: none;
}

.form-consent {
    margin: 12px 0 16px;
}


.form__field {
    margin: 0;
}

.form__field--ta {
    display: block;
    width: 100%;
    height: 32px;
    min-height: 32px;
    line-height: 32px;
    padding: 0;
    border: none;
    border-bottom: 2px solid #a1a1a1;
    background: transparent;
    outline: 0;
    resize: none;
    overflow: hidden;
    white-space: pre-wrap;
    word-wrap: break-word;
    box-sizing: border-box;
}

.consent-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    color: #141313;
    font-family: var(--font-family-text);
    font-size: 17px;
}

.consent-check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.consent-check svg {
    overflow: visible;
    display: block;
}

.consent-path {
    fill: none;
    stroke: #080808;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke-dasharray 0.5s ease, transform 0.25s ease;
    stroke-dasharray: 0 0 240 9999999;
    stroke-dashoffset: 1;
    transform: scale(-1, 1);
    transform-origin: center;
    animation: consent-hi 0.5s;
}

.consent-check input:checked~svg .consent-path {
    stroke-dasharray: 0 262 70 9999999;
    transform: scale(1, 1);
    animation: none;
}

@keyframes consent-hi {
    0% {
        stroke-dashoffset: 20;
    }

    100% {
        stroke-dashoffset: 1;
    }
}

.form__actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.cw-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;

    padding: 8px 30px;
    border-radius: 100px;
    background: #9f74d7;
    color: #000000;
    border: 1px solid transparent;
    transition: transform .2s, background .2s;
}

.cw-submit:hover {
    background: #af78edfa;
}

.cw-submit:active {
    transform: scale(0.97);
}

.cw-submit>svg {
    width: 34px;
    height: 34px;
    margin-left: 2px;
    transition: transform 0.3s ease-in-out;
}

.cw-submit:hover svg {
    transform: translateX(5px);
}


.contact-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(150px, 12vh, 160px) 0 60px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: 100vh;
}


.contact-hero .feedback-form-wrapper {
    min-height: 0;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-blob {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(135deg, #301375, #ffffff, #2342cb);
    background-size: 200% 200%;
    animation: gradientFlow 10s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 50% 50%;
    }

    50% {
        background-position: 60% 40%;
    }

    100% {
        background-position: 50% 50%;
    }
}



.feedback-form {
    transition: transform 0.3s ease, box-shadow 0.25s ease;
}

.feedback-form:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55);
}



.consent-check a {
    color: #000000;
    font-family: var(--font-family-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.consent-check a:hover {
    color: #3a3939;
}




.contact-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-text {
    flex: 1;
    color: #c19fea;
    font-family: var(--font-family-text);
}

.contact-text h2 {
    font-size: 61px;
    margin-bottom: 12px;
    font-weight: 700;

}

.contact-text p {
    font-size: 32px;
    line-height: 1.4;
    font-weight: 700;
    color: #1c004f;
}




.content-wrap {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
    min-height: 100vh;
    align-content: center;
}










.simple-button {
    font-family: var(--font-family-text);
    padding: 18px 30px;
    font-size: 22px;
    font-weight: 600;
    border: 2px solid #75389b;
    color: rgb(83, 8, 125);
    background-color: transparent;
    cursor: pointer;
    border-radius: 32px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    letter-spacing: 1.3px;

    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 0px;
}

.simple-button:hover {
    border-color: #a47ad1;
    box-shadow: 0 0 20px rgba(126, 50, 197, 0.8);
}

.simple-button:active {
    box-shadow: 0 0 10px rgba(9, 117, 241, 0.4);
}





.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}


body.popup-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}


.popup-content {

    background-color: rgba(255, 255, 255, 0.844);
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.popup-close:hover {
    color: #333;
}

.popup-tit {
    font-family: var(--font-family-text);
    font-size: 34px;
    font-weight: 700;
    color: #331654;
    margin-bottom: 15px;
    text-align: center;

}

.popup-info {
    margin-bottom: 15px;
}



.popup-info div {
    font-family: var(--font-family-text);
    color: #000000;
    font-style: normal;
    line-height: 1.4;
    font-size: 18px;
}

.popup-info label {
    font-family: var(--font-family-text);
    font-weight: bold;
    color: #542e75;
    display: block;
    margin-bottom: 5px;
}

.popup-info address {
    font-family: var(--font-family-text);
    color: #000000;
    font-style: normal;
    line-height: 1.4;
    font-size: 18px;
}



.popup-info a {
    font-family: var(--font-family-text);
    color: #000000;
    text-decoration: none;
    word-break: break-all;
    font-size: 18px;
}

.popup-info a:hover {
    color: #373737;
}


.popup-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.popup-content {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}










@media (max-width:767px) {
    .contact-hero {
        flex-direction: column;
        padding: 100px 5px 40px;
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contact-container {
        flex-direction: column;
        gap: 15px;
        padding: 0;
    }

    .contact-text {
        text-align: center;
    }

    .contact-text h2 {
        font-size: 35px;
        line-height: 1.3;
    }

    .contact-text p {
        font-size: 22px;
        line-height: 1.4;
    }

    .feedback-form-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0;
    }

    .feedback-form {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        padding: 16px;
        transform: none !important;
        color: #380a62;
        background: rgb(255 255 255 / 51%);
        box-sizing: border-box;
    }

    .content-wrap {
        position: relative;
        z-index: 2;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0px 20px;
        min-height: 100vh;
       justify-content: center;
    }

    .form__field {
        color: #2c0050;
        border-bottom: 2px solid #cebfe3;

    }

    .form__field:placeholder-shown~.form__label {
        color: #270042;
    }

    .form__label {
        color: #2e005a;
    }

    .form__field:focus~.form__label {
        color: #4c2354;
    }


    .cw-submit {
        font-size: 15px;
    }


    .popup-content {
        margin: 20px;
    }

    .simple-button {
        font-size: 18px;
        padding: 15px 25px;
        border-radius: 32px;
    }

}





@media (min-width: 768px) and (max-width: 1194px) {
    .contact-hero {
        padding: 100px 32px 60px;
    }

    .contact-container {
        flex-direction: row;
        gap: 24px;
        align-items: center;
    }

    .contact-text {
        flex: 1;
    }

    .contact-text h2 {
        font-size: 50px;
        line-height: 1.3;
    }

    .contact-text p {
        font-size: 25px;
        line-height: 1.4;
    }

    .feedback-form-wrapper {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .feedback-form {
        width: 100%;
        max-width: 400px;
        padding: 20px 24px;
        margin: 0 auto;
    }

    .cw-submit {
        width: 100%;
        padding: 12px 0;
        font-size: 15px;
    }
}