body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    height: 100%;
}

header {
    background-color: white;
    color: black;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display:flex;
    justify-content: center;
    max-height: 40px;
    width: 100%;
    position: fixed;
    z-index: 1;
}

main {
    background-color: #ffffff;
    color: white;
   
    min-height: calc(100vh - 80px); /* Ajusta el alto del main */
}
.contenido_header{
    display: flex;
    margin-left: 70px;
}

.logo{
    padding: 15px;
    display: block;
    position: relative;
   
    margin-right: 20px;
    margin-left: 5px;
}
.nav{
    display: flex;
    margin-top: 5px;
    padding: 5px;
    font-size: 13px;
    margin-right: 30px;
    margin-left: 200px;
    position: relative;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    color: black;
    font-weight: bold;
}
a {
    text-decoration: none;
    color: black;
    transition: color 0.4s ease; /* Transición suave de 0.5 segundos */
}

/* Cambia el color a rojo al pasar el puntero */
a:hover {
    color: red;
}
.presentacion{
    display: block;
    width: 100%;
    height: 500px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('fondopresentacion.jpg');
    background-size: cover; /* Ajusta la imagen para que cubra todo el div */
    background-position: center; /* Centra la imagen en el div */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
}
.contenido_presentacion{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 250px;
    margin-bottom: 100px;
    
}
.contenido_presentacion_titulo{
    font-size: 50px;
    width: 900px;
    text-align: center;
    letter-spacing: normal;
    line-height: normal;
    vertical-align: baseline;
    text-size-adjust: 100%;
    pointer-events: auto;
    vertical-align: baseline;
}
.contenido_presentacion_texto{
    width: 600px;
    text-align: center;
    letter-spacing: normal;
    line-height: normal;
    vertical-align: baseline;
    text-size-adjust: 100%;
    pointer-events: auto;
    vertical-align: baseline;
}
.explicacion{
    width: 100%;
    height: 220px;
    background-color: rgb(218, 43, 43);
}
.explicacion {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 100%;
    background-color: #ff0000; /* Color de fondo solo como referencia */
    color: white; /* Color de texto */
}

/* Estilos para los textos y líneas */
.texto {
    padding: 0 20px; /* Espaciado entre el texto y la línea */
    font-size: 20px; /* Tamaño del texto */
}

/* Estilo para las líneas entre los textos */
.texto:not(:last-child)::after {
    content: '';
    display: inline-block;
    height: 100%;
    width: 1px; /* Grosor mínimo de la línea */
    background-color: white; /* Color de la línea */
    margin-left: 20px; /* Espaciado después de la línea */
}      
.explicacion {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 260px;
    width: 100%;
    background-color: #d32020; /* Color de fondo solo como referencia */
    color: white; /* Color de texto */
}

/* Estilos para los textos y líneas */
.explicacion_texto {
    padding: 0 20px; /* Espaciado entre el texto y la línea */
    font-size: 20px; /* Tamaño del texto */
    width: 200px;
    height: 210px;
}

