.themelogik-contact {
    position: relative;
    z-index: 0;
    width: 100%;
    display: block;
    min-height: 0;
    padding-block: clamp(6rem, 8vw, 7.25rem) clamp(3rem, 7vw, 5.25rem);
    background-color: color-mix(in srgb, var(--wp--preset--color--white, #fff) 88%, var(--wp--preset--color--black, #000) 12%);
    background-image: var(--themelogik-contact-background-image, none);
    background-position: center top;
    background-repeat: repeat;
    background-size: auto;
}

.themelogik-contact .themelogik-contact__section {
    width: 100%;
}

.themelogik-contact .themelogik-contact__inner {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding-inline: clamp(1rem, 5vw, 4rem);
    box-sizing: border-box;
}

.themelogik-contact .themelogik-contact__card {
    width: min(100%, 72rem);
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 2rem;
    background: color-mix(in srgb, var(--wp--preset--color--white, #fff) 94%, transparent);
    box-shadow: 0 24px 60px color-mix(in srgb, var(--wp--preset--color--black, #000) 12%, transparent);
    box-sizing: border-box;
}

.themelogik-contact .themelogik-contact__title,
.themelogik-contact .themelogik-contact__help,
.themelogik-contact .themelogik-contact__captcha-question,
.themelogik-contact .themelogik-contact__notice > * {
    margin: 0;
}

.themelogik-contact .themelogik-contact__title {
    margin-bottom: 1.5rem;
    color: var(--wp--preset--color--luminous-vivid-amber, currentColor);
    text-align: center;
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.02;
}

.themelogik-contact .themelogik-contact__notice {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    line-height: 1.6;
}

.themelogik-contact .themelogik-contact__notice--success {
    background: color-mix(in srgb, var(--wp--preset--color--vivid-green-cyan, currentColor) 12%, var(--wp--preset--color--white, #fff));
    border: 1px solid color-mix(in srgb, var(--wp--preset--color--vivid-green-cyan, currentColor) 25%, transparent);
}

.themelogik-contact .themelogik-contact__notice--error {
    background: color-mix(in srgb, var(--wp--preset--color--vivid-red, currentColor) 10%, var(--wp--preset--color--white, #fff));
    border: 1px solid color-mix(in srgb, var(--wp--preset--color--vivid-red, currentColor) 18%, transparent);
}

.themelogik-contact .themelogik-contact__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem 1.5rem;
}

.themelogik-contact .themelogik-contact__field {
    width: 100%;
    display: grid;
    gap: 0.45rem;
}

.themelogik-contact .themelogik-contact__field--full,
.themelogik-contact .themelogik-contact__field--captcha,
.themelogik-contact .themelogik-contact__actions {
    grid-column: 1 / -1;
}

.themelogik-contact .themelogik-contact__label {
    font-weight: 600;
    line-height: 1.4;
}

.themelogik-contact .themelogik-contact__required {
    color: var(--wp--preset--color--vivid-red, currentColor);
}

.themelogik-contact .themelogik-contact__control {
    width: 100%;
    min-height: 3.3rem;
    padding: 0.95rem 1rem;
    border: 1px solid color-mix(in srgb, var(--wp--preset--color--black, #000) 10%, transparent);
    border-radius: 1.2rem;
    background: color-mix(in srgb, var(--wp--preset--color--black, #000) 4%, var(--wp--preset--color--white, #fff));
    color: inherit;
    box-sizing: border-box;
}

.themelogik-contact .themelogik-contact__control--textarea {
    min-height: 10rem;
    resize: vertical;
}

.themelogik-contact .themelogik-contact__control:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.themelogik-contact .themelogik-contact__help {
    font-size: 0.92rem;
    line-height: 1.5;
    opacity: 0.72;
}

.themelogik-contact .themelogik-contact__captcha-question {
    font-weight: 600;
    line-height: 1.5;
}

.themelogik-contact .themelogik-contact__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.themelogik-contact .themelogik-contact__actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.35rem;
}

.themelogik-contact .themelogik-contact__submit {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    padding: 0.95rem 1.6rem;
    border: 1px solid color-mix(in srgb, var(--wp--preset--color--luminous-vivid-amber, currentColor) 90%, var(--wp--preset--color--black, #000) 10%);
    border-radius: 999px;
    background: var(--wp--preset--color--luminous-vivid-amber, currentColor);
    color: var(--wp--preset--color--black, inherit);
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.themelogik-contact .themelogik-contact__submit:hover,
.themelogik-contact .themelogik-contact__submit:focus-visible {
    background: color-mix(in srgb, var(--wp--preset--color--luminous-vivid-amber, currentColor) 72%, var(--wp--preset--color--white, #fff));
    color: var(--wp--preset--color--black, inherit);
    transform: translateY(-1px);
}

.themelogik-contact .themelogik-contact__submit:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@media (min-width: 900px) {
    .themelogik-contact .themelogik-contact__section {
        min-height: min(100vh - 12rem, 56rem);
        display: flex;
        align-items: center;
    }

    .themelogik-contact .themelogik-contact__form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .themelogik-contact .themelogik-contact__inner {
        padding-inline: 1rem;
    }

    .themelogik-contact .themelogik-contact__card {
        padding: 1.25rem;
        border-radius: 1.25rem;
    }

    .themelogik-contact .themelogik-contact__actions {
        justify-content: stretch;
    }

    .themelogik-contact .themelogik-contact__submit {
        width: 100%;
    }
}

.themelogik-contact {
    background-color: color-mix(in srgb, var(--color-principal, #FCFCFC) 88%, var(--color-secundario, #54595F) 12%);
}

.themelogik-contact .themelogik-contact__card {
    background: color-mix(in srgb, var(--color-principal, #FCFCFC) 94%, transparent);
}

.themelogik-contact .themelogik-contact__title {
    color: var(--color-enfasis, #BF9738);
    font-family: var(--font-principal-family, "Roboto", sans-serif);
    font-weight: var(--font-principal-weight, 600);
}

.themelogik-contact .themelogik-contact__label,
.themelogik-contact .themelogik-contact__captcha-question {
    color: var(--color-secundario, #54595F);
    font-family: var(--font-enfasis-family, "Roboto", sans-serif);
    font-weight: var(--font-enfasis-weight, 500);
}

.themelogik-contact .themelogik-contact__help,
.themelogik-contact .themelogik-contact__control {
    color: var(--color-texto, #7A7A7A);
    font-family: var(--font-texto-family, "Roboto", sans-serif);
    font-weight: var(--font-texto-weight, 400);
}

.themelogik-contact .themelogik-contact__submit {
    border-color: var(--color-enfasis, #BF9738);
    background: var(--color-enfasis, #BF9738);
    color: var(--color-principal, #FCFCFC);
    font-family: var(--font-enfasis-family, "Roboto", sans-serif);
    font-weight: var(--font-enfasis-weight, 500);
}

.themelogik-contact .themelogik-contact__submit:hover,
.themelogik-contact .themelogik-contact__submit:focus-visible {
    background: var(--color-principal, #FCFCFC);
    color: var(--color-enfasis, #BF9738);
}
