/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Generales */
html, body{
	overflow-x: hidden;
}

.margin-top-auto{
	margin-top: auto !important;
}

.back-top:hover{
	cursor: ponter;
}

.p-no-bottom p:last-child{
	margin-bottom: 0;
}

/* Carrusel */
@media (min-width: 1025px){
	.carrusel-izquierda .elementor-swiper-button-prev{
		display: none;
	}
	
	.carrusel-izquierda .elementor-swiper-button-next{
		right: -35px;
	}
	
}

/* Footer */
.social-footer.elementor-widget-icon-list > ul > li:nth-child(3) > a > span.elementor-icon-list-icon > svg
{
	height: 24px !important;
	width: auto !important;
}

.elementor-widget-icon-list:is(.social-footer) > ul > li:nth-child(3) > a svg path{
	transition: all .3s ease;
}


.elementor-widget-icon-list:is(.social-footer) > ul > li:nth-child(3):hover > a svg path
{
	fill: #B7D8F1;
}


.social-tab > div > span:nth-child(3) > a > svg:hover path{
	fill: #B7D8F1;
}


.elementor-swiper-button svg{
    transition: all .3s ease;
}

.elementor-swiper-button:hover svg{
    transform: scale(1.25) !important;
}

#mapa-footer > div > div > div > div > div.swmap-search-header.flex.flex-col.gap-2
{
	display: none;
}


/* ---------- Formularios ---------- */

/* Textarea: sin resize */
.effect-label-form form textarea.effect-label-control {
  resize: none;
  padding-top: 15px;
}

.effect-label-form form {
  position: relative;
}

.effect-label-form form .effect-label-field {
  position: relative;
  margin-bottom: 1.25rem;
}

.effect-label-form form .effect-label-control {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 5px;
  padding-top: 15px;
}

/* Label flotando en el input */
.effect-label-form form .effect-label-label {
  position: absolute;
  left: 20px;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  line-height: 1.2;
  color: #777;
  pointer-events: none;
  transition: all 0.18s ease-out;
  margin: 0 !important;
  background: transparent;
  z-index: 1;
}


.effect-label-form form .elementor-field-type-telephone .effect-label-label {
  left: 57px;
}

.effect-label-form form .elementor-field-type-telephone > div > input::placeholder{
  opacity: 0;
}



.effect-label-form form .effect-label-field.elementor-field-type-textarea .effect-label-label {
  top: 5% !important;
  transform: translateY(0) !important;
}



/* Estados de focus o con contenido */
.effect-label-form form .effect-label-field.is-focused .effect-label-label,
.effect-label-form form .effect-label-field.is-filled .effect-label-label,
.effect-label-form form .effect-label-field.filled .effect-label-label {
  top: 4px;
  transform: translateY(0);
  font-size: 0.6rem;
  z-index: 999;
}




/* JUSTIFICAR SLIDES */
.just-descri .elementor-slide-description {
	text-align: justify !important; 
}



/* SLIDER HOME IMAGEN DERECHA / TEXTO IZQUIERDA */

#km-slide-home .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  min-height: 450px;
}

/* IMAGEN DERECHA */
#km-slide-home .elementor-slide-bg,
#km-slide-home .swiper-slide-bg {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    background-repeat: no-repeat !important;
    z-index: 1;
}

/* CONTENEDOR DE TEXTO */
#km-slide-home .swiper-slide-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  height: 100%;
  text-align: left;
}

/* BLOQUE DE TEXTO (título + descripción) */
#km-slide-home .swiper-slide-contents {
  flex: 0 0 58%;             /* ancho general del bloque */
  max-width: 760px;          /* control de límite visual */
  padding: 20px 5% 50px 0%;  /* ajusta verticalmente el bloque */
  margin-left: 0%;          /* empuja un poco hacia la izquierda */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
}

/* TÍTULO */
#km-slide-home .elementor-slide-heading {
  max-width: 680px !important;
  line-height: 1.05;
  margin-bottom: 12px;
  text-align: left;
}

/* DESCRIPCIÓN */
#km-slide-home .elementor-slide-description {
  max-width: 560px !important;
  line-height: 1.38;
  margin-top: 6px;
  opacity: 0.98;
  text-align: left;
	text-align: justify; 
}

/* RESPONSIVE – TABLET Y CELULAR */
@media (max-width: 1024px) {

  /* El slide se apila en columnas */
  #km-slide-home .swiper-slide {
    flex-direction: column;
    min-height: auto !important;
    height: auto !important;

    /* Fix del salto: reducir padding del slide completo */
    padding-top: 40px !important;
    padding-bottom: 30px !important;
  }

  /* Imagen siempre visible, fluida, proporcional */
  #km-slide-home .elementor-slide-bg,
  #km-slide-home .swiper-slide-bg {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 280px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    flex-shrink: 0 !important;
    order: 2 !important;
  }

  /* Contenedor del texto */
  #km-slide-home .swiper-slide-inner {
    flex-direction: column;
    width: 100%;
    height: auto !important;
  }

  /* Bloque de texto centrado y espacioso */
  #km-slide-home .swiper-slide-contents {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 8% !important;        /* Quitamos el padding-top excesivo */
    margin: 0 auto;
    align-items: center !important;
    text-align: center !important;
    order: 1 !important;
    z-index: 2;

    /* Centrado vertical estable */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  /* Título y descripción centrados */
  #km-slide-home .elementor-slide-heading,
  #km-slide-home .elementor-slide-description {
    max-width: 90% !important;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }
}

