html,
body{
width:100%;
overflow-x:hidden;
}



.navbar {
    background-color: #b41119; 
    padding: 0px 40px 0px 0px ; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.navbar-brand img {
    max-width: 100%; 
    margin: 0;
    display: block; 
}

.d-flex {
    font-size: 1.3em; 
}

.navbar-light .navbar-brand {
    padding: 0; 
}

.fa-phone { 
    font-size: 50px; 
    color: #ffffff; 
}

.contacto a {
    font-size: 0.8em; 
    color: #fff; 
    font-weight: bold; 
    text-align: left; 
    font-family: 'Lato', sans-serif; 
    line-height: 1.2; 
    letter-spacing: 1px; 
    text-decoration: none; 
}

/* Para el estado de enlace activo */
.contacto a:hover {
    text-decoration: underline; 
}

.cont {
    padding-left: 80px;
    font-optical-sizing: auto;
    font-style: normal;
    margin-top: -60px;

}

.cont h1{
    font-size: 3em;
    font-weight: 700;
    font-family: "Raleway", sans-serif;
    letter-spacing: 1px; 

}

.cont h2{
    font-size: 1.2em;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1px; 
    
}

.button2 {
        font-size:1.1em;
        font-family: "Montserrat", sans-serif;
        font-optical-sizing: auto;
        font-weight: 600;
        font-style: normal;
        text-transform: uppercase;
        padding: 14px 40px 14px 40px;
        border-radius: 13px;
        background-color: #b41119;
        border-color: #b41119;
        color:#ffffff;
        letter-spacing: 1px;

      }

.button2:hover {
      background-color: #ffffff;
      color: #b41119;
}

.button1 {
    font-size:1.1em;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    padding: 14px 40px 14px 40px;
    border-radius: 13px;
    background-color: #fff;
    border-color: #fff;
    color:#333;
    letter-spacing: 1px;

      }

.button1:hover {
        background-color:#b41119;
        color:#ffffff;
  }

.container h2 {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-size: 3.2em;
    font-weight: 900;
    color: #666;
    letter-spacing: 1px; 
    
  }

.secc1{
    padding: 40px 0px 40px 0px;
}

.secc1 h2 {
    padding-bottom: 50px;

}


.card {
    min-height: 460px; 
    
}

.card-img-top {
    border-radius: 20px 20px 0 0; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-body {
    border-radius: 0 0 0px 0px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

.container .text-primary  {
    font-family: "Raleway", sans-serif;
    font-size: 1.5em;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: bold;
    /* letter-spacing: 1px; */
    color: #b41119 !important;
}

.container .text-dark{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-size: 15px;
    font-weight: 300;
    font-style: normal;
    font-style:normal;


}

p.text-dark {
    padding-top: 15px;
}

.card-body.bg-white {
    margin-bottom: 19px;
}

.row{
    margin-top: 60px;
}

.container {
    padding: 40px; 
}

img {
    max-width: 100%; 
    height: auto; 
}

.text-right {
    text-align: right; 
}

.overlay-box {
    /*background-color: white;
    /*border-radius: 40px; 
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra del recuadro */
    position: absolute; 
    top: 100%; 
    right: 0; 
    transform: translateY(-220%); 
    z-index: 1; 
    /*padding: 20px 0px 20px 20px; /* Espacio interno */
    width: 800px; 
    left: 480px;

    
}

/* Alineación y espacio en el contenido del recuadro */
.overlay-box .row {
    height: 100%; 
    display: flex; 
    align-items: center !important;
    justify-content: center !important; 
   
   
}

/*.overlay-box h4 {
    margin: 0; 
    font-family: "Raleway", sans-serif; 
    margin-top: -40px;
}
*/
/*
.overlay-box p {
    margin: 0; 
    font-family: "Montserrat", sans-serif;
}
*/

h4 {
    margin-bottom: 10px; /* Espacio debajo de los títulos */
}


.text-right h2{
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-size: 3.0em;
    font-weight: 900;
    color: #666;
    letter-spacing: 1px; 
    margin-bottom: 28px;
}

.text-right p{
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.6em;
    color: #999;

}

.cta{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 1em;
    color: #666 !important;
   

}


.col-md-4 h4{
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 1.9em;
    color: #b41119;
    text-transform: uppercase;
    
}
    
.col-md-4 p{
        font-family: "Raleway", sans-serif;
        font-optical-sizing: auto;
        font-weight:400;
        font-style: normal;
        font-size: 1.3em;
        color: #444;
        margin-top: -10px;
        
    
    }

    
.img-fluid{
    margin-top:-40px
}


.text2{
  
    padding: 30px 100px 0px 0px;
}

.interm{
    background-color: #eeeeee;
    padding: 40px 0px 90px 0px;
    margin: 0px;
    margin-bottom: 0;
}


.interme{
    margin-top:0px;
}

.custom-container {
  
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        margin-top: -200px !important; 
        padding: 0; 
}

.no-padding {
    padding: 0;
    margin: 0;
}

.contact-info {
    /*background-color: #b41119; /* Color de fondo de la columna de contacto */ 
    background-image: url("image/fondo-color.png");
    background-size: cover; 
    background-position: center;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 24px;
    margin-right: 10px;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 40px;
    margin: auto; 
    width: 80%; 

}

.form-control {
    margin-bottom: 15px;
    background-color: #fff;
    text-transform: uppercase;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-size: 0.9em;
    font-weight: 400;
    color: #999;
    letter-spacing: 1px;
    padding: 30px;
    border-radius: 10px;

    
}




.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 38px; 
    height: auto; 
    margin-right: 14px; 
}

.contact-text {
    line-height: 1.4; 
    margin: 0; 
}

label {
    display: none; 
}

.box-form{
    background-color: #ffffff opacity 0.5;
    border: radius 30px;
}


.datos h2{
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-size: 3.2em;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 100px;
    

}

.datos p{
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-size: 1.3em;
    font-weight: 400;
    color: #fff;
    letter-spacing: 1px;

}

.contact-item {
   padding-left: 120px;
}

.contact-info h2{
    padding-left: 120px;
    padding-top: 60px;


}

.dat{
    margin-top: 60px;
}



.contact-forma{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
}

.container .rect{
    margin-bottom: 0;
}

.custom-container {
    margin-top: 0 !important;
    padding: 0 !important;
}

/* WHATSAPP FIJO */

.waNab {
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 200px;
    z-index: 99999;
    background-color: #0aaa46;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    color: #fff !important;
    border-radius: 20px;
  }
  
  #btnWa a {
    color: #fff !important;
    font-weight: 500;
    font-size: 19px;
  }
  
  #btnWa img {
    margin-right: 10px;
  }
  
  /* MAPA FIJO */
  div#btnmap {
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 9999;
  }
  
  .mapNab img {
    box-shadow: 0px 0px 25px -6px #959595;
    border-radius: 38px;
  }

