@charset "utf-8";
/* CSS Document */
/* Estilos generales */
body { font-family: Arial, sans-serif; margin: 0; line-height: 1.6; }
.container { width: 90%; max-width: 1200px; margin: auto; padding: 20px 0; }

header { background: #333; color: #fff; padding: 1rem 0; }
nav { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 20px; }
.nav-links a { color: white; text-decoration: none; }

/* Grid de Servicios */
.services-grid {
    display: flex;
    flex-direction: column; /* Columna por defecto (móvil) */
    gap: 20px;
}

.service-card {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

footer { background: #333; color: white; text-align: center; padding: 20px 0; margin-top: 40px; }

/* Media Query para pantallas más grandes (Escritorio) */
@media (min-width: 768px) {
    .services-grid {
        flex-direction: row; /* Fila en pantallas grandes */
        justify-content: space-between;
    }
    .service-card { flex: 1; }
}

/* Botón hamburguesa oculto por defecto */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}
.menu-toggle span {
    width: 25px; height: 3px; background: white; margin: 2px;
}

/* Estilos móviles */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links {
        display: none; /* Oculto */
        flex-direction: column;
        width: 100%;
        background: #444;
        position: absolute;
        top: 60px; left: 0;
    }
    .nav-links.active { display: flex; } /* Se muestra al hacer clic */
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}
.contact-form input, .contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px; /* Evita zoom automático en iPhone */
}
.btn-send {
    background: #007bff;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
.btn-send:hover { background: #0056b3; }

header {
    background: #0052CC; /* Elige el color de la paleta */
}

.btn-send {
    background: #0052CC;
}

.btn-send:hover {
    background: #0065FF; /* Un tono más claro para el efecto */
}

.service-card {
    border-top: 4px solid #0052CC; /* Añade una línea arriba para estilo */
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
}
.whatsapp-float:hover { background-color: #128c7e; }

