/* =========================
   0) BASE + TOKENS
   ========================= */
:root {
    /* altura única para la navbar y para la barra del menú overlay */
    --nav-h: 64px;
}

html, body {
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

img, iframe, video, table {
    max-width: 100%;
    height: auto;
}

.nav-link {
    font-size: 1rem;
    color: #333 !important;
    font-weight: 500;
}

/* =========================
   1) LOGO + NAVBAR STICKY
   ========================= */
/* El logo se ve igual esté o no dentro de .navbar */
.logo-texto {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: #007BFF;
    text-decoration: none;
}

    .logo-texto .logo-accent {
        color: #FF8C00;
        font-weight: 900;
    }

/* Navbar sticky y con altura consistente */
.navbar-custom {
    position: fixed; /* antes: sticky */
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 2150;
    padding: 0;
}

    .navbar-custom .container {
        min-height: var(--nav-h);
        display: flex;
        align-items: center;
    }

/* =========================
   2) BOTONES
   ========================= */
.btn-cta {
    background: #FF8C00 !important;
    border-color: #E07B00 !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 10px 25px !important;
    font-size: 1rem !important;
    border-radius: 5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255,140,0,.4);
    transition: all .2s ease-in-out;
}

    .btn-cta:hover, .btn-cta:focus {
        background: #E67A00 !important;
        border-color: #CC6F00 !important;
        transform: translateY(-2px);
    }

.btn-login {
    border: 1px solid #007BFF;
    color: #007BFF;
    background: transparent;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}

    .btn-login:hover {
        background: #007BFF;
        color: #fff;
    }

.btn-ws, .btn-ig, .btn-fb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e5e5e5;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}

.btn-ws {
    background: #e8fff3;
}

.btn-ig {
    background: #fff2ff;
}

.btn-fb {
    background: #f1f6ff;
}

.btn-success {
    background: #198754 !important;
    border-color: #146c43 !important;
}

/* =========================
   3) HERO
   ========================= */
.hero {
    padding: 80px 20px;
}

    .hero .hero-copy {
        max-width: 500px;
    }

.headline-nexo {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.subheadline-nexo {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 30px;
}

.hero .hero-ctas {
    margin-bottom: 10px;
}

.hero .hero-microcopy {
    font-size: .8rem;
    color: #6c757d;
    margin-top: 15px;
}

.hero .hero-media {
    margin-left: 2rem;
    margin-top: 1.5rem;
}
/* La imagen YA tiene su propio fondo/sombra; evitamos sombra extra del CSS */
.img-hero {
    border-radius: 12px;
    box-shadow: none !important;
    display: block;
}

/* =========================
   4) TARJETAS / LISTAS
   ========================= */
.plan-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    border: 1px solid #f0f0f0;
    transition: all .3s ease-in-out;
}

    .plan-card:hover {
        box-shadow: 0 8px 25px rgba(0,0,0,.1);
        transform: translateY(-5px);
    }

    .plan-card.highlight {
        border: 3px solid #007BFF;
        box-shadow: 0 8px 30px rgba(0,123,255,.2);
        transform: scale(1.05);
    }

.plan-tag {
    background: #FF8C00;
    color: #fff;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: .8rem;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.list-unstyled li {
    list-style: none;
    padding: 5px 0;
    margin-bottom: 5px;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    text-align: left;
}

    .list-unstyled li:last-child {
        border-bottom: none;
    }

.list-unstyled .check {
    color: #198754;
    margin-right: 8px;
    font-size: 1.1rem;
}

.benefits .card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
    transition: all .3s;
}

    .benefits .card:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,.1);
    }

.tituloUnificado {
    font-weight: 700;
    font-size: 2rem;
    color: #333;
}

/* =========================
   5) SECCIONES VARIAS
   ========================= */
.highlight-section {
    padding: 60px 0;
}

.cta-final {
    padding: 60px 0;
    text-align: center;
}

    .cta-final h2 {
        font-weight: 700;
    }

    .cta-final .btn-cta {
        margin-top: 15px;
    }

