/*
  Colores corporativos: 

*/
body {  
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

/* Generales
===================================================================================== */

a{
  text-decoration: none;
}
h1,
h2,
h3,
h4,
h5{
  font-weight:900;
}
.btn{
  padding:12px 28px;
  text-transform: uppercase;
  border:none;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  color:#555;
  border:solid 1px #fff;
}
.btn-success{
  background-color: #fff;
}
.btn-success:hover{
  background: none;
  color:#fff;
  border:solid 1px #fff;
}
.btn.btn-inverse.btn-success{
  border:solid 1px #333;
}
.btn.btn-inverse.btn-success:hover{
  background-color: #333;
  color:#fff;
}
.btn-primary{
  color:#fff;
  background-color: #333;
  border: solid 1px #333;
}
.btn-primary i{
  color:#fff;
  font-size: 1.3em;
  vertical-align: middle;
}
.btn-primary:hover{
  background-color: #555;
  border:solid 1px #555;
}

img.shadow{
  box-shadow: 2px 0px 10px rgba(0,0,0,0.5);;
}
img.rounded{
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
.mb-7{
  margin-bottom: 100px !important;
}
.mt-7{
  margin-top: 100px;
}
.pt-7{
  padding-top: 100px;
}
.pb-7{
  padding-bottom: 100px;
}
.relative{
  position: relative;
}


.logoHeader,
.logoMain{
  display: inline-block;
  width:100%; max-width: 200px;
}

header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 999;
  transition: background ease 0.3s;
}
header::before {
  content: "";
  position: absolute;
  inset: 0;                    /* top:0; right:0; bottom:0; left:0; */
  pointer-events: none;        /* El header sigue siendo clicable */
  background: linear-gradient(
    180deg,                    /* De arriba hacia abajo */
    rgba(0, 0, 0, 0.4) 0%,     /* 40 % de opacidad en el borde superior */
    rgba(0, 0, 0, 0) 100%      /* 0 % de opacidad en el borde inferior */
  );
  /* compatibilidad antigua */
  background: -webkit-linear-gradient(top, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 100%);
  background:    -moz-linear-gradient(top, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 100%);
  background:         linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 100%);
}
header.withBg{
  background-color:#333;
}
.logoHeader{
  display: inline-block;
  width:100%; max-width: 150px;
  transition: height 0.3s ease, width 0.3s ease;
}
.logoHeader.small{
  width:100px; height:auto;
}

/* Menú de navegación 
================================================================================== */

.navbar{
  background: none;
}
.navbar-brand i {
  margin-right: 8px;
}
.navbar-nav a.nav-link{
  font-size: 1em; font-weight: 400 !important;
  text-transform: uppercase;
  padding:10px 12px !important;
}
.navbar-nav .nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: #fff;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 2px;
  background-color: #999;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: #999;
}
.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.navbar-nav .nav-link.active {
  color: #999;
  font-weight: 600;
}


/* bxSlider 
================================================================================== */

@keyframes zoomInEffect {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2); /* Ajusta el zoom según tu preferencia */
  }
}

.myHomeSlider .slider{
	position: relative;
	width:100%; height: 100vh;
}
.myHomeSlider .areaImagen{
  position: absolute;
  display: block;
  width:100%; height: 100vh;
}
.myHomeSlider .areaImagen img{
  width:100%; height: 100vh;
  object-fit: cover;
  transform: scale(1); /* Estado inicial */
  transition: transform 6s ease-in-out;
  filter: brightness(50%);
}
.myHomeSlider .zoom-effect {
  animation: zoomInEffect 6s ease-in-out forwards;
}
.myHomeSlider .areaInfo{
  position: absolute;
  left:0; right:0; top:0; bottom:0;
  display: flex; 
  align-items: flex-end;
  justify-content: flex-start;
  color:#fff;
  bottom:100px; left:100px;
}
.myHomeSlider .areaInfo .info{
  align-self: flex-end;
  font-size: 1.2em; color: #fff;
  max-width: 70%;
}
.myHomeSlider .areaInfo .info h2{
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 3.4em; font-weight: 700;
  margin:0 0 20px 0;
  padding:0;
}
.myHomeSlider .areaInfo .info h3{
  color:#fff; font-size: 1.1em; font-weight: 300;
  margin:0 0 20px 0; 
}
.myHomeSlider .areaInfo .info h2 strong{
  color:#ff6f00;
}
.myHomeSlider .areaInfo .info p{
  text-align: center;
  margin: 10px 0;
}

/* Estilos de Area de Contenidos
================================================================================== */

