/*
Theme Name: Tema AGS Visión Inmobiliaria
Author: Paulina Jara (Agencia Böll)
Author URI: https://www.boll.cl
Description: Plantilla desarrollada para proyecto web AGS Visión Inmobiliaria. Agencia Böll
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
color ppal: #24c12d;
*/
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

body {
    background-color: #f9f9f9;
    font-family: 'Raleway', sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

/** Especial Loader **/
.loader-section {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    flex-direction: column;
    transition: all .4s ease;
}

.loader-section .logo_loader {
    width: 250px;
    opacity: 1;
    animation: pulse 2s infinite;
    margin-bottom: 10px;
}

.loader-section h2 {
    font-size: 20px;
    text-align: center;
    margin: 10px 0;
    color: #212139;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
}

@keyframes pulse {
    0% {
        opacity: .6;
    }

    50% {
        opacity: 1
    }

    100% {
        opacity: .6;
    }
}

.efecto_img {
    position: relative;
    overflow: hidden;
}

.efecto_img:after {
    content: "";
    position: absolute;
    top: -310%;
    left: -220%;
    width: 200%;
    height: 300%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.0);
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.0) 0%,
            rgba(255, 255, 255, 0.0) 70%,
            rgba(255, 255, 255, 0.14) 74%,
            rgba(255, 255, 255, 0.1) 76%,
            rgba(255, 255, 255, 0.0) 77%,
            rgba(255, 255, 255, 0.06) 79%,
            rgba(255, 255, 255, 0.3) 92%,
            rgba(255, 255, 255, 0.0) 100%);
    z-index: 10;
}

/* Hover state - trigger effect */

.efecto_img:hover:after {
    opacity: 1;
    top: -30%;
    left: -30%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-timing-function: ease;
    z-index: 2;
}

.loaded {
    opacity: 0;
    z-index: -1;
}

/** Fin loader **/

.btn.btnGilli {
    background-color: #000C36;
    padding: 10px 25px;
    color: #fff;
    border-radius: 50px;
    border: 0;
    text-transform: none;
    font-weight: 500;
    font-size: 16px;
    min-width: 150px;
    transition: background-color .4s ease;
    font-family: 'Raleway', sans-serif;
}

.btn.btnGilli:hover {
    background: transparent;
    background-color: #499dc5;
    color: #fff;
}

.btn.btnGilli.btnAlt {
    background-color: transparent;
    border: 1.5px solid #000C36;
    color: #000C36;
}

.btn.btnGilli.btnAlt:hover {
    background-color: #000C36;
    color: #fff;
}


.cabecera_ppal .btn.btnGilli {
    padding: 10px 20px;
    font-size: 14px;
}

/* body:not(.home) .cabecera_ppal .btn.btnGilli {
    background-color: #fff;
    color: #212139;
} */

.btn.btnGilli.btnBlanco {
    background: #fff;
    color: #000C36;
    font-weight: 400;
    text-transform: uppercase;
}

.btncats_home {
    padding-top: 15px;
}

.btncats_home .btn.btnGilli {
    padding: 7px 20px;
    font-size: 10px;
}

.btnCtaSeccion {
    display: flex;
    justify-content: center;
    padding-top: 25px;
}

/** btnAnimado **/
.cta {
    display: flex;
    align-items: center;
    color: #fff;
    background: none;
    border: none;
    padding: 12px 18px;
    position: relative;
    z-index: 9;
}

.cta a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    font-family: 'Raleway', sans-serif;
}

.cta a:hover {
    color: #fff;
}

.cta::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(calc(200% - 5px));
    width: 45px;
    height: 45px;
    background: linear-gradient(130deg, #499dc5 0%, #181b8f 45%);
    border-radius: 50px;
    transition: transform .25s .25s cubic-bezier(0, 0, .5, 2), width .25s cubic-bezier(0, 0, .5, 2);
    z-index: -1;
}

.cta:hover::before {
    width: 100%;
    transform: translateY(-50%) translateX(-18px);
    transition: transform .25s cubic-bezier(0, 0, .5, 2), width .25s .25s cubic-bezier(0, 0, .5, 2);
}

.cta i {
    margin-left: 5px;
    transition: transform .25s .4s cubic-bezier(0, 0, .5, 2);
}

.cta:hover i {
    transform: translateX(3px);
}


.cards_ags_wrapper {
    max-width: 1140px;
    margin: auto;
    display: flex;
    font-family: 'Raleway', sans-serif;
}

.card_ags {
    position: relative;
    flex: 1;
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: 0.3s ease;
    overflow: hidden;
    border-right: 2px solid #fff;
}

.card_ags:last-child {
    border-right: none;
}

.card_overlay_ags {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background 0.3s ease;
    padding: 20px;
}

.card_overlay_ags h3 {
    margin: 0;
    font-size: 1.5rem;
}

.card_overlay_ags p {
    margin-top: 10px;
    font-size: 0.95rem;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.4s, max-height 0.4s;
}

/* opcional si se sigue truncando */
.card_ags:hover .card_overlay_ags p {
    max-height: 420px;
}


.card_ags:hover .card_overlay_ags {
    background: rgba(0, 0, 0, 0.7);
}

.card_ags:hover .card_overlay_ags p {
    opacity: 1;
    max-height: 300px;
}

.icon_topright_ags {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffffffee;
    color: #000;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 3;
    text-decoration: none;
}

.icon_topright_ags i {
    transform: rotate(-45deg);
}

/* Base (móvil) */
.card_overlay_ags h3 {
    font-size: 1.1rem;
}

.card_overlay_ags p {
    font-size: 0.85rem;
}

/* ≥480px */
@media (min-width: 480px) {
    .card_overlay_ags h3 {
        font-size: 1.2rem;
    }

    .card_overlay_ags p {
        font-size: 0.9rem;
    }
}

/* ≥768px */
@media (min-width: 768px) {
    .card_overlay_ags h3 {
        font-size: 1.3rem;
    }

    .card_overlay_ags p {
        font-size: 0.95rem;
    }
}

/* ≥1280px */
@media (min-width: 1280px) {
    .card_overlay_ags h3 {
        font-size: 1.45rem;
    }

    .card_overlay_ags p {
        font-size: 1.02rem;
    }
}


/* Backgrounds específicas */
.bg_img_1 {
    background-image: url('/wp-content/uploads/2025/08/Autopista-1-scaled-1.jpg');
}

.bg_img_2 {
    background-image: url('/wp-content/uploads/2025/07/Captura-de-pantalla-2025-06-30-232615.png');
}

.bg_img_3 {
    background-image: url('/wp-content/uploads/2025/07/Apoquindo.webp');
}

.bg_img_4 {
    background-image: url('/wp-content/uploads/2025/08/Hospital-y-Templo-Votivo-scaled-1.webp');
    /* Cambia por la imagen real */
}

.bg_img_5 {
    background-image: url('/wp-content/uploads/2025/08/zona-sur-asesoria.webp');
    /* Cambia por la imagen real */
}

.bg_img_6 {
    background-image: url('/wp-content/uploads/2025/08/Independencia-2-scaled-1-1.jpg');
    /* Cambia por la imagen real */
}

.bg_img_7 {
    background-image: url('/wp-content/uploads/2025/09/1000078298.jpg');
    /* Cambia por la imagen real */
}