/* FORZAR CENTRADO REAL DEL TÍTULO EN CELULAR */
@media (max-width: 767px) {

  /* Contenedor del texto */
  #km-slide-home .swiper-slide-inner .swiper-slide-contents {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    align-items: center !important;

    /* NUEVO: eliminar desplazamiento lateral interno */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* TÍTULO – vencer inline styles de Elementor */
  #km-slide-home .swiper-slide-inner .swiper-slide-contents h2.elementor-slide-heading,
  #km-slide-home .swiper-slide-inner .swiper-slide-contents .elementor-slide-heading {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;

    /* NUEVO: quitar padding lateral que lo empuja a la derecha */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* DESCRIPCIÓN – igual tratamiento */
  #km-slide-home .swiper-slide-inner .swiper-slide-contents .elementor-slide-description {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;

    /* NUEVO */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
	
  /* Contenedor completo del slide: corregir padding del SLIDE */
  #km-slide-home .swiper-slide {
    padding-top: 30px !important;
    padding-bottom: 20px !important;
  }

  /* Contenedor del texto – evitar salto y evitar corte arriba */
  #km-slide-home .swiper-slide-contents {
    min-height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;

    /* NUEVO: quitar paddings que movían el heading a la derecha */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Título – evitar corte arriba */
  #km-slide-home .elementor-slide-heading {
    margin-top: 0 !important;
  }
}
























/* SEPARADOR CIRCULAR ENTRE SECCIONES */
#km-separador-circular {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background-color: #ffffff; /* círculo blanco exterior */
  border-radius: 50%;
  z-index: 5;
  top: -60px;
}

/* círculo azul interior perfectamente centrado */
#km-separador-circular::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: #69b5e9;
  border-radius: 50%;
}

/* Ajustes responsivos */
@media (max-width: 767px) {
  #km-separador-circular {
    width: 80px;
    height: 80px;
    top: -40px;
  }

  #km-separador-circular::before {
    width: 40px;
    height: 40px;
  }
}
/* Evitar que Elementor deforme el círculo */
#km-separador-circular,
#km-separador-circular::before {
  flex-shrink: 0 !important;
  aspect-ratio: 1 / 1 !important; /* fuerza proporción perfecta */
}










/* SECCIÓN NOSOTROS / EFECTOS VISUALES */

/* Fondo azul: desaparece una vez y no vuelve */
.km-bloque-azul {
  transition: opacity 1.2s ease-out;
  opacity: 1;
}

.km-bloque-azul.vanish {
  opacity: 0;
  pointer-events: none;
  visibility: hidden; /* asegura que nunca reaparezca */
}

/* EFECTO ENTRE SLIDES DEL CARRUSEL - OUTGOING VANISH */

/* Estado base de las imágenes */
.km-carrusel-nosotros .swiper-slide img {
  transition: opacity 3.0s ease-in-out;
  opacity: 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* CLASE para la IMAGEN SALIENTE (OUTGOING) — el vanish se aplica a esta clase */
.km-carrusel-nosotros .swiper-slide.vanish-out img {
  opacity: 0;
  transform: none;
}

/* Aseguramos que la imagen entrante no reciba el vanish */
.km-carrusel-nosotros .swiper-slide.swiper-slide-active img {
  transform: none;
}

@media (min-width: 1025px){
	.km-carrusel-nosotros .elementor-swiper-button-prev{
		display: none !important;
	}
	

}


/* SEPARADOR RECTANGULAR REUTILIZABLE */

.km-separador-barra {
  position: relative;
  width: 350px;
  height: 30px;
  margin: -20px auto;        /* empuja 15px hacia arriba y hacia abajo */
  background-color: #1647d3;
  border-radius: 8px;
  z-index: 5;
}

/* Responsivo */
@media (max-width: 767px) {
  .km-separador-barra {
    width: 140px;
    height: 20px;
    margin: -10px auto;
  }
}











/* CARRUSEL DE CLIENTES – KM CLIENTES */

/* Alinea todos los slides en la misma base */
#km-clientes .swiper-wrapper {
  align-items: flex-end !important;
  min-height: 510px; /* evita el salto */
}

/* Cada slide */
#km-clientes .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  box-sizing: border-box;
}

/* Marco blanco uniforme */
#km-clientes .swiper-slide-inner {
  width: 100%;
  height: 387px; /* altura base de los bloques laterales */
  border-radius: 90px 90px 0 0; /* redondeado superior */
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 60px; /* controla la distancia del logo desde arriba */
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: all 0.45s ease;
  margin: 20px;
}

/* Logo transparente dentro de cada slide */
#km-clientes .swiper-slide-inner img {
  width: 75%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.45s ease;
}

/* ESTADOS DE SLIDES */

/* Desactiva el resalte del slide "activo" real (Swiper toma como el de la derecha) */
#km-clientes .swiper-slide-active .swiper-slide-inner {
  height: 387px; /* igual que los laterales */
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

