/* RESET & VARIABLES */
:root {
    --bg-dark: #0a0e27;
    --bg-darker: #050714;
    --primary: #00ffff;
    --secondary: #ff00ff;
    --text: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --navbar-height: 80px;
}

/* Nav actions (CTA buttons to the right) */
.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 255, 0.03) 2px, rgba(0, 255, 255, 0.03) 4px);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    height: var(--navbar-height);
}

.logo {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* BOTONES */
.cta-btn {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    padding: 12px 28px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* HERO ABOUT */
.hero-about {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #1a0b2e 0%, #0a0e27 50%, #1a0b2e 100%);
    overflow: hidden;
    margin-top: var(--navbar-height);
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    animation: pulse-gradient 8s ease-in-out infinite;
}

@keyframes pulse-gradient {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.3);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    padding: 20px;
    position: relative;
}

.hero-about h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 900;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-about p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
}

/* SECCIONES COMUNES */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 60px;
    text-transform: uppercase;
}

.neon-dot {
    color: var(--secondary);
}

/* INTRO SECTION */
.intro-section {
    background: linear-gradient(to bottom, rgba(10, 14, 39, 0.5), rgba(26, 11, 46, 0.3));
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 30px;
    line-height: 1.3;
}

.intro-text p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.intro-text strong {
    color: var(--primary);
    font-weight: 600;
}

.intro-video {
    position: relative;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-caption {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* VALUE SECTION */
.value-section {
    background: rgba(26, 11, 46, 0.3);
}

.value-intro {
    text-align: center;
    margin-bottom: 50px;
}

.highlight-text {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    line-height: 1.6;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.value-card {
    background: var(--glass);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.value-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.value-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.value-card p {
    font-size: clamp(0.95rem, 2vw, 1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
}

.commitment-box {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
}

.commitment-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.commitment-content i {
    font-size: 4rem;
    color: var(--secondary);
}

.commitment-content h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin-bottom: 10px;
}

.commitment-content p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
}

/* MISSION VISION SECTION */
.mission-vision-section {
    background: linear-gradient(to bottom, rgba(10, 14, 39, 0.5), rgba(26, 11, 46, 0.3));
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mv-card {
    background: var(--glass);
    padding: 50px 40px;
    border-radius: 20px;
    border: 2px solid var(--glass-border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.mv-card:hover::before {
    transform: scaleX(1);
}

.mv-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.2);
}

.mv-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.mission-card .mv-icon {
    color: var(--primary);
}

.vision-card .mv-icon {
    color: var(--secondary);
}

.mv-card h2 {
    font-size: clamp(1.8rem, 4vw, 2rem);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.mv-card p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* VALUES SECTION */
.values-section {
    background: rgba(26, 11, 46, 0.3);
}

.values-grid {
    display: grid;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: var(--glass);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.value-item:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.value-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.3;
    min-width: 80px;
    text-align: center;
}

.value-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.value-content i {
    color: var(--secondary);
}

.value-content p {
    font-size: clamp(0.95rem, 2vw, 1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, #1a0b2e 0%, #0a0e27 100%);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 0, 255, 0.15) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.big-pulse {
    margin-top: 30px;
    display: inline-flex;
    padding: 20px 50px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(0, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0); }
}

/* FOOTER */
footer {
    background: var(--bg-darker);
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 30px;
    max-width: 1200px;
    padding: 0 20px;
}

.brand h4 {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    margin-bottom: 10px;
    color: #fff;
}

.brand h4 span {
    color: var(--primary);
}

.brand p {
    color: #888;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    color: white;
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.socials a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    color: #555;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .commitment-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links li {
        text-align: center;
        padding: 10px 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
    
    .nav-btn {
        display: none;
    }

    .nav-actions {
        display: none;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
    }
    
    .value-number {
        min-width: auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero-about {
        min-height: 350px;
    }
    
    .commitment-box {
        padding: 30px 20px;
    }
    
    .mv-card {
        padding: 40px 25px;
    }
}