/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0A1428;
    color: #FFFFFF;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 20, 40, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    flex: 1;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    justify-content: flex-end;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-whatsapp-header {
    background: #25D366;
    color: #FFFFFF;
    padding: 8px 18px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp-header:hover {
    background: #20b859;
    transform: translateY(-1px);
}

.language-selector {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 8px;
    border-radius: 40px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lang-btn.active-lang {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* HERO */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #0A1428 0%, #0C1A32 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #FFFFFF 0%, #B0C4FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #CCDDFF;
    margin-bottom: 32px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #FFFFFF;
    color: #0A1428;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
    background: #F0F4FF;
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.hero-img-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Secciones generales */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #7F8FA4;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
}

/* About */
.about-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #CCDDFF;
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: center;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px 28px;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.pillar-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.pillar-card p {
    color: #B8C7E7;
    line-height: 1.5;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    color: #FFFFFF;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.step p {
    color: #B8C7E7;
    font-size: 0.9rem;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
}

.benefit-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    transition: 0.2s;
}

.testimonial-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #E0ECFF;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-card span {
    font-size: 0.85rem;
    color: #7F8FA4;
}

/* Events */
.events-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 48px;
    align-items: center;
}

.event-badge {
    display: inline-block;
    background: rgba(37, 211, 102, 0.2);
    color: #25D366;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.events-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.events-datetime {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #CCDDFF;
}

.events-description {
    color: #B8C7E7;
    margin-bottom: 32px;
    line-height: 1.5;
}

.events-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Authority */
.authority-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    text-align: center;
}

.authority-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.authority-item p {
    color: #B8C7E7;
    font-size: 0.9rem;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #0C1A32 0%, #071127 100%);
    border-radius: 0;
}

.cta-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: #CCDDFF;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #050C1A;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 16px;
}

.footer-text {
    font-size: 0.85rem;
    color: #8A99B0;
    margin-bottom: 16px;
}

.footer-whatsapp {
    color: #25D366;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #8A99B0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-lang {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: #8A99B0;
}

.footer-credits {
    font-size: 0.8rem;
    color: #6B7A93;
}

.footer-credits a {
    color: #8A99B0;
    text-decoration: none;
}

.footer-credits a:hover {
    color: #FFFFFF;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    z-index: 1000;
}

.floating-wa svg {
    width: 28px;
    height: 28px;
    color: white;
}

.floating-wa:hover {
    transform: scale(1.08);
    background: #20b859;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .events-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .events-info {
        order: 2;
    }
    
    .events-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #0A1428;
        padding: 24px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
}

/* Animaciones on-scroll (JS) */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}