html {
  scroll-padding-top: 100px; /* altura de tu navbar */
}

body {
  overflow-x: hidden;
}

/* .titulo-lineaatras {
  display: flex;
  gap: 12px; 
   align-items: center;

  font-weight: 600;
  color: #fff; 
  text-transform: uppercase;
  letter-spacing: 1px;
} */


/* nav letras  */
.top-bar-text {
  width: 100%;
  height: 40px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  
}
.top-bar-text .track {
  display: inline-block;
  white-space: nowrap;
  animation: slideText 20s linear infinite; /* móvil / normal */
}

/* Tablets */
@media (min-width: 768px) {
  .top-bar-text .track {
    animation: slideText 25s linear infinite;
  }
}

/* Pantallas grandes */
@media (min-width: 1200px) {
  .top-bar-text .track {
    animation: slideText 45s linear infinite;
  }
}

@keyframes slideText {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
/****************************************************/
/* .top-bar-text {
  width: 100%;
  height: 40px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  
}

.top-bar-text .track {
  display: inline-block;
  white-space: nowrap;
  animation: slideText 20s linear infinite;
} */

/* animación 
@keyframes slideText {
  0% {
    transform: translateX(100%); /* empieza fuera a la derecha */
 /* }
  100% {
    transform: translateX(-100%); /* sale completamente a la izquierda */
 /* }
}
*/

/* NAV */
.nav-transparente {
  background-color: rgba(33, 37, 41, 0.793) !important; 
  box-shadow: 0 2px 10px rgba(0,0,0,0.3); 

}

.nav-scrolled {
  background-color: rgb(0, 0, 0) !important; 
  transition: background-color 0.5s ease; 
}


/* logos */
.large-img {
     width: 120px;
     height: auto;
     padding-bottom: 10px;
        }
 .small-img {
            width: 100px;
            height: auto;
             padding-bottom: 10px;
        }

#topbar{
transition: max-height .5s ease, opacity .4s ease, padding .4s ease;
}

.topbar-hidden{
    opacity:0;
    height:0;
    overflow:hidden;
}


/* colores */
.azul{
color:  rgb(6, 54, 120); 

}
.verde{
    color: rgb(145, 187, 36); 
  
   
}
.verdes{
   color: rgb(145, 187, 36); 
}


/* SECCION INICIO  ///////////////////////////////////////////////////////////////////////////////////////////*/
.fprin{
    background-color:rgba(16, 16, 16, 0.849);
}

.fondo {
    background-image: linear-gradient(rgba(16, 16, 16, 0.712), rgba(16, 16, 16, 0.712)), url("../images/INICIO/VERTIZ-FAVHADA.png");
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    z-index: -1; 
}

/* logo y texto */
.hero-logo{
    max-width:350px;
    height:auto;
    
}
.grosor{
font-weight: 550;
 line-height: 1.0;
}

.btn-outline-light.rounded-0{
    border-width:1px;
    text-transform:uppercase;
    font-size:0.9rem;
    letter-spacing:1px;
}




/* imagen y texto  */
.seccion-info{
    min-height:80vh;
    display:flex;
    align-items:le;
    
}
.res{
    line-height: 1.8;
}

.info-img{
    max-width:470px;
    border-radius:4px;
    
}

.tipologias-img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
   
}
/* .tipologias-img{
    max-width:100%;
    height: auto;
    
    
} */

.tipologias-container{
    max-width:1000px;
    margin:auto;
}

.tipologia-item{
    margin-bottom:40px;
}
.imgder{
  height: 420px;
  width: auto;
/* transform: translateY(-75px); */
}
.imgdmid{
  height: 420px;
  width: auto;
  /* transform: translateY(-55px); */
}
.imgdbot{
  height: 400px;
  width: auto;
  transform: translateY(-30px);
}
/* .padizq{
  padding-left: 100px;
} */

.tipologia-info{
    margin-top:15px;
    font-size:15px;
    color:#333;
    padding-left: 0;
}



/* SECCION INFORMACION///////////////////////////////////////////////////////////////////////////////////////// */
.info-section{
    background-color: #bdbdbd;/* #bebebe; */
}
:root {
   
  --row-height: 700px;
  
}
.espacios{
  padding: 40px;
}
/* .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: var(--row-height);
} */
 .gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: var(--row-height);
}

