/* ======== Imagen de ícono ajustable ======== */
.mi-iconbox img {
  width: 400px;  /* Tamaño de la imagen */
  height: auto;  /* Mantiene proporciones */
}

/* ======== FORMULARIO WPForms ======== */
.wpforms-container {
  max-width: 600px !important;
  margin: 40px auto !important;
  background: #ffffff !important;
  padding: 25px 25px 20px 25px !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  border-top: 6px solid #004aad !important;
  overflow: hidden !important;
}

.wpforms-submit-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.wpforms-submit {
  background-color: #004aad !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 25px !important;
  font-size: 16px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: background-color 0.3s ease !important;
  margin-bottom: 0 !important;
}

.wpforms-submit:hover {
  background-color: #003a8c !important;
}

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form textarea,
.wpforms-form select {
  width: 100% !important;
}

/* ======== BANNER ======== */
.banner {
  width: 100%;
  height: 364px;
  background-image: url('tu-imagen.jpg'); /* Cambia por tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Texto del frente: blanco */
.texto-blanco .vc-hoverbox-front p,
.texto-blanco .vc-hoverbox-front h2,
.texto-blanco .vc-hoverbox-front h3,
.texto-blanco .vc-hoverbox-front h4,
.texto-blanco .vc-hoverbox-front span {
  color: #ffffff !important;
  line-height: 1.5em !important; /* Espaciado entre líneas */
  margin-bottom: 8px !important; /* Separación entre párrafos */
}

/* Texto del reverso: azul corporativo */
.texto-blanco .vc-hoverbox-back p,
.texto-blanco .vc-hoverbox-back h2,
.texto-blanco .vc-hoverbox-back h3,
.texto-blanco .vc-hoverbox-back h4,
.texto-blanco .vc-hoverbox-back span {
  color: #003158 !important;
  line-height: 1.5em !important; /* Espaciado entre líneas */
  margin-bottom: 8px !important; /* Separación entre párrafos */
}




/* === Justificar textos dentro de Hover Box (sin afectar títulos) === */
.vc-hoverbox-front p,
.vc-hoverbox-back p,
.vc-hoverbox-front span,
.vc-hoverbox-back span,
.vc-hoverbox-front div,
.vc-hoverbox-back div {
  text-align: justify !important;
}








/* === Logo y Header Pixomi v1 - Versión optimizada y responsive === */

/* Estilo general del logo en escritorio */
#logo img {
  max-height: 80px !important; /* tamaño en escritorio */
  height: auto !important;
  width: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  top: -20px !important; /* súbelo o bájalo según necesites */
  transition: all 0.3s ease-in-out !important;
}

/* Alineación del contenedor del logo */
#logo {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 100% !important;
}

/* Alineación del menú */
#navigation {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

/* === Tamaño adaptativo según resolución === */

/* Tablets (pantallas medianas) */
@media only screen and (max-width: 1024px) {
  #logo img {
    max-height: 45px !important;
    top: -3px !important;
  }
}

/* Móviles grandes (pantallas de hasta 768px) */
@media only screen and (max-width: 768px) {
  #logo img {
    max-height: 38px !important;
    top: 0 !important;
  }
}

/* Móviles pequeños (pantallas de hasta 480px) */
@media only screen and (max-width: 480px) {
  #logo img {
    max-height: 32px !important;
    top: 0 !important;
  }
}









#rev_slider_3_1_wrapper,
#rev_slider_3_1_forcefullwidth {
  display: none !important;
}






/* === Estilos para texto animado (Expertos Seguridad) === */
#expertos-animado { text-align:center; font-family:'Poppins',sans-serif; padding:30px 10px; box-sizing:border-box; }
#expertos-animado > div:first-child { color:#284288; font-size:56px; font-weight:800; margin-bottom:8px; line-height:1.05; }
#rotador { position:relative; display:inline-block; height:auto; min-width:320px; min-height:78px; overflow:visible !important; }
.typed-text {
  color:#000000;
  font-size:40px;
  font-weight:700;
  white-space:nowrap;
  display:block;
  text-align:center;
  transition: opacity 0.9s cubic-bezier(.22,1,.36,1), transform 0.9s cubic-bezier(.22,1,.36,1);
  opacity:1;
  transform: translateY(0);
}

/* Forzar visibilidad en ancestros WPBakery si queda alguno recortando */
.vc_row, .vc_row .vc_column_container, .vc_column-inner, .wpb_wrapper { overflow: visible !important; }

