/* =====================================================
   RESET
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#000;
    color:#fff;
    font-family:'Segoe UI',sans-serif;
    overflow-x:hidden;
}

/* =====================================================
   HERO
===================================================== */

.hero{
    height:100vh;
    position:relative;
    display:flex;
    flex-direction:column;
    overflow:hidden;
}

.bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to bottom,
        rgba(0,0,0,.65),
        rgba(0,0,0,.75)
    );
}

/* =====================================================
   NAVBAR
===================================================== */

nav{
    position:relative;
    z-index:10;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 50px;
}

nav img{
    height:60px;
}

nav a{
    margin-left:20px;
    color:#c0c0c0;
    text-decoration:none;
    font-weight:500;
    letter-spacing:1px;
    transition:.3s;
}

nav a:hover{
    color:#fff;
    text-shadow:0 0 10px rgba(255,255,255,.4);
}

/* =====================================================
   HERO CARDS PREMIUM
===================================================== */

.hero-cards{
    position:relative;
    z-index:5;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:35px;
    flex:1;
    padding:40px;
    perspective:1000px;
}

.hero-cards .card{
    position:relative;
    overflow:hidden;

    width:100%;
    max-width:320px;

    padding:40px 30px;

    background:rgba(15,15,15,.75);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    border:1px solid rgba(192,192,192,.15);
    border-radius:25px;

    text-align:center;

    transition:all .4s ease;
    cursor:pointer;

    box-shadow:
        0 10px 30px rgba(0,0,0,.5),
        inset 0 1px 1px rgba(255,255,255,.05);
}

/* Brillo animado */

.hero-cards .card::before{
    content:'';
    position:absolute;

    top:-100%;
    left:-50%;

    width:200%;
    height:200%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.10),
        transparent
    );

    transform:rotate(25deg);
    transition:.8s;
}

/* Línea metálica superior */

.hero-cards .card::after{
    content:'';
    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:4px;

    background:linear-gradient(
        90deg,
        transparent,
        #c0c0c0,
        transparent
    );
}

.hero-cards .card:hover{
    transform:
        translateY(-10px)
        rotateX(5deg);

    border-color:rgba(192,192,192,.5);

    box-shadow:
        0 20px 40px rgba(0,0,0,.7),
        0 0 25px rgba(192,192,192,.15);
}

.hero-cards .card:hover::before{
    top:100%;
}

.hero-cards .card .icon{
    font-size:50px;
    margin-bottom:20px;
    color:#c0c0c0;
    transition:.4s;
}

.hero-cards .card:hover .icon{
    transform:scale(1.15);
    text-shadow:
        0 0 15px rgba(192,192,192,.6);
}

.hero-cards .card h2{
    font-size:1.4rem;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;

    margin-bottom:15px;

    color:#f0f0f0;
    transition:.3s;
}

.hero-cards .card:hover h2{
    text-shadow:
        0 0 10px rgba(255,255,255,.4),
        0 0 20px rgba(192,192,192,.3);
}

.hero-cards .card p{
    color:#b5b5b5;
    line-height:1.7;
    font-size:.95rem;
}

/* =====================================================
   SECCIONES
===================================================== */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    padding:80px;
    background:#080808;
}

.cards .card{
    background:#111;
    border:1px solid #333;
    border-radius:20px;
    padding:30px;
    transition:.3s;
}

.cards .card:hover{
    background:#181818;
    border-color:#777;
    transform:translateY(-5px);
}

.cards .card h2{
    color:#c0c0c0;
    margin-bottom:15px;
}

.cards .card p{
    color:#999;
    line-height:1.7;
}

/* =====================================================
   LOADER VIDEO FULLSCREEN
===================================================== */

#loader{
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    background:#000;
    z-index:99999;
    overflow:hidden;

    display:flex;
    justify-content:center;
    align-items:center;
}

#loader video{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* =====================================================
   FOOTER
===================================================== */

footer{
    background:#0a0a0a;
    border-top:1px solid #333;
    padding:30px 50px;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}

footer p{
    color:#888;
    font-size:.9rem;
}

.social-links{
    display:flex;
    gap:15px;
}

.social-links a{
    color:#c0c0c0;
    font-size:1.2rem;
    transition:.3s;
}

.social-links a:hover{
    color:#fff;
    text-shadow:0 0 10px rgba(255,255,255,.4);
}

/* =====================================================
   BOTÓN WHATSAPP
===================================================== */

.whatsapp-float{
    position:fixed;
    right:20px;
    bottom:20px;

    width:60px;
    height:60px;

    background:#25d366;
    color:#fff;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:30px;

    z-index:9998;

    box-shadow:
        0 4px 15px rgba(37,211,102,.4);

    transition:.3s;
}

.whatsapp-float:hover{
    transform:scale(1.1);
    box-shadow:
        0 6px 20px rgba(37,211,102,.6);
}

/* =====================================================
   RESPONSIVE TABLET
===================================================== */

@media (max-width:1024px){

    nav{
        padding:20px 30px;
    }

    nav img{
        height:50px;
    }

    .hero-cards{
        gap:20px;
        padding:20px;
    }

    .hero-cards .card{
        max-width:280px;
        padding:30px 20px;
    }

    .cards{
        padding:50px 30px;
    }
}

/* =====================================================
   RESPONSIVE MOBILE
===================================================== */

@media (max-width:768px){

    nav{
        flex-wrap:wrap;
        padding:15px 20px;
    }

    nav img{
        height:40px;
    }

    nav a{
        margin-left:15px;
        font-size:.9rem;
    }

    .hero-cards{
        flex-direction:column;
        gap:15px;
        padding:15px;
    }

    .hero-cards .card{
        max-width:100%;
        width:100%;
    }

    .cards{
        padding:40px 20px;
    }

    .footer-content{
        flex-direction:column;
        text-align:center;
    }
}

@media (max-width:480px){

    nav{
        justify-content:center;
        padding:10px 15px;
    }

    nav img{
        height:35px;
    }

    nav a{
        font-size:.8rem;
        margin-left:10px;
    }

    .hero-cards .card{
        padding:20px;
    }

    .hero-cards .card .icon{
        font-size:40px;
    }

    .hero-cards .card h2{
        font-size:1.1rem;
    }

    .hero-cards .card p{
        font-size:.85rem;
    }

    .cards{
        padding:30px 15px;
    }

    .cards .card{
        padding:20px;
    }

    .whatsapp-float{
        width:50px;
        height:50px;
        font-size:25px;
        right:15px;
        bottom:15px;
    }
}