/*
Theme Name: Krontec
Author: Paulina Jara (Agencia Böll)
Author URI: https://www.boll.cl
Description: Plantilla desarrollada para proyecto web Krontec. 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: 'Montserrat', 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: linear-gradient(90deg, #7f5af0, #7a3ffd); color: #fff; border: 0; border-radius: 15px; padding: 15px 31px; font: 600 14px / 1 'Montserrat', sans-serif; box-shadow: 0 6px 16px rgba(127, 90, 240, .35); }


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

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

.btn.btnGilli.btnBlanco {
    background: #252525;
    color: #fff;
    font-weight: 700;
}

.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: 'Manrope', 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);
}

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

.productos_int  .woocommerce ul.products li.product a img {
    max-height:280px;
    object-fit:contain;
}


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

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

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

.logo_ppal {
    width: 160px;
    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: 'Montserrat', sans-serif;
    font-size: 13px;
}

.menu_principal ul {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px;
    margin: 5px 0;
}

/* .menu_principal ul {
    margin-top: 8px !important;
} */


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

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

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

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

.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: 'Manrope', sans-serif;
    text-decoration: none;
}

.rrss_head.rrss_movil {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.rrss_head.rrss_movil a {
  background-color: #ffffff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.rrss_head.rrss_movil a i {
  font-size: 20px;
  color: #212139; /* azul oscuro */
  line-height: 1;
}

.rrss_head.rrss_movil a:hover {
  background-color: #5DC2A7; /* verde menta */
  transform: translateY(-2px);
}

.rrss_head.rrss_movil a:hover i {
  color: #fff;
}




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

.scrolling .logo_ppal,
.mm_activo .logo_ppal {
    /* width: 30%; */
    /* width: 100px; */
    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;
}

.carrusel_texto .premium-adv-carousel__media-wrap {
    display:none !important;
}

.carrusel_fotos .premium-adv-carousel__media-wrap img {
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(0.98);
}











/** 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 {
    color: #111;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.content_form .form-control.form-control-lg {
    border-radius: 4px;
    background: #2121390f;
    border: none;
    box-shadow: none;
    font-family: 'Montserrat', sans-serif;
}

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

.canal_denuncias.content_form .form-control {
    color: #212139;
}

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

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

.content_form .input-group-text {
    height: 100%;
    color: #ffffff;
    background-color: #7D5FFF;
    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;
}

/* ===== SINGLE POST: logo SIEMPRE a color ===== */
body.single-post .cabecera_ppal img.logo_ppal {
  filter: none !important;   /* mata brightness(0) */
  width: 150px !important;    /* deja que use su tamaño natural */
}

/* si por cualquier motivo existen ambos logos, en single solo se ve el color */
body.single-post .cabecera_ppal img.logo_ppal.logo-blanco {
  display: none !important;
}
body.single-post .cabecera_ppal img.logo_ppal.logo-color {
  display: inline-block !important;
}

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

/****************************************************************
**** MODALS ********************************
**************************************************************** */
#modalForm .modal-body {
    padding: 0;
    border-radius: 15px;
}

#modalForm .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 {
    background-color: #fff;
    border-radius: 15px 0 0 15px;
}

.bg_modal_form {
    background: url('https://gohost.cl/krontec/wp-content/uploads/2025/10/shutterstock_2465034603-scaled.jpg') 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;
}

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


/** BUSCADOR HOME **/
.woocommerce-filtro-busqueda {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #d21b18;
    /* Fondo rojo */
    border-radius: 5px;
    width: 90%;
    padding: 20px;
    max-width: 900px;
    margin: 10px auto 35px;
}

.woocommerce-filtro-busqueda form {
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 25px;
}

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

