/* =====================================================
   1. RESET & CONFIGURACIÓN GLOBAL
===================================================== */
body {
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

/* Scrollbar Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background-color: #0b1c2d;
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #071426;
}

/* Scrollbar Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #0b1c2d #f1f1f1;
}

/* =====================================================
   2. NAVBAR NUEVO ESTILO MODERNO
===================================================== */

.navbar {
    background: rgba(11, 28, 45, 0.85);
    backdrop-filter: blur(12px);
    transition: all 0.35s ease;
    padding: 14px 0;
}

/* Logo */
.navbar-brand img {
    height: 100px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Links principales */
.navbar .nav-link,
.navbar .dropdown-toggle {
    position: relative;
    font-weight: 500;
    letter-spacing: 2.4px;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 30px;
    transition: all 0.25s ease;
}

/* Hover tipo pill */
.navbar .nav-link:hover,
.navbar .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ff9f1c !important;
}

/* Activo */
.navbar .nav-link.active {
    background: rgba(13, 110, 253, 0.15);
    color: #0d6efd !important;
}

/* CTA botón zona privada */
.navbar .btn-primary {
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(13,110,253,0.3);
    transition: all 0.3s ease;
}

.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13,110,253,0.4);
}

/* Hazte socio */
.navbar .cta-link {
    background: rgba(255, 159, 28, 0.15);
    color: #ff9f1c !important;
    border-radius: 30px;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}

.navbar .cta-link:hover {
    background: rgba(255, 159, 28, 0.25);
    color: #ffb347 !important;
}

/* Dropdown moderno */
.navbar .dropdown-menu {
    background: #0f253d;
    border: none;
    border-radius: 16px;
    padding: 10px 0;
    margin-top: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    animation: fadeDropdown 0.25s ease;
}

.navbar .dropdown-item {
    color: #ffffff;
    padding: 10px 20px;
    transition: all 0.25s ease;
    letter-spacing: 2.4px;
}

.navbar .dropdown-item:hover {
    background: rgba(13,110,253,0.15);
    color: #0d6efd;
    padding-left: 25px;
}

/* Quitar flechita blanca por completo */
.navbar .dropdown-toggle::after {
    display: none !important;
}

/* Animación */
@keyframes fadeDropdown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive mejora */
@media (max-width: 991px) {

    .navbar .nav-link,
    .navbar .dropdown-toggle {
        padding: 10px 0 !important;
        border-radius: 0;
    }

    .navbar .dropdown-menu {
        background: transparent;
        box-shadow: none;
    }

    .navbar .dropdown-item {
        padding-left: 0;
    }

}

/* =====================================================
   3. HERO SECTION
===================================================== */
.hero {
    min-height: 100vh;
    padding: 160px 0 120px 0;
    background:
        linear-gradient(120deg, rgba(5,25,55,0.9), rgba(0,0,0,0.85)),
        url('https://images.unsplash.com/photo-1581092160562-40aa08e78837');
    background-size: cover;
    background-position: center;
}

.hero-card {
    height: 100%;
    color: white;
    border-radius: 18px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

.hero-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.18);
}

/* =====================================================
   4. SECCIONES GENERALES
===================================================== */
.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 40px;
}

/* =====================================================
   5. CARDS GENERALES
===================================================== */
.card-hover {
    height: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}
.card-hover:hover {
    transform: translateY(-8px);
}

/* =====================================================
   6. MISIÓN
===================================================== */
.mission-card {
    padding: 30px 20px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.mission-icon {
    font-size: 28px;
    color: #0d6efd;
    margin-bottom: 15px;
}

/* =====================================================
   7. SERVICIOS
===================================================== */
.service-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.35s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}
.service-img {
    height: 200px;
    overflow: hidden;
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-img img {
    transform: scale(1.08);
}
.service-content {
    padding: 25px;
    text-align: center;
}
.service-content h5 {
    font-weight: 600;
    margin-bottom: 15px;
}
.service-content p {
    margin-bottom: 0;
    color: #6c757d;
}

/* =====================================================
   8. HAZTE SOCIO (FORMULARIO)
===================================================== */
.membership-form {
    color: white;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
}
.membership-form label {
    color: #ddd;
}
.membership-form .form-control {
    color: white;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}
.membership-form .form-control:focus {
    color: white;
    background: rgba(255,255,255,0.15);
    border-color: #0d6efd;
    box-shadow: none;
}
.membership-form textarea {
    resize: none;
}

/* =====================================================
   9. FOOTER
===================================================== */
.bg-dark-blue {
    background: #0b1c2d;
    color: white;
}
footer {
    padding: 50px 0 30px;
    background: #111;
    color: #bbb;
}
footer a {
    color: #bbb;
    text-decoration: none;
}
footer a:hover {
    color: white;
}
.social-icons i {
    font-size: 22px;
    margin: 0 8px;
}

/* =====================================================
   10. COOKIE BANNER
===================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    text-align: center;
    background: #222;
    color: white;
    z-index: 9999;
}

/* =====================================================
   11. RESPONSIVE
===================================================== */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px 0;
    }
}