/* Estilo para las líneas entre los textos */
.explicacion_titulo{
    font-size: 17px;
    margin-top: 0px;
    margin-bottom: 20px;
}
.explicacion_descripcion{
    font-size: 14.2px;
}
.linea {
    height: 85%;
    width: 1px;
    background-color: white;
    margin-top: 40px;
    margin-bottom: 40px;
}
.cita{
    width: 100%;
    height: 370px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cita_descripcion{
    width: 300px;
   color: black;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   margin-right: 100px;
   margin-left: 200px;
}
.cita_descripcion_titulo{
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}
.cita_descripcion_texto{
    font-size: 15px;
    margin-top: 10px;
    font-weight: normal;
    text-align: center;
}
.cita_descripcion_boton{
    margin-top: 40px;

}
.boton_cita {
    background-color: #d32020; /* Color rojo de fondo */
    color: white; /* Color del texto en blanco */
    border: none; /* Sin borde */
    padding: 15px 30px; /* Espaciado dentro del botón */
    font-size: 16px; /* Tamaño del texto */
    cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
    transition: background-color 0.3s ease; /* Transición suave para el cambio de color */
    height:40px;
    width: 202;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilo del botón al pasar el mouse (hover) */
.boton_cita:hover {
    background-color: darkred; /* Color más oscuro al pasar el mouse */
}
.comprometer{
    background-color: #E3E3E3;
    height: 800px;
  
    width: 100%;
}
.comprometer_arriba{
    display: flex;
    color: black;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.comprometer_arriba_titulo{
    margin-top: 120px;
    width: 700px;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 1.3em;
    text-align: center;
    font-size: 28px;
    letter-spacing: 0.05em;
    letter-spacing: normal;
    line-height: normal;
    vertical-align: baseline;
    text-size-adjust: 100%;
    pointer-events: auto;
    vertical-align: baseline;
}
.comprometer_arriba_texto{
    text-align: center;
    width: 1000px;
    font-size: 16px;
    
}
.comprometer_abajo{
    display: flex;
    justify-content: space-evenly;
   
    width: 100%;
    margin-top: 120px;
    
   
}
.atencion{
    width: 300px;
    height: 200px;
    display: flex;
    color: black;
    flex-direction:column;
    justify-content: center;
    padding: 20px;
    margin-left: 40px;
    margin-right: 40px;
    text-align: center;
}
.atencion_icono{
    
    margin-bottom: 25px;
}
.icono-ubicacion {
    color: #d32020; /* Cambia el color a rojo */
    font-size: 52px; /* Ajusta el tamaño, puedes cambiar el valor según prefieras */
  }
  .atencion_titulo{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
  }
.garantia{
    width: 300px;
    height: 200px;
    display: flex;
    color: black;
    flex-direction:column;
    justify-content: center;
    padding: 20px;
    margin-left: 40px;
    margin-right: 40px;
    text-align: center;
}
.garantia_icono{
  
    margin-bottom: 10px;
}
.equipo{
    width: 300px;;
    height: 200px;
    display: flex;
    color: black;
    flex-direction:column;
    justify-content: center;
    padding: 20px;
    margin-left: 40px;
    margin-right: 40px;
    text-align: center;
}
.footer_llamanos{
    height: 120px;
    background-color: #d32020;
    display: flex;
    color: white;
    align-items: center;
    justify-content: space-evenly;
}
.icono_footer{
    font-weight: bold;
    font-size: 20px;
}
.footer_medio{
    background-color: rgb(77, 77, 80);
    height: 120px;
    display: flex;
    color: white;
    align-items: center;
    justify-content: space-around;
    
}
.footer_copy{
    height: 30px;
    background-color: black;
}
.mas_medio{
 
    width: 350px;
    min-width: 200px;
}
.footer_copy{
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Estilos generales */
.nav {
    display: flex;
}

.menu-hamburguesa {
    display: none; /* Oculto por defecto en pantallas grandes */
    font-size: 30px;
    cursor: pointer;
}
header {
    background-color: white;
    color: black;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    
    align-items: center;
    max-height: 60px;
    
    position: fixed;
    top: 0;
    z-index: 1000;
}

/* Ajuste para el logo */
.logo {
    display: block;
    height: auto;
    max-width: 140px;
    margin-right: auto;
}

/* Nav general */
.nav {
    display: flex;
    align-items: center;
    font-size: 13px;
}

/* Links de navegación */
.nav a {
    text-decoration: none;
    color: black;
    padding: 0 15px;
    transition: color 0.4s ease;
}

.nav a:hover {
    color: red;
}

/* Hamburguesa oculta en pantallas grandes */
.menu-hamburguesa {
    display: none;
    font-size: 30px;
    cursor: pointer;
}
.cerrar-menu {
    display: none; /* Oculto en pantallas grandes */
    padding: 20px;
    text-align: right;
    cursor: pointer;
}

.cerrar-menu ion-icon {
    font-size: 30px;
}
/*NUESTRAFABRICA_PAGINA2*/
.contenedor_nuestrafabrica{
    color: black;
    display: flex;
    align-items: center;
   justify-content: center;
    margin-top: 120px;
    flex-direction: column;
}
.nuestrafabrica_titulo{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 34px;
    font-weight: bold;
    width: 50%;
    
}
.nuestrafabrica_texto{
    display: flex;
    justify-content: space-between;
    width: 50%;
    margin-top: 20px;
    width: 50%;
    
}
.nuestrafabrica_palabra{
    width: 50%;
    margin-bottom: 10px;
}
.nuestrafabrica_fotos{
    display: flex;
    flex-direction: column;
}
.foto{
    padding: 20px;
    width: 300px;
}
.imagen{
    padding: 20px;
    width: 300px;
}
main{
    width: 100%;
}
.contenedor_servicio{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 120px;
    color: black;
    width: 100%;
    text-align: center;
}
.contenido_titulo{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45%;

}
.titulo_servicio{
    font-weight: bold;
    font-size: 30px;
}
.subtitulo_servicio{
    margin-top: 20px;
}

.contenido_ticks{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
    padding: 20px;
}
.tick{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.tick_arriba{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}
.icono_tick{
    font-size: 70px;
    color:rgb(201, 3, 3);
}
.tick_titulo{
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;

}
.tick_texto{
    font-size: 15px;
    margin-top: 10px;
    padding: 20px;
    width: 80%;
}
.contenedor_contacto{
    margin-top: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
flex-direction: column;
color: black;
}
.contenedor_contacto_titulo{
    display: flex;
    font-size: 40px;
    margin-top: 120px;
    
    width: 100%;
    justify-content: center;
    align-items: center;
}
.contenedor_contacto_texto{
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}
.datos_de_contacto {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-left: 40px;
    margin-right: 40px;
}

.contenedor_contacto_datos {
    margin-left: 40px;
    margin-right: 40px;
    padding: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
    width: 250px;
    text-align: center;
}

.contenedor_contacto_datos:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.icono_contacto {
    font-size: 60px;
    color: #d32020;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
}

.contacto_titulo {
    font-size: 24px;
    padding: 10px;
    font-weight: bold;
    color: #333;
}

.contacto_texto {
    font-size: 18px;
    padding: 5px;
    color: #555;
}
.mapa {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mapa iframe {
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.788), 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mapa iframe:hover {
    transform: scale(1.05);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2), 0 10px 15px rgba(0, 0, 0, 0.2);
}
/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100%;
        width: 280px;
        flex-direction: column;
        background-color: white;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: -4px 0 5px rgba(0, 0, 0, 0.1);
        padding-top: 60px; /* Para que no se solape con el header */
    }
    
    .nav a {
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid #ccc;
        font-size: 18px; /* Aumentar un poco el tamaño para móviles */
    }
    
    .menu-hamburguesa {
        display: block; /* Mostrar la hamburguesa en móviles */
    }

    .nav.active {
        right: -30px; /* Despliega el menú */
    }

    .contenido_header {
        justify-content: space-between; /* Asegura que el logo y la hamburguesa estén separados */
        width: 100%;
    }
    .comprometer_abajo{
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
    }
    .comprometer{
    
        height: 1180px;
      
       
    }
    .cerrar-menu {
        display: block;
    }

    header {

        justify-content: flex-start;
        width: 90%;
    }
    .contenido_presentacion {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 150px;
        margin-bottom: 100px;
    }
    .contenido_presentacion_titulo {
        font-size: 40px;
        width: 400px;
        text-align: center;
        letter-spacing: normal;
        line-height: normal;
        vertical-align: baseline;
        text-size-adjust: 100%;
        pointer-events: auto;
        vertical-align: baseline;
    }
    .contenido_presentacion_texto {
        width: 300px;
        text-align: center;
        letter-spacing: normal;
        line-height: normal;
        vertical-align: baseline;
        text-size-adjust: 100%;
        pointer-events: auto;
        vertical-align: baseline;
    }
    .linea{
        display: none;
    }
    .explicacion {

        align-items: center;
        height: 860px;

        flex-direction: column;
    }
    .explicacion_titulo{
        
        font-size: 20px;
        text-align: start;
    }
    .explicacion_texto{
        margin-top: 40px;
        margin-bottom: 20px;
        font-size: 10px;
        margin-bottom: 40px;
    }
    .explicacion_descripcion{
       
        margin-bottom: 0px;
        font-size: 16px;
        text-align: start;
    }
    .comprometer_arriba_titulo {
        margin-top: 50px;
        width: 400px;
    }
    .comprometer_arriba_texto {
       
        width: 400px;
       
    }
    .cita {
        width: 100%;
        height: 370px;
        background-color: white;
        display: flex;
        align-items: center;
      
        flex-direction: column;
    }
    .cita_descripcion {

        margin-right: 0px;
        margin-left: 0px;
    }
    .footer_llamanos {
        text-align: start;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        height: 200px;
    }
    .footer_medio {
        height: 350px;
        flex-direction: column;
    }
    .footer_copy{
        font-size: 10px;
    }
    .contenido_header{
        margin-left: -20px;
        margin-top: 10px;
        align-items: center;
    }
    .contenedor_nuestrafabrica{
        width: 100%;
    }
    .nuestrafabrica_titulo{
        width: 80%;
        font-size: 24px;
    }
    .nuestrafabrica_texto{
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .nuestrafabrica_palabra{
        text-align: center;
        justify-content: center;
        width: 80%;
        color: black;
        

    }
    .foto{
        width: 30%;
    }
    .contenido_titulo{
        width: 90%;
    }
    .titulo_servicio{
        font-size: 25px;
        width: 100%;
    }
    .contenido_ticks{
        width: 100%;
    }
    .tick_arriba{
        flex-direction: column;
        width: 100%;

    }
    .tick{
        width: 100%;
    }
    .icono_tick{
        font-size: 50px;
    }
    .nuestrafabrica_fotos{
        justify-content: center;
        align-items: center;
    }
    .imagen{
        width: 80%;
    }
    .datos_de_contacto {
        
        flex-direction: column;
    }
    .contenedor_contacto_datos{
        margin-top: 20px;
    }
    .contenedor_contacto_titulo{
        font-size: 30px;
        text-align: center;
    }
    .contenedor_contacto_texto{
        text-align: center;
    }
}