/* Responsive */
@media (max-width:768px) {
  #expertos-animado > div:first-child { font-size:36px; }
  .typed-text { font-size:26px; }
}




/* === CORRECCIÓN RESPONSIVE PARA TEXTO ANIMADO === */
#rotador {
  min-width: auto !important;
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
}

/* Texto animado flexible */
#rotador .typed-text {
  font-size: clamp(20px, 4.5vw, 40px);
  line-height: 1.2;
  white-space: normal !important; /* permite que el texto salte de línea */
  word-break: break-word;
  display: inline-block;
  max-width: 90vw; /* evita que se salga del ancho de pantalla */
  padding: 0 5px;
  box-sizing: border-box;
  text-align: center;
}

/* Ajustes para tablets */
@media (max-width: 1024px) {
  #rotador .typed-text {
    font-size: 30px;
  }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  #rotador .typed-text {
    font-size: 22px;
    line-height: 1.3;
  }
  #expertos-animado > div:first-child {
    font-size: 30px;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  #rotador .typed-text {
    font-size: 20px;
  }
  #expertos-animado > div:first-child {
    font-size: 26px;
  }
}


/* Contenedor blanco con sombra tipo Prosegur */
.prosegur-box {
  background-color: #ffffff !important;
  border-radius: 18px !important;
  padding: 24px !important;
  text-align: center !important;
  box-shadow: 0 8px 28px rgba(8, 15, 36, 0.08) !important;
  transition: transform .28s ease, box-shadow .28s ease !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 260px; /* ajusta si quieres más alto */
}

/* Efecto hover (sube levemente y la sombra se intensifica) */
.prosegur-box:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 40px rgba(8, 15, 36, 0.12) !important;
}

/* Imagen: que sea responsiva, con esquinas redondeadas y margen abajo */
.prosegur-box img {
  border-radius: 10px !important;
  width: 100% !important;
  max-width: 320px !important; /* controla tamaño máximo */
  height: auto !important;
  margin-bottom: 18px !important;
  object-fit: cover !important;
}

/* Título */
.prosegur-box .wpb_wrapper h2,
.prosegur-box .wpb_wrapper h3,
.prosegur-box .wpb_wrapper .vc_custom_heading {
  margin: 0 0 10px 0 !important;
  font-weight: 700 !important;
}

/* Texto descriptivo */
.prosegur-box .wpb_wrapper p {
  margin: 0 !important;
  color: #333; 
  line-height: 1.45;
  font-size: 15px;
}

/* Para móviles: que queden con buen padding */
@media (max-width: 768px) {
  .prosegur-box { padding: 18px !important; min-height: auto !important; }
  .prosegur-box img { max-width: 220px !important; margin-bottom: 12px !important; }
}









/* === Banner Cotiza Ya — ajustes finales === */
.banner-cotiza {
  background-color: #f5f6f7; /* gris tipo Prosegur */
  border-radius: 20px;
  padding: 40px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-left: 6px solid #004778;
}

/* columnas */
.banner-cotiza .wpb_column {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TITULO (no justificar) */
.banner-cotiza h2 {
  font-size: 22px;
  font-weight: 600;
  color: #004778;
  margin-bottom: 8px;
  text-align: center; /* o left si prefieres */
}

/* PARRAFO (JUSTIFICADO SOLO EL PÁRRAFO) */
.banner-cotiza p {
  color: #333;
  font-size: 15px;
  margin: 0;
  text-align: justify; /* <- aquí está la justificación */
  max-width: 520px;
}

/* BOTÓN — usar rojo corporativo y texto blanco */
.banner-cotiza .vc_btn3,
.banner-cotiza .btn-cotiza {
  background-color: #c8102e !important; /* rojo solicitado */
  color: #ffffff !important;              /* texto blanco */
  font-weight: 600 !important;
  border-radius: 50px !important;
  padding: 14px 36px !important;
  text-transform: none !important;
  border: 2px solid #c8102e !important;
  transition: all 0.18s ease !important;
}

/* Hover del botón — un rojo más oscuro para contraste */
.banner-cotiza .vc_btn3:hover,
.banner-cotiza .btn-cotiza:hover {
  background-color: #a10b24 !important;
  border-color: #a10b24 !important;
  color: #fff !important;
}

/* IMAGEN — permitir que WPBakery controle el tamaño.
   Si quieres un tamaño fijo, usa la clase .banner-img y ajusta max-height ahí */
.banner-cotiza img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important; /* <- importante: elimina el max-height rígido que impedía cambios */
}

