/* ==========================================================================
   ESTILOS GLOBALES - CMO LATAM AWARDS 2026
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('../img/CMO_Back.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    padding: 50px 15px;
    color: #333;
}

.page-container {
    background-color: white;
    width: 100%;
    max-width: 1200px;
    padding: 60px 50px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* --- BANNER SUPERIOR --- */
.banner-container {
    width: 100%;
    margin-bottom: 30px;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   NAVBAR (MENÚ COMPARTIDO) - OPTIMIZADO
   ========================================================================== */

.navbar {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 15px 0; /* Padding reducido para mayor elegancia */
    margin-bottom: 40px;
    position: relative;
    text-align: center;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #bfa15f;
    text-align: right;
    padding-right: 10px;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Centrado de secciones */
    align-items: center;
    gap: 40px; /* Espacio uniforme entre secciones */
    padding: 0;
    margin: 0;
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 15px 5px; /* Espacio para el subrayado */
    display: inline-block;
}

.navbar a:hover {
    color: #bfa15f;
}

/* ESTILO PARA EL MENÚ ACTIVO - Menos invasivo */
.active-link {
    color: #bfa15f !important;
    font-weight: 700 !important; /* Negrita marcada pero no extrema */
    border-bottom: 2px solid #bfa15f; /* Línea más fina */
}

/* ==========================================================================
   CONTENIDO Y TIPOGRAFÍA
   ========================================================================== */

h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.subtitle {
    text-align: center;
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 50px;
    color: #bfa15f; 
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    width: 100%;
}

.year-black {
    color: #000;
}

p, .content-body p, .event-description p, .privacy-content p, .privacy-content li {
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.8;
    hyphens: none !important;
}

b, strong {
    font-weight: 700;
}

/* ==========================================================================
   ESPECÍFICOS DE SECCIONES
   ========================================================================== */

.sub-section {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    align-items: flex-start;
}

.thumbnail img {
    width: 180px;
    height: auto;
    border: 1px solid #eee;
    padding: 10px;
}

.sub-text { flex: 1; }

#survey-container {
    width: 100%;
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.calendar-event { margin-bottom: 70px; }
.event-header { text-align: center; margin-bottom: 20px; }
.event-icon { font-size: 48px; color: #bfa15f; margin-bottom: 15px; display: block; }
.event-date { display: block; font-size: 18px; font-weight: 700; color: #000; margin-bottom: 5px; }
.event-title { font-size: 20px; font-weight: 700; color: #bfa15f; text-transform: uppercase; }

.event-description {
    max-width: 90%;
    margin: 0 auto;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: #bfa15f;
    margin: 50px auto;
    opacity: 0.3;
}

.criteria-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px 25px;
}

.criteria-list li::before {
    content: "•";
    color: #bfa15f;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.reg-link, .privacy-content a, .sub-text a {
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #bfa15f;
}

/* ==========================================================================
   FOOTER (PIE DE PÁGINA)
   ========================================================================== */

.site-footer {
    margin-top: 60px;
    padding: 40px 0 10px 0;
    border-top: 1px solid #eeeeee;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-links a {
    text-decoration: none;
    color: #999;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.copyright {
    font-size: 11px;
    color: #ccc;
    margin-top: 15px;
    letter-spacing: 0.5px;
    text-align: center; 
    display: block;
}

/* ==========================================================================
   RESPONSIVO (MÓVIL) - SIN CAMBIOS
   ========================================================================== */

@media (max-width: 768px) {
    body { padding: 10px; }
    .page-container { padding: 30px 20px; }

    .menu-toggle { display: block; }
    .navbar ul { display: none; flex-direction: column; gap: 0; width: 100%; padding-top: 15px; }
    .navbar ul.active { display: flex; }
    .navbar li { border-bottom: 1px solid #f9f9f9; }
    .navbar a { display: block; padding: 15px; text-align: center; color: #000; font-weight: 700; }

    .subtitle {
        font-size: 18px !important;
        text-align: center !important;
        margin-bottom: 30px;
    }

    .copyright {
        text-align: center !important;
    }

    p, .privacy-content li {
        font-size: 14.5px !important;
        text-align: justify !important;
        text-justify: inter-word !important;
        line-height: 1.6;
    }

    .subtitle, .copyright, .event-header span, .event-header h2 {
        text-align: center !important;
    }

    h1 { font-size: 24px; letter-spacing: 2px; }
    .sub-section { flex-direction: column; align-items: center; text-align: center; }
    .event-description { max-width: 100%; }
}

/* ==========================================================================
   ESTILOS DE CONTACTO
   ========================================================================== */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #000;
}

.form-group input, 
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    border-radius: 0; 
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #bfa15f;
}

.submit-btn {
    background-color: #bfa15f;
    color: #fff;
    border: none;
    padding: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #000;
}

.contact-footer-email {
    text-align: center;
    margin-top: 40px;
    font-weight: 600;
}

.contact-footer-email a {
    color: #bfa15f;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.contact-footer-email a:hover {
    border-bottom: 2px solid #bfa15f;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}
.alert-success { background-color: #f0f9eb; color: #67c23a; border: 1px solid #e1f3d8; }
.alert-error { background-color: #fef0f0; color: #f56c6c; border: 1px solid #fde2e2; }

@media (max-width: 768px) {
    .contact-container { padding: 0 10px; }
}

.jury-banner-clean {
    display: flex;
    width: 100%;
    background-color: #d4af37; /* Dorado oficial */
    margin: 40px 0;
    align-items: stretch; 
    overflow: hidden;
}

.jury-img-box {
    flex: 0 0 50%;
    line-height: 0;
}

.jury-img-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Sigue siendo necesario para que no haya huecos, pero al reducir el texto, el recorte será mínimo */
    object-position: left center; /* Ajusta esto para mostrar la parte más importante de tu imagen */
}

.jury-info-box {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Reducimos el padding de 50px a 30px para que el bloque sea más bajo */
    padding: 30px; 
}

.jury-inner-text {
    max-width: 400px; /* Reducimos un poco el ancho máximo */
}

.jury-p {
    font-family: 'Montserrat', sans-serif;
    /* Reducimos el tamaño de la letra para que el bloque no crezca tanto */
    font-size: 1rem; 
    line-height: 1.5;
    color: #000;
    margin-bottom: 20px;
}

.jury-p strong {
    font-weight: 700;
}

.jury-cta {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    /* Texto de enlace un poco más pequeño */
    font-size: 0.8rem; 
    display: inline-block;
    border-bottom: 2px solid #000;
    padding-bottom: 3px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.jury-cta i {
    font-size: 0.7rem;
    margin-left: 5px;
}

.jury-cta:hover {
    color: #fff;
    border-color: #fff;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .jury-banner-clean {
        flex-direction: column;
    }
    .jury-img-box, .jury-info-box {
        flex: 0 0 100%;
    }
    .jury-info-box {
        padding: 30px 20px;
    }
}