/* Fuerza el resalte al slide siguiente (el que queda visualmente al centro) */
#km-clientes .swiper-slide-active + .swiper-slide .swiper-slide-inner {
  height: 469px; /* central más alto */
  z-index: 20;
}

/* Slides laterales (izquierda y derecha, misma base) */
#km-clientes .swiper-slide-prev .swiper-slide-inner,
#km-clientes .swiper-slide-next .swiper-slide-inner {
  height: 300px;
  z-index: 10;
}

/* RESPONSIVE */
/* === RESPONSIVE: ANULAR RESALTE Y MANTENER FLUJO SWIPER === */

/* Tablet y pantallas grandes móviles */
@media (max-width: 1024px) {
  /* evita saltos en el wrapper */
  #km-clientes .swiper-wrapper {
    align-items: flex-end !important;
    min-height: 360px !important; /* evita saltos, ajusta si quieres +/–20px */
  }

  /* cada slide mantiene su espacio y no se encoge */
  #km-clientes .swiper-slide {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    height: 360px !important; /* altura total del slide (coincide con wrapper) */
  }

  /* marco interno uniforme (igual para todos) */
  #km-clientes .swiper-slide-inner {
    width: 260px !important;
    height: 260px !important;
    padding-top: 50px !important;
    border-radius: 90px 90px 0 0 !important;
    margin: 20px !important;
    overflow: hidden !important;
    transition: transform .35s ease, box-shadow .35s ease !important;
  }

  #km-clientes .swiper-slide-inner img {
    width: 65% !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform .35s ease !important;
  }

  /* === ANULAMOS CUALQUIER REGLA DE RESALTE ===
     no dejamos que el elemento central crezca más que los demas */
  #km-clientes .swiper-slide-active + .swiper-slide .swiper-slide-inner,
  #km-clientes .swiper-slide-prev .swiper-slide-inner,
  #km-clientes .swiper-slide-next .swiper-slide-inner,
  #km-clientes .swiper-slide-active .swiper-slide-inner {
    height: 260px !important;
  }
}

/* Móvil (smartphones) */
/* ================================
   RESPONSIVE – TABLET (≤1024px)
================================ */
@media (max-width: 1024px) {

  /* Altura total del slide */
  #km-clientes .swiper-slide {
    height: 420px !important; /* antes 360px */
  }

  /* Tarjeta blanca */
  #km-clientes .swiper-slide-inner {
    width: 260px;
    height: 320px !important; /* antes 260px */
    padding-top: 50px;
    border-radius: 90px 90px 0 0;
  }

  /* Logo */
  #km-clientes .swiper-slide-inner img {
    width: 65%;
  }

  /* TODOS iguales – sin resaltar */
  #km-clientes .swiper-slide-active .swiper-slide-inner,
  #km-clientes .swiper-slide-active + .swiper-slide .swiper-slide-inner,
  #km-clientes .swiper-slide-prev .swiper-slide-inner,
  #km-clientes .swiper-slide-next .swiper-slide-inner {
    height: 320px !important;
  }
}


/* ================================
   RESPONSIVE – MÓVIL (≤768px)
================================ */
@media (max-width: 768px) {

  /* Altura total del slide */
  #km-clientes .swiper-slide {
    height: 360px !important; /* antes 300px */
  }

  /* Tarjeta blanca */
  #km-clientes .swiper-slide-inner {
    width: 200px;
    height: 260px !important; /* antes 220px */
    padding-top: 40px;
    border-radius: 70px 70px 0 0;
  }

  /* Logo */
  #km-clientes .swiper-slide-inner img {
    width: 70%;
  }

  /* TODOS iguales – sin resaltar */
  #km-clientes .swiper-slide-active .swiper-slide-inner,
  #km-clientes .swiper-slide-active + .swiper-slide .swiper-slide-inner,
  #km-clientes .swiper-slide-prev .swiper-slide-inner,
  #km-clientes .swiper-slide-next .swiper-slide-inner {
    height: 260px !important;
  }
}















/* SEPARADOR ANIMADO NUESTROS CLIENTES */

.km-separador-animado>.elementor-divider>span.elementor-divider-separator{
	opacity:0;
	width:0px!important;
    transition: 0.9s ease, opacity 0.3s ease;
    background: #fff !important;
	height: 4px;
    max-height: 4px;
    min-height: 4px;
    border: none !important;
    position: relative;
    margin: auto;
}

.km-separador-animado>.elementor-divider{
	    padding: 0!important;
}

div.km-separador-animado>.elementor-divider .elementor-divider-separator:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
	top: -6px;
}

div.km-separador-animado>.elementor-divider .elementor-divider-separator:before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
top: -6px;
}

.km-separador-animado.animate-show>.elementor-divider>span.elementor-divider-separator{
	opacity:1;
	width:100%!important;
}

/* Responsive */
/* TABLET */
@media (max-width: 1024px) {
  #km-separador-animado {
    max-width: 800px !important; /* antes ocupaba todo → ahora deja margen */
  }
}

/* CELULAR */
@media (max-width: 768px) {
  #km-separador-animado {
    max-width: 350px !important; /* más corto para que no se corte con los bordes */
  }

  #km-separador-animado .km-dot {
    width: 10px;
    height: 10px;
  }
}




















