:root{
    --bg:#0c1015;
    --card:#171d26;
    --text:#ffffff;
    --yellow:#ffe600;
}

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

html,
body{
    width:100%;
    overflow-x:hidden;
    background:var(--bg);
    color:var(--text);
    font-family:Segoe UI, Arial, sans-serif;
}

/* =========================
   MENÚ SUPERIOR
   ========================= */

.nav{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:12px 4%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(0,0,0,.85);
    backdrop-filter:blur(8px);
    z-index:1000;
}

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

.nav a{
    color:#fff;
    text-decoration:none;
    margin-left:15px;
    transition:.2s;
}

.nav a:hover{
    opacity:.8;
}

.btn-nav{
    background:var(--yellow);
    color:#000 !important;
    padding:8px 12px;
    border-radius:6px;
    font-size:13px;
    font-weight:600;
}

.menu-links{
    display:flex;
    align-items:center;
    gap:15px;
}

@media(max-width:768px){

    .menu-links{
        flex-wrap:wrap;
        justify-content:center;
    }

}

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

.hero{
    height:100vh;
    min-height:700px;
    background:
        linear-gradient(
            rgba(0,0,0,.65),
            rgba(0,0,0,.80)
        ),
        url('../img/hero.jpg') center center / cover;
}

.overlay{
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}

h1{
    font-size:clamp(2.2rem,5vw,4.5rem);
    max-width:900px;
    margin-bottom:20px;
}

.overlay p{
    max-width:700px;
    font-size:1.2rem;
    color:#d6d6d6;
    margin-bottom:30px;
}

/* =========================
   BOTONES
   ========================= */

.btn{
    display:inline-block;
    margin:5px;
    padding:14px 24px;
    border:1px solid #fff;
    border-radius:10px;
    color:#fff;
    text-decoration:none;
    transition:.2s;
}

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

.primary{
    background:var(--yellow);
    color:#000;
    border:none;
}

/* =========================
   CONTENIDO
   ========================= */

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

.container h2{
    text-align:center;
    margin-bottom:40px;
}

/* =========================
   CATEGORÍAS
   ========================= */

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

.card{
    background:var(--card);
    padding:30px;
    border-radius:16px;
    text-align:center;
    transition:.2s;
}

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

.card h3{
    font-size:1.1rem;
}

/* =========================
   CONTACTO
   ========================= */

.contacto{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    align-items:center;
}

.contacto p{
    margin-bottom:12px;
}

.contacto iframe{
    width:100%;
    height:420px;
    border:0;
    border-radius:16px;
}

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

footer{
    text-align:center;
    padding:40px 20px;
    border-top:1px solid rgba(255,255,255,.1);
}

footer a{
    color:var(--yellow);
    text-decoration:none;
}

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

@media(max-width:768px){

    .nav{
        flex-direction:column;
        gap:10px;
        padding:15px;
    }

    .logo img{
        height:40px;
    }

    .hero{
        min-height:600px;
    }

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

    .btn{
        width:100%;
        max-width:320px;
    }
}

.btn-whatsapp-nav{
    background:#25D366;
    color:#fff !important;
    padding:8px 12px;
    border-radius:6px;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
}

.whatsapp-float{
    position:fixed;
    right:20px;
    bottom:20px;
    width:65px;
    height:65px;
    z-index:9999;

    border-radius:50%;

    box-shadow:
        0 4px 12px rgba(0,0,0,.35);

    transition:.2s;
}

.whatsapp-float:hover{
    transform:scale(1.08);
}

.whatsapp-float img{
    width:100%;
    height:100%;
    display:block;
}