/*
Theme Name: Tema Derecho Previsional
Author: Rodrigo Berroeta (Agencia Böll)
Author URI: https://www.boll.cl
Description: Plantilla desarrollada para proyecto web Derecho Previsional. 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
*/
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

body {
    background-color: #fff;
    font-family: 'Outfit', 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: #000;
    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: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -1.5px;
}

@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 **/

/* h1,
h2,
h3 {
    font-family: 'Yummo W03', sans-serif !important;
}

.font_yummo p,
.font_yummo .elementor-heading-title,
.font_yummo .eael-elements-flip-box-heading,
.font_yummo .eael-elements-flip-box-content p,
.font_yummo .eael-feature-list-content-box p,
.font_yummo .elementor-icon-box-content p {
    font-family: 'Yummo W03', sans-serif !important;
} */

.tit_destacados .elementor-heading-title span,
.font_yummo .eael-elements-flip-box-content p span,
.font_yummo .eael-feature-list-content-box p span {
    position: relative;
    z-index: 1;
    color: #000;
    font-weight: bold;
}

.secc_equipo .tit_destacados .elementor-heading-title span {
    font-size: 17px;
}

.tit_destacados .elementor-heading-title span::before,
.font_yummo .eael-elements-flip-box-content p span::before,
.font_yummo .eael-feature-list-content-box p span::before {
    background: #D2D314;
    width: 100%;
    height: 70%;
    position: absolute;
    left: -3px;
    bottom: 3px;
    content: '';
    z-index: -1;
}

.secc_equipos .tit_destacados .elementor-heading-title span::before {
    left: -1px;
}

.tit_destacados .elementor-heading-title b,
.font_yummo .eael-elements-flip-box-content p b,
.font_yummo .eael-feature-list-content-box p b {
    color: #D2D314;
}



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

.btn.btnAdv,
.btnAdv {
    background: #00a79d; /* color de fondo similar al de la imagen */
    padding: 10px 25px;
    color: #fff;
    border-radius: 50px;
    border: 0;
	font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 13px;
    min-width: 150px;
    cursor: pointer;
    text-transform: none; /* para mantener la capitalización original */
}

.btn.btnAdv:hover {
    background: #008c84; /* tono más oscuro al pasar el mouse */
}


.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 ***/

.cabecera_ppal {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px 0 10px;
    transition: all .3s ease;
}

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

.logo_ppal {
    /* filter: contrast(0) brightness(1800); */
    width: 230px;
    transition: all .3s ease;
}

.menu_principal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
}

.menu_principal .menu {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin: 0;
}


.menu_principal .menu li a {
    color: #620674!important;
    text-decoration: none;
	font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

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

.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: 20px;
}

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

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



/* Cambiar color de links del menú al hover y active */
.menu_principal .menu li a:hover,
.menu_principal .menu li a:focus,
.menu_principal .menu li.current-menu-item > a,
.menu_principal .menu li.current_page_item > a {
    color: #00AAA3 !important;
}


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

.scrolling .logo_ppal {
    /* filter: contrast(0) brightness(0); */
    width: 170px;
}

.scrolling .menu_principal .menu li a,
.scrolling .rrss_head a {
    color: #fff;
}

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

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

/** fin on scroll **/

/*** BODY ***/
.webhome .bdt-position-relative,
.blog_wrap .bdt-position-relative {
    height: 650px;
}

.webhome .bdt-prime-slider-skin-general ul.bdt-slideshow-items,
.blog_wrap .bdt-prime-slider-skin-general ul.bdt-slideshow-items {
    height: 100% !important;
}

.slide_home .bdt-prime-slider-skin-general .bdt-prime-slider-desc {
    margin-top: 250px;
}