.custom-container{}

          @media (max-width: 768px) {
        .cont {
            padding-left: 20px; 
            padding-right: 20px; 
            text-align: center; 
        }
    
        .cont h1 {
            font-size: 2.5em;
        }
    
        .cont h2 {
            font-size: 1.1em; 
        }
    
        .button1, .button2 {
            width: 100%; 
            margin: 5px 0;
        }

        .container-fluid .row {
            padding: 0px; 
        }

        .text-mobile-center {
            text-align: center; 
            padding: 10; 
            
        }
        .text-mobile-center h2 {
            font-size: 2.3em;
            text-align: center; 
            padding: 30px 5px 0px 5px;
        }

        .text-mobile-center p {
            font-size: 1.3em;
            text-align: center; 
            padding: 0px 5px 10px 5px;  
        }

        .img-fluid{
            margin-top: -20px;
          
       
        }

        .mobile-image {
            display:block; /* Muestra la imagen en móviles */
            margin-top: -90px;
        
            
            
        }
        
                #contacto{
    margin-top: 62px;
  }

        .text2{
  
            padding: 10px 20px 10px 20px;
        }

        .interm{
            background-color: #ffffff;
            padding: 40px 0px 90px 0px;
        }

        .mobile-image .img-fluid2{
            margin: -140px;
          
       
        }

        .custom-container {
  
            width: 100vw;
            margin-top: -40px !important; 
            padding: 0; 
        }
        
        .datos h2{
        font-family: "Raleway", sans-serif;
        font-optical-sizing: auto;
        font-size: 2.7em;
        font-weight: 800;
        color: #fff;
        letter-spacing: 1px;
        margin-top: 30px;
    
        }
    
         .datos p{
        font-family: "Raleway", sans-serif;
        font-optical-sizing: auto;
        font-size: 1.3em;
        font-weight: 400;
        color: #fff;
        letter-spacing: 1px;}

        .contact-item {
            padding: 10px;
            
         }
         
         .contact-info h2{
            padding: 10px 10px 0px 10px;
            text-align: center;
             
         
         }

         .dat{
            margin-top: 20px;
        }

        .form-container {
            background-color: rgba(255, 255, 255, 0.8);
            border-radius: 20px;
            padding: 10px;
            margin: 0; /* Centrando el contenedor */
            width: 100%; /* Ancho del formulario */
        
        }
        .secc1 h2{
            font-size: 2.3em;
            text-align: center; /* Centra el texto en móviles */
            padding: 0;
 
        }

        .card {
            margin-top:40px;
            
        }

        .row{
            margin-top: -10px;
        }

       
    
        @media (max-width: 768px) {
            .custom-container {
                margin-top: 0 !important; 
                padding: 0; 
            }
        
            .contact-info {
                padding: 20px; 
                text-align: center; 
            }
        
            .contact-forma {
                padding: 20px;
                display: flex; 
                flex-direction: column; 
                align-items: center; 
            }
        
            .form-container {
                width: 90%; 
                margin: 0 auto; 
                padding: 20px; 
            }
            
            .contact-item {
                padding: 10px; 
                justify-content: center; 
            }

            .contact-info h2 {
                margin-bottom: 0; 
            }

            .contact-item {
                flex-direction: column; 
                align-items: center; 
                text-align: center; 
            }
        
            .contact-icon {
                margin-bottom: 10px; 
            }
        }
        

    }