.titleContainer{
  position: relative;
  padding:160px 0 100px 0;
}
.titleContainer .titleBack{
  position: absolute;
  left:0; top:80px;
  font-size: 7em; line-height:80px;
  color:#eee; font-weight:900; 
  z-index: 1;
}
.titleContainer h1{
  position: relative;
  z-index: 100 !important;
  font-size: 3em;
}
.titleSingle{
  padding: 100px 0;
}

.areaContent{
  position: relative;
  width: 100%; height: auto; overflow: auto;
  padding:100px 0 0 0;
}


/* Listado de Categorías de Productos
===================================================================================== */

.portadaServicio {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-decoration: none;
  position: relative;
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s ease;
  margin-bottom: 30px;
}
.portadaServicio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Oscurece el fondo */
  z-index: 1;
}
.portadaServicio:hover {
  transform: scale(1.03);
}
.portadaServicio h2 {
  font-size: 1.3rem; font-weight: 700;
  text-shadow: -1px 2px 3px rgba(0,0,0,0.6);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-transform: uppercase;
  z-index: 2;
}

/* Areas Highlight 
========================================================================== */

.areaHighlights{
  background-color: #f8f8f8;
}
.areaHighlight h2{
  font-size: 2.5em;
  margin-bottom: 20px;
}
.areaHighlight p{
  font-weight: 400;
  line-height: 28px;
  text-align: justify;
}
.areaHighlight .imagen-frame {
  position: relative;
  display: inline-block; /* Asegura que el tamaño se adapte a la imagen */
}

.areaHighlight .imagen-frame::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 12px solid #ddd; /* Azul Bootstrap o ajusta al tono deseado */
  z-index: 0;
}

.areaHighlight  .imagen-frame img {
  position: relative;
  z-index: 1;
  display: block;
}

/* Area de Fortalezas 
=============================================================================== */

.areaSkill{
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}
.areaSkill .areaIcon{
  display: block;
  margin:0 auto;
  width:70px; height: 70px;
  padding:12px;
  text-align: center;
  background-color: #ccc;
  color:#fff; font-size: 1.8em;
  border-radius: 35px;
  -moz-border-radius: 35px;
  -webkit-border-radius: 35px;
  margin-bottom: 20px;
}
.areaSkill h2{
  margin-bottom: 20px;
}


/* Area Cotiza tu Proyecto
========================================================================== */
.secCotiza{
  position: relative;
  padding:120px 0;
  color:#fff;
  background: url(../../images/web/bg-footer1.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.secCotiza .areaIcon{
  display: block; float:left;
  width:100px;
  font-size: 3em;
}
.secCotiza .areaInfo{
  display: block;
  overflow: hidden;
}

.areaEncab{
  display: block;
  width: 100%; height: 300px;
  filter: brightness(50%);
}

/* Formularios 
========================================================================== */

form label{
  text-transform: uppercase;
  font-size: 0.8em; letter-spacing: 6px;
  margin-bottom: 4px;
}
form .form-control{
  border-radius: 0px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  padding:10px 20px;
}


#areaMap{
  display: block;
  width:100%; height: 450px;
}
#areaMap iframe{
  display: block;
  width:inherit; height: inherit;
}

/* Footer 
========================================================================== */

footer{
  padding:60px 10px 0 10px;
  color:#ddd;
}
footer.bgFooter{
  background: url(../../images/web/bg-footer1.jpg) no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
footer .areaLogoFooter span{
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-left: 15px;
}
footer .logoFooter{
  display: inline-block;
  width:100%; max-width: 200px;
}
footer h2{
  color:#fff;
}
footer a{
  color:#fff; text-decoration: underline;
}
footer a:hover{
  text-decoration: none;
  color:#fff !important;
}
.socialIcons a i{
  font-size: 2em; color:#fff;
  margin-left: 10px;
  transition: all ease 0.2s;
}
.socialIcons a:hover{
  color:#93371e;
}

/* -------- Enlace con subrayado animado -------- */
.link-anim{
  position: relative;      /* Necesario para posicionar el ::after */
  display: inline-block;   /* Mantiene el ancho justo del texto */
  color: #eee;             /* Ajusta el color que prefieras */
  text-decoration: none;   /* Quitamos el subrayado nativo */
}

.link-anim::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;            /* Sitúalo encima (0) o ligeramente debajo (-2px) */
  width: 100%;
  height: 2px;             /* Grosor de la línea */
  background: currentColor;/* Mismo color que el texto */
  transform-origin: left center;
  transform: scaleX(0);    /* Línea “encogida” al inicio */
  transition: transform .3s ease;
}

