//* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación */
header {
    background: #000000;
    color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border-bottom: 2px solid #ffcc00;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li { margin-left: 20px; }

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

nav ul li a:hover { color: #ffcc00; }

/* Hero Section */
.hero {
    height: 75vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)),
        url('imagenes/gruas.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 5px;
    color: #ffcc00;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.cta {
    display: inline-block;
    background: #ffcc00;
    color: #000;
    padding: 18px 40px;
    font-size: 1.3rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
    animation: pulse-light 3s infinite; /* Nuevo pulso suave para llamadas */
}

@keyframes pulse-light {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Servicios y Cards */
.servicios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card {
    padding: 40px;
    border-radius: 15px;
    background: #fff;
    border: 1px solid #eee;
    border-top: 5px solid #ffcc00;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Zonas de Cobertura */
.grid-zonas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 30px;
}

.btn-zona {
    background: #fff;
    padding: 12px;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    text-align: center;
    font-size: 0.85rem;
    border: 1px solid #ddd;
    transition: 0.2s;
}

.btn-zona:hover {
    background: #000;
    color: #ffcc00;
}

/* WhatsApp Flotante - Optimizado */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    z-index: 3000;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 2px solid white;
    transition: 0.3s;
}

/* Animación de pulso verde para conversiones */
.whatsapp-float {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Footer */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 40px;
}

/* Mobile */
@media (max-width: 768px) {
    nav ul { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}