.bg_img_8 {
    background-image: url('/wp-content/uploads/2025/09/1000078297.jpg');
    /* Cambia por la imagen real */
}

.bg_img_9 {
    background-image: url('/wp-content/uploads/2025/09/1000078295.jpg');
    /* Cambia por la imagen real */
}

.bg_img_10 {
    background-image: url('/wp-content/uploads/2025/09/nosotros-img.jpg');
    /* Cambia por la imagen real */
}

/* --- Mobile fix --- */
@media (max-width: 768px) {
    .cards_ags_wrapper {
        width: 100%;
        flex-wrap: wrap;
        /* asegura el salto de línea */
        flex-direction: column;
        /* una bajo otra */
    }

    .card_ags {
        flex: 0 0 auto;
        /* evita que se “aplasten” */
        width: 100%;
        /* ocupa todo el ancho */
        min-height: 280px;
        /* asegura altura visible */
        height: auto;
        /* deja crecer si el contenido lo requiere */
        margin-bottom: 10px;
        border-right: none;
        /* elimina borde lateral en móvil */
        border-bottom: 2px solid #fff;
        /* opcional: separador entre tarjetas */
    }

    .card_ags:last-child {
        border-bottom: none;
        /* quita el borde al último */
    }

    .card_overlay_ags {
        padding: 20px;
    }
}


/** fim btnAnimado **/

/** 
 * Botón servicios **/
.primary-button {
    position: relative;
    border: 2px solid #1b1b1b;
    border-radius: 5px;
    width: 220px;
    height: 48px;
    overflow: hidden;
    background-color: transparent;
    text-transform: uppercase;
    color: #1b1b1b;
    font-size: 14px;
    font-family: "Rubik", sans-serif;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}

.primary-button.btnAgenda {
    background-color: #1c1c1c;
    color: #fff;
}

.align_der_btn .primary-button {
    float: right;
}

.primary-button:hover {
    cursor: pointer;
    border: 2px solid #1b1b1b;
    color: #fff;
}

.primary-button.btnAgenda:hover {
    background-color: transparent;
    color: #1c1c1c;
}

.primary-button .round {
    border-radius: 5px;
    background-color: #1b1b1b;
    position: absolute;
    top: 5px;
    left: 10px;
    z-index: -1;
    animation: scale-down 0.2s forwards;
}

.primary-button.btnAgenda .round {
    background-color: #fff;
}

.primary-button.animate .round {
    animation: scale-up 0.5s forwards;
}

@keyframes scale-up {
    to {
        transform: scale(600);
    }
}

@keyframes scale-down {
    from {
        transform: scale(600);
    }

    to {
        ransform: scale(0);
    }
}

.flex_btns {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 1;
}


/** BODY **/

.boxes_home .elementor-image-box-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
}

.boxes_home .elementor-image-box-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #000000, transparent);
    padding: 20px 30px;
}



/* .box_glass_animado {
    position: relative;
    overflow: hidden;
}

.box_glass_animado .circulos {
    width: 50px;
    height: 50px;
    position: absolute;
    z-index: -1;
    filter: blur(18px);
}

.box_glass_animado .circulos.circ1 {
    background: #499dc5b8;
    bottom: -10px;
    left: -10px;
}

.box_glass_animado .circulos.circ2 {
    background: #499dc5b8;
    top: -20px;
    right: -20px;
} */

.iconos-cats .eael-elements-flip-box-front-container .eael-elements-flip-box-icon-image,
.iconos-cats .eael-elements-flip-box-rear-container .eael-elements-flip-box-icon-image {
    margin-bottom: 10px;
}

.iconos-cats.icon-almacenamiento .eael-elements-flip-box-padding {
    padding: 30px 15px;
}

.box_categorias .elementor-image-box-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0 0 10px 10px;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, #000, transparent);
}


.box_cats2 {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 13px rgba(0, 0, 0, .13);
}

.box_cats2 .elementor-image-box-content {
    padding: 20px;
    position: absolute;
    bottom: -65px;
    background: #fff;
    transition: all .3s ease-in-out;
}

.box_cats2:hover .elementor-image-box-content {
    bottom: 0px;
}

.box_cats2 .elementor-image-box-wrapper img {
    opacity: 1;
    transition: all .3s ease-in-out;
}

.box_cats2:hover .elementor-image-box-wrapper img {
    opacity: .5;
}

.box_cats2 .elementor-image-box-content a.btn.btnGilli {
    padding: 5px 20px;
    font-size: 11px;
    margin-top: 14px;
    display: table;
}

.cats_home .elementor-image-box-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 40px 40px 0px 20px;
    background: linear-gradient(to top, #111c, #111c, transparent);
    border-radius: 0 0 10px 10px;
    /* transform: translateY(0px); */
}