/* Si asignas la clase "banner-img" al elemento Single Image, puedes controlar su altura así: */
.banner-cotiza .banner-img img {
  max-height: 90px; /* cámbialo a lo que prefieras */
  width: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .banner-cotiza {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .banner-cotiza .wpb_column { margin-bottom: 18px; }
  .banner-cotiza p { text-align: center; } /* en móvil centra el párrafo para mejor lectura */
}







/* === Popup Maker - Estilo personalizado para formulario cotiza === */

/* Fondo oscuro semitransparente detrás del formulario */
.pum-overlay {
  background-color: rgba(0, 0, 0, 0.6) !important; /* fondo transparente tipo Prosegur */
}

/* Contenedor principal del popup */
.pum-container {
  background: #ffffff !important; /* caja del formulario */
  border-radius: 16px !important;
  padding: 25px !important;
  max-width: 420px !important;
  margin: auto !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* Contenido interno del popup */
.pum-content {
  background: transparent !important;
  padding: 0 !important;
}

/* Título del formulario */
.pum-title {
  color: #004778 !important; /* azul institucional */
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
}

/* Botón de cerrar */
.pum-close {
  background-color: #c8102e !important; /* rojo institucional */
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: 0 8px 0 8px !important;
  padding: 6px 12px !important;
  text-transform: uppercase;
}

/* Asegura que el popup se vea bien en móvil */
@media (max-width: 600px) {
  .pum-container {
    width: 90% !important;
    padding: 20px !important;
  }

  .pum-title {
    font-size: 20px !important;
  }
}


















/* ===== SOLUCIÓN COMPLETA PARA FOOTER WIDGETS CORTADOS ===== */

/* Contenedor principal del footer */
footer .wp-block-columns,
#footer .wp-block-columns,
.site-footer .wp-block-columns {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 2rem !important;
    width: 100% !important;
    align-items: start !important;
}

/* Columnas individuales del footer */
footer .wp-block-column,
#footer .wp-block-column,
.site-footer .wp-block-column {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
}

/* Widgets dentro del footer */
footer .widget,
#footer .widget,
.site-footer .widget {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

/* Títulos de widgets */
footer .widget-title,
#footer .widget-title {
    width: 100% !important;
    word-wrap: break-word !important;
}

/* Contenido de los widgets */
footer .widget ul,
footer .widget p,
footer .widget div,
#footer .widget ul,
#footer .widget p,
#footer .widget div {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}

/* NUEVO: Eliminar TODO el espacio superior */
#footer,
footer,
.site-footer {
    padding-top: 0 !important;
}

#footer .widget-area,
footer .widget-area {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Eliminar padding del primer elemento dentro del footer */
#footer > *:first-child,
footer > *:first-child {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Para pantallas móviles */
@media (max-width: 768px) {
    footer .wp-block-columns,
    #footer .wp-block-columns {
        grid-template-columns: 1fr !important;
    }
}

/* ===== FIN DE SOLUCIÓN ===== */
















/* === Estilos para texto animado (Expertos Seguridad) === */
#expertos-animado { text-align:center; font-family:'Poppins',sans-serif; padding:30px 10px; box-sizing:border-box; }
#expertos-animado > div:first-child { color:#284288; font-size:56px; font-weight:800; margin-bottom:8px; line-height:1.05; }
#rotador { position:relative; display:inline-block; height:auto; min-width:320px; min-height:78px; overflow:visible !important; }
.typed-text {
  color:#000000 !important;  /* <-- agregué !important aquí */
  font-size:40px;
  font-weight:700;
  white-space:nowrap;
  display:block;
  text-align:center;
  transition: opacity 0.9s cubic-bezier(.22,1,.36,1), transform 0.9s cubic-bezier(.22,1,.36,1);
  opacity:1;
  transform: translateY(0);
}

/* Forzar visibilidad en ancestros WPBakery si queda alguno recortando */
.vc_row, .vc_row .vc_column_container, .vc_column-inner, .wpb_wrapper { overflow: visible !important; }

/* Responsive */
@media (max-width:768px) {
  #expertos-animado > div:first-child { font-size:36px; }
  .typed-text { font-size:26px; color:#000000 !important; }  /* <-- también aquí */
}








/* Forzar color negro en texto animado */
#rotador .typed-text,
#rotador .typed-text *,
.typed-text {
  color: #000000 !important;
}























/* === CENTRAR Y COLOREAR ICONOS DE REDES SOCIALES EN EL FOOTER === */

/* Centrar el bloque de iconos sociales */
footer .wp-block-social-links,
#footer .wp-block-social-links {
    justify-content: center !important;
    display: flex !important;
    gap: 10px !important;
    margin: 0 auto !important;
}

/* Cada ícono con su color de fondo original */
footer .wp-social-link,
#footer .wp-social-link {
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Iconos en blanco */
footer .wp-social-link svg,
#footer .wp-social-link svg {
    fill: #ffffff !important; /* ícono blanco */
    width: 20px !important;
    height: 20px !important;
}

/* Fondo de color específico para cada red social */
footer .wp-social-link-facebook,
#footer .wp-social-link-facebook { 
    background-color: #1877f2 !important; 
}

footer .wp-social-link-instagram,
#footer .wp-social-link-instagram { 
    background-color: #e4405f !important; 
}

