:root {
    --orange: #ee7700;
    --dark: #333;
    --light: #f4f4f4;
    --white: #ffffff;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    margin: 0;
    color: var(--dark);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* Header */
header { background: var(--white); padding: 15px 0; border-bottom: 4px solid var(--orange); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-height: 70px; width: auto; }
.phone-link { color: var(--orange); text-decoration: none; font-weight: 800; font-size: 1.3rem; }

/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/fondo-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
}
.hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.maintenance-notice {
    display: inline-block;
    margin-top: 20px;
    background: var(--orange);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
}

/* Services */
.services { padding: 50px 0; background: var(--light); }
.section-title { text-align: center; margin-bottom: 30px; }
/* Configuración para 2 filas de 2 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Fuerza 2 columnas */
    gap: 30px; /* Un poco más de espacio entre ellas queda mejor en 2x2 */
}
.service-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-bottom: 4px solid var(--orange);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card i { font-size: 2.5rem; color: var(--orange); margin-bottom: 15px; }

/* Influence Zone (SEO local) */
.influence-zone { background: #eee; padding: 20px 0; text-align: center; border-top: 1px solid #ddd; }
.influence-zone h3 { font-size: 1rem; margin-bottom: 5px; color: #666; }
.influence-zone p { font-size: 0.9rem; font-style: italic; color: #888; }

/* 2. Mapa a todo el ancho */
.location { padding-top: 60px; padding-bottom: 0; text-align: center; }
.location-text { margin-bottom: 30px; }
.map-fullwidth { 
    width: 100%; 
    line-height: 0;
    filter: grayscale(20%);
    transition: filter 0.5s;
}
.map-fullwidth:hover { filter: grayscale(0%); }
.map-fullwidth iframe { vertical-align: middle; }

/* Footer */
footer { background: var(--dark); color: #bbb; padding: 40px 0 0; font-size: 0.9rem; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
}
footer h4 { color: white; margin-bottom: 15px; }
.bottom-footer { background: #1a1a1a; text-align: center; padding: 15px; font-size: 0.8rem; }

/* --- Botón Flotante de WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
}

/* Responsive - Corregido y Completo */
@media (max-width: 768px) {
    /* --- AÑADIDO: Para que el logo y el teléfono no se amontonen en móvil --- */
    .header-flex { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
    
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 1.6rem; padding: 0 15px; }
}