/* --- VARIABLES --- */
:root {
    --purple: #8224e3;
    --pink: #f9cfff;
    --dark-grey: #53585c;
    --grey: #757575;
    --black: #000000;
}

/* --- RESET Y GENERAL --- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-grey);
    line-height: 1.8;
    margin: 0; 
    padding: 0;
    /* FONDO DINÁMICO */
    background-image: url('../img/indexbg2.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #f4f4f4; /* Color de respaldo */
}

.page-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    /* Blanco con 60% de opacidad */
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 40px rgba(0,0,0,0.1);
    min-height: 100vh;
}

/* --- CABECERA Y NAVBAR --- */
.banner-container { width: 100%; overflow: hidden; line-height: 0; background-color: #fff; }
.banner-img { width: 100%; height: auto; display: block; }

.navbar { 
    background-color: var(--black); 
    padding: 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    width: 100%; 
}

.nav-list { 
    list-style: none; 
    display: flex; 
    margin: 0; 
    padding: 0; 
    justify-content: center; 
}

.nav-list li a {
    display: block; 
    color: #fff; 
    text-decoration: none; 
    padding: 20px 25px;
    font-weight: 700; 
    font-size: 14px; 
    letter-spacing: 1px;
    transition: all 0.3s ease; 
    text-transform: uppercase;
}

.nav-list li a:hover { background-color: var(--purple); color: #fff; }

/* ESTADO ACTIVO NAVBAR */
.nav-list li a.active {
    color: var(--pink) !important;
    border-bottom: 3px solid var(--purple) !important;
}

.mobile-menu-icon { 
    display: none; 
    color: #fff; 
    font-size: 24px; 
    padding: 15px; 
    cursor: pointer; 
    text-align: center; 
}

/* --- TEXTOS --- */
p, li { 
    text-align: justify; 
    hyphens: none !important; 
    word-break: normal;
}

.main-content { padding: 60px 20px; max-width: 1000px; margin: 0 auto; }

h1.main-title { 
    color: var(--purple); 
    font-weight: 900; 
    font-size: 2.8rem; 
    text-align: center; 
    text-transform: uppercase; 
    margin-bottom: 5px; 
    line-height: 1.2; 
}

h2.main-subtitle { 
    color: var(--black); 
    font-weight: 700; 
    font-size: 1.6rem; 
    text-align: center; 
    margin-bottom: 40px; 
}

/* --- COMPONENTES DINÁMICOS --- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 40px 0; }
.value-card { background-color: var(--pink); padding: 30px; text-align: center; border-radius: 15px; transition: 0.3s; }
.value-card i { color: var(--purple); font-size: 2.5rem; margin-bottom: 15px; }
.value-card h3 { color: var(--black); font-weight: 900; text-transform: uppercase; font-size: 0.95rem; margin: 0; }
.value-card:hover { background-color: var(--purple); transform: translateY(-5px); }
.value-card:hover i, .value-card:hover h3 { color: #fff; }

.element-item { display: flex; gap: 20px; background: #fdfdfd; padding: 25px; border-left: 5px solid var(--purple); margin-bottom: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.participation-box { background-color: #f9f9f9; padding: 40px; border-radius: 20px; margin: 40px 0; }
.participation-list { list-style: none; padding: 0; }
.participation-list li { margin-bottom: 15px; padding-left: 30px; position: relative; }
.participation-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--purple); }

/* --- LEGAL Y CONTACTO --- */
.legal-content h2 { color: var(--black); font-weight: 700; font-size: 1.3rem; margin-top: 40px; border-left: 5px solid var(--purple); padding-left: 15px; }
.contact-container { max-width: 800px; margin: 0 auto; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; margin-top: 5px; font-family: Montserrat; }

/* --- BOTONES Y CTAS --- */
.cta-container { text-align: center; margin: 50px 0; }
.cta-button, .submit-btn {
    background-color: var(--purple); color: #fff !important; padding: 18px 45px;
    font-weight: 900; font-size: 1.2rem; text-transform: uppercase; text-decoration: none;
    border-radius: 50px; display: inline-block; transition: 0.3s; border: 2px solid var(--purple);
    cursor: pointer;
}
.cta-button:hover, .submit-btn:hover { background-color: var(--black); border-color: var(--black); transform: translateY(-3px); }

/* --- REGISTRO / SURVEY --- */
#registration-survey-container { width: 100%; background-color: #f9f9f9; padding: 60px 0; min-height: 1800px; }
.survey-wrapper { max-width: 1150px; margin: 0 auto; min-height: 1600px; }
.smcx-widget, .smcx-iframe-container { min-height: 1600px !important; }

/* --- FOOTER --- */
.site-footer { border-top: 1px solid #eee; padding: 40px 0; text-align: center; background: #fff; }
.footer-links a { color: var(--grey); text-decoration: none; margin: 0 15px; font-weight: 600; font-size: 0.9rem; }
.footer-links a.active-link { color: var(--purple) !important; font-weight: 900 !important; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .mobile-menu-icon { display: block; }
    .nav-list { display: none; flex-direction: column; width: 100%; }
    .nav-list.active { display: flex; }
    .page-container { margin: 0; width: 100%; }
    h1.main-title { font-size: 1.8rem; }
    .element-item { flex-direction: column; text-align: center; }
    #registration-survey-container { min-height: 2500px; }
}