/*formularios con línea*/
.wpcf7 .form-linea {
    gap: 1.25rem;
}

.wpcf7 .form-linea .form-obligatorios {
    color: var(--ast-global-color-3);
    font-size: 14px;
}

.wpcf7 .form-linea input.wpcf7-form-control:not([type=submit]):not([type=checkbox]),
.wpcf7 .form-linea select.wpcf7-form-control,
.wpcf7 .form-linea textarea.wpcf7-form-control {
    padding: .5em .25em;
    border: 0;
    border-bottom: 1px solid var(--ast-global-color-0);
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    color: var(--ast-global-color-3);
    font-size: 18px;
    line-height: 1.4em;
}

.wpcf7 .form-linea textarea.wpcf7-form-control {
    height: 3.4em;
    min-height: 2.4em;
    resize: vertical;
}

.wpcf7 .form-linea select.wpcf7-form-control {
    padding-right: 2em;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a81e2e' stroke-width='1.6'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
    background-position: right .25em center;
    background-repeat: no-repeat;
    background-size: 1em;
    text-overflow: ellipsis;
}

.wpcf7 .form-linea ::placeholder {
    color: var(--ast-global-color-3);
    opacity: 1;
}

.wpcf7 .form-linea .wpcf7-acceptance,
.wpcf7 .form-linea .wpcf7-acceptance .wpcf7-list-item-label {
    color: var(--ast-global-color-3);
    font-size: 16px;
}

.wpcf7 .form-linea .wpcf7-acceptance input[type=checkbox] {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    accent-color: var(--ast-global-color-0);
}

.wpcf7 .form-linea .wpcf7-acceptance a {
    color: inherit;
    text-decoration: underline;
}

.wpcf7 .form-linea .form-legal {
    color: var(--ast-global-color-3);
    line-height: 1.4em;
}

.wpcf7 .form-linea .wpcf7-submit {
    padding-right: 2.6em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23faf3e7' stroke-width='1.6'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
    background-position: right 1.2em center;
    background-repeat: no-repeat;
    background-size: 1em;
}

/*modal*/
html:has(.veo-modal[open]) {
    overflow: hidden;
}

.veo-modal {
    width: min(500px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 8px;
    background: var(--ast-global-color-4);
    color: var(--ast-global-color-3);
    overscroll-behavior: contain;
}

.veo-modal::backdrop {
    background: rgb(0 0 0 / .65);
}

.veo-modal[open] {
    animation: veo-modal-entrada .6s cubic-bezier(.2, .7, .2, 1);
}

.veo-modal[open]::backdrop {
    animation: veo-modal-fondo .4s ease-out;
}

.veo-modal__caja {
    position: relative;
    padding: 4.5rem 3rem 3rem;
}

.veo-modal__cerrar,
.veo-modal__cerrar:hover,
.veo-modal__cerrar:focus {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ast-global-color-3);
}

.veo-modal__cerrar:hover {
    background: color-mix(in srgb, var(--ast-global-color-0) 8%, transparent);
}

.veo-modal__cerrar:focus-visible {
    outline: 2px solid var(--ast-global-color-0);
    outline-offset: 2px;
}

.veo-modal__titulo {
    margin: 0 0 2rem;
    color: var(--ast-global-color-2);
    font-family: inherit;
    font-size: 22px;
    line-height: 1.3em;
}

@keyframes veo-modal-entrada {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

@keyframes veo-modal-fondo {
    from {
        opacity: 0;
    }
}

@media (width <=544px) {
    .veo-modal__caja {
        padding: 4rem 1.5rem 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .veo-modal[open],
    .veo-modal[open]::backdrop {
        animation: none;
    }
}
