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

body {
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Navegación */
header {
    background: #1a1a1a;
    color: #fff;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.logo span {
    color: #ffcc00;
}

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

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

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

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

/* Hero Section */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        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: 2.5rem;
    margin-bottom: 10px;
}

.cta {
    display: inline-block;
    background: #ffcc00;
    color: #000;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: 0.3s;
}

.cta:hover {
    background: #e6b800;
}

/* Servicios */
#servicios {
    padding: 50px 5%;
    text-align: center;
}

.servicios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 5px solid #ffcc00;
}

/* Facturación */
.facturacion {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f4f4f4;
}

.factura-box {
    background-color: #ffcc00;
    color: #333;
    padding: 15px 30px;
    border-radius: 8px;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* Responsivo para WhatsApp */
@media (max-width: 480px) {
    .whatsapp-float span {
        display: none;
    }
    .whatsapp-float {
        padding: 12px;
        bottom: 15px;
        right: 15px;
    }
}



.cta {
    display: inline-block;
    background: #ffcc00;
    color: #222;
    padding: 15px 35px; /* Más grande para que sea fácil de tocar */
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px; /* Bordes redondeados más modernos */
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.cta:active {
    transform: scale(0.95); /* Efecto de "click" en el celular */
}