/* SLIDER PROYECTOS HOME – IMAGEN IZQUIERDA / TEXTO DERECHA */

.km-slide-proyectos .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* texto a la derecha */
  overflow: visible !important; /* permite que el botón se vea fuera */
  min-height: 450px;
}

/* IMAGEN IZQUIERDA (centrada visualmente) */
.km-slide-proyectos .elementor-slide-bg,
.km-slide-proyectos .swiper-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 50% !important;
  height: 100% !important;
  background-position: right center;
  background-position-x: 25%; /* mueve la imagen hacia la derecha */
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

/* CONTENEDOR DE TEXTO */
.km-slide-proyectos .swiper-slide-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

/* BLOQUE DE TEXTO */
.km-slide-proyectos .swiper-slide-contents {
  flex: 0 0 58%;
  max-width: 760px;
  padding: 80px 10% 10px 15%; /* centrar texto verticalmente */
  margin-right: -3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
}

/* TÍTULO */
.km-slide-proyectos .elementor-slide-heading {
  max-width: 680px !important;
  line-height: 1.05;
  margin-bottom: 12px;
  text-align: left;
}

/* DESCRIPCIÓN */
.km-slide-proyectos .elementor-slide-description {
  max-width: 560px !important;
  line-height: 1.38;
  margin-top: 6px;
  opacity: 0.98;
  text-align: left;
}

/* BOTÓN – fuera del fondo azul */
.km-slide-proyectos .elementor-slide-button {
  position: relative;
  margin-top: 40px;           /* separación con el texto */
  transform: translate(150%, 160%); /* 150% corre a la derecha, 160% baja fuera del fondo */
  z-index: 10;
  transition: transform 0.3s ease;
}

/* RESPONSIVE – TABLET Y CELULAR */
@media (max-width: 1024px) {
  .km-slide-proyectos .swiper-slide {
    flex-direction: column;
    min-height: auto;
  }

  .km-slide-proyectos .elementor-slide-bg,
  .km-slide-proyectos .swiper-slide-bg {
    position: relative !important;
    width: 100% !important;
    height: 300px !important;
    order: 2;
    background-size: cover !important;
    background-position: center;
  }

  .km-slide-proyectos .swiper-slide-inner {
    flex-direction: column;
  }

  .km-slide-proyectos .swiper-slide-contents {
    width: 100% !important;
    max-width: 100% !important;
    padding: 40px 6% !important;
    margin-right: 0;
    align-items: center;
    text-align: center;
  }

  .km-slide-proyectos .elementor-slide-heading,
  .km-slide-proyectos .elementor-slide-description {
    max-width: 100%;
    text-align: center;
  }

  /* botón centrado debajo del texto en móviles */
  .km-slide-proyectos .elementor-slide-button {
    transform: none !important;
    margin-top: 20px !important;
  }
}















/*separador infraestructura*/
/* LÍNEAS ANIMADAS MULTIPLES */

/* Contenedor individual de cada línea */
.km-linea-animada {
  position: relative;
  width: 100%;
  height: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;

/* Ajuste visual */
  margin-bottom: 0;    /* sin espacio debajo */
  z-index: 5;          /* encima del fondo */
}

/* Línea principal */
.km-linea-animada::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 2px;
  width: 0%;
  background-color: #ffffff;
  transform: translate(-50%, -50%);
  border-radius: 4px;
  transition: width 1.8s ease-in-out;
}

/* Círculos (uno izquierdo y uno derecho) */
.km-linea-animada .km-dot {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ffffff;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 1; /* visibles desde el inicio */
  transition: left 1.8s ease-in-out; /* se mueven junto con la línea */
}

/* Posición inicial: ambos centrados */
.km-linea-animada .km-dot.left,
.km-linea-animada .km-dot.right {
  left: 50%;
}

/* Activación */
.km-linea-animada.active::before {
  width: 100%;
}

/* Movimiento sincronizado con la línea */
.km-linea-animada.active .km-dot.left {
  left: 0%;
}

.km-linea-animada.active .km-dot.right {
  left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .km-linea-animada .km-dot {
    width: 10px;
    height: 10px;
  }
  .km-linea-animada:nth-child(2),
  .km-linea-animada:nth-child(3) {
    display: none;
  }
}

@media (max-width: 1024px) {
    /* Pasar de 3 a 2 líneas visibles */
    .km-linea-animada:nth-child(3) {
        display: none;
    }
}

/* VARIANTES DE POSICIÓN (solo márgenes / offsets) */

/* Versión estándar: separador debajo del carrusel */
.km-linea-animada--infraestructura {
  margin-top: -119px;
}

/* Variante con botón debajo del título */
.km-linea-animada--boton {
  margin-top: -168px;
}

/* Variante con texto extra debajo */
.km-linea-animada--texto {
  margin-top: -30px;
}










/* Línea separadora blanca al lado de mapa SEPARADOR SECCIÓN CONTACTO */

.separador-contacto {
  position: relative;
}

/* Línea vertical */
.separador-contacto::before {
    content: "";
    position: absolute;
    left: 44%;
    transform: translateX(-50%);
	top: calc(138% - 135px);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
	transition: 0.6s;
}