.ctas {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cta_texto h3 {
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    letter-spacing: -1px;
    font-weight: 700;
    margin-bottom: 0;
}

.cta_texto h3 span {
    font-weight: 400;
}

.flex_btns {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn.btnAdv,
.btnAdv {
    /* background: -webkit-linear-gradient(286deg, #808080, #b6b6b6, #fdfdfd, #d0d0d0, #9c9c9c, #9c9c9c);
    background: linear-gradient(286deg, #808080, #b6b6b6, #fdfdfd, #d0d0d0, #9c9c9c, #9c9c9c);
    background: -moz-linear-gradient(286deg, #808080, #b6b6b6, #fdfdfd, #d0d0d0, #9c9c9c, #9c9c9c); */
    background: #212139;
    padding: 10px 25px;
    color: #fff;
    border-radius: 0;
    border: 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    min-width: 150px;
    transition: all .4s ease;

}

.btn.btnAdv:hover {
    /* background: -webkit-linear-gradient(286deg, #808080, #808080);
    background: linear-gradient(286deg, #808080, #808080);
    background: -moz-linear-gradient(286deg, #808080, #808080); */
    background: #212139;
    color: #fff;
}

.btn.btnVerde,
.btn.btnOutlineVerde {
    background: #74bc1e;
    border: 0;
    color: #fff;
    padding: 10px 20px;
    min-width: 200px;
    transition: all .4s ease;
}

.btnVerde:hover {
    color: #fff;
    background: #fd8204;
}

.btn.btnOutlineVerde {
    background: transparent;
    box-shadow: inset 0 0 0 2px #74bc1e;
}

.btn.btnOutlineVerde:hover {
    background: #74bc1e;
    color: #fff;
}

/** HEADER ***/
.topbar {
    background-color: #212139;
    padding: 10px;
}

.cabecera_ppal {
    position: fixed;
    /*sticky*/
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 3px 0;
    transition: all .3s ease;
    padding-top: 10px;
}

.cabecera_ppal .container {
    background-color: #ffffffa6;
    border-radius: 100px;
}

.cabecera_ppal.scrolling .container {
    background-color: #fff;
}

/* body.home .cabecera_ppal {
    background-color: #fff;
} */

.logo {
    display: flex;
    justify-content: center;
}

.logo_ppal {
    width: 100px;
    transition: width .3s ease;
    padding: 7px;
    /* filter: hue-rotate(359deg) brightness(1000); */
}

/* body:not(.home) .logo_ppal {
    filter: hue-rotate(359deg) brightness(1000);
} */

.menu_principal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
}

.menu_principal ul {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
}

.menu_principal .menu-principal-container {
    width: 100%;
}

.menu_principal .menu,
.menu_principal .htmega-megamenu {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
    align-content: stretch;
    /*align-items: center;*/
    justify-content: space-evenly;
    margin: 0;
    font-size: 15px;
    font-family: 'Raleway', sans-serif;
}

/* Estado normal */
.menu_principal .menu li a,
.htmega-megamenu li>a {
    color: #212139;
    text-decoration: none;
    font-weight: 500;
    text-transform: none;
    padding: 10px 15px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

@media screen and (max-width: 1399px) and (min-width: 769px) {
    .cabecera_ppal .container {
        max-width: 100%;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.95);
        padding: 10px 20px;
    }

    .logo_ppal {
        width: 90px;
    }

    .menu_principal ul {
        gap: 20px;
        font-size: 14px;
    }

    .desktop_head .row.align-items-center>.col-sm {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .menu_principal .menu,
    .menu_principal .htmega-megamenu {
        list-style: none;
        padding: 0;
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: space-evenly;
        margin: 0;
        font-size: 13px;
        font-family: 'Raleway', sans-serif;
    }

}


/* Hover para el item padre con submenu - solo color */
.menu_principal .menu li.menu-item-has-children:hover>a,
.htmega-megamenu li.menu-item-has-children:hover>a {
    background-color: white !important;
    color: #002c5f !important;
    transition: all 0.3s ease;
    border-radius: 15px 15px 0px 0px;
}

/* Hover para los subitems */
.sub-menu li a:hover,
.htmega-megamenu li a:hover {
    color: #002c5f !important;
    transition: all 0.3s ease;
}



/* body:not(.home) .menu_principal .menu li a {
    color:#fff;
} */

.menu_principal .btnVerde,
.menu_principal .btnNaranja,
.menu_principal .btn.btnOutlineVerde {
    min-width: 120px;
}

/** SUBMENU **/
/** SUBMENU **/
.menu-item-has-children {
    position: relative;
    display: flex;
    align-items: center;
}

/* Estilo general del submenú */
.menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: #fff;
    color: #212139;
    padding: 0;
    list-style: none;
    height: auto;
    overflow: visible;
    border-radius: 0px 0px 15px 15px;
    transition: all .3s ease-in-out;
    z-index: 20;
}

/* Espaciado entre los ítems del submenú */
.menu-item-has-children .sub-menu li {
    margin: 0;
    /* Elimina el margen entre los ítems */
    padding: 5px 0;
    /* Ajusta el padding para reducir el espacio entre los ítems */
}

/* Ajuste para los enlaces dentro de los ítems */
.menu-item-has-children .sub-menu li a {
    display: block;
    /* Asegura que el enlace ocupe todo el alto de su ítem */
    padding: 5px 10px;
    /* Ajusta el padding interno de los enlaces */
    text-decoration: none;
    /* Evita subrayado en los enlaces */
    color: #212139;
    /* Color de texto */
}

/* Mostrar el submenú cuando se pasa el cursor */
.menu-item-has-children:hover .sub-menu {
    display: block;
    height: auto;
    /* Permite que el submenú se ajuste a su contenido */
    padding: 10px 10px 0;
}

/* Estilo para los ítems dentro del submenú */
.menu-item-has-children .sub-menu li {
    line-height: 1;
    display: block;
    /* Asegura que los ítems estén uno debajo del otro */
    padding: 7px 10px;
    margin-bottom: 5px;
    text-transform: uppercase !important;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #eaeaea29;
}

/* Estilo para los enlaces dentro de los ítems */
.menu-item-has-children .sub-menu li a {
    color: #212139;
    /* Color oscuro para el texto */
    text-decoration: none;
    /* Eliminar subrayado */
    display: block;
    /* Hace que todo el área del ítem sea clickeable */
    position: relative;
    /* Necesario para el subrayado animado */
}

/* Cambia el color del fondo cuando el cursor pasa sobre el enlace */
.menu-item-has-children .sub-menu li a:hover {
    background-color: #fff;
    /* Fondo más claro al pasar el cursor */
}

/* Añadir subrayado animado */
.menu-item-has-children .sub-menu li a::after {
    content: '';
    /* Crea un pseudo-elemento para el subrayado */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #212139;
    /* Color del subrayado */
    transition: width 0.3s ease;
    /* Animación del subrayado */
}

/* Subrayado al pasar el cursor */
.menu-item-has-children .sub-menu li a:hover::after {
    width: 100%;
    /* El subrayado se expande al 100% */
}

/* Sub-submenú (si existe un submenú dentro de un subitem) */
.menu-item-has-children .sub-menu li .sub-menu {
    top: 0;
    left: 240px;
    width: 200px;
    background: #fff;
    padding: 0;
    display: none;
    /* Ocultamos los sub-submenús inicialmente */
    z-index: 30;
    /* Asegura que el sub-submenú esté encima */
}

/* Mostrar sub-submenú cuando el subitem es hover */
.menu-item-has-children .sub-menu li:hover .sub-menu {
    display: block;
    height: auto;
}

/* Estilo para los sub-subitems */
.menu-item-has-children .sub-menu li .sub-menu li {
    font-size: 12px;
    font-weight: 300;
    padding: 5px 10px;
    text-transform: none;
    /* Mantener el texto en minúsculas */
    border-bottom: 1px solid #eaeaea29;
}

/* Cambiar el fondo y subrayado en hover en los sub-subitems */
.menu-item-has-children .sub-menu li .sub-menu li a {
    color: #212139;
    /* Color oscuro para el texto */
    text-decoration: none;
    /* Eliminar subrayado */
}

.menu-item-has-children .sub-menu li .sub-menu li a:hover {
    background-color: #fff;
    /* Fondo más claro al pasar el cursor */
}

/* Eliminar la flecha en el sub-subitem */
.menu-item-has-children .sub-menu li .sub-menu li::before {
    content: none;
    /* Eliminar la flecha */
}

/* Ajuste del sub-submenú al pasar por encima */
.menu-item-has-children .sub-menu li:hover>.sub-menu {
    left: 100%;
    top: 0;
}

.btnConocenosFinal {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    padding: 5px 4px 5px 30px;
    border-radius: 50px;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btnIconCircle {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 50px;
    transition: background-color 0.3s ease;
}

.btnIconCircle svg {
    stroke: #000c368a;
    width: 20px;
    height: 20px;
    transition: stroke 0.3s ease;
}

.btnConocenosFinal:hover {
    background-color: #ffffff !important;
    color: #000C36 !important;
}

.btnConocenosFinal:hover .btnIconCircle {
    background-color: #000C36;
}

.btnConocenosFinal:hover .btnIconCircle svg {
    stroke: #ffffff;
}

/* --- variante invertida --- */
/* --- variante invertida completa --- */
.btnConocenosFinal--invertido {
    background-color: #000C36 !important;
    /* fondo azul */
    color: #ffffff !important;
    /* texto blanco */
    border: 2px solid #000C36 !important;
    /* borde azul */
}

/* estado base: círculo blanco + flecha azul */
.btnConocenosFinal--invertido .btnIconCircle {
    background-color: #ffffff;
    /* círculo blanco */
}

.btnConocenosFinal--invertido .btnIconCircle svg {
    stroke: #000C36 !important;
    /* flecha azul */
}

/* hover: fondo blanco, texto azul, borde 1px azul, círculo azul, flecha blanca */
.btnConocenosFinal--invertido:hover {
    background-color: #ffffff !important;
    color: #000C36 !important;
    border: 1px solid #000C36 !important;
    /* borde delgadito azul */
}

.btnConocenosFinal--invertido:hover .btnIconCircle {
    background-color: #000C36;
    /* círculo azul */
}

.btnConocenosFinal--invertido:hover .btnIconCircle svg {
    stroke: #ffffff !important;
    /* flecha blanca */
}




.btnes_head {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.rrss_head {
    display: flex;
    gap: 10px;
    margin-right: 10px;
}

.rrss_head a {
    color: #fff;
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
}

.rrss_head a i {
    font-size: 16px;
    margin-right: 5px;
}

.rrss_head a.link_login {
    color: #212139;
    background-color: transparent;
    border-radius: 50px;
    padding: 3px 10px;
    text-decoration: none;
    transition: background-color .3s ease-in-out;
}

.rrss_head a.link_login:hover {
    color: #fff;
    background: #ffffff40;
}

.rrss_head.rrss_movil {
    margin-top: 25px;
}

.rrss_head.rrss_movil a {
    background: #212139;
    padding: 9px 10px;
    border-radius: 50%;
    line-height: 1;
}

/** MEGAMENU **/
.htmegamenu-content-wrapper.sub-menu {
    top: 0px !important;
    padding: 10px !important;
}

.htmega_mega_menu,
.htmega-megamenu,
.desktop_head>.container>.row>.col-sm {
    max-width: 100%;
    position: unset !important;
}

/* .htmega_mega_menu:hover::before {
    content: '';
    position: absolute;
    background: #fff;
    width: 100%;
    height: 100px;
    top: 0;
    left: 0;
} */

.menu_principal .htmega-megamenu .htmegamenu-content-wrapper {
    width: 100%;
    box-shadow: none;
    top: 75px !important;
}

/** on scroll **/
.cabecera_ppal.scrolling,
.cabecera_ppal.mm_activo {
    /* position: fixed; */
    top: 0;
    /* background: #fff; */
    box-shadow: 0 0 7px rgba(0, 0, 0, .2);
}

.scrolling .logo_ppal,
.mm_activo .logo_ppal {
    /* width: 30%; */
    width: 70px;
    filter: none;
}

.scrolling .menu_principal .menu li a,
.scrolling .htmega-menu-container ul>li>a,
.scrolling .rrss_head a,
.mm_activo .menu_principal .menu li a,
.mm_activo .htmega-menu-container ul>li>a,
.mm_activo .rrss_head a {
    color: #252525;
}

.scrolling .btn.btnOutlineVerde {
    color: #74bc1e;
}

.scrolling .mobile_head .rrss_head.rrss_movil a {
    color: #fff;
}

.scrolling .rrss_head a.link_login:hover {
    color: #252525;
    background: #2525251f;
}

/** fin on scroll **/

/*** BODY ***/

/* VVV Everything you need VVV */
.scroll-down {
    position: relative;
}

/* #scroll-down-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  } */

#scroll-down-animation h2 {
    color: #fff;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 200;
    font-size: 14px;
}

.mouse {
    margin: 0 auto 5px;
    display: block;
    border-radius: 50px;
    border: 2px solid #fff;
    height: 60px;
    width: 30px;
    position: relative;
    cursor: pointer;
}

.move {
    position: absolute;
    background-color: #fff;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    animation: move 2s linear infinite;
}

@keyframes move {
    0% {
        transform: translate(-50%, 5px);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, 20px);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 40px);
        opacity: 0;
    }
}

