/*
 *  Theme Name: Itgen Child
 *   Theme URI: https://tusitio.com
 *    Description: Child theme de Itgen
 *     Author: Tu nombre
 *      Template: itgen
 *       Version: 1.0
 *       */

/* Aquí va tu CSS personalizado */

/* Estilos Home */
/* HEADER CON LOGO CLARO Y OSCURO EN SCROLL: */

.header .logo img.logo-default {
    display: block !important;  /* Mostrar logo claro */
}
.header .logo img.sticky-logo {
    display: none !important;   /* Ocultar logo oscuro */
}

/* Estado sticky (cuando haces scroll) */
.header.sticky-header.sticky .logo img.logo-default {
    display: none !important;   /* Ocultar logo claro */
}
.header.sticky-header.sticky .logo img.sticky-logo {
    display: block !important;  /* Mostrar logo oscuro */
}

/* FIN HEADER CON LOGO CLARO Y OSCURO EN SCROLL: */


/* FOOTER */


/* FIN FOOTER */







/* CAMBIO COLORES FICHAS  SERVICIOS */
.services-card-item::before,
.services-card-item::after {
    background: none !important;
}
/* Tarjeta servicios */
.services-card-item {
    background: #ffffff !important;  
    color: #033a56 !important;       /* Texto principal */
    border-radius: 10px;
    padding: 30px 20px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    text-align: center;
}



/* Contenedor del ícono */
.services-card-item .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

/* Íconos tipo FontAwesome o SVG */
.services-card-item .icon i,
.services-card-item .icon svg {
    font-size: 70px;
    width: 70px;
    height: 70px;
    line-height: 1;
    color: #EFBB16;  /* Dorado corporativo */
    transition: all 0.3s ease;
}

/* Efecto hover en iconos */
.services-card-item:hover .icon i,
.services-card-item:hover .icon svg {
    color: #ffffff;   /* Ícono blanco en hover */
    transform: scale(1.1);
}

/* Título */
.services-card-item h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
    color: #033a56 !important;   /* Texto legible sobre blanco */
    transition: color 0.3s ease;
}

/* Descripción */
.services-card-item p {
    font-size: 15px;
    color: #033a56 !important;   /* Texto legible sobre blanco */
    margin-bottom: 15px;
    text-align: left;
    transition: color 0.3s ease;
}

/* Enlace */
.services-card-item a {
    margin-top: auto;
    font-weight: 600;
    color: #EFBB16 !important;
    text-decoration: none;
    transition: color 0.3s;
}

.services-card-item a:hover {
    color: #ffffff !important;
}

/* Hover tarjeta */
.services-card-item:hover {
    background: #033a56bd !important; /* Azul claro derivado de #033a56 */
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

/* Ajuste de texto en hover */
.services-card-item:hover h2,
.services-card-item:hover p {
    color: #ccccb1 !important;  /* Texto blanco sobre azul */
}



/* FIN CAMBIO COLORES FICHAS  SERVICIOS */


  /* CAMBIO TAMAÑO SLIDER CARRUSEL INICIO */

  /* Ajustar todos los slides a la misma altura */
  .ct-hero-slider .swiper-slide,
  .ct-hero-slider .ct-hero-slider-item {
      height: 100vh !important;  /* elige el alto que prefieras */
  }

  /* Asegurar que el fondo cubra siempre */
  .ct-hero-slider .ct-hero-slider-item {
      background-size: cover !important;
      background-position: center center !important;
  }

@media (max-width: 768px) {
    .ct-hero-slider .swiper-slide,
    .ct-hero-slider .ct-hero-slider-item {
        height: 55vh !important;
    }
}


  
  /* FIN CAMBIO TAMAÑO SLIDER CARRUSEL INICIO */




/* Banner */
/* Panel CTA */
.elementor-widget-shortcode .cta-panel {
  background: #ffffffcc; /* blanco translúcido */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  max-width: 1100px;
  margin: 0 auto;
  padding: 35px 40px;
  position: relative;
}

/* Encabezado: ícono + título */
.elementor-widget-shortcode .cta-panel .cta-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.elementor-widget-shortcode .cta-panel .cta-icon img {
  width: 42px;
  height: auto;
  margin-right: 15px;
}

.elementor-widget-shortcode .cta-panel h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0b1c2c;
  line-height: 1.3;
  margin: 0;
}

.elementor-widget-shortcode .cta-panel .highlight {
  color: #EFBB16; /* amarillo corporativo */
}

/* Cuerpo del texto */
.elementor-widget-shortcode .cta-panel .cta-body p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin: 6px 0;
}

.elementor-widget-shortcode .cta-panel .cta-body .cta-strong {
  font-weight: 600;
  margin-top: 8px;
  color: #000;
}

/* === Footer: Texto + Botón alineados === */
.elementor-widget-shortcode .cta-panel .cta-footer {
  display: flex;
  justify-content: flex-start; /* ya no extremos */
  align-items: center;
  margin-top: 15px;
  gap: 30px; /* espacio entre texto y botón */
}

.elementor-widget-shortcode .cta-panel .cta-footer p {
  margin: 0;
  flex: 1;
  max-width: 70%; /* que el texto se extienda más */
  font-size: 16px;
  line-height: 1.4;
  color: #000;
}

