/* Variables y Configuración Base */
:root {
    --primary: #ffa800;
    --secondary: #444444;
    --comp1: #777777;
    --comp2: #ffffff;

    --oasis-primary: #ffd304;
    --oasis-sec: #785428;

    --andes-primary: #e04023;
    --andes-sec: #000000;

    --gas-primary: #00378a;
    --gas-sec: #d3702c;

    --recore-primary: #69c865;

    --bg-dark: #0f1218;
    --bg-dark-alt: #161a22;
    --bg-light: #f8f9fa;
    --text-light: #e0e0e0;
    --text-dark: #333333;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-light); color: var(--text-dark); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* Tipografía */
h1, h2, h3, h4 { font-weight: 700; line-height: 1; }
h2 { font-size: 2.5rem; margin-bottom: 15px; }
p { line-height: 1.6; color: var(--comp1); }

/* Header Blur */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}
.blur-nav {
    background: rgba(15, 18, 24, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-img { height: 60px; }
.nav-menu ul { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-menu a {
    color: var(--comp2); font-weight: 600; font-size: 14px;
    text-transform: uppercase; letter-spacing: 1px;
    transition: color 0.3s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.btn-nav {
    background: var(--primary); color: #000 !important;
    padding: 10px 20px; border-radius: 30px;
}
.btn-nav:hover { background: #e69600; color: #000; }
.mobile-toggle { display: none; color: white; font-size: 24px; cursor: pointer; }

/* Hero Slider */
.hero-slider { position: relative; height: 100vh; width: 100%; overflow: hidden; background: #000; }
.slider-container { position: relative; width: 100%; height: 100%; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; visibility: hidden; transition: opacity 0.8s ease-in-out;
    background-size: cover; background-position: center;
}
.slide.active { opacity: 1; visibility: visible; }
.slide-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.2) 100%);
}
.slide-content {
    position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; padding: 0 20px;
}
.col-left { flex: 1; padding-right: 50px; color: white; }
.col-right { flex: 1; display: flex; justify-content: center; align-items: center; }
.parallax-float { max-width: 80%; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }
.badge { display: inline-block; padding: 5px 15px; border-radius: 20px; font-weight: 600; margin-bottom: 15px; font-size: 14px; background: rgba(0,0,0,0.6); color: #ffffff; border: 1px solid var(--primary);}
.badge-oasis { background: rgba(0,0,0,0.6); color: #ffffff; border: 1px solid var(--oasis-primary); }
.badge-andes { background: rgba(0,0,0,0.6); color: #ffffff; border: 1px solid var(--andes-primary); }
.badge-gas { background: rgba(0,0,0,0.6); color: #ffffff; border: 1px solid var(--gas-primary); }
.badge-recore { background: rgba(0,0,0,0.6); color: #ffffff; border: 1px solid var(--recore-primary); }

.col-left h1 { font-size: 3rem; margin: 25px 0; }
.col-left p { color: #ccc; font-size: 1.1rem; margin-bottom: 30px; max-width: 500px; }
.hero-buttons { display: flex; gap: 15px; }
.btn { display: inline-block; padding: 12px 25px; border-radius: 30px; font-weight: 600; cursor: pointer; transition: all 0.3s; text-align: center; }
.btn-primary { background: var(--primary); color: #000; }
.btn-outline { border: 1px solid white; color: white; }
.btn-outline:hover { background: white; color: black; }
.btn-oasis { background: var(--oasis-primary); color: #000; }
.btn-andes { background: var(--andes-primary); color: white; }
.btn-gas { background: var(--gas-primary); color: white; }
.btn-recore { background: var(--recore-primary); color: white; }

/* Slider Controls */
.slider-controls { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; width: 300px; }
.slider-progress-bar { height: 3px; background: rgba(255,255,255,0.2); width: 100%; margin-bottom: 15px; border-radius: 3px; overflow: hidden; }
.progress { height: 100%; background: var(--primary); width: 0%; transition: width 0.1s linear; }
.dots { display: flex; justify-content: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: 0.3s; }
.dot.active { background: white; transform: scale(1.3); }

/* Secciones Globales */
.section-light { padding: 100px 0; background: var(--bg-light); }
.section-dark { padding: 100px 0; background: var(--bg-dark); color: white; }
.section-dark-alt { padding: 100px 0; background: var(--bg-dark-alt); color: white; }
.section-header { margin-bottom: 60px; }
.section-header p { max-width: 700px; margin: 0 auto; }

/* Estilos Blur Globales */
.blur-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.section-dark .blur-card, .section-dark-alt .blur-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Como Funciona */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.step-card { padding: 30px 20px; text-align: left; transition: transform 0.3s; }
.step-card:hover { transform: translateY(-10px); }
.step-card h3 { font-size: 1.1rem; margin-bottom: 15px; color: var(--text-dark); }
.step-card p { font-size: 0.9rem; }
.step-icon{ font-size:2rem; display:block; margin-bottom:18px; text-align: center; }

/* Nosotros */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; }
.stat-card { border-left: 3px solid var(--primary); padding-left: 20px;}
.stat-value { font-size: 2.2rem; color: var(--primary); margin-bottom: 5px; }
.stat-card h4 { font-size: 1.1rem; line-height: 1.1; margin-bottom: 20px; margin-top: 20px; }
.stat-card p { color: #aaa; font-size: 0.9rem; }

/* Fundadores */
.founders-grid { text-align: center; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 0 50px;}
.founder-card { display: relative; align-items: center; padding: 30px; gap: 30px; }
.founder-img { width: 200px; height: 200px; border-radius: 50%; }
.founder-info h3 { margin: 25px 0; color: var(--primary); }
.founder-info p { margin: 0 25px; text-align: left;}

/* Programas de Inversión */
#programas .container { max-width: 1550px;} /* Expandimos el contenedor base de 1200px a 1450px solo aquí */
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; } /* Reducimos el ancho mínimo de 320px a 280px para garantizar que entren 4 columnas en pantallas medianas/grandes */
.program-card { overflow: hidden; display: flex; flex-direction: column; }
.program-img-wrapper { position: relative; height: 220px; overflow: hidden; }
.program-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.program-card:hover .zoom-effect { transform: scale(1.1); }
.tags { position: absolute; top: 15px; left: 15px; display: flex; gap: 10px; z-index: 2; }
.tag { padding: 5px 12px; border-radius: 15px; font-size: 12px; font-weight: 600; }
.tag-oasis { background: rgba(0,0,0,0.6); color: #ffffff; border: 1px solid var(--oasis-sec);}
.tag-andes { background: rgba(0,0,0,0.6); color: #ffffff; border: 1px solid var(--andes-primary) }
.tag-gas { background: rgba(0,0,0,0.6); color: #ffffff; border: 1px solid var(--gas-primary); }
.tag-recore { background: rgba(0,0,0,0.6); color: #ffffff; border: 1px solid var(--recore-primary); }
.tag-available { background: rgba(0,0,0,0.6); color: #00ff88; border: 1px solid #00ff88; }
.program-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.program-content h3 { font-size: 1.8rem; margin-bottom: 15px; }
.program-content .desc { color: #bbb; font-size: 0.95rem; margin-bottom: 25px; flex-grow: 1; }
.program-details { border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 20px 0; margin-bottom: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; font-size: 0.85rem; }
.detail-item span { display: block; color: #888; margin-bottom: 3px; }
.detail-item b { color: white; }
.btn-full { display: block; width: 100%; }
.btn-outline-oasis { border: 1px solid var(--oasis-primary); color: white; }
.btn-outline-oasis:hover { background: var(--oasis-primary); color: black; }
.btn-outline-andes { border: 1px solid var(--andes-primary); color: white; }
.btn-outline-andes:hover { background: var(--andes-primary); color: white; }
.btn-outline-gas { border: 1px solid var(--gas-primary); color: white; }
.btn-outline-gas:hover { background: var(--gas-primary); color: white; }
.btn-outline-recore { border: 1px solid var(--recore-primary, #8e44ad); color: white; }
.btn-outline-recore:hover { background: var(--recore-primary, #8e44ad); color: white; }

/* Formulario Quiero Invertir */
.form-section { background: url('img/form-bg.jpg') center/cover; position: relative; }
.form-section::before { content:''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(248,249,250,0.9); }
.form-wrapper { max-width: 800px; margin: 0 auto; padding: 50px; position: relative; z-index: 2; background: rgba(255, 255, 255, 0.85) !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 15px;
    border: 1px solid #ddd; border-radius: 8px;
    background: white; font-family: inherit; font-size: 0.95rem;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.checkbox-group { display: flex; gap: 10px; align-items: flex-start; }
.checkbox-group input { width: auto; margin-top: 5px; }
.checkbox-group label { font-weight: 400; font-size: 0.85rem; color: #555; }
.btn-submit { width: 100%; padding: 15px; font-size: 1.1rem; border: none; border-radius: 8px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-submit:hover { opacity: 0.9; }

/* Footer */
.footer { background: var(--bg-dark-alt); color: #ccc; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 60px 20px; }
.footer-logo { height: 40px; margin-bottom: 20px; }
.brand-col p { font-size: 0.9rem; margin-bottom: 20px; max-width: 400px; }
.social-links a {
    display: inline-flex; width: 40px; height: 40px; background: rgba(255,255,255,0.05);
    border-radius: 8px; align-items: center; justify-content: center;
    margin-right: 10px; transition: 0.3s; color: white;
}
.social-links a:hover { background: var(--primary); color: black; }
.links-col h3 { color: white; font-size: 1.1rem; margin-bottom: 20px; }
.links-col ul { list-style: none; }
.links-col li { margin-bottom: 12px; }
.links-col a { font-size: 0.9rem; transition: color 0.3s; }
.links-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 0.85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; }

/* Animaciones Entrada */
.animate-up { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.animate-up.visible { opacity: 1; transform: translateY(0); }

/* --- ESTILOS PARA MODAL POP-UP --- */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.modal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    animation: slideIn 0.3s;
}

.modal-icon { font-size: 60px; margin-bottom: 20px; }
.modal-content h3 { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 15px; }
.modal-content p { color: #555; margin-bottom: 30px; font-size: 1rem; }
.close-modal {
    position: absolute; top: 15px; right: 20px;
    color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer;
}
.close-modal:hover { color: var(--text-dark); }
.btn-accept { padding: 10px 40px; font-size: 1rem; cursor: pointer; border: none; border-radius: 8px;}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Responsive */
@media (max-width: 991px) {
    .form-row, .founders-grid { grid-template-columns: 1fr; }
    .col-right { display: none; }
    .col-left { padding-right: 0; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .brand-col p { margin: 0 auto 20px auto; }
    .footer-col p {text-align: left; }
    .container p {text-align: left; }
    .footer-bottom p {text-align: center; }
  }
@media (max-width: 768px) {
    .nav-menu {
        position: absolute; top: 100%; left: 0; width: 100%; height: 100vh; background: var(--bg-dark);
        flex-direction: column; padding: 25px 0; display: none;
    }
    .col-left h1 { font-size: 2.5rem; }
    .col-left p { font-size: 1rem; }
    .nav-menu.active { display: flex; }
    .nav-menu ul { flex-direction: column; gap: 50px; }
    .mobile-toggle { display: block; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 10px; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    /* Como Funciona */
    .steps-grid {  padding: 0px 20px; }
    /* Fundadores */
    .founders-grid { margin: 0 0px;}
    .founder-info p { margin: 0 0px; }
    /* Formulario Quiero Invertir */
    .form-wrapper { padding: 20px; }

}