/* Círculo superior */
.separador-contacto::after {
	content: "";
    position: absolute;
    left: 43.95%;
    bottom: 0;
    height: 0px;
    width: 2px;
    background: white;
    transition: 0.6s;
}

.separador-contacto.separador-animar::after {
	height: 170px
}

.separador-contacto.separador-animar::before{
	top: calc(88% - 135px);
}

/* RESPONSIVE CELULAR */
@media (max-width: 768px) {
  .separador-contacto::before {
    display: none;
  }

  .separador-contacto::after {
    display: none;
  }
}

/* RESPONSIVE TABLET */
@media (max-width: 1024px) {
.separador-contacto::before {
    top: 50%;             /* lo bajamos un poco más en móvil */
    height: 200px;
  }

  .separador-contacto::after {
    top: calc(92% - 150px);
    width: 10px;
    height: 10px;
  }
}












/* SLIDER 2 PROYECTOS INTERNA – IMAGEN IZQUIERDA / TEXTO DERECHA */

.slide-proyectos .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* texto a la derecha */
  overflow: visible !important; /* permite que el botón se vea fuera */
  min-height: 450px;
}

/* IMAGEN IZQUIERDA (centrada visualmente) */
.slide-proyectos .elementor-slide-bg,
.slide-proyectos .swiper-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 50% !important;
  height: 100% !important;
  background-position: right center;
  background-position-x: 25%; /* mueve la imagen hacia la derecha */
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

/* CONTENEDOR DE TEXTO */
.slide-proyectos .swiper-slide-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

/* BLOQUE DE TEXTO */
.slide-proyectos .swiper-slide-contents {
  flex: 0 0 58%;
  max-width: 760px;
  padding: 55px 10% 80px 15%; /* centrar texto verticalmente */
  margin-right: -3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
}

/* TÍTULO */
.slide-proyectos .elementor-slide-heading {
  max-width: 680px !important;
  line-height: 1.05;
  margin-bottom: 12px;
  text-align: left;
}

/* DESCRIPCIÓN */
.slide-proyectos .elementor-slide-description {
  max-width: 560px !important;
  line-height: 1.38;
  margin-top: -10px;
  opacity: 0.98;
  text-align: left;
}

.slide-proyectos .elementor-swiper-button-next{
	right: 0 !important;
}


/* RESPONSIVE – TABLET Y CELULAR */

