/* NAV - RESPONSIVE */
.nav {
    background: #0A2D5E;
    padding: 0 2.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
}

.nav-logo {
    font-size: 18px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

/* Contenedor derecho: solo hamburguesa */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

    .nav-link:hover {
        color: white;
    }

    .nav-link.active {
        color: #FFE135;
        font-weight: 600;
    }

.nav-cta {
    background: #FFE135;
    color: #0A2D5E;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    flex-shrink: 0;
    transition: opacity 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

    .nav-cta:hover {
        opacity: 0.9;
    }

/* Botón hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Animación hamburguesa a X */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

/* Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

    .menu-overlay.active {
        display: block;
    }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: #0A2D5E;
        flex-direction: column;
        padding: 80px 2rem 2rem;
        gap: 0.5rem;
        transition: right 0.3s ease;
        box-shadow: -4px 0 30px rgba(0,0,0,0.4);
        align-items: stretch;
        overflow-y: auto;
        z-index: 999;
        display: flex !important; /* Forzar display flex */
    }

        .nav-links.open {
            right: 0;
        }

    .nav-link {
        font-size: 16px;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        color: rgba(255,255,255,0.8);
    }

        .nav-link:hover {
            color: #FFE135;
        }

        .nav-link.active {
            color: #FFE135;
        }

    .nav-cta {
        font-size: 16px;
        padding: 14px 20px;
        margin-top: 0.5rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0 1rem;
    }

    .nav-links {
        width: 100%;
        right: -100%;
        padding: 70px 1.5rem 2rem;
    }

    .nav-cta {
        font-size: 14px;
        padding: 12px 16px;
    }
}


.btn-yellow {
    background: #FFE135;
    color: #0A2D5E;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    text-decoration: none; /* ← Esto quita el subrayado */
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.45);
    font-size: 13px;
    font-weight: 500;
    padding: 11px 20px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none; /* ← Esto quita el subrayado */
}
.btn-blue {
    background: #1565C0;
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 15px 28px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    text-decoration: none; /* ← Esto quita el subrayado */
}

.btn-navy {
    background: var(--navy);
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    text-decoration: none; /* ← Esto quita el subrayado */
}