/* Botón */
.elementor-widget-shortcode .cta-panel .cta-button {
  display: inline-block;
  padding: 12px 26px;
  background: #EFBB16;
  color: #072A3F;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.elementor-widget-shortcode .cta-panel .cta-button:hover {
  background: #d8a70f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .elementor-widget-shortcode .cta-panel {
    padding: 25px 20px;
    text-align: center;
  }

  .elementor-widget-shortcode .cta-panel .cta-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .elementor-widget-shortcode .cta-panel .cta-icon img {
    margin: 0 0 10px 0;
  }

  .elementor-widget-shortcode .cta-panel .cta-footer {
    flex-direction: column;
    text-align: center;
    margin-top: 20px;
  }

  .elementor-widget-shortcode .cta-panel .cta-footer p {
    max-width: 100%;
    margin-bottom: 12px;
  }
}


/* fin banner */


/* Seccion soluciones tecnologicas */

.button-1{

  color: #033a56;
  font-weight:bolder;
}

.experience{
color: #d9d9d9;  
}


/* Fin soluciones tecnologicas */

/* === SECCIÓN ACOMPAÑAMIENTO ESTRATÉGICO === */
.section-identidad {
  /* background-image: url('assets/img/acompanamiento/fondo-seccion.jpg'); */
  background-size: cover;
  background-position: center;
  color: #ccccb1;
  padding: 80px 20px;
}

.identidad-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

/* === TEXTO PRINCIPAL === */
.identidad-texto {
  flex: 1 1 50%;
  min-width: 300px;
}

.identidad-texto h2 {
  font-size: 32px;
  font-weight: 700;
  color: #EFBB16;
  margin-bottom: 20px;
}

.identidad-texto .highlight {
  color: #EFBB16;
}

.identidad-texto p {
  font-size: 16px;
  line-height: 1.6;
  color: #ccccb1;
}

/* === CUADRO DE VALORES === */
.identidad-valores {
  flex: 1 1 45%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 25px;
}

.valor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #033a56;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  text-align: center;
}

.valor-item:hover {
  background: #0a3d66;
  transform: translateY(-4px);
}

.valor-item img {
  width: 48px;
  height: auto;
  margin-bottom: 10px;
  filter: brightness(0) invert(1); /* Blanco sobre fondo oscuro */
  transition: transform 0.3s ease; /* Transición suave al hacer hover */
}

.valor-item span {
  color: #EFBB16;
  font-weight: 600;
  text-align: center;
  font-size: 15px;
}

/* === EFECTO HOVER (zoom suave) === */
.identidad-valores img:hover {
  transform: scale(1.1);
}

/* === RESETEO DE FILTROS SVG === */
.identidad-valores img[src$=".svg"] {
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  color: transparent !important;
  fill: unset !important;
  stroke: unset !important;
}

/* === RESPONSIVE DESIGN === */

/* ✅ Tablets horizontales y pantallas medianas (≤900px)
   Mantiene proporción con 2 íconos por fila */
@media (max-width: 900px) {
  .identidad-container {
    flex-direction: column;
    text-align: center;
  }

  .identidad-valores {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
  }

  .valor-item {
    padding: 18px;
  }

  .valor-item img {
    width: 44px;
  }

  .valor-item span {
    font-size: 14px;
  }
}

/* ✅ Tablets verticales y móviles (≤600px)
   Mantiene 2 íconos por fila, adaptados al ancho */
@media (max-width: 600px) {
  .identidad-valores {
    grid-template-columns: repeat(2, 1fr); /* 👈 Dos columnas en móviles */
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
  }

  .valor-item {
    padding: 16px;
  }

  .valor-item img {
    width: 40px;
  }

  .valor-item span {
    font-size: 13.5px;
  }

  .section-identidad {
    padding: 60px 15px;
  }
}

/* ✅ Móviles muy pequeños (≤360px)
   Recién aquí pasa a 1 ícono por fila */
@media (max-width: 360px) {
  .identidad-valores {
    grid-template-columns: 1fr;
  }

  .valor-item img {
    width: 36px;
  }

  .valor-item span {
    font-size: 13px;
  }

  .identidad-texto h2 {
    font-size: 24px;
  }
}
/* ARREGLO GENERAL PARA SECCIONES EN MOVILES */
html, body {
  overflow-x: hidden;
}
/* FIN ARREGLO GENERAL SECCIONES MOVILES */

.section-identidad {
  overflow-x: hidden;
}

.identidad-container,
.identidad-valores {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* === FIN SECCIÓN ACOMPAÑAMIENTO ESTRATÉGICO === */





/* === Sección Soluciones RESPONSIVE=== */
/* --- Ajuste fino: espacio antes de "Somos Keyca" en móvil --- */
@media (max-width: 768px) {
  /* Da aire antes de “Somos Keyca” */
  .soluciones-keyca .content.pl-20-992 {
    margin-top: 2.5rem !important;
  }

  /* Imagen más grande, sin romper la posición del 8 */
  .soluciones-keyca .ct-about-us-image {
    position: relative;
    z-index: 1;
  }

  .soluciones-keyca .ct-about-us-image img {
    max-width: 105% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }

  /* Mantiene el 8 alineado con la imagen */
.soluciones-keyca .experience {
  position: relative !important;
  top: 0 !important;
  left: auto !important;
  margin-top: 0.8rem !important;
  text-align: left !important;
  padding: 0.5rem 1rem !important;
  width: fit-content !important; /* 🔹 ajusta el ancho al contenido */
  margin-left: auto !important;  /* 🔹 lo empuja hacia la derecha */
  background: transparent !important; /* 🔹 asegura que no tape nada */
  z-index: 2;
}

  .soluciones-keyca .experience h4 {
    font-size: 2.4rem !important;
    line-height: 1.1 !important;
  }

}

/* Fin sección SOluciones */
/*  */
/* FIN INICIO PAGE */
/*  */

/*  */
/*  */
/*  */


