/* ===================================
   WORLD CITIZENS - GLOBAL STYLES
   Estilos compartidos: Nav, Footer, Base
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066FF;
    --primary-red: #E94E3D;
    --primary-orange: #FF9500;
    --dark: #1A1A1A;
    --gray: #666666;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 0 60px;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    padding: 15px 0;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 0;
    align-items: center;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 28px 22px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.05);
}

.nav-link.active {
    color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.08);
}

.nav-link.has-dropdown::after {
    content: '▼';
    font-size: 10px;
    margin-left: 6px;
    opacity: 0.6;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 14px 25px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 15px;
}

.dropdown-item:hover {
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary-blue);
    padding-left: 30px;
}

.dropdown-item.active {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-blue);
    font-weight: 700;
}

.dropdown-item.coming-soon {
    opacity: 0.5;
    position: relative;
}

.dropdown-item.coming-soon::after {
    content: '(Próximamente)';
    font-size: 11px;
    margin-left: 8px;
    color: var(--gray);
}

.cta-button {
    background: var(--primary-blue);
    color: white;
    padding: 12px 32px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    margin-left: 15px;
}

.cta-button:hover {
    background: #0052CC;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.35);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: white;
    padding: 90px 60px 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 70px;
    max-width: 1500px;
    margin: 0 auto 70px;
}

.footer-column h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 28px;
    color: var(--primary-blue);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 14px;
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.footer-column li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column li:hover,
.footer-column li a:hover {
    opacity: 1;
    color: var(--primary-blue);
    padding-left: 8px;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 18px;
}

.footer-tagline {
    font-size: 15px;
    opacity: 0.75;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 15px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    background: var(--primary-blue);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #0052CC;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 35px;
    text-align: center;
    font-size: 14px;
    opacity: 0.65;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-blue);
}

/* ========== UTILITIES ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-40px) scale(1.05); }
}

/* ========== WHATSAPP FLOATING BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    animation: fadeInScale 0.6s ease 1s both;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: var(--dark);
    padding: 10px 18px;
    border-radius: 8px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 75px;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav {
        padding: 0 20px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}