/* Al pasar el mouse o al recibir foco mediante teclado */
.link-anim:hover::after,
.link-anim:focus-visible::after{
  transform: scaleX(1);    /* Se expande de izquierda a derecha */
}


.lineBottom{
  background-color: #222;
  padding:20px 0;
  color:#eee; font-size: 0.8em;
}


/* Secciones
=========================================================================== */

.areaEncab{
  padding:60px 0;
  background: url(../../images/web/bg-encab1.jpg) no-repeat right center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color:#fff;
}
.areaEncab h1{
  font-weight: 900; font-style: italic;
}
.areaContenido{
  position: relative;
}
.areaContenido h1,
.areaContenido h2,
.areaContenido h3,
.areaContenido h4,
.areaContenido h5,
.areaContenido h6{
  margin-bottom: 30px;
}

.areaContenido h1{
  font-weight: 900;
  margin:30px 0;
}
.areaContenido h3{
  margin-bottom: 20px;
}
.areaContenido p{
  font-size: 1.3em; font-weight:300;
  line-height: 34px;
  text-align: justify;
  margin-bottom: 28px;
}
.areaContenido ul li{
  font-size: 1.3em; font-weight:300;
}
strong{
  color:#000; font-weight: 700;
}

/* Proyectos Listado
============================================================================ */

.areaPortafolio{
  display: block;
  position: relative;
}
.areaPortafolio a.proyecto{
  display: block;
  position: relative;
  float:left;
  width:20%; height: 300px;
  overflow: hidden;
}
.areaPortafolio a.proyecto .areaImagen{
  position: absolute;
  display: block;
  left:0; right:0; top:0; bottom:0;
  overflow: hidden;
}
.areaPortafolio a.proyecto .areaImagen img{
  display: block;
  width:100%; height: 100%;
  object-fit:cover;
  transition: all ease 0.8s;
}
.areaPortafolio a.proyecto:hover .areaImagen img{
  transform: scale(1.1);
  filter: brightness(50%);
}
.areaPortafolio a.proyecto h3{
  display: block;
  position: absolute;
  bottom:-100px; left:0; right:10%;
  padding:10px 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color:#fff; 
  font-style: italic;
  font-weight: 300;
  font-size: 0.9em;
  transition: bottom ease 0.8s;
}
.areaPortafolio a.proyecto h3 strong{
  color:#fff;
  font-size: 1.2em;
}
.areaPortafolio a.proyecto:hover h3{
  bottom:30px;
}
.areaPortafolio a.proyecto .lineTop{
  display: block;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  left:0; right:0; top:-30px;
  height:20px;
  transition: top ease 0.8s;
}
.areaPortafolio a.proyecto:hover .lineTop{
  top:0px;
}

/* Productos 
============================================================================ */

a.prodThumb{
  display: block;
  width:auto; height: auto; overflow: auto;
  background-color: #000;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  padding-bottom:10px;
  margin-bottom: 30px;
  text-align: center; color:#fff; text-transform: uppercase;
}
a.prodThumb img{
  width:100%; height:auto;
}
a.prodThumb h3{
  margin:0; 
  padding:0 14px;
  font-size: 0.9em; font-weight:300;
}

.areaBtnsShare{
  margin-bottom: 30px;
}
.areaBtnsShare a{
  font-size: 2em; color:#333;
  margin-right: 20px;
  transition: all ease 0.2s;
}
.areaBtnsShare a:hover{
  color:#93371e;
}

.areaLeyenda{
  background-color: #eee;
}
.areaLeyenda h1,
.areaLeyenda p{
  text-align: center;
}

.areaShare{
  display: block;
  position: relative;
  margin-top: 70px;
}
.areaShare a.btn{
  margin-right: 10px;
}

/* Divider linea sutil */

.divider1:after{
  content: "";
  position: absolute;
  width:30%; height: 2px;
  background-color: #ccc;
  left:0;
}

/* Formuarios */

.error {
  color:#f00;
}

.areaProyecto [class^="col-"]:first-child {
  text-align: center;
}
.areaProyecto .img-fluid{
  max-height: 450px;
}

.btnGaleria{
  position: relative;
  display: inline-block;
  width: 80px; height: 80px;
  margin:0 16px 16px 0;
}
.btnGaleria img{
  width:100%; height: 100%;
  object-fit: cover;
  transform: scale(1); /* Estado inicial */
  transition: transform 6s ease-in-out;
  filter: brightness(50%);
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
.btnGaleria img:hover {
  animation: zoomInEffect 0.3s ease-in-out forwards;
}