.iconos_home img {
    filter: contrast(1) brightness(1500);
}

/* .iconos_home .elementor-image-box-title {
    background: -webkit-linear-gradient(132deg, #a9a9a9, #d3d3d3, #e9e9e9, #fff, #e9e9e9, #d3d3d3, #a9a9a9);
    background: linear-gradient(132deg, #a9a9a9, #d3d3d3, #e9e9e9, #fff, #e9e9e9, #d3d3d3, #a9a9a9);
    background: -moz-linear-gradient(132deg, #a9a9a9, #d3d3d3, #e9e9e9, #fff, #e9e9e9, #d3d3d3, #a9a9a9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
} */




/* =================================================================
====================Página interna====================
============================================================== */

.wrap {
    position: relative;
    background: #fff;
}

.tit_interior {
    color: #064492;
    font-family: 'Helvetica', sans-serif;
    font-weight: 700;
}


/** form **/

.flex_form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form_row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.flex_box {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.flex_box p,
.flex_box input,
.flex_box select,
.flex_box textarea,
.flex_box label {
    width: 100%;
}

.flex_box input,
.flex_box select,
.flex_box textarea {
    border: 0;
    border-radius: 5px;
    padding: 10px 15px;
    border: 1px solid #eaeaea;
    background: #ededf0;
}

.flex_box label {
    color: #252525;
    text-transform: none;
    font-size: 12px;
    margin-bottom: 0;
}

.flex_box textarea {
    max-height: 120px;
}



.cards_form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label,
.wpcf7 label {
    color: #212139;
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
}

.content_form .form-control.form-control-lg,
.wpcf7 input.wpcf7-form-control:not([type="submit"]), .wpcf7 .wpcf7-form-control.wpcf7-textarea {
    border-radius: 4px;
    background: #2121390f;
    border: none;
    box-shadow: none;
    font-family: 'Raleway', sans-serif;
}

.wpcf7 .wpcf7-form-control.wpcf7-textarea {
	max-height:120px;
}

.wpcf7 .wpcf7-form-control {
    padding: 10px;
}

.content_form .form-control {
    color: #111;
    font-size: 14px;
}

.content_form .form-control::placeholder {
    color: #2121395c;
}

.content_form textarea {
    min-height: 111px;
}

.content_form .input-group-text {
    height: 100%;
    color: #ffffff;
    background-color: #212139;
    border: none;
    border-radius: 0.25rem 0 0 0.25rem;
    font-size: 14px;
}

.contenedor_form_footer {
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
}

.contenedor_form_footer .cards_form {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
}

/** fin form **/



.ocultar {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

body.blog .cabecera_ppal {
    background: #fff;
    padding-bottom: 0;
}

body.blog .menu_principal .menu li a {
    color: #1c1c1c;
}

body.blog .logo_ppal {
    /* filter: hue-rotate(359deg) brightness(1000); */
    max-width: 120px;
}

body.page-template-page-servicios .logo_ppal {
    /* filter: none; */
    /* max-width: 170px; */
}


/** MORPH **/
.circle {
    background: plum;
    width: 450px;
    height: 450px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    overflow: hidden;
    animation: morph 4s linear infinite;
    margin: 0 auto;
}

.circle img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }

    100% {
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    }

}

/** CSS BOTON VIDEO **/
.Blink {
    animation: blinker 1.5s cubic-bezier(.5, 0, 1, 1) infinite alternate;
}

@keyframes blinker {
    from {
        transform: scale(1.1);
        opacity: .5;
    }

    to {
        transform: scale(.6);
        opacity: 1;
    }
}