.slide_home .bdt-overlay-default {
    background: linear-gradient(to top, #000000, transparent, transparent, #000);
    max-height: 650px;
}

.slide_home .bdt-sub-title h4 {
    background: #fff;
    padding: 3px 5px;
}

.slide_home .bdt-prime-slider-skin-general .bdt-slider-excerpt {
    margin: 0px 0 clamp(20px, 7vw, 80px);
}

/* .overlay_servicios .eael-elements-flip-box-front-container {
    position: relative;
    overflow: hidden;
} */

.overlay_servicios .eael-elements-flip-box-front-container::before,
.overlay_servicios .eael-elements-flip-box-rear-container::before,
.overlay_servicios.ov1 .eael-elements-flip-box-front-container::before,
.overlay_servicios.ov1 .eael-elements-flip-box-rear-container::before,
.overlay_servicios.ov2 .eael-elements-flip-box-front-container::before,
.overlay_servicios.ov2 .eael-elements-flip-box-rear-container::before,
.overlay_servicios.ov3 .eael-elements-flip-box-front-container::before,
.overlay_servicios.ov3 .eael-elements-flip-box-rear-container::before {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(25deg, #6a4a9ac7, #d72488b5, transparent, transparent);
    border-radius: 10px;
    z-index: -1;
}

.overlay_servicios.ov1 .eael-elements-flip-box-front-container::before,
.overlay_servicios.ov1 .eael-elements-flip-box-rear-container::before {
    background: linear-gradient(25deg, #e9425beb, #f1842cb3, transparent, transparent);
}

.overlay_servicios.ov2 .eael-elements-flip-box-front-container::before,
.overlay_servicios.ov2 .eael-elements-flip-box-rear-container::before {
    /* background: linear-gradient(45deg, #1c6d8aba, #28bcebad, #87c276b8 60%); */
    background: linear-gradient(25deg, #87c276c4, #69c3c6c4, transparent, transparent);
}

.overlay_servicios.ov3 .eael-elements-flip-box-front-container::before,
.overlay_servicios.ov3 .eael-elements-flip-box-rear-container::before {
    /* background: linear-gradient(45deg, #1c6d8aba, #28bcebad, #87c276b8 60%); */
    background: linear-gradient(25deg, #2dbceac7, #1b6d8ac9, transparent, transparent);
}

.tit_bajada .elementor-heading-title span {
    font-weight: 300;
    display: block;
}

.tit_bajada .elementor-heading-title small {
    display: table;
    font-size: 20px;
    background: #fff;
    color: #111;
    font-weight: 600;
    padding: 2px 5px;
    margin-left: 3px;
    margin-top: 3px;
    line-height: 20px;
}

.bajada_dark.tit_bajada .elementor-heading-title small {
    background: #111;
    color: #fff;
}

.tit_bajada.tit_bajada_centro .elementor-heading-title small {
    margin: 3px auto;
}

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

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

.dark-cta .cta_texto h3 {
    color: #111;
}

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

.img_clientes img {
    filter: grayscale(1);
    transition: filter .3s ease-in-out;
}

.img_clientes:hover img {
    filter: none;
}


.animate-background {
    background: linear-gradient(45deg, #f1842c, #d72488, #6a4a99, #2dbcea, #1c6d8a);
    background-size: 400% 400%;
    animation: 7s ease-in-out infinite animate-background;
}

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

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

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

.br10 {
    border-radius: 10px;
    overflow: hidden;
}






/* 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: 'Montserrat', '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;
    }
}

@keyframes rotar {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.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;
} */

/* === Compactar SOLO este formulario (por su action) === */
form[action*="/wp-content/themes/derecho-previsional/includes/registroLead.php"]{
  max-width: 420px !important;   /* más angosto */
  margin: 0 0 0 auto !important; /* pegado a la derecha */
  padding: 0 !important;
  font-size: 15px !important;
}

/* separaciones mínimas */
form[action*="/derecho-previsional/includes/registroLead.php"] .form-group{
  margin: 0 0 10px !important;
}
form[action*="/derecho-previsional/includes/registroLead.php"] label{
  font-family: 'Outfit', sans-serif;
  margin: 0 0 4px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #fff;
}

/* inputs + textarea compactos */
form[action*="/derecho-previsional/includes/registroLead.php"] .form-control,
form[action*="/derecho-previsional/includes/registroLead.php"] input[type="text"],
form[action*="/derecho-previsional/includes/registroLead.php"] input[type="tel"],
form[action*="/derecho-previsional/includes/registroLead.php"] input[type="email"]{
  height: 44px !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  border: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 15px !important;
}
form[action*="/derecho-previsional/includes/registroLead.php"] textarea{
  min-height: 96px !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  border: 0 !important;
  background: #fff !important;
  font-size: 15px !important;
}

/* prefijo +56 alineado y pegado */
form[action*="/derecho-previsional/includes/registroLead.php"] .input-group{
  display: flex !important;
  align-items: stretch !important;
}
form[action*="/derecho-previsional/includes/registroLead.php"] .input-group-text{
  display: flex !important;
  align-items: center !important;
  padding: 0 10px !important;
  height: 44px !important;
  line-height: 44px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 8px 0 0 8px !important;
}
form[action*="/derecho-previsional/includes/registroLead.php"] .input-group .form-control{
  height: 44px !important;
  border-radius: 0 8px 8px 0 !important;
}

/* botón chico tipo pastilla */
form[action*="/derecho-previsional/includes/registroLead.php"] .btn.btn-primary{
  height: 40px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  border: 2px solid #fff !important;
  background: transparent !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 15px !important;
}
form[action*="/derecho-previsional/includes/registroLead.php"] .btn.btn-primary:hover{
  background: rgba(255,255,255,.12) !important;
}

/* móvil: ocupa el ancho */
@media (max-width: 600px){
  form[action*="/derecho-previsional/includes/registroLead.php"]{
    max-width: 100% !important;
  }
}



.small_subt {
    font-size: 12px;
    display: block;
}

.box_border>.elementor-widget-wrap {
    border: 3px solid transparent;
    border-image: linear-gradient(286deg, #808080, #b6b6b6, #fdfdfd, #d0d0d0, #9c9c9c, #9c9c9c) 1;
}

.list_flex {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0 40px;
}

.flex_item_list {
    width: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info_icono {
    width: 30%;
}

.info_icono img {
    width: 50px;
    height: 50px;
}

.info_list {
    width: 68%;
    padding: 10px 1%;
    color: #ffffffa3;
    font-size: 10px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.galeria_home #gallery-1 img {
    border: 0;
}

.tarjeta {
    display: table;
    min-width: 180px;
    transition: all .4s ease;
}

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

.tarjeta.tar_destacada {
    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);
    display: table;
    margin: 0 auto;
}

.tarjeta.tar_destacada .efecto_img {
    padding: 15px 40px;
    text-align: center;
    border: 0;
}

.tarjeta .efecto_img {
    padding: 10px 30px;
    border: 2px solid transparent;
    text-align: center;
    border-image: -webkit-linear-gradient(132deg, #a9a9a9, #d3d3d3, #e9e9e9, #d3d3d3, #a9a9a9) 1;
}

.tarjeta:hover {
    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);
    cursor: pointer;
}

.tarjeta:hover .efecto_img a {
    color: #1c1c1c;
    position: relative;
    z-index: 3;
}

.tarjeta.tar_destacada .efecto_img a {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    font-weight: 700;
}

.tarjeta .efecto_img a {
    color: #fff;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
}

.tarjeta .efecto_img a small {
    display: block;
    font-size: 11px;
    font-weight: 400;
}

.tarjeta.tar_destacada .efecto_img a {
    color: #1c1c1c;
}

/*** Sección form ***/
.content_form_box {
    overflow: hidden;
}

.flex_form {
    display: flex;
}

.form_flex {
    padding: 30px 50px 30px 0px;
}

.flex_row {
    display: flex;
    gap: 15px;
}

.flex_row.col_row {
    flex-direction: column;
    gap: 10px;
}

.flex_row p {
    width: 100%;
    margin-bottom: 7px;
}

.wpcf7 label {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
    width: 100%;
}


.form_flex .wpcf7-form-control {
    background: #FFFFFF6E;
    color: #fff;
    width: 100%;
    border-radius: 3px;
    height: auto;
    padding: 5px 10px;
    border: 0px;
    box-shadow: none;
    height: 35px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.form_flex .wpcf7-form-control.wpcf7-acceptance {
    background: transparent;
}

.form_flex .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.wpcf7 .form_flex .wpcf7-form-control.wpcf7-acceptance label {
    display: flex;
    align-items: center;
    gap: 7px;
}

.form_flex .wpcf7-form-control.wpcf7-submit {
    width: auto;
    min-width: 100px;
    background: #fff;
    color: #1c1c1c;
}

.form_flex .wpcf7-form-control::placeholder {
    color: #bdccd4;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    opacity: .8;
}

.wpcf7-textarea {
    max-height: 100px;
}

.form_flex .wpcf7-form-control.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);
    display: table;
    width: auto;
    padding: 10px 25px;
    color: #1c1c1c;
    border: 0;
}

.mapa_adv iframe {
    margin-bottom: -6px;
}

/** Sección MAPA **/
.flex_iconos {
    display: flex;
    gap: 10px;
}

.boxicon {
    display: flex;
    gap: 5px;
    align-items: center;
}

.boximg img {
    width: 45px;
}

.boxtxt {
    color: #fff;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.btn_flex {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.box_img_contacto>.elementor-widget-container {
    position: relative;
    overflow: hidden;
}

.box_img_contacto>.elementor-widget-container::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #1c1c1cb0;
    backdrop-filter: blur(4px);
    /* filter: blur(10px); */
}

.box_flotante,
.box_int_contacto {
    position: absolute !important;
    top: 50%;
    lefT: 50%;
    width: auto;
    transform: translate(-50%, -50%);
}

.box_info_contacto,
.box_int_contacto {
    display: flex;
    justify-content: center;
    align-items: center;
}

.box_int_contacto {
    flex-direction: column;
}

.box_int_contacto h2 {
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
    font-size: 40px;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.box_int_contacto p {
    color: #fff;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    line-height: 1.3;
}

.box_int_contacto.boxes_der h2 {
    font-size: 22px;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

/* .box_flotante.box_final_contacto {
    transform:unset;
    top:7%;
    right:7%;
    left:unset;
}

.box_flotante.box_final_contacto .box_int_contacto.boxes_der h2 {
    text-align:right;
} */


/* =================================================================
====================Página interna====================
============================================================== */
.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 {
    max-width: 120px;
}

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

.container.mw1000 {
    max-width: 700px;
}

.submenu_int {
    background: #1c1c1c;
}

.submenu_flex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.menuitem {
    width: 100%;
    text-align: center;
    padding: 10px;
}

.menuitem.activo,
.menuitem:hover {
    background-color: #ffffff40;
}

.menuitem a {
    color: #fff;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    text-decoration: none;
}

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

.smalltxt {
    font-size: 14px;
}

.col_equipo .elementor-widget-wrap.elementor-element-populated {
    overflow: hidden;
}

.secc_equipo .iconos_equipo {
    position: absolute;
    top: 15px;
    z-index: 3;
    padding-right: 10px;
}

.secc_equipo .abs_titulo {
    position: absolute;
    bottom: 0;
    background: linear-gradient(to top, black, transparent);
    padding: 30px 20px 20px 20px;
    z-index: 2;
}


/** 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 {
    display: block;
    border-radius: 50%;
    background-color: #ffffff8a;
    width: 110px;
    height: 110px;
    margin: 0 auto;
    padding: 15px;
}

.circle.circle_in {
    width: 80px;
    /*misma altura y anchura*/
    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: 'Yummo W03', 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: 'Yummo W03', 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: 'Yummo W03', 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: 'Yummo W03', sans-serif;
}

.wp-block-latest-posts__post-date,
.box_content_blog .fecha_post {
    color: #D2D314;
    font-family: 'Yummo W03', 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: 'Yummo W03', 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%);
}


#modalVideos .modal-content {
    background-color: transparent;
}

.item_video-contenido {
    padding: 20px 10px;
}

.item_video-contenido h3 {
    font-size: 15px;
    color: #111;
    margin-bottom: 15px;
}

.item_video-contenido p {
    color: #111;
    font-size: 11px;

}

.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: 'Yummo W03', 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 **/

.modal_bio .modal-body {
    padding: 0;
}

.box_head {
    position: absolute;
    bottom: 0;
    padding: 20px;
}

.link_bio {
    position: absolute !important;
    bottom: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: flex-end !important;
    padding: 15px 8px;
}

.link_bio .btn.btnAdv {
    min-width: auto;
    padding: 5px;
    font-size: 10px;
    line-height: 1;
    background: transparent;
    color: #D2D314;
}

.info_bio {
    padding: 20px;
}

.info_bio p {
    font-size: 13px;
}

.btn-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffffffd6;
    z-index: 2;
    border-radius: 50px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.foto_bio {
    width: 100%;
    object-fit: cover;
}

.titulo_bio {
    font-size: 25px;
    font-weight: bold;
    color: #111;
    background: #D2D314;
}

.cargo_bio {
    font-size: 17px;
}

.bio_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.link_rrss_bio,
.link_mail_bio {
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #d2d314;
    border-radius: 50px;
    color: #111;
    text-decoration: none;
}

.flex_icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.modal_bio .row .col-sm {
    padding-right: 0;
    padding-left: 0;
}

/****************************************************************
**** FOOTER ********************************
**************************************************************** */
/* ====== Footer final (como la imagen) ====== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap');

footer, .copy_footer { font-family: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
footer { background:#620674; color:#fff; }
footer .container { max-width:1140px; margin:0 auto; padding:0 24px; }

/* -------- Fila superior: 3 columnas -------- */
.flex_footer{
  display:grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;   /* Newsletter / Menú / IUS */
  gap:40px;
  padding:40px 0 12px;
  align-items:start;
}

/* Newsletter (más compacto) */
.newsletter__title{ font-size:26px; line-height:1.2; font-weight:700; margin:0 0 12px; }
.newsletter__form{ margin:0 0 14px; }
.newsletter__controls{
  display:flex; align-items:center; max-width:520px;
  border:2px solid rgba(255,255,255,.85); border-radius:999px; overflow:hidden;
}
.newsletter__input{
  flex:1; height:48px; border:0; background:transparent; color:#fff;
  font-size:15px; padding:0 16px 0 18px; outline:none;
}
.newsletter__input::placeholder{ color:#fff; opacity:.85; }
.newsletter__btn{
  height:48px; border:0; padding:0 18px; background:#fff; color:#620674;
  font-weight:700; font-size:15px; cursor:pointer; white-space:nowrap;
  transition:opacity .2s ease, transform .08s ease;
}
.newsletter__btn:hover{ opacity:.9; }
.newsletter__btn:active{ transform:translateY(1px); }

/* Redes (íconos con borde) */
.social_follow__label{ margin:12px 0 10px; font-weight:700; font-size:20px; }
.flex_icons a{
  display:inline-flex; width:40px; height:40px; margin-right:12px;
  align-items:center; justify-content:center;
  border:2px solid rgba(255,255,255,.85); border-radius:8px;
  color:#fff; font-size:18px; text-decoration:none;
  transition:background .2s ease, border-color .2s ease;
}
.flex_icons a:last-child{ margin-right:0; }
.flex_icons a:hover{ background:rgba(255,255,255,.12); border-color:#fff; }

/* Hover + teclado */
.flex_icons a:hover,
.flex_icons a:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #00AAA3;             /* color del icono/lineas */
  outline: none;
}

/* Menú WP (columna 2) */
.footer_nav__list{
  list-style:none; margin:2px 0 0; padding:0; display:grid; gap:10px;
}
.footer_nav__list a{ color:#fff; text-decoration:none; font-weight:600; font-size:16px; }
.footer_nav__list a:hover{ text-decoration:underline; }

/* IUS (columna 3) */
.box_ius h3{ margin:0 0 10px; font-size:20px; font-weight:700; }
.flex_oficina{ display:grid; gap:12px; }
.flex_item_foot h4{ margin:0 0 2px; font-size:14px; font-weight:600; opacity:.95; }
.flex_item_foot p, .flex_item_foot a{ margin:0; font-size:16px; color:#fff; text-decoration:none; }
.flex_item_foot p a{ text-decoration:underline; }

/* -------- Separador -------- */
.flex_footer + .flex_footer_two{
  border-top:1px solid rgba(255,255,255,.30);
}

/* -------- Fila inferior: 2 columnas alineadas con col 2 y 3 -------- */
.flex_footer_two{
  display:grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;  /* misma rejilla que arriba */
  gap:40px;
  padding:16px 0 28px;
}
/* ¡Clave! Colocamos "Contáctanos" bajo la columna 2 y "Encuéntranos" bajo la 3 */
.flex_footer_two .box_flex_footer:nth-child(1){ grid-column:2; }
.flex_footer_two .box_flex_footer:nth-child(2){ grid-column:3; }

.flex_footer_two .box_flex_footer h3{ margin:0 0 8px; font-size:18px; font-family: 'Oufit', sans-serif; font-weight:700; }
.flex_footer_two .flex_item_foot h4{ font-size:14px; margin:0 0 4px; }
.flex_footer_two .flex_item_foot p,
.flex_footer_two .flex_item_foot a{ font-size:16px; }

/* -------- Franja legal (centrada en 2 líneas) -------- */
.copy_footer{ border-top:1px solid rgba(255,255,255,.25); padding:12px 0 18px; background:#620674; }
.boxes_footer{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; text-align:center; }
.box_copy p{ margin:0; font-size:14px; color:#fff; }
.box_copy a{ color:#fff; text-decoration:underline; }
.box_copy a:hover{ opacity:.9; }

/* -------- Accesibilidad -------- */
.footer_nav__list a:focus,
.flex_icons a:focus,
.newsletter__btn:focus,
.newsletter__input:focus{ outline:2px solid #fff; outline-offset:2px; }

/* -------- Responsive -------- */
@media (max-width: 980px){
  .flex_footer{ grid-template-columns:1fr; gap:28px; }
  .flex_footer_two{
    grid-template-columns:1fr;
    gap:24px;
  }
  .flex_footer_two .box_flex_footer:nth-child(1),
  .flex_footer_two .box_flex_footer:nth-child(2){ grid-column:auto; }
}


.mobile_head {
    display: none;
}

/*** 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;
}




@media (max-width:767px) {

    .desktop_head {
        display: none;
    }

    .mobile_head {
        display: block;
    }

    .logo_ppal {
        width: auto;
        max-height: 75px;
    }

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

    .scrolling .hamburger-inner,
    .scrolling .hamburger-inner:after,
    .scrolling .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,
    body.single.single-post .hamburger-inner,
    body.single.single-post .hamburger-inner:after,
    body.single.single-post .hamburger-inner:before,
    body.single-videoteca .hamburger-inner,
    body.single-videoteca .hamburger-inner:after,
    body.single-videoteca .hamburger-inner:before,
    body.page-template-page-videoteca .hamburger-inner,
    body.page-template-page-videoteca .hamburger-inner:after,
    body.page-template-page-videoteca .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 {
        background-color: #fff !important;
    }
	
	.hamburger-box {
		background-color: #111;
	}
	

    .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: 10px;
        border-bottom: 1px solid #f0f1f4;
    }

    .menu_movil .menu li a {
        text-decoration: none;
        color: #010507;
        font-family: 'Ubuntu', sans-serif;
    }

    .btnes_head {
        justify-content: center;
    }

    .menuitem {
        padding: 10px 0;
    }

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

    /** Body **/
    .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 **/
    .flex_footer {
        margin-bottom: 35px;

    }

    .flex_footer_two {
        flex-direction: column;
    }

    .flex_oficina {
        flex-wrap: wrap;
    }

    .flex_footer_two .box_flex_footer:first-of-type {
        margin-bottom: 35px;
    }

    .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;
    }



}

/* Contenedor del menú principal */
#menu-principal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;            /* quita si ya lo tienes en tu tema */
  gap: 1rem;                /* opcional: separación entre items */
}

/* Cada item de primer nivel sirve de ancla para el submenú */
#menu-principal > li {
  position: relative;
}

/* Estilo base del submenú (oculto por defecto) */
#menu-principal .sub-menu {
  position: absolute;
  top: 100%;                /* debajo del item padre */
  left: 0;                  /* alineado al borde izquierdo del padre */
  min-width: 220px;         /* ancho mínimo cómodo */
  margin: 0;
  padding: .5rem 0;
  list-style: none;
  background: #fff;         /* cambia si usas fondo oscuro */
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 9999;

  /* oculto por defecto */
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}

/* Mostrar submenú al pasar el mouse o con foco de teclado */
#menu-principal li.menu-item-has-children:hover > .sub-menu,
#menu-principal li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

/* Links del submenú */
#menu-principal .sub-menu li a {
  display: block;
  padding: .6rem 1rem;
  text-decoration: none;
  white-space: nowrap;      /* evita que se rompa en dos líneas */
  color: #333;
}

/* Hover de los links del submenú */
#menu-principal .sub-menu li a:hover {
  background: #f5f5f7;      /* ajusta a tu paleta */
}

/* (Opcional) estilo de primer nivel */
#menu-principal > li > a {
  display: inline-block;
  padding: .8rem .9rem;
  text-decoration: none;
}
