/* Ajustes finales de estabilidad, accesibilidad y respuesta. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.utac-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.classy-navbar-toggler {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.classy-navbar-toggler:focus-visible,
.classycloseIcon:focus-visible,
.classynav a:focus-visible,
.utac-flyer-arrow:focus-visible,
.utac-flyer-modal__close:focus-visible {
    outline: 3px solid #12305f;
    outline-offset: 3px;
}

section[id] {
    scroll-margin-top: 96px;
}

@media only screen and (min-width: 992px) {
    .header-area .classynav > ul > li:last-child > .dropdown {
        right: 0 !important;
        left: auto !important;
    }
}

.cc-window {
    max-width: 380px;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(7, 30, 64, 0.24);
}

@media only screen and (max-width: 991px) {
    .to-animate {
        opacity: 1 !important;
        transform: none !important;
    }

    body.utac-menu-open .cc-window,
    body.utac-menu-open .app-whatsapp,
    body.utac-menu-open .boton-contacto {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

@media only screen and (max-width: 767px) {
    .cc-window.cc-floating {
        right: 12px !important;
        bottom: 12px !important;
        left: 12px !important;
        width: auto !important;
        max-width: none !important;
        padding: 16px !important;
        font-size: 14px;
        line-height: 1.45;
    }

    .cc-window .cc-compliance {
        margin-top: 10px;
    }

    .app-whatsapp {
        right: 12px !important;
        bottom: 16px;
        width: 190px;
    }

    .boton-contacto {
        right: 18px !important;
        bottom: 88px;
        width: 58px;
    }

    body.utac-cookie-visible .app-whatsapp {
        bottom: 220px;
    }

    body.utac-cookie-visible .boton-contacto {
        bottom: 288px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Contact cards: equal structure and height at every breakpoint. */
#fh5co-contact .utac-contact-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

#fh5co-contact .utac-contact-grid > .col-md-4 {
    display: flex;
    margin-bottom: 30px;
}

#fh5co-contact .utac-contact-card-link {
    display: flex;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

#fh5co-contact .utac-contact-card-link:hover,
#fh5co-contact .utac-contact-card-link:focus {
    color: inherit;
    text-decoration: none;
}

#fh5co-contact .single-feature-area {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 410px;
    min-height: 410px;
    max-height: 410px;
    margin-bottom: 0 !important;
}

@media only screen and (max-width: 991px) {
    #fh5co-contact .utac-contact-grid > .col-md-4 {
        width: 100%;
        margin-bottom: 20px;
    }

    #fh5co-contact .single-feature-area {
        box-sizing: border-box;
        height: 360px;
        min-height: 360px;
        max-height: 360px;
    }
}

@media only screen and (max-width: 575px) {
    #fh5co-contact .utac-contact-grid > .col-md-4 {
        margin-bottom: 15px;
    }

    #fh5co-contact .single-feature-area {
        height: 350px;
        min-height: 350px;
        max-height: 350px;
        padding: 32px 24px;
    }
}