.cta-degradada {
    background: #007BFF;
    padding: 40px 0;
}

.cta-notebook {
    text-align: center;
}

.img-cta {
    max-width: 400px;
    border: none;
    border-radius: 8px;
}

.elfsight-app-1cc69b4c-99b6-450a-b043-4d1bb63efad5 {
    max-width: 100%;
    /*overflow-x: hidden;*/
}

    .elfsight-app-1cc69b4c-99b6-450a-b043-4d1bb63efad5 iframe {
        max-width: 100% !important;
        width: 100% !important;
    }

/* =========================
   6) MENÚ MOBILE OVERLAY (pantalla completa con barra propia)
   ========================= */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 3000;
    display: none;
    flex-direction: column;
}

    .mobile-menu-overlay.open {
        display: flex;
    }

/* Barra del overlay: misma altura que la navbar */
.mobile-menu-header {
    position: sticky;
    top: 0;
    z-index: 1;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

/* Botón cerrar (X) */
.mm-close {
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    position: relative;
}

    .mm-close .mm-x, .mm-close .mm-x::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 22px;
        height: 2px;
        background: #333;
    }

    .mm-close .mm-x {
        transform: translate(-50%,-50%) rotate(45deg);
    }

        .mm-close .mm-x::before {
            transform: translate(-50%,-50%) rotate(-90deg);
        }

/* Contenido scrolleable del overlay */
.mobile-menu-inner {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px 24px 56px;
}

.mm-item {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.mm-cta {
    margin-top: 8px;
    background: #FF8C00;
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
}

/* Hamburguesa del header (su X queda cubierta por el overlay) */
.navbar-toggler {
    border: none;
    z-index: 2200;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler .navbar-toggler-icon {
        position: relative;
        display: block;
        width: 24px;
        height: 2px;
        background: #333;
        background-image: none;
    }

        .navbar-toggler .navbar-toggler-icon::before,
        .navbar-toggler .navbar-toggler-icon::after {
            content: "";
            position: absolute;
            left: 0;
            width: 24px;
            height: 2px;
            background: #333;
            transition: transform .2s ease, top .2s ease, opacity .2s ease;
        }

        .navbar-toggler .navbar-toggler-icon::before {
            top: -7px;
        }

        .navbar-toggler .navbar-toggler-icon::after {
            top: 7px;
        }

    .navbar-toggler.is-active .navbar-toggler-icon {
        background: transparent;
    }

        .navbar-toggler.is-active .navbar-toggler-icon::before {
            top: 0;
            transform: rotate(45deg);
        }

        .navbar-toggler.is-active .navbar-toggler-icon::after {
            top: 0;
            transform: rotate(-45deg);
        }

/* Si preferís ocultar WhatsApp con el menú abierto, descomentá: */
/* .mobile-menu-overlay.open ~ #whatsapp-container{ display:none; } */

/* =========================
   7) WHATSAPP FLOTANTE
   ========================= */
#whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3500;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #25d366;
    color: #fff;
    font-size: 28px;
    box-shadow: 2px 4px 10px rgba(0,0,0,.3);
    transition: transform .2s ease, box-shadow .2s ease;
    animation: fadeIn .6s ease-out both;
}

    .whatsapp-float:hover {
        transform: scale(1.08);
        box-shadow: 2px 6px 15px rgba(0,0,0,.4);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* =========================
   8) TRUSTLOGO WRAP
   ========================= */
.trustlogo-wrap {
    max-width: 100%;
    overflow: hidden;
}

.trustlogo-table {
    width: 100%;
}

.trustlogo-cell {
    width: 100%;
    text-align: center;
}

/* =========================
   9) RESPONSIVE
   ========================= */
@media (max-width: 991.98px) {
    .headline-nexo {
        font-size: 2.2rem;
    }

    .subheadline-nexo {
        font-size: 1.2rem;
    }

    .hero .hero-media {
        margin-left: 0;
    }
}
