/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    background: #0e0e0e;
    color: #e8e8e8;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===========================================
   HEADER / NAV
=========================================== */
.site-header {
    background: #111;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 999;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    background: #00c6ff;
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.main-nav {
    display: flex;
    gap: 18px;
}

.main-nav a {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.main-nav a:hover {
    color: #00c6ff;
}

.btn-outline {
    padding: 8px 16px;
    border: 1px solid #00c6ff;
    border-radius: 10px;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: white;
}

/* ===========================================
   HERO
=========================================== */
.hero {
    background: url("../img/bannerr.jpg") center/cover;
    padding: 150px 20px;
    text-align: center;
    position: relative;
    color: white;
    isolation: isolate;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: -1;
}

.hero-title {
    font-size: 3rem;
    text-shadow: 0 0 10px #000;
    animation: fadeDown 1s ease forwards;
}

.hero-sub {
    font-size: 1.2rem;
    margin: 10px auto 25px;
    max-width: 500px;
    animation: fadeUp 1.2s ease forwards;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    animation: fadeIn 1.4s ease forwards;
}

/* ===========================================
   BOTONES PREMIUM
=========================================== */
.btn, button {
    background: linear-gradient(135deg, #006eff, #00c6ff);
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: 0.3s;
    display: inline-block;
}

.btn:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 20px rgba(0,0,0,0.7);
}

.btn-ghost {
    background: rgba(255,255,255,0.1);
    border: 1px solid #00c6ff;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.2);
}

/* ===========================================
   CONTENIDO SECCIONES
=========================================== */
.contenido {
    padding: 40px 25px;
}

.contenido h2 {
    color: #00c6ff;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

/* ===========================================
   CARDS PREMIUM
=========================================== */
.cards {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.card {
    background: #111;
    padding: 22px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.card-emoji {
    font-size: 2.3rem;
}

/* ===========================================
   WHY / BENEFICIOS
=========================================== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.benefits {
    list-style: none;
    margin-top: 15px;
}

.benefits li {
    margin: 10px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===========================================
   CTA BOX
=========================================== */
.cta-box {
    background: #111;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

/* ===========================================
   FORMULARIOS
=========================================== */
form {
    background: #111;
    padding: 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

input, textarea {
    width: 100%;
    padding: 13px;
    margin: 10px 0;
    border-radius: 10px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    transition: 0.2s;
}

input:focus, textarea:focus {
    border-color: #00c6ff;
}

/* ===========================================
   FOOTER PREMIUM
=========================================== */
.site-footer {
    background: #111;
    padding: 22px;
    border-top: 1px solid #222;
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #00c6ff;
    margin-left: 15px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* ===========================================
   WHATSAPP FLOTANTE
=========================================== */
.btn-whatsapp {
    position: fixed;
    bottom: 22px;
    right: 22px;
    background: #25D366;
    color: white;
    font-size: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    transition: 0.3s;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
}

/* ===========================================
   ANIMACIONES
=========================================== */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(15px);}
    to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeDown {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeUp {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.7s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   RESPONSIVE
=========================================== */
@media (max-width: 750px) {

    .main-nav {
        display: none;
        flex-direction: column;
        text-align: center;
        background: #111;
        padding: 20px;
        border-top: 1px solid #333;
    }

    .main-nav.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

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

    .footer-inner {
        flex-direction: column;
        gap: 10px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}
