/*=============================
 EL RAYO V5 - LIMPIO
=============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#111;
    color:#fff;
}

:root{
    --amarillo:#ffd400;
    --negro:#111111;
    --gris:#1c1c1c;
}

a{
    text-decoration:none;
    color:white;
}

img{
    max-width:100%;
    display:block;
}

/*=========================
 HEADER / MENU
=========================*/

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 5%;
    background:rgba(0,0,0,.45);
    backdrop-filter:blur(8px);
}

.logo h2{
    font-size:34px;
    color:var(--amarillo);
}

.logo p{
    font-size:14px;
    color:#ddd;
    margin-top:5px;
}

.navbar ul{
    display:flex;
    gap:35px;
    list-style:none;
}

.navbar ul li a{
    font-weight:bold;
    transition:.3s;
}

.navbar ul li a:hover{
    color:var(--amarillo);
}

.telefono{
    background:var(--amarillo);
    padding:14px 22px;
    border-radius:8px;
    color:#000;
    font-weight:bold;
}

/* BOTÓN HAMBURGUESA (OCULTO EN ESCRITORIO) */
.menu-toggle{
    display:none;
    font-size:34px;
    color:var(--amarillo);
    cursor:pointer;
}

/*=========================
 HERO
=========================*/

.hero{
    height:100vh;
    background:url("img/hero.png");
    background-size:contain;
    background-position:center top;
    background-repeat:no-repeat;
    background-color:#000;
    position:relative;
}

.hero-content{
    max-width:700px;
}

.hero h5{
    color:var(--amarillo);
    letter-spacing:4px;
    font-size:16px;
    margin-bottom:15px;
}

.hero h1{
    font-size:82px;
    line-height:86px;
    margin-bottom:25px;
    font-weight:800;
}

.hero h1 span{
    display:block;
    color:var(--amarillo);
}

.hero p{
    font-size:22px;
    line-height:35px;
    color:#ddd;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    padding:18px 35px;
    border-radius:10px;
    font-size:18px;
    font-weight:bold;
    background:var(--amarillo);
    color:black;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-5px);
}

.whatsapp{
    background:#25D366;
    color:white;
}

/*=========================
 SERVICIOS
=========================*/

.servicios{
    padding:100px 8%;
    background:#161616;
}

.titulo{
    text-align:center;
    margin-bottom:70px;
}

.titulo h4{
    color:var(--amarillo);
    letter-spacing:3px;
    margin-bottom:10px;
}

.titulo h2{
    font-size:45px;
    margin-bottom:20px;
}

.titulo p{
    color:#bdbdbd;
    font-size:18px;
    max-width:700px;
    margin:auto;
    line-height:30px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
    gap:35px;
}

.card{
    background:#202020;
    padding:40px 30px;
    border-radius:18px;
    border-top:4px solid var(--amarillo);
    transition:.35s;
    box-shadow:0 15px 40px rgba(0,0,0,.35);
}

.card:hover{
    transform:translateY(-10px);
}

.card h3{
    font-size:26px;
    margin-bottom:15px;
}

.card p{
    color:#c7c7c7;
    line-height:30px;
}

/*=========================
 CTA
=========================*/

.cta{
    padding:90px 8%;
    text-align:center;
    background:#0d0d0d;
}

.cta h2{
    font-size:48px;
    margin-bottom:20px;
}

.cta p{
    font-size:20px;
    color:#d4d4d4;
    margin-bottom:35px;
}

/*=========================
 FOOTER
=========================*/

footer{
    background:#000;
    padding:60px 20px;
    text-align:center;
}

footer h2{
    color:var(--amarillo);
    font-size:34px;
    margin-bottom:15px;
}

footer p{
    color:#aaa;
}

/*=========================
 WHATSAPP FIXED
=========================*/

.whatsapp-fixed{
    position:fixed;
    right:25px;
    bottom:25px;
    z-index:999;
}

.whatsapp-fixed a{
    width:68px;
    height:68px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:#25D366;
    color:white;
    font-size:34px;
}

/*=========================
 RESPONSIVE
=========================*/

@media (max-width:992px){

    .navbar{
        flex-direction:column;
        gap:20px;
    }

    .hero h1{
        font-size:58px;
        line-height:64px;
    }

    .cards{
        grid-template-columns:1fr;
    }
}

@media (max-width:768px){

    /* MENÚ */
    .menu-toggle{
        display:block;
        position:absolute;
        right:20px;
        top:20px;
        z-index:1001;
    }

    .navbar ul{
        display:none;
        position:absolute;
        top:70px;
        right:10px;
        width:220px;
        background:#000;
        border:1px solid var(--amarillo);
        padding:15px;
        flex-direction:column;
        gap:15px;
        z-index:9999;
    }

    .navbar ul.active{
        display:flex;
    }

    .logo p{
        display:none;
    }

    .hero h1{
        font-size:42px;
        line-height:48px;
    }

    .hero p{
        font-size:17px;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    .whatsapp-fixed a{
        width:60px;
        height:60px;
        font-size:30px;
    }
}

/*=========================
 HERO (PC + MÓVIL BIEN AJUSTADO)
=========================*/

.hero{
    height:100vh;
    background-image:url("img/hero.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-color:#000;
    position:relative;
    display:flex;
    align-items:center;
}

/*=========================
 HERO MÓVIL
=========================*/

@media (max-width:768px){

    .hero{
        background-image:url("img/hero-mobile.png");
        background-size:cover;
        background-position:center top;
        background-repeat:no-repeat;
    }

    .hero-content{
        text-align:center;
        max-width:100%;
        padding:0 20px;
    }

    .hero h1{
        font-size:42px;
        line-height:48px;
    }

    .hero h5{
        font-size:14px;
    }

    .hero p{
        font-size:17px;
        line-height:26px;
    }

    .hero-buttons{
        justify-content:center;
    }
}

/*=========================
 GALERÍA PRO
=========================*/

.galeria{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:15px;
    padding:20px;
}

.galeria img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
    transition:.3s;
}

.galeria img:hover{
    transform:scale(1.05);
}