.gallery-item {
  position: relative;
  overflow: hidden; /*  zoom no dsale del contenedor */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  transition: transform 0.45s ease;
  background: #000; /* opcional */
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* .special {
  transform: translateY(calc(var(--overlap) * -1));
  height: calc(100% + var(--overlap));
  z-index: 3;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
} */

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border-radius: 6px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 10px;
}

.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }

/* ALINEAR LA GALERIA A LA CUADRICULA DE 6 ESPACIOS  */

.imgnor{
  grid-column: span 2;
}
.img100{
  grid-column: span 3;
}
.img100v2{
  grid-column: span 3;
}

@media (max-width: 991px){

  .imgnor{
    grid-column: span 3;
  }
.img100v2{
grid-column: span 3;
}
  .img100{
    grid-column: span 6;
  }

  .espacios{
    padding: 0;
  }

}

/* resp galeria */
.img-galeria{
    width:100%;
    height:300px;      /* mismo tamaño para todas */
    object-fit:cover;  /* recorta sin deformar */
}

.carousel-item img{
    border-radius:10px; /* opcional: se ve más elegante */
}










/* iconos */
.icon-box img {
    height: 80px !important; /* Subimos de 55px a 80px */
    width: auto;
    transition: transform 0.3s ease; /* Para que se mueva suave si quieres */
}

/* Título (El que tiene fw-bold) */
.icon-box p {
    font-size: 1.1rem; /* Un poco más grande que el estándar */
    
}

/* Descripción (El texto pequeño) */
.icon-box small {
    display: block; 
    line-height: 0.3;
    font-size: 0.95rem; 
   }



/* seccion navarte ////////////////////////////////////////////////////////////////////////////////////////*/
.info-navarte{
    background-color: #797878;/* #bebebe; */
}
.ventajas-section{
    max-width:100%;
}

/* card */
.ventaja-card{
    position:relative;
    overflow:hidden;
    border-radius:6px;
}

/* imagen */
.ventaja-card img{
    width:100%;
    height:400px;
    object-fit:cover;
    display:block;
}

/* overlay oscuro */
.ventaja-overlay{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    padding:25px;
    color:white;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        rgba(0, 0, 0, 0.527),
        rgba(0, 0, 0, 0.148)
    );
    padding-bottom: 30px;
}

/* TITULO */
.ventaja-overlay h5{
  text-align: center;
    font-size:22px;
    font-style:italic;   /* ←  cursiva */
    font-weight:500;
    margin-bottom:8px;
    text-shadow:0 3px 10px rgba(0,0,0,0.6);
}

/* DESCRIPCION */
.ventaja-overlay p{
  text-align: center;
  font-style:italic;
    font-size:14px;
    line-height:1.5;
    max-width:85%;
    margin:auto;
    text-shadow:0 3px 10px rgba(0,0,0,0.6);
}

/* seccion quienes somos  ///////////////////////////////////////////////////////////*/


.logo-empresa{
max-width:200px;
}

.link-empresa{
color:white;
font-weight:600;
text-decoration:none;
}

.link-empresa:hover{
text-decoration:underline;
}




.texto-info{
  text-align: justify;
  line-height: 1.5;
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
}

  /* 3datos */
        .seccion-estadisticas {
            padding: 50px 0;
            margin-top: -150px;

        }

        .card-dato {

            background: rgba(0, 0, 0, 0.08);
            border-radius: 15px;
            backdrop-filter: blur(6px);
            transition: transform 0.3s ease, background 0.3s ease;
        }

        .card-dato:hover {
            transform: translateY(-5px);
            background: rgba(0, 0, 0, 0.405);
        }

        .dato-num {
            font-size: 1.6rem;
            font-weight: 700;
            color: rgb(145, 187, 36);
            /* color destacado, puedes cambiarlo */
            margin-bottom: 10px;
        }

        .dato-texto {
            font-size: 1.1rem;
            margin: 0;
        }



        /* ultimo y form */

        .contacto-top {
  color: #fff;
  font-size: 18px;
}

.icono {
  color: #b6e15a; 
  font-size: 20px;
}


.texfot{
font-size: 12px;
}

/* rotar imagen  */
.imgrotar{
  transform: rotate(180deg);
}


.imgt{
    width: 355px;
  height: auto;
}

.imgt2{
      width: 280px;
  height: auto;
}

.imgt3{
    width: 300px;
  height: auto;
}