.Blink_in {
    animation: blinker 1.5s cubic-bezier(.4, 0, 1, 1) infinite alternate;
}

.circle_btn {
    display: block;
    border-radius: 50%;
    background-color: #ffffff8a;
    width: 110px;
    height: 110px;
    margin: 0 auto;
    padding: 15px;
}

.circle_btn.circle_in {
    width: 80px;
    height: 80px;
    background-color: #ffffff8a;
    margin: 0px auto;
    padding: 0;
}

.btn_video {
    position: relative;
}

.btn__video {
    position: absolute;
    left: calc(50% - 22.5px);
    top: calc(50% - 22.5px);
}

.icono_video {
    width: 45px;
    height: auto;
    margin: 0 auto;
}

.txt_int_init p {
    margin-bottom: 0;
    line-height: 1;
}

/****************************************************************
**** PAGINA BLOGs ********************************
**************************************************************** */

.wrap_blog {
    padding-top: 150px;
    padding-bottom: 60px;
    background: #96A6FD1A;
}

.blog_page {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.blog_page .article-loop {
    width: 31%;
    margin-bottom: 10px;
}

.content_video_frame {
    max-width: 600px;
    margin: 30px auto;
    display: block;
}

.flex_blog {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.box_img_video {
    height: 315px;
    width: 100%;
}

.box_img_video img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
}

.box_content_blog {
    padding: 20px;
}

.box_content_blog h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.box_content_blog h2 a {
    color: #000;
}

.box_content_blog a {
    text-decoration: none;
}

.box_content_blog p {
    font-size: 13px;
    line-height: 1.3;
}

.primary-sidebar.widget-area {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 7px #9d9d9d0d;
}

.primary-sidebar.widget-area h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0 20px;
}

.primary-sidebar.widget-area ul li {
    margin-bottom: 10px;
    background: #0000000a;
    padding: 10px;
    border-radius: 10px;
}

.primary-sidebar.widget-area a {
    /* text-decoration: none; */
    font-family: 'Montserrat', sans-serif;
    color: #000;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 500;
}

.primary-sidebar.widget-area .wp-block-latest-posts__post-excerpt {
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
}

.wp-block-latest-posts__post-date,
.box_content_blog .fecha_post {
    color: #D2D314;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
}


.socios-idicam #gallery-1 img,
.socios-idicam #gallery-2 img {
    border: 0;
}

/****************************************************************
**** PAGINA INTERNA BLOG ********************************
**************************************************************** */
body.single.single-post .cabecera_ppal,
body.single-videoteca .cabecera_ppal,
body.page-template-page-videoteca .cabecera_ppal,
body.page-template-page-blogidicam .cabecera_ppal {
    position: relative;
    background: #fff;
}

body.single.single-post .logo_ppal,
body.single-videoteca .logo_ppal,
body.page-template-page-videoteca .logo_ppal,
body.page-template-page-blogidicam .logo_ppal {
    filter: brightness(0);
    width: 80px;
}

body.single.single-post .cabecera_ppal .menu_principal .menu li a,
body.single.single-post .cabecera_ppal .rrss_head a,
body.single-videoteca .cabecera_ppal .menu_principal .menu li a,
body.single-videoteca .cabecera_ppal .rrss_head a,
body.page-template-page-videoteca .cabecera_ppal .menu_principal .menu li a,
body.page-template-page-videoteca .cabecera_ppal .rrss_head a,
body.page-template-page-blogidicam .cabecera_ppal .menu_principal .menu li a,
body.page-template-page-blogidicam .cabecera_ppal .rrss_head a {
    color: #1c1c1c;
}

.blog_wrap {
    background: #f0f0f0;
    padding: 70px 0;
}

.seccion_blog_single {
    display: flex;
    gap: 30px;
}

.seccion_blog_single article {
    width: 70%;
}

.seccion_blog_single .sidebar_col {
    width: 30%;
}

.seccion_blog_single article h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 36px;
    line-height: 1.2;
}


.modelpup {
    height: auto !important;
    margin-bottom: 30px;
}


/*** carrusel temp **/
#carrusel {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* #carrusel .left-arrow {
    position: absolute;
    left: 10px;
    z-index: 1;
    top: 50%;
    margin-top: -9px;
}

#carrusel .right-arrow {
    position: absolute;
    right: 10px;
    z-index: 1;
    top: 50%;
    margin-top: -9px;
} */

.carrusel {
    display: flex;
    align-items: stretch;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.carrusel>.product {
    width: 25%;
    text-align: center;
    padding: 5px;
}

.content_video_frame_ {
    position: relative;
}

.int_card {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
    background-color: #f5f6ff;
}

.icono_video_frame {
    color: #fff;
    font-size: 50px;
    position: absolute;
    top: 50%;
    lefT: 50%;
    transform: translate(-50%, -50%);
}




.caf-post-layout3.blog-idicam {
    box-shadow: 0 10px 6px -6px #0000003b;
    border-radius: 10px;
}

.caf-post-layout3.blog-idicam #manage-post-area {
    background-image: linear-gradient(to top, #000000, #00000085);
}

.caf-post-layout3.blog-idicam .caf-post-title h2 a,
.caf-post-layout3.blog-idicam .caf-post-title h2 {
    font-size: 15px !important;
    font-family: 'Montserrat', sans-serif !important;
}

.caf-post-layout3.blog-idicam .caf-post-title h2 a:hover {
    color: #fff !important;
}

.data-target-div1 .caf-post-layout3.blog-idicam .caf-meta-content-cats li a {
    background: transparent !important;
    color: #fff !important;
    font-weight: bold;
}

.seccion_blog_single .content_video_frame {
    display: none;
}

body.single-videoteca .seccion_blog_single .content_video_frame {
    display: block;
}

.header_blog {
    margin-bottom: 35px;
}

/* .carrusel i {
    cursor: pointer;
} */

/** fin carrusl temp **/

.form_clipping {
	width:100%;
}

.form_clipping form.dplr_form {
	border-color: #ffffff3b;
}

.form_clipping form.dplr_form .msg-data-sending {
	color:#fff;
}

.form_clipping .dplr_form, .form_clipping .dplr_form div {
	display:flex;
	align-items:center;
	gap:20px;
}

.form_clipping .dplr_form div {
	width:80%;
}

.form_clipping form.dplr_form .input-button {
	width:20%;
	
}

.form_clipping form.dplr_form .input-button button, .form_clipping form.dplr_form .input-field {
	width:100%;
	margin:0;
}

.form_clipping form.dplr_form .input-button button {
	background-color: #fff;
    padding: 10px 25px;
    color: #000C36;
    border-radius: 50px;
    border: 0;
    font-weight: 500;
    font-size: 16px;
}

.form_clipping form.dplr_form .input-field input {
	border: 0;
    padding: 7px 10px;
    border-radius: 5px;
}

.form_clipping form.dplr_form .input-field label {
	display:none;
}

.form_clipping .widget-title {
	color:#fff;
	text-align:center;
}

.form_clipping form.dplr_form .input-field label {
	display:none;
}

/****************************************************************
**** MODALS ********************************
**************************************************************** */
#modalForm .modal-body,
#modalBarometro .modal-body,
#modalBrochure .modal-body,
#modalBasesoria .modal-body,
#modalBarquitectura .modal-body,
#modalBintermediacion .modal-body,
#modalClipping .modal-body {
    padding: 0;
    border-radius: 15px;
}