@media (max-width: 1024px) {

  /* El slide se apila en columna */
  .slide-proyectos .swiper-slide {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
	
  .slide-proyectos .elementor-slide-bg,
  .slide-proyectos .swiper-slide-bg {
    position: relative !important;     /* ya no absolute */
    inset: unset !important;           /* elimina top/left */
    width: 100% !important;
    height: auto !important;
    min-height: 260px !important;      /* puedes ajustar */
    display: block !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    z-index: 1 !important;
    margin: 0 auto !important;
    order: 1 !important;               /* imagen ARRIBA */
  }

  /* Contenedor del texto */
  .slide-proyectos .swiper-slide-inner {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    order: 2 !important;               /* texto ABAJO */
    padding: 0 !important;
    margin: 0 !important;
	z-index: 2 !important;
	  position: relative !important;
  }

  /* Bloque de texto */
  .slide-proyectos .swiper-slide-contents {
    width: 100% !important;
    max-width: 100% !important;
    padding: 35px 8% !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .slide-proyectos .elementor-slide-heading,
  .slide-proyectos .elementor-slide-description {
    max-width: 90% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Botón centrado */
  .slide-proyectos .elementor-slide-button {
    transform: none !important;
    margin: 20px auto 0 auto !important;
  }
}











/* GRID DE 3 COLUMNAS SOLO EN MÓVIL PARA LAS PESTAÑAS DE PRODUCTO */

@media (max-width: 767px) {

    /* Apunta al widget Tabs con nuestra clase */
    .km-tabs-grid .elementor-tabs-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px; /* separacion entre pestañas */
        justify-items: center;
        align-items: center;
    }

    /* Cada pestaña */
    .km-tabs-grid .elementor-tab-title {
        width: 100%;
        text-align: center;
        margin: 0 !important;
    }

    /* Limpia comportamientos internos del widget */
    .km-tabs-grid .elementor-tabs-wrapper::-webkit-scrollbar {
        display: none;
    }
	
}











/* MATERIALS Y ACABADOS EN PRODUCTOS – 2 IMÁGENES LADO A LADO SOLO EN CELULAR */
@media (max-width: 767px) {

  /* Asegura que el contenedor padre organice sus hijos */
  .km-mats,
  .km-mats .elementor-widget-wrap,
  .km-mats .elementor-container,
  .km-mats .elementor-row {
      width: 100% !important;
      box-sizing: border-box !important;
  }

  /* Forzamos que el wrapper que contiene los 2 cuadros de imagen sea fila */
  .km-mats .elementor-container,
  .km-mats .elementor-widget-wrap,
  .km-mats .elementor-row,
  .km-mats .elementor-column-wrap {
      display: flex !important;
      flex-wrap: wrap !important;
      justify-content: center !important;
      gap: 0 !important;
  }

  /* Cada widget de imagen dentro de ese contenedor ocupa 50% */
  .km-mats .elementor-widget-image,
  .km-mats .elementor-widget-image-box,
  .km-mats .elementor-widget-image img,
  .km-mats .elementor-widget-image .elementor-image,
  .km-mats .elementor-widget-image-box .elementor-image {
      width: 50% !important;
      max-width: 50% !important;
      padding: 0 10px !important;
      box-sizing: border-box !important;
  }

  /* Si la estructura usa columnas internas */
  .km-mats .elementor-column,
  .km-mats .elementor-column .elementor-widget-image {
      width: 50% !important;
      max-width: 50% !important;
      padding: 0 10px !important;
      box-sizing: border-box !important;
  }

  /* Asegura imagen responsiva */
  .km-mats .elementor-widget-image img,
  .km-mats img {
      width: 100% !important;
      height: auto !important;
      display: block !important;
  }

  /* Títulos ocupen 100% */
  .km-mats .elementor-widget-heading,
  .km-mats .elementor-heading-title {
      width: 100% !important;
      text-align: left !important;
  }

  /* texto bajo imagen centrado */
  .km-mats .elementor-image-box-title,
  .km-mats .elementor-image-box-description,
  .km-mats .elementor-widget-image figcaption {
      text-align: center !important;
  }

}













/* FIX SCROLL HORIZONTAL MOBILE */

@media (max-width: 767px) {

  /* Evitar que los contenedores de tabs se salgan */
  .e-n-tabs,
  .e-n-tabs > * {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Tab wrapper no debe expandirse más del viewport */
  .e-n-tabs-wrapper {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Evitar que el contenido de las pestañas genere desbordamiento */
  .e-n-tabs-content {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Evita que el tab activo empuje el ancho */
  .e-n-tab-title {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}











/* TEXTO AL LADO DE MENÚ HAMBURGUESA */
@media (max-width: 767px) {
  .km-menu-toggle .elementor-menu-toggle::after {
    content: " Menú";
    font-size: 16px;
    margin-left: 6px;
    vertical-align: middle;
    color: inherit;
  }
}



/* ESTILOS SOLO PARA MOVIL SUBMENU */
@media (max-width: 767px) {

  /* SUBMENÚS: que todo sea bloque y ordenado */
  .km-menu-movil .elementor-nav-menu--dropdown .menu-item a {
    display: block !important;
    padding: 12px 18px !important;
    margin: 6px 0 !important;
    border-radius: 12px !important;
  }

  /* SANGRÍA a la derecha SOLO para submenús */
  .km-menu-movil .elementor-nav-menu--dropdown .menu-item {
    padding-left: 18px !important;
  }




  /* Mantener texto y flecha en la misma línea */
  .km-menu-movil .menu-item-has-children > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  /* Flecha al lado del texto, NUNCA debajo */
  .km-menu-movil .menu-item-has-children > a .sub-arrow {
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 0px !important;
    margin-top: 0 !important;
    position: static !important;
  }

  /* (Opcional) evitar que el svg tenga margen extraño */
  .km-menu-movil .menu-item-has-children > a .sub-arrow svg {
    margin: 0 !important;
    padding: 0 !important;
  }

}











/* FLECHAS HOVER – CLASE .km-arrow */

/* Reset del contenedor */
.km-arrow {
  background: transparent !important;
  opacity: 1 !important;     
  box-shadow: none !important;
  border: none !important;
  transform: none !important;
}

/* Eliminar cualquier pseudo-elemento que aparezca */
.km-arrow::before,
.km-arrow::after {
  content: none !important;
  display: none !important;
}

/* Icono interno hover */
.km-arrow i,
.km-arrow svg,
.km-arrow .eicon,
.km-arrow .elementor-icon,
.km-arrow .elementor-button-icon {
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center center;
  opacity: 0.7;
}

/* Hover SOLO en el icono */
.km-arrow:hover i,
.km-arrow:hover svg,
.km-arrow:hover .eicon,
.km-arrow:hover .elementor-icon,
.km-arrow:hover .elementor-button-icon {
  transform: scale(1.22);
  opacity: 1;
}











/* BOTÓN WHATSAPP */

.whatsapp-elementor-btn .elementor-button {
    /* **CÓDIGO PARA FORZAR LA FORMA REDONDA Y AUMENTAR EL TAMAÑO** */
    width: 56px !important; 
    height: 56px !important; 
    border-radius: 50% !important; /* FUERZA EL CÍRCULO */
    padding: 0 !important; 
    
    /* Aseguramos la alineación del icono */
    display: flex;
    align-items: center;
    justify-content: center;

}

/* Ajuste del icono */
.whatsapp-elementor-btn .elementor-button i,
.whatsapp-elementor-btn .elementor-button .elementor-button-icon {
    font-size: 30px !important; /* ¡ICONO MÁS GRANDE! */
    width: 30px !important; /* Asegura que el contenedor de icono tenga el mismo tamaño */
    height: 30px !important;
}












/* SEPARADOR DE HEADER */

:root {
  --km-white: #ffffff;      /* color separador en header azul (Home) */
  --km-blue: #1647d3;       /* color separador en headers blancos */
  --km-line-height: 2px;    /* grosor de la línea */
  --km-dot-size: 14px;      /* tamaño de los puntos */
  --km-offset-y: 0px;       /* separación vertical desde el borde inferior */
}

/* Header base */
.elementor-location-header {
  position: relative;
  overflow: visible !important;
  z-index: 10;
}

/* Contenedor interno PRINCIPAL - solo aquí aplicamos el separador */
.elementor-location-header > .e-con > .e-con-inner {
  position: relative;
  overflow: visible;
}

/* HEADER HOME (fondo azul) */
body.home .elementor-location-header > .e-con > .e-con-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--km-dot-size) / 2 - var(--km-offset-y));
  height: var(--km-dot-size);
  pointer-events: none;
  display: block;

  background:
    radial-gradient(circle, var(--km-white) 40%, transparent 41%) left center no-repeat,
    radial-gradient(circle, var(--km-white) 40%, transparent 41%) right center no-repeat,
    linear-gradient(var(--km-white), var(--km-white)) center center no-repeat;
  background-size:
    var(--km-dot-size) var(--km-dot-size),
    var(--km-dot-size) var(--km-dot-size),
    calc(100% - var(--km-dot-size) * 2) var(--km-line-height);
	z-index:-1;
}

/* HEADER RESTO DE PÁGINAS */
body:not(.home) .elementor-location-header > .e-con > .e-con-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--km-dot-size) / 2 - var(--km-offset-y));
  height: var(--km-dot-size);
  pointer-events: none;
  display: block;

  background:
    radial-gradient(circle, var(--km-blue) 40%, transparent 41%) left center no-repeat,
    radial-gradient(circle, var(--km-blue) 40%, transparent 41%) right center no-repeat,
    linear-gradient(var(--km-blue), var(--km-blue)) center center no-repeat;
  background-size:
    var(--km-dot-size) var(--km-dot-size),
    var(--km-dot-size) var(--km-dot-size),
    calc(100% - var(--km-dot-size) * 2) var(--km-line-height);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  :root {
    --km-dot-size: 13px;
  }
}

