@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}


:root {
    --cafe: #2b1314;
    --azul: #3f65a7;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/*Boton flotante*/

.boton_flotante {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    margin: 0px 25px 25px 0px;
    border-radius: 100px;
    z-index: 1;
}

.boton_flotante img{
    height: 50px;
}

.boton_flotante:hover {
    transform: scale(1.08);
    cursor: pointer;
    transition: transform 1s;
}

/* Barra superior */
.top-bar {
    background-color: var(--azul);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons img {
    width: 32px;
}

/* Menú principal */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo img{
    width: 150px;
    margin-right: 40px;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--azul);
    font-size: 16px;
    padding: 5px 10px;
}

.nav-links a:hover {
    color: var(--cafe);
}


.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 150px;
    top: 120%;
    left: 0;
    z-index: 10;
}

.dropdown-content a {
    color: var(--azul);
    padding: 10px;
    display: block;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: var(--cafe);
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: var(--azul);
    color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s;
    padding-top: 50px;
    z-index: 2000;
}

.menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px;
    font-size: 18px;
}

.menu a:hover {
    background-color: var(--cafe);
}

.menu.active {
    right: 0;
}

.submenu {
    display: none;
    padding-left: 20px;
}

.menu .dropdown.active .submenu {
    display: block;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

/* Linea whatsapp */

.linea_WA {
    display: flex;
    flex-direction: column;
    background-color: var(--azul);
    color: white;
    padding: 30px 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    text-align: center;
}

.linea_WA h1 {
    font-size: 3.2rem;
}

/*Banner*/

.carrusel_publicidad {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carrusel_publicidad img {
    width: 100%;
    height: auto;
    display: none;
}

.carrusel_publicidad img:first-child {
    display: block;
}

.carrusel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 10px;
}

.carrusel-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carrusel-prev {
    left: 0px;
}

.carrusel-next {
    right: 0px;
}

/* Botón de descarga */

.download-bar {
    background-color: var(--azul);
    text-align: center;
    padding: 20px 0;
    width: 100%;
}
  
.download-bar h2 {
color: white;
margin: 0;
padding: 0 20px;
display: inline-block;
vertical-align: middle;
font-size: 1.5em;
font-weight: 800;
}

.download-button {
display: inline-block;
background-color: white;
color: var(--naranja);
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
vertical-align: middle;
margin-left: 20px;
}

.download-button:hover {
background-color: var(--cafe);
color: white;
}

/*Div 1 Inicio*/

.div1-inicio {
    background-color: #fff;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.banner-content {
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: var(--azul);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-container {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0;
    background-color: #fff; /* Fondo blanco para la imagen */
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 0 0 0 15px; /* Solo la parte izquierda tiene borde redondeado */
}

.text-container {
    flex: 2 1 400px;
    padding: 30px;
    color: white;
    text-align: left;
}

.text-container h2 {
    margin-top: 0;
    font-size: 1.6em;
}

.text-container p {
    margin: 10px 0;
    font-size: 0.9em;
    font-weight: 300;
}

.text-container button {
    background-color: #fff;
    color: var(--cafe);
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.text-container button:hover {
    background-color: var(--cafe);
    color: white;
}

/* Clientes */

.clientes-container {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px;
    font-weight: 100;
    margin-top: 40px;
    margin-bottom: 40px;
}

.clientes-container h1 {
    font-size: 1.6rem;
    color: var(--naranja);
    margin-bottom: 15px;
}

.carousel {
    width: 80%; 
    display: flex;
    max-height: 250px; 
    overflow: hidden;
}

.slide {
    flex: 0 0 25%;
    height: 150px;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.arrow {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    margin: 0 10px;
    user-select: none;
    transition: background-color 0.3s ease;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.navigation {
    display: flex;
}

/* Form y botones */

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 500px;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0px;
}

.social-and-directions h3 {
    color: var(--naranja);
    margin-bottom: 10px;
}

.social-and-directions {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.social-and-directions, .quotation-form {
    flex-basis: 48%;
}

.social-links a, .direction-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--azul);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    margin-right: 10px; /* Ajusta el margen derecho para separación */
}

.social-links a:hover, .direction-buttons a:hover {
    background-color: var(--azul);
    transform: scale(1.05); /* Efecto de crecimiento al hacer hover */
}

.direction-buttons a {
    border: none; /* Remueve el borde si prefieres un look sin bordes */
}

.direction-buttons a img {
    width: 20px;
    margin-right: 5px;
}

.quotation-form h2 {
    color: var(--gris);
    text-align: center;
    font-size: 30px;
    margin-bottom: 15px;
}

.quotation-form p {
    text-align: center;
    color: var(--azul);
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--azul);
}

.quotation-form form {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Espacio entre campos */
}

.quotation-form input[type="text"],
.quotation-form input[type="number"],
.quotation-form input[type="email"],
.quotation-form textarea {
    padding: 10px;
    border: 1px solid var(--azul);
    border-radius: 5px;
    outline: none; /* Elimina el borde al enfocar */
}

.quotation-form input[type="text"]:focus,
.quotation-form input[type="number"]:focus,
.quotation-form input[type="email"]:focus,
.quotation-form textarea:focus {
    border-color: var(--naranja);
}

.quotation-form button {
    padding: 10px 20px;
    background-color: var(--azul);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quotation-form button:hover {
    background-color: var(--cafe);
    transition: background-color 1s;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas */
    gap: 12px 20px; /* Espacio entre filas y columnas */
    margin-top: 10px;
    margin-bottom: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--gris);
    background-color: #f9f9f9;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.checkbox-group label:hover {
    background-color: var(--azul);
    color: white;
    transform: scale(1.02);
}

.checkbox-group input[type="checkbox"] {
    accent-color: var(--cafe);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Footer */

footer {
    display: flex;
    width: 100%;
    background-color: var(--azul);
    padding: 40px 0;
}

.sec_final {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    margin: auto;
    gap: 30px;
}

.footer_col {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.col_larga {
    flex: 2;
}

.col_larga img {
    height: 70px;
    display: block;
    margin-bottom: 10px;
}

.col_larga p {
    color: white;
    font-size: 14px;
    line-height: 1.5;
    max-width: 500px;
}

.footer_col ul {
    list-style: none;
    padding: 0;
}

.footer_col ul li {
    margin-bottom: 8px;
}

.footer_col ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer_col ul li a:hover {
    color: var(--cafe);
    transition: color 0.3s ease-in-out;
}

.footer_col h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer_col p {
    color: white;
    font-size: 14px;
    line-height: 1.5;
}

.footer_col a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.footer_col a:hover {
    color: var(--cafe);
    transition: color 0.3s ease-in-out;
}

/* Derechos de autor*/

.Derechos_Autor {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    height: 40px;
    background-color: var(--cafe);
    font-size: 0.8rem;
}

/*Responsive*/

@media (max-width: 1280px) {
    
    /* Formulario */
    .contact-container {
        padding: 20px 200px;
        gap: 30px;
        margin: 30px 0px;
    }

}

@media (max-width: 768px) {

    /* Menu */

    .nav-links {
        display: none;
    }
    .menu-icon {
        display: block;
    }

    /* Descarga */
    
    .download-bar a {
        margin-top: 10px;
    }

    /* Clientes */
    .clientes-container h1 {
        font-size: 2rem;
        padding: 0px 30px;
    }

    .slide {
        flex: 0 0 50%; /* Muestra 2 logos a la vez en dispositivos móviles */
    }

    .navigation {
        z-index: 1;
    }

    .carousel {
        width: 90%; 
        max-height: 250px; 
    }

    /* Formulario */

    .quotation-form h2 {
        margin-top: 70px;
    }

    .contact-container {
        padding: 20px 30px;
        flex-direction: column;
        gap: 30px;
        margin: -30px 0px 40px 0px;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .sec_final {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer_col {
        flex: 1 1 100%;
        text-align: center;
    }

    .col_larga {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1 1 100%;
        gap: 20px;
    }
}

@media (max-width: 480px) {


}