#modalForm .modal-body .btn-close,
#modalBarometro .modal-body .btn-close,
#modalBrochure .modal-body .btn-close,
#modalBasesoria .modal-body .btn-close,
#modalBarquitectura .modal-body .btn-close,
#modalClipping .modal-body .btn-close,
#modalBintermediacion .modal-body .btn-close {
    position: absolute;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: #ffffffa6;
    line-height: 1;
    border-radius: 50%;
    color: #000;
    right: 10px;
    top: 10px;
}

#modalForm .modal-body .row .col-sm:first-of-type,
#modalBarometro .modal-body .row .col-sm:first-of-type,
#modalBrochure .modal-body .row .col-sm:first-of-type,
#modalBasesoria .modal-body .row .col-sm:first-of-type,
#modalBarquitectura .modal-body .row .col-sm:first-of-type,
#modalClipping .modal-body .row .col-sm:first-of-type,
#modalBintermediacion .modal-body .row .col-sm:first-of-type {
    background-color: #fff;
    border-radius: 15px 0 0 15px;
}

.bg_modal_form {
    background: url('/wp-content/uploads/2025/07/Rotonda-1-1-scaled.webp') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    border-radius: 0 7px 7px 0;
}

.content_modal_form {
    padding: 20px;
}

.content_modal_form h4 {
    margin-bottom: 20px;
}

.content_modal_form .form_row {
    flex-direction: column;
    gap: 0;
    align-items: center;
}

