html {
    scroll-behavior: smooth;
}



header{
    background-color: white;
}
.navbar-light .navbar-nav .nav-link:hover{
    font-family: "Mona Sans", sans-serif;
    color: #0033ff;
    opacity: 1;
   
}

.navbar-light .navbar-nav .nav-link{
    font-family: "Mona Sans", sans-serif;
    letter-spacing: 0px;
    font-weight: 700;
    color: #01033e;
   
}

.navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, 0.5);
    border-color: none;
}

.navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 0, 0, 0);
}
.logo{
    max-height: 35px;
    
}
/*DESPLEGABLE HOVER*/
nav ul {
    list-style: none;
}

nav li ul {
    background-color: white;
    display: none;
    position: absolute;
    margin: 0px;
    padding: 0;
}

nav li:hover>ul {
    display: block;
    padding: 10px;
    background-color: white;
    position: absolute;
    z-index: 100;
    border-radius: 0 0 15px 15px;
}
.sub-menu{
    text-transform: none !important;
    letter-spacing: 1px !important;
}
/*DESPLEGABLE HOVER*/

/*NAV*/

/*Boton Focus*/

button:focus {
    outline: 0px dotted;
    outline: 0px auto -webkit-focus-ring-color;
}

/*Boton Focus*/

/*ESTILOS*/
.vertical-center {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.vertical-center-servicios {
  margin: 0;
  position: absolute;
  top: 40%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}


/*Fondos*/

.fondo1{
    background-image: url(../img/ferrocat_bg.png);
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.fondo-color1{
    background-color: #01033e;
}
.fondo-color2{
    background-color: #0033ff;
}

.fondo-gris{
    background-color: #eaeaea;
}
.fondo-lic{
    background-image: url(../img/Licencia_de_funcionamiento.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
    
}
.fondo-constancia{
    background-image: url(../img/Aviso_de_apertura.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
   
    
}
.fondo-zonificacion{
    background-image: url(../img/Certificado_de_Zonificacion.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
   
    
}
.fondo-cofepris{
    background-image: url(../img/aviso_Cofepris.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
   
}
.fondo-contacto{
    background-image: url(../img/practiservicios_contacto.png);
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    
}

/*Fondos*/




.bold{
    font-weight: 700;
}
.light{
    font-weight: 200;
}
.categoria{
    font-weight: 600;
    letter-spacing: 0;
}

.cargo{
    font-weight: 400;
    letter-spacing: 6px;
    font-size: 11px;
}
.gris{
    color: rgba(0, 0, 0, 0.5);
}
.azul1{
    color: #01033e;
}
.azul2{
    color: #0033ff;
}
.blanco{
    color: white;
}
.servicios{
    color: white;
}
.servicios:hover{
    color: white;
}
.text-beneficio{
    font-family: "Mona Sans", sans-serif;
    font-size: 14px;
    line-height: 20px;  
}
.icono{
    max-height: 65px;
    
}
.frase{
    font-family: "Mona Sans", sans-serif;
    font-size: 40px;
    line-height: 60px;
    
}
.a-contacto{
    color: black;
}
.a-contacto:hover{
    color: black;
}



h1{
    font-family: "Mona Sans", sans-serif;
    font-size: 50px;
    line-height: 60px;
}
h2{
    font-family: "Mona Sans", sans-serif;
    font-size: 40px;
    line-height: 50px;
}
h3{
    font-family: "Mona Sans", sans-serif;
    font-size: 32px;
    
}
h4{
    font-family: "Mona Sans", sans-serif;
    font-size: 24px;
    
}
h5{
    font-family: "Mona Sans", sans-serif;
    font-size: 20px;
    
}
h6{
    font-family: "Mona Sans", sans-serif;
    font-size: 18px;
    
}


p{
    font-family: 'Manrope', sans-serif;
    font-weight: 100;
    font-size: 16px;
    line-height: 28px;
    
}
footer p  {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 28px;
    color: rgba(0, 0, 0, 0.6);
    
}
footer p a {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 28px;
    color: rgba(0, 0, 0, 0.6);
    
}
footer p a:hover{
    line-height: 28px;
    color: rgba(0, 0, 0, 0.6);
    
}
footer img{
    max-height: 42px;
    
}
/*ESTILOS*/



/*BOTON*/

.btn-1{
    background-color: #0033ff;
    color: white;
    font-size: 16px;
    font-family: "Mona Sans", sans-serif;
    font-weight: 700;
    border-radius: 10px;
    transition: all ease 1s;
}
.btn-1:hover{
    background-color: #01033e;
    transition: all ease .5s;

}

.btn-2{
    background-color: #01033e;
    color: white;
    font-size: 16px;
    font-family: "Mona Sans", sans-serif;
    font-weight: 700;
    border-radius: 10px;
    transition: all ease 1s;
}
.btn-2:hover{
    background-color: #0033ff;
    transition: all ease .5s;

}

.btn-3{
    background-color: #0033ff;
    color: white;
    font-size: 16px;
    font-family: "Mona Sans", sans-serif;
    font-weight: 700;
    border-radius: 10px;
    transition: all ease 1s;
}
.btn-3:hover{
    background-color: white;
    color: #0033ff;
    transition: all ease .5s;

}

.btn-4{
    background-color: white;
    color: white;
    font-size: 16px;
    font-family: "Mona Sans", sans-serif;
    font-weight: 700;
    border-radius: 10px;
    transition: all ease 1s;
}
.btn-4:hover{
    background-color: #e2dede;
    color: #0033ff;
    transition: all ease .5s;

}
/*BOTON*/






/*RESPONSIVE*/
/*RESPONSIVE*/
/*RESPONSIVE*/
/*RESPONSIVE*/
/*RESPONSIVE*/
/*RESPONSIVE*/
/*RESPONSIVE*/

/*MEDIA DISPOSITIVOS MOVILES*/ 
@media (max-width: 575.98px) {
    
    .img-asesoria{
        max-height: 300px;
    }
    .logo{
    max-height: 30px;
    
    }
    .centro{
        text-align: center !important;
    }
    .p-movil{
        padding-left: 30px;
        padding-right: 30px;
    }
    .vertical-center {
      margin: 0;
      position: absolute;
      top: 45%;
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
    }
    .fondo1{
        background-image: url(../img/ferrocat_bg_m.png);
        min-height: 100vh;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: bottom;
    }
    .fondo2{
        background-color: #F5F5F5;
    }
    
    .fondo-lic{
    background-image: url(../img/m_Licencia_de_funcionamiento.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
    background-attachment: scroll;
}
    .fondo-constancia{
    background-image: url(../img/m_Aviso_de_apertura.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
    background-attachment: scroll;
}
    .fondo-zonificacion{
    background-image: url(../img/m_Certificado_de_Zonificacion.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
    background-attachment: scroll;
        
    }
    .fondo-cofepris{
    background-image: url(../img/m_aviso_Cofepris.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    background-attachment: scroll;
}
    .fondo-contacto{
        background-image: url(../img/practiservicios_contacto.png);
        min-height: 40vh;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: bottom;
        
    }
    
    .fondo-confirma{
        background-image: url(../img/confirmacion_practiservicios_bg_m.jpg);
        min-height: 100vh;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: bottom;
        
    }
    .bold{
        font-weight: 700;
    }
    .light{
        font-weight: 200;
    }
    .categoria{
        font-weight: 800;
    }
    .gris{
        color: rgba(0, 0, 0, 0.5);
    }
    .text-beneficio{
        font-family: "Mona Sans", sans-serif;
        font-size: 14px;
        line-height: 20px;  
    }
    .icono{
        max-height: 65px;

    }
    .clientes{
        max-height: 130px;
    }
    .frase{
        font-family: "Mona Sans", sans-serif;
        font-size: 30px;
        line-height: 40px;

    }
    

    h1{
        font-family: "Mona Sans", sans-serif;
        font-size: 35px;
        line-height: 42px;
    }
    h2{
        font-family: "Mona Sans", sans-serif;
        font-size: 25px;
        line-height: 35px;
    }
    h3{
        font-family: "Mona Sans", sans-serif;
        font-size: 32px;

    }
    h4{
        font-family: "Mona Sans", sans-serif;
        font-size: 24px;

    }
    h5{
        font-family: "Mona Sans", sans-serif;
        font-size: 18px;

    }
    h6{
        font-family: "Mona Sans", sans-serif;
        font-size: 18px;

    }

    p{
        font-family: 'Manrope', sans-serif;
        font-size: 14px;
        line-height: 26px;

    }
    footer p  {
        font-family: 'Manrope', sans-serif;
        font-size: 12px;
        line-height: 28px;
        color: rgba(0, 0, 0, 0.6);

    }
    footer p a {
        font-family: 'Manrope', sans-serif;
        font-size: 12px;
        line-height: 28px;
        color: rgba(0, 0, 0, 0.6);

    }
    footer p a:hover{
        line-height: 28px;
        color: rgba(0, 0, 0, 0.6);

    }
    footer img{
        max-height: 42px;

    }
    /*ESTILOS*/



    /*BOTON*/
    
    .btn-1{
    background-color: #0033ff;
    color: white;
    font-size: 16px;
    font-family: "Mona Sans", sans-serif;
    font-weight: 700;
    border-radius: 10px;
    transition: all ease 1s;
    }
    .btn-1:hover{
        background-color: #01033e;
        transition: all ease .5s;

    }

    /*BOTON*/

    
}
/*MEDIA DISPOSITIVOS MOVILES*/ 





/*MEDIA TELEFONOS HORIZONTALES*/
@media (max-width: 767.98px) { ... }
/*MEDIA TELEFONOS HORIZONTALES*/






/*MEDIA TABLETS*/ 
@media (max-width: 991.98px) { 
    
}
/*MEDIA TABLETS*/ 





/*MEDIA DISPOSITIVOS GRANDES*/
@media (max-width: 1199.98px) { 
    ... }

/*MEDIA DISPOSITIVOS GRANDES*/



/*SERVICIOS*/

.services-xl {
  background-color: white;
}

.service-xl-card {
  background: #01033e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.service-xl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

.service-xl-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.service-xl-content {
  padding: 30px;
}

.service-xl-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.service-xl-content .subtitle {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0033ff;
  margin-bottom: 15px;
}

.service-xl-content p {
  font-size: 0.95rem;
  color: white;
}

.service-xl-content ul {
  padding-left: 18px;
  margin-bottom: 20px;
}

.service-xl-content ul li {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.service-xl-content .btn {
  border-radius: 10px;
  padding: 10px 26px;
  font-weight: 600;
}


/*SERVICIOS*/



/*GALERÍA*/

.gallery-slider-section {
  background-color: #f4f6f9;
}

.gallery-thumb {
  padding: 5px;
}

.gallery-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-thumb img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}


/* Overlay negro */
.gallery-lightbox-modal .modal-dialog {
  max-width: 80vw;            /* 80% del ancho de la pantalla */
}

.gallery-lightbox-modal .modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
  margin-left: 10%;
}

/* Contenedor real del lightbox */
.gallery-lightbox-content {
  background: #000;
  border-radius: 8px;
  padding: 0;
  position: relative;
}

/* Imagen centrada y escalada */
.gallery-lightbox-content img {
  width: 100%;
  max-height: 80vh;           /* 80% del alto de la pantalla */
  object-fit: contain;
  display: block;
  margin: auto;
}

/* Overlay oscuro completo */
.modal-backdrop.show {
  background-color: rgba(0, 0, 0, 0.9);
}

/* Botón cerrar */
.gallery-lightbox-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.2rem;
  color: #fff;
  opacity: 1;
  z-index: 1051;
}

/* Controles del carousel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) invert(1);
}


/*GALERÍA*/





/*CONTACTO*/
.contact-section {
  background-color: #eaeaea;
}

.contact-title {
  font-weight: 700;
  margin-bottom: 10px;
  
}

.contact-description {
  color: #555;
  margin-bottom: 30px;
}

.contact-card {
  background: #ffffff;
  padding: 18px 22px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin-bottom: 15px;
}

.contact-card h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card p {
  margin: 0;
}

.contact-card a {
  color: #01033e;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Oficina */
.office-card {
  background: #01033e;
  color: #fff;
  padding: 35px;
  border-radius: 10px;
  height: 100%;
}

.office-card h4 {
  font-weight: 700;
  margin-bottom: 15px;
}

.office-card p {
  line-height: 1.6;
}

/* CONTENEDOR MAPA */
.office-map {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.office-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


.office-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #ccc;
}



/*CONTACTO*/


/*BOTON FLOTANTE*/

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

/* Hover desktop */
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive (móvil) */
@media (max-width: 576px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}



/*BOTON FLOTANTE*/


/*ENLACE LINKEDIN*/

.office-linkedin {
  margin-top: 15px;
  display: flex;
  justify-content: flex-start;
}

.linkedin-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background-color: #ffffff;
  color: #01033e;

  font-weight: 500;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.linkedin-profile img {
  width: 18px;
  height: 18px;
}

.linkedin-profile span {
  line-height: 1;
}

/* Hover */
.linkedin-profile:hover {
  background-color: #a3a3a3;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 576px) {
  .linkedin-profile {
    font-size: 0.85rem;
    padding: 7px 12px;
  }
}


/*ENLACE LINKEDIN*/