footer .wp-social-link-linkedin,
#footer .wp-social-link-linkedin { 
    background-color: #0a66c2 !important; 
}

footer .wp-social-link-youtube,
#footer .wp-social-link-youtube { 
    background-color: #ff0000 !important; 
}

footer .wp-social-link-tiktok,
#footer .wp-social-link-tiktok { 
    background-color: #000000 !important; 
}

/* Efecto hover - más brillante */
footer .wp-social-link:hover,
#footer .wp-social-link:hover {
    transform: scale(1.1) !important;
    opacity: 0.9 !important;
    transition: all 0.2s ease !important;
}




/* Centrar la lista de ítems de menú (si el layout es V1 o V3) */
.main-navigation ul {
    text-align: center !important; 
    margin-left: 0 !important;
    width: 100% !important; 
}










/* === Forzar bordes redondeados visibles en imágenes === */
.vc_single_image-wrapper,
.vc_single_image-wrapper img,
.wpb_single_image img,
img.img-responsive {
  border-radius: 15px !important;
  overflow: hidden !important;
}

/* Evitar que el overflow visible del padre anule el borde */
.vc_column-inner, .wpb_wrapper {
  overflow: hidden !important;
}








/* ==== Solución completa para que los enlaces del footer funcionen bien ==== */

/* Forzar que NINGÚN elemento del footer bloquee los clics */
footer * {
    pointer-events: auto !important;
}

/* Garantizar que los enlaces reciban el clic correctamente */
footer a {
    position: relative !important;
    z-index: 50 !important;
    pointer-events: auto !important;
    display: inline-block !important; /* mejora área de clic */
    padding: 4px 0 !important;        /* da área vertical de clic */
}







/* Links del footer con hover celeste claro visible */
footer a:hover,
.footer a:hover,
#footer a:hover,
.site-footer a:hover {
    color: #4fc3f7 !important;
    text-decoration: underline;
    transition: all 0.3s ease;
}


















/* ===== FORZAR ANCHO COMPLETO EN FORMULARIO 6268 ===== */

#wpforms-6268 .wpforms-field-container {
    width: 100% !important;
}

#wpforms-6268 .wpforms-field {
    width: 100% !important;
    margin-bottom: 15px !important;
}

#wpforms-6268 input[type="text"],
#wpforms-6268 input[type="email"],
#wpforms-6268 input[type="tel"],
#wpforms-6268 input[type="number"],
#wpforms-6268 select,
#wpforms-6268 textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Eliminar padding lateral si existe */
#wpforms-6268 .wpforms-field-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}




















/* Efecto dorado sutil + brillo animado */
.efecto-dorado {
  background: linear-gradient(90deg, #fff3c4, #ffd27b, #fff3c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: inline-block;
  animation: brillo-dorado 2.2s ease-in-out infinite;
}

/* Animación suave del brillo dorado */
@keyframes brillo-dorado {
  0% { text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
  50% { text-shadow: 0 4px 12px rgba(255,235,150,0.8); }
  100% { text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
}

/* (Opcional) estilo para el contenedor completo */
.titulo-animado {
  text-align: center;
  line-height: 1.35;
}








/* OCULTAR TODOS LOS PRECIOS */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
    display: none !important;
}

/* OCULTAR BOTONES DE AGREGAR AL CARRITO */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .single_add_to_cart_button {
    display: none !important;
}

/* MOSTRAR TEXTO "PRÓXIMAMENTE" EN SU LUGAR */
.woocommerce ul.products li.product::after,
.woocommerce div.product .summary::after {
    content: "PRÓXIMAMENTE";
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    background: linear-gradient(90deg, #004aad, #00b3ff);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 30px;
    letter-spacing: 1px;
}