.content_modal_form .form_row:last-of-type p {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn_flotante {
    display: flex;
    position: fixed;
    top: 45%;
    right: 0;
    z-index: 99;
    align-items: stretch;
    max-width: 250px;
    text-decoration: none;
    color: #111;
    transform: translateX(65%);
    transition: transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 7px #0000001a;
    border: 1px solid #f9f9fc;
    border-radius: 5px 0 0 5px;
}

.btn_flotante:hover {
    text-decoration: none;
    transform: translateX(0%);
    color: #111;
}

.img_boton {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 5px 0 0 5px;
    padding: 10px;
}

.img_boton img {
    width: 50px;
}

.img_boton p {
    margin: 0;
    font-size: 9px;
    font-weight: 500;
    font-family: 'Sora', sans-serif;
}

.info_hablemos {
    width: 65%;
    background: #fff;
    border-left: 1px solid #eaeaea;
    padding: 10px;
    display: flex;
    align-items: center;
}

.info_hablemos h5 {
    font-size: 14px;
    font-family: 'Sora', sans-serif;
    margin: 0;
}

.info_hablemos h5 span {
    display: block;
    font-size: 9px;
    font-weight: 400;
}

body.page-id-1648 .btn_flotante {
    display: none;
}



/****************************************************************
**** FOOTER OPTIMIZADO - RELOADED *******************************
****************************************************************/

footer {
    width: 100%;
    padding: 80px 0 0;
    background-color: #000c36;
    position: relative;
}

.boxes_footer {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.box_foot {
    flex: 1 1 220px;
    min-width: 220px;
}

.box_foot h3 {
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    /* Alineado regio */
}

.box_foot p,
.list_footer li a {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
    color: #fff;
    text-decoration: none;
}

.list_footer {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list_footer li {
    margin-bottom: 8px;
}

.list_footer li a:hover {
    text-decoration: underline;
    color: #ffa50d;
}

.rrss_foot {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

/* Solo enlaces dentro del footer */
footer a,
footer a:visited {
    color: inherit;
    /* usa el color del texto del footer */
    text-decoration: none;
    /* sin subrayado por defecto */
}

footer a:hover,
footer a:focus-visible {
    color: inherit;
    /* mantiene el color */
    text-decoration: underline;
    /* feedback al hover/accesible */
}


.rrss_foot a {
    text-decoration: none;
    background: #fff;
    color: #000c36;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: background 0.3s ease, color 0.3s ease;
}

.rrss_foot a:hover {
    background: #ffa50d;
    color: #fff;
}

.copy_footer {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    background: #fff;
    width: 100%;
    padding: 20px 0;
    margin-top: 60px;
}

.copy_footer p {
    margin: 0;
    color: #000c36;
    text-align: center;
}

.copy_footer p a {
    text-decoration: underline;
    color: #ffa50d;
    transition: color 0.3s ease;
}

.copy_footer p a:hover {
    color: #000c36;
}

/* RESPONSIVE FOOTER */
@media (max-width: 992px) {
    .boxes_footer {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .box_foot {
        text-align: center;
    }

    .box_foot h3 {
        text-align: center;
    }

    .rrss_foot {
        justify-content: center;
    }
}




/*** BLOG **/
.blog .eael-grid-post-holder {
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .05);
}

.blog .eael-grid-post-holder:hover {
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .1);
}

.blog .eael-grid-post .eael-entry-wrapper {
    padding: 20px 15px;
}

.blog .eael-grid-post .eael-entry-wrapper .eael-entry-title {
    font-family: 'Orkney', sans-serif;
}

.blog .eael-grid-post .eael-entry-wrapper .eael-entry-content {
    font-family: 'Effra', sans-serif;
}

.blog .eael-grid-post .eael-entry-wrapper .eael-entry-content a {
    display: table;
    margin-top: 10px;
}

.blend-mode img {
    mix-blend-mode: darken;
}

.flecha_mov {
    display: none;
}

.mobile_head {
    display: none;
}




@media (max-width:769px) {

    .desktop_head {
        display: none;
    }

    .mobile_head {
        display: block;
    }

    .logo_ppal {
        max-width: 100%;
        width: auto;
        max-height: 70px;
    }

    /** Menu movil **/
    .hamburger-inner,
    .hamburger-inner:after,
    .hamburger-inner:before,
    body.page-template-page-servicios .hamburger-inner,
    body.page-template-page-servicios .hamburger-inner:after,
    body.page-template-page-servicios .hamburger-inner:before {
        background-color: #fff !important;
    }

    .scrolling .hamburger-inner,
    .scrolling .hamburger-inner:after,
    .scrolling .hamburger-inner:before,
    body.single.single-post .hamburger-inner,
    body.single.single-post .hamburger-inner:after,
    body.single.single-post .hamburger-inner:before,
    body.page-template-page-blogidicam .hamburger-inner,
    body.page-template-page-blogidicam .hamburger-inner:after,
    body.page-template-page-blogidicam .hamburger-inner:before,
    body.page-template-page-servicios .scrolling .hamburger-inner,
    body.page-template-page-servicios .scrolling .hamburger-inner:after,
    body.page-template-page-servicios .scrolling .hamburger-inner:before {
        background-color: #1c1c1c !important;
    }

    .menu_movil .menu {
        list-style: none;
        padding: 0;
        font-size: 16px;
        text-transform: uppercase;
        line-height: 1.5;
        font-weight: 500;
    }

    .menu_movil .menu li {
        padding: 5px;
        border-bottom: 1px solid #f0f1f4;
    }

    .menu_movil .menu li a {
        text-decoration: none;
        color: #212139;
        font-family: 'Sora', sans-serif;
        display: block;
        width: 100%;
        padding: 10px;
    }
    
    .menu-item-has-children .sub-menu {
        border: 1px solid #eaeaea;
    }

    .menu_movil .menu li .sub-menu li a {
        color: #000C36;
    }

    .btnes_head {
        justify-content: center;
    }

    .menuitem {
        padding: 10px 0;
    }

    .menuitem a {
        font-size: 10px;
    }



    /** Body **/

    .box_cats2 .elementor-image-box-content {
        bottom: 0;
        position: relative;
    }

    .box_cats2 .elementor-image-box-description {
        display: none;
    }



    .cats_home_movil .elementor-image-box-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border-radius: 5px;
        background-color: #F9F9FC;
        gap: 20px;
        border: 1px solid #eaeaea;
    }

    .cats_farma_movil .elementor-image-box-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        gap: 20px;
    }

    .circle {
        width: 300px;
        height: 300px;
    }

    .tarjeta,
    .tarjeta.tarjeta_izq {
        margin-left: auto;
        margin-right: auto;
    }

    .box_int_contacto h2 {
        font-size: 30px;
    }

    .box_int_contacto.boxes_der h2 {
        font-size: 18px;
    }

    .boxtxt {
        font-size: 10px;
    }

    .box_flotante,
    .box_int_contacto {
        width: 90%;
    }

    .wrap_blog {
        padding-top: 80px;
    }

    .blog_page .article-loop {
        width: 100%;
    }

    /** Footer **/
    footer {
        padding-top: 20px;
    }

    .prefooter {
        margin-top: 0px;
    }

    .tits_cds_foot {
        color: #fff;
        font-size: 20px;
        line-height: 23px;
    }

    .flex_cds {
        gap: 0;
        border-radius: 10px;
        overflow: hidden;
        flex-wrap: wrap;
    }

    .cds {
        width: 33.3%;
        border-radius: 0;
        background: transparent;
    }

    .boxes_footer {
        flex-wrap: wrap;
        gap: 0;
    }

    .boxes_footer .box_foot {
        width: 100%;
        margin-bottom: 20px;
        padding: 2%;
    }

    .boxes_footer .box_foot:nth-child(2) {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .box_foot.order3 {
        width: 50%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .box_foot h3 {
        font-size: 16px;
        margin-bottom: 25px;
        width: 100%;
    }

    .box_foot p {
        margin-bottom: 5px;
    }

    .box_foot:first-child {
        align-items: flex-start;
    }

    .box_foot:first-child p {
        text-align: left;
    }

    .box_foot a {
        /* width: 33%; */
        margin-bottom: 10px;
    }

    .order1 {
        order: 1;
    }

    .order2 {
        order: 2;
    }

    .order3 {
        order: 3;
    }

    .copy_footer p {
        text-align: center;
    }

    .carrusel>.product {
        width: 50%;
    }

    .seccion_blog_single {
        flex-direction: column;
    }

    .seccion_blog_single article,
    .seccion_blog_single .sidebar_col {
        width: 100%;
    }

    .item_video-contenido p {
        display: none;
    }

    .copy_movil p {
        font-size: 12px;
        text-align: center;
        margin: 30px 0 15px;
    }

    .info_bio {
        padding: 20px;
    }

    .link_bio .btn.btnAdv {
        font-size: 15px;
    }


    .box_glass {
        background: linear-gradient(221deg, #499dc5 0%, #181b8f 55%);
    }

    .flecha_mov {
        display: flex;
        top: -200px;
        position: absolute;
        right: 10px;
    }

    .box_cats2 .elementor-image-box-content .flecha_mov a.btn.btnGilli {
        min-width: auto;
        width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contenedor_form_footer {
        width: 100%;
    }

    .contenedor_form_footer .cards_form {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .ags_cards_container {
        max-width: 1140px;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        font-family: 'Raleway', sans-serif;
        gap: 10px;
        padding: 10px;
    }

    .ags_card {
        position: relative;
        flex: 1 1 calc(33.333% - 10px);
        height: 400px;
        background-size: cover;
        background-position: center;
        transition: 0.3s ease;
        overflow: hidden;
    }

    .ags_card_overlay {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.4);
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: background 0.3s ease;
        padding: 20px;
    }

    .ags_card_overlay h3 {
        margin: 0;
        font-size: 1.5rem;
    }

    .ags_card_overlay p {
        margin-top: 10px;
        font-size: 0.95rem;
        opacity: 0;
        max-height: 0;
        transition: opacity 0.4s, max-height 0.4s;
    }

    .ags_card:hover .ags_card_overlay {
        background: rgba(0, 0, 0, 0.7);
    }

    .ags_card:hover .ags_card_overlay p {
        opacity: 1;
        max-height: 300px;
    }
    
    .form_clipping .dplr_form, .form_clipping .dplr_form div {
        flex-direction: column;
    }
    
    .form_clipping form.dplr_form .input-button {
        width:60%;
    }

    .ags_icon_topright {
        position: absolute;
        top: 12px;
        right: 12px;
        background: #ffffffee;
        color: #000;
        border-radius: 50%;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        font-weight: bold;
        z-index: 3;
        text-decoration: none;
    }

    .ags_icon_topright i {
        transform: rotate(-45deg);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .ags_card {
            flex: 1 1 100%;
            height: 300px;
        }

        .ags_card_overlay h3 {
            font-size: 1.2rem;
        }

        .ags_card_overlay p {
            font-size: 0.9rem;
        }
    }

    /* ===== Newsletter / Clipping ===== */


}

/*********************************************************
  PROYECTOS – Filtro a la DERECHA alineado al título
  Usa en la sección de la galería la clase: proy-gallery
**********************************************************/
.proy-gallery {
  /* altura que “subiremos” el filtro; ajusta 40–70px */
  --filter-offset: 66px;
}

/* Asegura referencia de posicionamiento al ancho de contenido
   (no a toda la ventana) para que alinee con el título */
.proy-gallery .elementor-container {
  position: relative !important;
}

/* ROMPE cualquier centrado del widget y colócalo ABSOLUTO */
.proy-gallery .eael-filter-gallery-control {
  position: absolute !important;
  top: calc(var(--filter-offset) * -1) !important;  /* súbelo */
  right: 0 !important;                              /* a la DERECHA */
  left: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;                           /* se acopla al contenedor */
  z-index: 9 !important;
  text-align: right !important;
}

/* Botonera interna: flex al extremo derecho, sin chances de centrado */
.proy-gallery .eael-filter-gallery-control ul {
  display: flex !important;
  justify-content: flex-end !important;  /* DERECHA */
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: .75rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* chips/categorías */
.proy-gallery .eael-filter-gallery-control .control {
  cursor: pointer !important;
  white-space: nowrap !important;
}

/* Deja espacio arriba para que la grilla no se monte con el filtro */
.proy-gallery .eael-filter-gallery-wrapper {
  padding-top: var(--filter-offset) !important;
}

/* Si EAEL usa otro contenedor interno antes de la grilla, cúbrelo también */
.proy-gallery .eael-filter-gallery-container,
.proy-gallery .eael-filter-gallery {
  padding-top: 0 !important; /* evitamos dobles espaciados */
}

/* RTL (por si el sitio es derecha→izquierda) */
[dir="rtl"] .proy-gallery .eael-filter-gallery-control {
  right: auto !important;
  left: 0 !important;
}
[dir="rtl"] .proy-gallery .eael-filter-gallery-control ul {
  justify-content: flex-start !important;
}

/* MÓVIL */
@media (max-width: 767.98px) {
  .proy-gallery .eael-filter-gallery-control {
    top: calc(var(--filter-offset) * -1) !important; /* puedes bajar este valor si queda muy arriba */
    right: 0 !important;
    left: auto !important;
    text-align: right !important;
  }
  .proy-gallery .eael-filter-gallery-control ul {
    justify-content: flex-end !important;
  }
  .proy-gallery .eael-filter-gallery-wrapper {
    padding-top: var(--filter-offset) !important;
  }
}

/* ====== HEADER RESPONSIVE (Bootstrap 5 breakpoints) ====== */
/* Default: MÓVIL activado, DESKTOP oculto */
.mobile_head { display: block; }
.desktop_head { display: none; }

/* Logo tamaños base */
.logo .logo_ppal {
  max-height: 56px;
  height: auto;
  width: auto;
}

/* Botones de cabecera */
.btnes_head { display: flex; gap: .5rem; align-items: center; justify-content: flex-end; }
.btnes_head .btnGilli { padding: .55rem 1rem; font-weight: 600; border-radius: 999px; }

/* Ocultar el botón "Alt" (Propiedades) en tablet y móvil, como pediste */
.btnes_head .btnAlt { display: none !important; }

/* Hamburger base */
.hamburger { border: 0; background: transparent; padding: .25rem .5rem; }
.hamburger-box { display: inline-block; width: 28px; height: 20px; position: relative; }
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  content: ""; display: block; height: 2px; width: 100%;
  position: absolute; left: 0; background: #0d1b2a;
}
.hamburger-inner { top: 9px; }
.hamburger-inner::before { top: -8px; }
.hamburger-inner::after  { top: 8px; }

/* Menú desktop (cuando aplique) */
.menu_principal { width: 100%; }
.menu_principal ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; justify-content: center; }
.menu_principal a { text-decoration: none; font-weight: 600; }

/* Offcanvas ajustes */
.offcanvas { --bs-offcanvas-width: 320px; }
.offcanvas .btnGilli { width: 100%; }

/* ====== SM ≥576px ====== */
@media (min-width: 576px) {
  .logo .logo_ppal { max-height: 60px; }
}

/* ====== MD ≥768px ====== */
@media (min-width: 768px) {
  .logo .logo_ppal { max-height: 64px; }
  .offcanvas { --bs-offcanvas-width: 360px; }
}

/* ====== LG ≥992px ——— DESKTOP ON ====== */
@media (min-width: 992px) {
  .mobile_head { display: none; }
  .desktop_head { display: block; }

  /* Botón "Propiedades" visible solo en desktop */
  .btnes_head .btnAlt { display: inline-flex !important; }

  /* Logo un poco mayor en desktop */
  .logo .logo_ppal { max-height: 70px; }

  /* Menú centrado y alineado verticalmente */
  .menu_principal ul { justify-content: center; gap: 1.5rem; }
}

/* ====== XL ≥1200px ====== */
@media (min-width: 1200px) {
  .logo .logo_ppal { max-height: 76px; }
  .menu_principal ul { gap: 2rem; }
}

/* ====== XXL ≥1400px ====== */
@media (min-width: 1400px) {
  .logo .logo_ppal { max-height: 80px; }
}

/* ====== Utilidades por si el tema trae centrados heredados ====== */
.desktop_head .btnes_head { justify-content: flex-end; }
.desktop_head .menu_principal { text-align: center; }

/* ===== Ajustes previos (desktop normal) ===== */
.desktop_head .menu_principal ul{gap:1.25rem;}
.desktop_head .menu_principal a{padding:.6rem .9rem;}
.desktop_head .btnes_head .btnGilli{padding:.55rem 1rem;}
.desktop_head .logo .logo_ppal{max-height:70px;}

/* ===== Compactar entre 1200 y 1100 para estirar un poco más el desktop ===== */
@media (max-width: 1199.98px) {
  .desktop_head .menu_principal ul{gap:.85rem;}
  .desktop_head .menu_principal a{padding:.5rem .75rem; font-size:.95rem;}
  .desktop_head .btnes_head{gap:.4rem;}
  .desktop_head .btnes_head .btnGilli{padding:.45rem .8rem; font-size:.95rem;}
  .desktop_head .logo .logo_ppal{max-height:64px;}
}

/* ===== Corte personalizado: desde 1100px usamos SIEMPRE el header móvil ===== */
@media (max-width: 1100px) {
  .desktop_head{display:none !important;}
  .mobile_head{display:block !important;}
}

/* (por si tenías el cambio en 992px, lo reforzamos) */
@media (min-width: 1100.02px) {
  .desktop_head{display:block;}
  .mobile_head{display:none;}
}

/* ===== Mobile/offcanvas ajustes ===== */
.mobile_head .logo .logo_ppal{max-height:56px;}
.offcanvas{--bs-offcanvas-width: 340px;}
/* Botón Propiedades oculto en tablet/móvil (como pediste) */
.btnes_head .btnAlt{display:none !important;}
@media (min-width: 1100.02px){
  .btnes_head .btnAlt{display:inline-flex !important;}
}

/*********************************************************
  PROYECTOS – Filtro a la DERECHA alineado al título
  (SOLO DESKTOP ≥992px)
**********************************************************/
@media (min-width: 992px) {
  .proy-gallery { --filter-offset: 66px; }

  .proy-gallery .elementor-container {
    position: relative !important;
  }

  .proy-gallery .eael-filter-gallery-control {
    position: absolute !important;
    top: calc(var(--filter-offset) * -1) !important;
    right: 0 !important;
    left: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    z-index: 9 !important;
    text-align: right !important;
  }

  .proy-gallery .eael-filter-gallery-control ul {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: .75rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .proy-gallery .eael-filter-gallery-control .control {
    cursor: pointer !important;
    white-space: nowrap !important;
  }

  .proy-gallery .eael-filter-gallery-wrapper {
    padding-top: var(--filter-offset) !important;
  }

  .proy-gallery .eael-filter-gallery-container,
  .proy-gallery .eael-filter-gallery {
    padding-top: 0 !important;
  }

  /* RTL */
  [dir="rtl"] .proy-gallery .eael-filter-gallery-control {
    right: auto !important;
    left: 0 !important;
  }
  [dir="rtl"] .proy-gallery .eael-filter-gallery-control ul {
    justify-content: flex-start !important;
  }
}

.card_ag{
 background-image: url('../img/anteproyecto.jpeg');
}


.sub-menu,
.sub-menu li,
.sub-menu a {
  text-align: left !important;
}

.sub-menu a {
  display: block; /* asegura el ancho completo de cada ítem */
}

.btnes_head .btnGilli {
  font-weight: 600;
  border-radius: 999px;
  text-align: center;      /* ✅ centra el texto horizontalmente */
  display: inline-block;   /* asegura que text-align funcione bien */
  justify-content: center; /* opcional si usas display:flex */
  align-items: center;     /* opcional si usas display:flex */
}