@media (max-width: 768px) {
  :root {
    --km-dot-size: 12px;
  }
}

@media (max-width: 480px) {
  :root {
    --km-dot-size: 10px;
  }

  /* En móvil ocultamos por completo el separador */
  body.home .elementor-location-header > .e-con > .e-con-inner::after,
  body:not(.home) .elementor-location-header > .e-con > .e-con-inner::after {
    content: none !important;
    display: none !important;
  }
	
}











/* ESTILOS PARA EL BOTÓN DE VOLVER ARRIBA (SCROLL TO TOP) */

#scrollToTopBtn {
    /* Posicionamiento fijo en la parte inferior derecha */
    position: fixed;
    bottom: 100px; /* Separación del fondo */
    right: 30px; /* Separación de la derecha */
    z-index: 9999; /* Asegura que esté por encima de otros elementos */

    /* Dimensiones y forma circular */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    
    /* Colores y apariencia (usando un azul fuerte y vibrante) */
    background-color: #1647d3; /* Azul Primario, contrasta bien */
    color: #ffffff; /* Flecha blanca */
    border: none;
    cursor: pointer;
    display: flex; /* Para centrar el icono SVG */
    align-items: center;
    justify-content: center;

    /* Sombra suave para un efecto moderno (armonía con tu diseño) */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

    /* Control de visibilidad con JavaScript */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    transform: scale(0.95); /* Ligeramente más pequeño en estado normal */
}

/* Estilo al pasar el ratón (hover) y al presionar (active) */
#scrollToTopBtn:hover {
    background-color: #1565C0; /* Azul ligeramente más claro al pasar el ratón */
    transform: scale(1.0); /* Efecto de crecimiento suave */
}

#scrollToTopBtn:active {
    transform: scale(0.9); /* Efecto de "presionado" */
}

/* Clase que JavaScript agregará para mostrar el botón */
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

/* Ajuste para dispositivos móviles (opcional, pero recomendado) */
@media (max-width: 768px) {
    #scrollToTopBtn {
        bottom: 80px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
}











/* Extender panel blanco del login hasta abajo */
body.login #login {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
}









/* Deshabilitar la opción de expandir (resize) para todos los campos de textarea */
textarea {
    resize: none !important;
}



/* Blog */
.grid-blog .elementor-widget-theme-post-excerpt{
  --lines: 4;
  white-space: normal;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--lines);
  line-clamp: var(--lines);
}


@supports not (-webkit-line-clamp: 1) {
  .grid-blog .elementor-widget-theme-post-excerpt{
    display: block;
    line-height: 1.45;
    max-height: calc(1.45em * var(--lines));
  }
}


/* Flechas slides y carruseles media */
.elementor-widget-slides .elementor-swiper-button svg,
.elementor-widget-media-carousel .elementor-swiper-button svg {
    display: none !important;
}

.elementor-widget-slides .elementor-swiper-button-prev::before,
.elementor-widget-slides .elementor-swiper-button-next::before,
.elementor-widget-media-carousel .elementor-swiper-button-prev::before,
.elementor-widget-media-carousel .elementor-swiper-button-next::before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background-color: currentColor;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
}

.elementor-widget-slides .elementor-swiper-button-prev::before,
.elementor-widget-slides .elementor-swiper-button-next::before{
    width: 45px;
    height: 45px;
	transition: all .3s ease;
}