.box_input {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.filtro label {
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.filtro select,
.filtro input {
    padding: 5px;
    border: none;
    border-radius: 3px;
    width: 105px;
    background: #d21b18;
    color: #fff;
    font-size: 12px;
}

.filtro button {
    background: #fff;
    border: none;
    padding: 8px;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.filtro button img {
    width: 30px;
    height: 30px;
}

.filtro button::before {
    content: '';
    width: 30px;
    height: 30px;
    position: absolute;
    clip-path: polygon(20% 50%, 100% 0%, 100% 100%);
    background: #fff;
    top: 50%;
    left: -18px;
    transform: translateY(-50%);
    border-radius: 2px;
    z-index: -1;
}


/****************************************************************
**** FOOTER ********************************
**************************************************************** */

.footer_guardameta {
    position: relative;
    background-color: #00134d;
    padding: 60px 20px;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.footer_guardameta .container {
    max-width: 1200px;
    margin: 0 auto;
}

.boxes_footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer_logos_laterales {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer_logos_laterales .logo_lateral {
    max-width: 150px;
}

.box_foot {
    flex: 1 1 220px;
}

.box_foot iframe {
    width: 100%;
    border-radius: 10px;
    height: 180px;
}

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

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

.list_footer a {
    color: white;
    text-decoration: none;
}

.list_footer a:hover {
    text-decoration: underline;
}

.btn_contacto_footer {
    background-color: #ffb089;
    padding: 10px 20px;
    border-radius: 10px;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    margin: 10px 0;
}

.rrss_foot a {
    font-size: 24px;
    color: white;
    margin-right: 10px;
}

.copy_footer {
    background-color: #00134d;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    text-align: center;
}

.copy_footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.copy_footer a {
    color: white;
    text-decoration: underline;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ffb089;
    border-radius: 50%;
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .boxes_footer {
        flex-direction: column;
        align-items: center;
    }

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




/*** 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:1000px) {

    .desktop_head {
        display: none;
    }

    .mobile_head {
        display: block;
    }

    .logo_ppal {
        max-width: 80%;
        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: #1B1E60 !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;
    }
	


/* ---------- CONTENEDOR OFFCANVAS ---------- */
.offcanvas.offcanvas-end.show {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  background-color: #fff;
  z-index: 1055;
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  color: #1B1E60;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

/* ---------- HEADER DEL MENÚ ---------- */
.offcanvas-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.offcanvas-header h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1B1E60;
  margin: 0;
}

.offcanvas-header .btn-close {
  filter: invert(15%);
}

/* ---------- BODY CON SCROLL ---------- */
.offcanvas-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
}

/* ---------- MENÚ PRINCIPAL ---------- */
.menu_movil {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.menu_movil li a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  color: #1B1E60;
  padding: 0.75rem 0;
  display: block;
  border-bottom: 1px solid #eee;
  transition: color 0.2s ease;
}
	
	.menu_movil li a {
  display: block;
  width: 100%; /* Esto asegura que el borde se extienda completamente */
  box-sizing: border-box; /* Asegura que el padding no desborde el ancho */
}


.menu_movil li a:hover {
  color: #56BAA2;
}

/* ---------- BOTONES ---------- */
.btnes_head {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btnes_head .btn {
  background-color: #56BAA2;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btnes_head .btn:hover {
  background-color: #1B1E60;
}

/* ---------- REDES SOCIALES ---------- */
.rrss_head a {
  display: inline-block;
  color: #56BAA2;
  font-size: 1.25rem;
  margin-right: 10px;
  transition: color 0.3s ease;
}

.rrss_head a:hover {
  color: #1B1E60;
}

/* ---------- COPYRIGHT MOVIL ---------- */
.copy_movil {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #888;
  text-align: center;
}

/* ---------- BACKDROP (opcional) ---------- */
.offcanvas-backdrop.show {
  background-color: rgba(0, 0, 0, 0.5);
}

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



}

/* ======== HEADER (limpio) ======== */

/* Estado base sobre hero: fondo transparente, textos blancos */
.cabecera_ppal{
  position:fixed; top:0; left:0; right:0; z-index:9999;
  background:transparent;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
  padding: 10px 0;
}
.cabecera_ppal .logo { display:flex; align-items:center; }
.cabecera_ppal .logo_ppal { width:160px; padding:7px; display:block; }

.menu_principal{ display:flex; justify-content:center; align-items:center; }
.menu_principal ul{ display:flex; gap:20px; margin:5px 0; padding:0; list-style:none; }
.menu_principal ul li a{
  font:500 15px/1 'Montserrat', sans-serif;
  color:#fff; text-decoration:none; padding:20px 0; display:flex; align-items:center;
}

/* Botón derecha */
.cabecera_ppal .btnes_head{ display:flex; justify-content:flex-end; align-items:center; gap:10px; }
.cabecera_ppal .btn.btnGilli{
  background:linear-gradient(90deg,#7f5af0,#7a3ffd);
  color:#fff; border:0; border-radius:24px; padding:12px 18px; font:600 12px/1 'Montserrat',sans-serif;
  box-shadow:0 6px 16px rgba(127,90,240,.35);
}

/* Scroll: fondo blanco, textos oscuros */
.cabecera_ppal.scrolling{
  background:#fff; box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.cabecera_ppal.scrolling .menu_principal ul li a{ color:#212139; }

/* Submenú compacto */
.menu-item-has-children{ position:relative; display:flex; align-items:center; }
.menu-item-has-children>.sub-menu{
  display:none; position:absolute; top:100%; left:0; min-width:240px;
  background:#fff; border-radius:10px; padding:10px; list-style:none; box-shadow:0 10px 26px rgba(0,0,0,.08); z-index:20;
}
.menu-item-has-children:hover>.sub-menu{ display:block; }
.menu-item-has-children .sub-menu>li{ margin:0; border-bottom:1px solid #eaeaea29; }
.menu-item-has-children .sub-menu>li>a{
  display:block; padding:10px 12px; color:#212139; font:500 14px/1.2 'Montserrat',sans-serif; position:relative; text-decoration:none;
}
.menu-item-has-children .sub-menu>li>a::after{
  content:''; position:absolute; left:12px; right:12px; bottom:6px; height:2px; width:0; background:#212139; transition:width .25s ease;
}
.menu-item-has-children .sub-menu>li>a:hover::after{ width:calc(100% - 24px); }

/* ===== Responsive ===== */
@media (max-width:1000px){
  .desktop_head{ display:none; }
  .mobile_head{ display:block; }
  .cabecera_ppal .mobile_head .logo .logo_ppal{ width:150px; }
  .cabecera_ppal .btnes_head{ justify-content:center; } /* cambia alineación en móvil */
  .rrss_head.rrss_movil{
    display:flex; justify-content:center; gap:16px; margin-top:20px;
  }
  .rrss_head.rrss_movil a{
    background:#fff; width:48px; height:48px; border-radius:50%;
    display:flex; align-items:center; justify-content:center; box-shadow:0 2px 6px rgba(0,0,0,.05);
  }
}

/* Logo base */
.logo .logo-color { display: none; }
.logo .logo-blanco { display: block; }

/* Cuando el header tiene scroll, se cambia */
.cabecera_ppal.scrolling .logo .logo-blanco { display: none; }
.cabecera_ppal.scrolling .logo .logo-color  { display: block; }

/* Tamaños y transición */
.logo_ppal {
  width: 160px;
  transition: width .25s ease;
}
.cabecera_ppal.scrolling .logo_ppal {
  width: 140px; /* opcional: más compacto al hacer scroll */
}

/* ===== Footer KronTec (4 columnas, redes bajo dirección) ===== */
.footer_krontec{
  background:#fff;
  color:#1c1c1c;
  padding:40px 0px 0px;
  font-family:'Montserrat', sans-serif;
}
.footer_krontec .container{ max-width:1200px; margin:0 auto; }

.footer_krontec .boxes_footer{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr; /* Brand | Nosotros | Soluciones | Contacto */
  gap:40px;
  align-items:flex-start;
}

/* Col 1: brand */
.footer_krontec .col-brand .logo_lateral{
  max-width:170px; height:auto; display:block; margin-bottom:10px;
}
.footer_krontec .col-brand p{
  margin:0 0 10px; font-size:14px; line-height:1.5; color:#333;
}
/* Redes debajo de la dirección */
.footer_krontec .col-brand .rrss_foot{
  display:flex; gap:14px; margin-top:6px;
}
.footer_krontec .col-brand .rrss_foot a{
  color:#1c1c1c; font-size:18px; text-decoration:none; line-height:1;
}
.footer_krontec .col-brand .rrss_foot a:hover{ opacity:.75; }

/* Títulos de columnas */
.footer_krontec .box_foot h3{
  margin:0 0 12px;
  font-weight:700;
  font-size:16px;
  color:#1c1c1c;
}

/* Menús WP (Nosotros / Soluciones) */
.footer_krontec .menu_footer_nav .list_footer{ list-style:none; padding:0; margin:0; }
.footer_krontec .menu_footer_nav .list_footer li{ margin:0 0 8px; }
.footer_krontec .menu_footer_nav .list_footer a{
  color:#1c1c1c; text-decoration:none; font-weight:500; font-size:14px;
}
.footer_krontec .menu_footer_nav .list_footer a:hover{ text-decoration:underline; }

/* Contacto (col 4) */
.footer_krontec .col-contact p{ margin:0 0 8px; font-size:14px; }
.footer_krontec .col-contact a{ color:#1c1c1c; text-decoration:none; }
.footer_krontec .col-contact a:hover{ text-decoration:underline; }

/* Franja inferior azul */
.copy_footer_krontec{
  background:linear-gradient(45deg, #23478d, #7054a6, #89c2ed); color:#fff; padding:14px 0; margin-top:24px; text-align:center;
}
.copy_footer_krontec .container{ max-width:1200px; margin:0 auto; }
.copy_footer_krontec p{ margin:0; font-size:13px; line-height:1.5; }
.copy_footer_krontec a{ color:#fff; text-decoration:underline; font-weight:600; }

/* Responsive */
@media (max-width:1024px){
  .footer_krontec .boxes_footer{ grid-template-columns: 1fr 1fr; gap:28px; }
}
@media (max-width:640px){
  .footer_krontec .boxes_footer{ grid-template-columns: 1fr; gap:22px; }
  .footer_krontec .col-brand .logo_lateral{ max-width:150px; }
}

/* === FIX SUBMENÚ HOVER (Elementor/WordPress) === */

/* 1) El <li> con hijos será el área de hover */
.menu-item-has-children{ position: relative; }

/* 2) Estilos base del submenú: oculto pero ocupando el mismo stacking */
.menu-item-has-children > .sub-menu{
  position: absolute;
  left: 0;
  top: 100%;               /* pegarlo justo debajo del padre */
  margin-top: 0;
  /* “puente” de seguridad para que no se pierda el hover al bajar el mouse */
  padding-top: 12px;       /* buffer */
  background: #fff;
  border: 1px solid #eceff5;
  border-radius: 10px;
  min-width: 220px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
  pointer-events: none;    /* evita “parpadeo” al estar oculto */
}

/* 3) Mostrar al hacer hover o focus dentro del <li> padre */
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
  pointer-events: auto;
}

/* 4) El enlace padre gana padding inferior para solapar el “buffer” */
.menu-item-has-children > a{
  display: block;
  padding-bottom: 12px;    /* mismo valor que el padding-top del submenú */
}

/* 5) Asegura que nada recorte el dropdown */
.elementor-section, .elementor-container, .elementor-widget-nav-menu{
  overflow: visible !important;
}

/* 6) Por si otro elemento lo tapa (hero, header), súbelo en la pila */
.elementor-widget-nav-menu{ position: relative; z-index: 1000; }

/* Opcional: resaltar borde superior con tu accent */
.menu-item-has-children:hover > .sub-menu{ border-top: 2px solid #7D5FFF; }

 /* ===== KRONTEC – estilos más similares al mockup ===== */
  .krontec-card{
    --kt-text:#111827;
    --kt-muted:#c9c9d1;
    --kt-border:#ececf1;
    --kt-focus:#c9b3ff;
    --kt-primary:#7c3aed;   /* morado */
    --kt-primary-2:#8b5cf6; /* violeta claro */

    position:relative;
    background:#fff;
    color:var(--kt-text);
    border-radius:24px;
    box-shadow: 0 20px 50px rgba(17,24,39,.08);
    padding: 36px 32px 72px;         /* espacio extra abajo para el botón flotante */
    max-width: 640px;
    margin:auto;
    overflow:visible;
  }

  /* Grid y espaciado */
  .krontec-grid{
    display:grid;
    grid-template-columns: 1fr;
    column-gap: 28px;
    row-gap: 22px;
  }
  @media (min-width: 680px){
    .krontec-grid.two-col{ grid-template-columns: 1fr 1fr; }
    .krontec-grid .span-2{ grid-column: 1 / -1; }
  }

  /* Labels */
  .kt-group label{
    display:block;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.25;
  }

  /* Inputs / Select / Textarea “pill” */
  .kt-input,
  .kt-select,
  .kt-textarea{
    width:100%;
    border: 2px solid var(--kt-border);
    border-radius: 16px;
    background:#fff;
    padding: 14px 16px;
    font-size:16px;
    line-height:1.2;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
  }
  .kt-input::placeholder,
  .kt-textarea::placeholder{ color: var(--kt-muted); }

  .kt-input:focus,
  .kt-select:focus,
  .kt-textarea:focus{
    border-color: var(--kt-primary);
    box-shadow: 0 0 0 6px rgba(124,58,237,.10);
  }

  .kt-textarea{ min-height: 100px; resize: vertical; }

  /* Select con flecha similar */
  .kt-select{
    -webkit-appearance:none; -moz-appearance:none; appearance:none;
    background-image:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat:no-repeat;
    background-position: calc(100% - 14px) 50%;
    padding-right: 42px;
  }

  /* Botón morado flotante (esquina inferior derecha) */
  .kt-action{
    position:absolute;
    right: 22px;
    bottom: 18px;
  }
  .kt-btn{
    border:0;
    border-radius: 28px;
    padding: 14px 26px;
    font-weight: 700;
    font-size: 16px;
    color:#fff;
    background: linear-gradient(135deg, var(--kt-primary), var(--kt-primary-2));
    box-shadow: 0 16px 28px rgba(124,58,237,.35);
    cursor:pointer;
    transition: filter .2s, transform .06s ease;
  }
  .kt-btn:hover{ filter: brightness(1.05); }
  .kt-btn:active{ transform: translateY(1px); }

  /* En móvil, que el botón no flote para que no tape contenido */
  @media (max-width: 679px){
    .krontec-card{ padding-bottom: 24px; }
    .kt-action{ position:static; margin-top: 14px; text-align: right; }
  }
  
  /* KRONTEC · Paso 1 Canal de Denuncias */
.denuncia-step {
  border: 1px solid #e8ecf3;
  border-radius: 14px;
  padding: 20px;
  background: #fff;
}

.denuncia-title {
  margin: 0 0 6px;
  color: #0f1220;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.25;
}

.denuncia-sub {
  margin: 0 0 14px;
  color: #667085;
  font-size: 14px;
}

.denuncia-check {
  display: block;
  margin: 10px 0 14px;
  color: #0f1220;
  font-size: 14px;
}

.denuncia-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.denuncia-btn {
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #e8ecf3;
  cursor: pointer;
  font-weight: 600;
}

.denuncia-btn--primary {
  background: #0f62fe;
  border-color: #0f62fe;
  color: #fff;
}

.denuncia-btn.is-disabled,
.denuncia-btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

/* KRONTEC · Paso 2 Canal de Denuncias */
.denuncia-step-2 {
  border: 1px solid #e8ecf3;
  border-radius: 14px;
  padding: 20px;
  background: #fff;
}

.denuncia-select {
  width: 100%;
  max-width: 420px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e8ecf3;
  margin-bottom: 10px;
}

.denuncia-info {
  display: none;
  background: #f7f9fc;
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
  color: #111;
  font-size: 14px;
  line-height: 1.45;
}

.denuncia-btn.is-disabled,
.denuncia-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

#paso3 {
    display: none;
}

.rrss_foot {
    list-style: none;
}

/* ===== Compacto como referencia (2da) - GLOBAL form 1167 ===== */
.wpcf7[data-wpcf7-id="1167"] form.wpcf7-form {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Menos separación entre filas */
.wpcf7[data-wpcf7-id="1167"] p {
  margin: 0 0 8px 0 !important;
}

/* Label más pegado */
.wpcf7[data-wpcf7-id="1167"] label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  margin: 0 0 4px 0 !important;
}

/* Inputs más “bajos” y compactos */
.wpcf7[data-wpcf7-id="1167"] input[type="text"],
.wpcf7[data-wpcf7-id="1167"] input[type="email"],
.wpcf7[data-wpcf7-id="1167"] input[type="tel"],
.wpcf7[data-wpcf7-id="1167"] textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  background: #f2f2f2;
  color: #111;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.2;
  outline: none;
}

/* Placeholder */
.wpcf7[data-wpcf7-id="1167"] ::placeholder { color: #9aa0a6; }

/* Textarea compacta */
.wpcf7[data-wpcf7-id="1167"] textarea {
  min-height: 90px !important;
  resize: vertical;
}

/* Botón */
.wpcf7[data-wpcf7-id="1167"] input[type="submit"] {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 12px 26px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #6b5cff, #4b7bff);
  margin-top: 8px;
}

/* ===== +56 ===== */
.wpcf7[data-wpcf7-id="1167"] span.wpcf7-form-control-wrap[data-name="tel-200"]{
  position: relative;
  display: block;
}

.wpcf7[data-wpcf7-id="1167"] span.wpcf7-form-control-wrap[data-name="tel-200"]::before {
  content: "+56";
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  background: #6b5cff;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 10px;
  border-radius: 8px;
}

.wpcf7[data-wpcf7-id="1167"] span.wpcf7-form-control-wrap[data-name="tel-200"] input[type="tel"] {
  padding-left: 66px;
}

/* =========================
   FIX MODAL BOOTSTRAP SCROLL + CLOSE BUTTON
   ========================= */

/* 1) Asegura que el modal y el backdrop estén por encima del menú */
.modal {
  z-index: 20000 !important;
}

.modal-backdrop {
  z-index: 19999 !important;
}

/* 2) Evita que el modal se salga de la pantalla */
.modal-dialog {
  margin: 1rem auto;
  max-height: calc(100vh - 2rem);
}

/* 3) Limita altura del contenido y permite scroll interno */
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;

  pointer-events: auto;
  color: var(--bs-modal-color);
  background-color: var(--bs-modal-bg);
  background-clip: padding-box;
  border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
  border-radius: var(--bs-modal-border-radius);
  outline: 0;

  max-height: calc(100vh - 2rem);
  overflow: hidden; /* importante: el scroll va en .modal-body */
}

/* 4) Scroll solo en el body del modal */
.modal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(100vh - 2rem); /* fallback */
}

/* 5) Si usas header, lo dejamos sticky para que la X siempre se vea */
.modal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bs-modal-bg);
  border-bottom: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
}

/* 6) Botón cerrar siempre clickeable y visible */
.modal-header .btn-close {
  position: relative;
  z-index: 11;
}

/* =========================
   SI NO TIENES .modal-header (X dentro del body)
   Activa este bloque y la X quedará "pegada" arriba
   ========================= */
#modalForm .btn-close {
  position: sticky;
  top: 10px;
  z-index: 20;
  float: right;
}

/* Si tu menú es fijo (fixed/sticky) y tapa el modal,
   este padding-top ayuda a que no quede pegado arriba */
.modal-dialog {
  padding-top: 0.5rem;
}

/* Bonus: si el contenido es muy grande en móvil */
@media (max-width: 576px) {
  .modal-dialog {
    margin: 0.5rem;
    max-height: calc(100vh - 1rem);
  }

  .modal-content {
    max-height: calc(100vh - 1rem);
  }
}



/* Por defecto: se ve blanco, color oculto */
.cabecera_ppal .logo_ppal.logo-blanco { display: inline-block; }
.cabecera_ppal .logo_ppal.logo-color  { display: none; }

/* Al hacer scroll: se ve color, blanco oculto */
.cabecera_ppal.scrolling .logo_ppal.logo-blanco { display: none; }
.cabecera_ppal.scrolling .logo_ppal.logo-color  { display: inline-block; }

/* =========================
   SINGLE POST (ENTRADA)
   ========================= */

/* En entrada: SIEMPRE color (top y scroll) */
body.single-post .cabecera_ppal .logo_ppal.logo-blanco { display: none !important; }
body.single-post .cabecera_ppal .logo_ppal.logo-color  { display: inline-block !important; }

/* En entrada: por si tenías filtros tipo brightness(0) */
body.single-post .cabecera_ppal .logo_ppal.logo-color  { filter: none !important; }

/* =========================================
   SINGLE POST: forzar logo A COLOR (real)
   aunque el tema use background / pseudo
   ========================================= */

/* 1) En entradas: NO permitas filtros en el contenedor del logo */
body.single-post header#head .logo,
body.single-post header#head .logo a,
body.single-post header#head .logo img {
  filter: none !important;
}

/* 2) Si el tema usa background-image para el logo blanco, lo apagamos */
body.single-post header#head .logo a{
  background-image: none !important;
}

/* 3) Apaga cualquier pseudo-elemento que esté dibujando el logo blanco */
body.single-post header#head .logo a::before,
body.single-post header#head .logo a::after,
body.single-post header#head .logo::before,
body.single-post header#head .logo::after{
  content: none !important;
  background: none !important;
}

/* 4) Asegura que el IMG (color) se vea sí o sí */
body.single-post header#head img.logo_ppal{
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

/* 5) Si por algún motivo sigue existiendo el blanco, lo matamos */
body.single-post header#head img.logo_ppal.logo-blanco{
  display: none !important;
}

/* =========================
   SINGLE POST: LOGO 150px
   ========================= */
body.single-post img#siteLogo{
  width: 150px !important;
  max-width: none !important;
  height: auto !important;
}

/* Por si el contenedor lo estaba limitando */
body.single-post header#head .logo{
  max-width: none !important;
  width: auto !important;
}
