* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0F0F0F;
    color: #F5F5F5;
}

/* NAVBAR */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: #1C1C1C;
}

.logo {
    font-size: 22px;
    font-weight: 700;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar ul li a {
    text-decoration: none;
    color: #F5F5F5;
    font-weight: 500;
    transition: 0.3s;
}

.navbar ul li a:hover {
    color: #E6B800;
}

.btn-nav {
    background-color: #E6B800;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-nav:hover {
    opacity: 0.85;
}

/* HERO */

.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10%;
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
    url("https://images.unsplash.com/photo-1581090700227-1e8a7f07c6c6?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #CCCCCC;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background-color: #E6B800;
    color: #000;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary {
    border: 2px solid #E6B800;
    color: #E6B800;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-4px);
}

/* PROYECTOS */

.projects {
    padding: 100px 8%;
    text-align: center;
    background-color: #111;
}

.projects h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.projects-subtitle {
    color: #BBBBBB;
    margin-bottom: 50px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #1C1C1C;
    padding: 30px;
    transition: 0.4s;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-image {
    height: 180px;
    background-color: #2A2A2A;
    margin-bottom: 20px;
}

/* ANIMACIONES */

.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media(max-width: 900px) {
    .navbar ul {
        display: none;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* SERVICIOS */

.services {
    padding: 100px 8%;
    text-align: center;
    background-color: #0F0F0F;
}

.services h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.services-subtitle {
    color: #BBBBBB;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #1C1C1C;
    padding: 40px;
    transition: 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-bottom: 3px solid #E6B800;
}

/* ESTADÍSTICAS */

.stats {
    padding: 80px 8%;
    background-color: #111;
    text-align: center;
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
/* FOOTER */

.footer {
    background-color: #0A0A0A;
    padding: 40px;
    text-align: center;
    color: #777;
}

.stat h3 {
    font-size: 40px;
    color: #E6B800;
}

.stat p {
    color: #CCCCCC;
}

/* ===== OVERLAY PROYECTOS ===== */

.project-image {
    height: 200px;
    background-image: url("https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&w=1000&q=80");
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
}

.overlay span {
    color: #E6B800;
    font-weight: 600;
    letter-spacing: 1px;
}

.project-card:hover .overlay {
    opacity: 1;
}

/* ===== WHATSAPP FLOTANTE ===== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background-color: #E6B800;
    color: #000;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    z-index: 9999;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
}

/* EFECTO PULSO */

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230,184,0,0.6); }
    70% { box-shadow: 0 0 0 15px rgba(230,184,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(230,184,0,0); }
}

/* ===== EQUIPOS ===== */

.equipos {
    padding: 100px 8%;
    text-align: center;
    background-color: #0F0F0F;
}

.equipos h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.equipos-subtitle {
    color: #BBBBBB;
    margin-bottom: 50px;
}

.equipos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.equipo-card {
    background-color: #1C1C1C;
    padding: 30px;
    transition: 0.4s;
}

.equipo-card:hover {
    transform: translateY(-8px);
    border-bottom: 3px solid #E6B800;
}

.equipo-img {
    height: 200px;
    background-image: url("https://images.unsplash.com/photo-1581090700227-1e8a7f07c6c6?auto=format&fit=crop&w=1000&q=80");
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
}

.precio {
    color: #E6B800;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ===== CARRITO ===== */

.cart {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 260px;
    background-color: #1C1C1C;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    color: #F5F5F5;
    z-index: 999;
}

.cart h3 {
    margin-bottom: 15px;
}

.cart ul {
    list-style: none;
    margin-bottom: 15px;
    max-height: 150px;
    overflow-y: auto;
}

.cart ul li {
    font-size: 14px;
    margin-bottom: 5px;
}

.cart p {
    margin-bottom: 10px;
    font-weight: 600;
}
.cart {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 300px;
    background-color: #1C1C1C;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    color: #F5F5F5;
    z-index: 999;
    border-left: 3px solid #E6B800;
}

.cart button {
    margin: 5px 3px;
    padding: 4px 8px;
    background-color: #E6B800;
    border: none;
    cursor: pointer;
}