.elementor-widget-media-carousel .elementor-swiper-button-prev::before,
.elementor-widget-media-carousel .elementor-swiper-button-next::before {
    width: 30px;
    height: 30px;
}

.elementor-widget-slides .elementor-swiper-button-prev:hover::before,
.elementor-widget-slides .elementor-swiper-button-next:hover::before{
    transform: scale(1.1);
}

.elementor-widget-slides .elementor-swiper-button-prev::before,
.elementor-widget-media-carousel .elementor-swiper-button-prev::before {
    -webkit-mask-image: url('/wp-content/uploads/2026/08/anterior-flecha.svg');
    mask-image: url('/wp-content/uploads/2026/08/anterior-flecha.svg');
}

.elementor-widget-slides .elementor-swiper-button-next::before,
.elementor-widget-media-carousel .elementor-swiper-button-next::before {
    -webkit-mask-image: url('/wp-content/uploads/2026/08/siguiente-boton.svg');
    mask-image: url('/wp-content/uploads/2026/08/siguiente-boton.svg');
}



/* Mapa footer */
.km-laf-map {
    position: relative;
    display: block;
    width: 100%;
    height: var(--km-map-height, 225px);
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
}

.km-laf-map .leaflet-container {
    display: block !important;
    width: 100% !important;
    height: var(--km-map-height, 225px) !important;
    min-height: var(--km-map-height, 225px) !important;
    font-family: inherit;
}

.km-laf-map .leaflet-control-zoom {
    border: 0 !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .2);
}

.km-laf-map .leaflet-control-zoom a {
    width: 26px !important;
    height: 26px !important;
    line-height: 26px !important;
    font-size: 18px !important;
}

.km-laf-map .leaflet-marker-shadow {
    display: none !important;
}

.km-laf-map img.leaflet-marker-icon.km-custom-marker {
    width: auto !important;
    height: 55px !important;
    margin-left: -18px !important;
    margin-top: -46px !important;
    object-fit: contain !important;
}

.km-laf-map .leaflet-popup {
    margin-bottom: 6px;
}

.km-laf-map .leaflet-popup-content-wrapper {
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

.km-laf-map .leaflet-popup-content {
    width: 230px !important;
    max-width: calc(100vw - 30px);
    margin: 0 !important;
    line-height: 1.3;
}

.km-laf-map .km-tooltip {
    display: block;
    width: 100%;
}

.km-laf-map .km-tooltip .tooltip-content {
    padding: 11px 13px 12px !important;
}

.km-laf-map .km-tooltip-title {
    margin: 0 0 4px;
    padding-right: 18px;
    color: #18342d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.km-laf-map .km-tooltip-description {
    margin: 0;
    color: #18342d;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.35;
}

.km-laf-map .km-tooltip-data {
    display: none !important;
}

.km-laf-map .km-tooltip-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.km-laf-map .km-tooltip-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 26px;
    padding: 4px 9px;
    border: 0;
    border-radius: 20px;
    background: #f0f0f0;
    color: #18342d !important;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none !important;
    transition: background-color .2s ease;
}

.km-laf-map .km-tooltip-button:hover {
    background: #e5e5e5;
    color: #18342d !important;
}

.km-laf-map .km-tooltip-button.km-empty {
    display: none !important;
}

.km-laf-map .km-tooltip-icon {
    display: block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.km-laf-map .km-tooltip-waze .km-tooltip-icon {
    background-image: url("https://cdn.simpleicons.org/waze/18342d");
}

.km-laf-map .km-tooltip-maps .km-tooltip-icon {
    background-image: url("https://www.gstatic.com/images/branding/product/2x/maps_96in128dp.png");
}

.km-laf-map .leaflet-popup-close-button {
    top: 4px !important;
    right: 5px !important;
    width: 18px !important;
    height: 18px !important;
    padding: 0 !important;
    color: #777 !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 17px !important;
    text-align: center;
    z-index: 20;
}

.km-laf-map .leaflet-popup-tip-container {
    width: 18px;
    height: 9px;
}

.km-laf-map .leaflet-popup-tip {
    width: 10px;
    height: 10px;
    margin: -6px auto 0;
    background: #fff;
    box-shadow: none;
}

@media (max-width: 767px) {
    .km-laf-map {
        width: 100%;
        height: var(--km-map-height, 225px);
        min-width: 0;
        border-radius: 14px;
    }

    .km-laf-map .leaflet-container {
        width: 100% !important;
        height: var(--km-map-height, 225px) !important;
        min-height: var(--km-map-height, 225px) !important;
    }

    .km-laf-map .leaflet-popup-content {
        width: 210px !important;
        max-width: calc(100vw - 24px);
    }

    .km-laf-map .km-tooltip .tooltip-content {
        padding: 10px 11px !important;
    }

    .km-laf-map .km-tooltip-title {
        font-size: 13px;
    }

    .km-laf-map .km-tooltip-description {
        font-size: 9px;
    }

    .km-laf-map .km-tooltip-button {
        min-height: 24px;
        padding: 4px 8px;
        font-size: 9px;
    }

    .km-laf-map .km-tooltip-icon {
        flex-basis: 12px;
        width: 12px;
        height: 12px;
    }
}