/* ======================================================
   STEM RACING REPÚBLICA DOMINICANA - ESTILOS GLOBALES
   
   Archivo CSS centralizado para todo el sitio web
   Última actualización: Enero 2026
   
   TABLA DE CONTENIDO:
   1. Reset & Variables
   2. Estilos Base
   3. Header & Navegación
   4. Hero Sections
   5. Secciones Generales
   6. Formularios
   7. Footer
   8. Páginas Específicas
      - Competencia
      - Descargas/Recursos
      - Patrocinadores
   9. Responsive
====================================================== */


/* ======================================================
   1. RESET & VARIABLES
   Define colores globales y resetea estilos del navegador
====================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores principales */
    --primary-color: #FF2E92;
    --secondary-color: #8A2EFF;
    --accent-color: #FFC857;
    --dark: #050016;
    --white: #ffffff;

    /* Gradiente del hero principal */
    --hero-grad: linear-gradient(90deg,
        rgba(42, 14, 55, 0.6) 0%,
        rgba(90, 11, 120, 0.6) 20%,
        rgba(209, 10, 140, 0.6) 40%,
        rgba(236, 36, 110, 0.6) 60%,
        rgba(244, 106, 42, 0.6) 80%,
        rgba(252, 224, 63, 0.6) 100%
    );
}


/* ======================================================
   2. ESTILOS BASE
   Configuración general del body y contenedores
====================================================== */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    padding-top: 70px; /* Espacio para header fijo */
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    display: block;
    max-width: 100%;
}


/* ======================================================
   3. HEADER & NAVEGACIÓN
   Header fijo con menú responsive y dropdown
====================================================== */

/* Header principal */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: #050016;
    backdrop-filter: blur(0);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    justify-content: space-between;
}

/* Logo del sitio */
.logo {
    color: #ffffff;
    font-weight: 800;
    font-size: 18px;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    transition: 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
    max-width: 400px;
}

.logo:hover {
    color: #ffffff;
    transform: none;
}

/* Navegación principal (desktop) */
.main-nav {
    display: flex;
    gap: 24px;
    flex: 0 1 auto;
    justify-content: center;
}

.main-nav a {
    color: #ffffff;
    font-weight: 500;
    transition: 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 24px;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* Línea animada bajo links en hover */
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Botón de contacto en navegación */
.btn-nav {
    padding: 4px 14px;
    border-radius: 999px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    transition: 0.2s;
    font-weight: 500;
    font-size: inherit;
    display: inline-flex;
    align-items: center;
    height: 24px;
}

.btn-nav:hover {
    background: var(--accent-color);
    color: #2A0E37;
}

/* Contenedor derecho (idioma + menú móvil) */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Selector de idioma */
.language-selector {
    display: flex;
    align-items: center;
}

.language-selector select {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

.language-selector select:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 46, 146, 0.3);
}

.language-selector select option {
    background: #050016;
    color: #ffffff;
}

/* Dropdown (menú desplegable) */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    white-space: nowrap;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: rgba(20,0,30,0.95);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 12px 0;
    display: none;
    flex-direction: column;
    gap: 0;
    min-width: 180px;
    backdrop-filter: blur(12px);
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, pointer-events 0.2s ease;
}

.dropdown:hover .dropdown-menu {
    display: flex;
    pointer-events: auto;
    opacity: 1;
}

.dropdown-menu a {
    padding: 10px 16px;
    color: #ffffff;
    font-weight: 500;
    transition: 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255, 46, 146, 0.2);
    color: var(--accent-color);
}

/* Menú hamburguesa (móvil) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

/* Animación del menú hamburguesa al abrir */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ======================================================
   4. HERO SECTIONS
   Secciones principales de cada página (banner superior)
====================================================== */

.hero {
    width: 100%;
    padding: 30px 0 30px;
    position: relative;
    overflow: hidden;
}

/* Hero con gradiente (homepage) */
.hero-home {
    background: var(--hero-grad);
}

/* Hero con imagen de fondo y overlay */
.hero-with-logo {
    background: 
        linear-gradient(135deg, rgba(26, 15, 46, 0.85) 0%, rgba(5, 0, 22, 0.90) 100%),
        url('images/logostemracing.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    gap: 40px;
    padding: 0 20px;
}

/* Contenido de texto del hero */
.hero-text {
    flex: 1;
}

.hero-tagline {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 1;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 15px;
    max-width: 540px;
    margin-bottom: 25px;
}

/* Botones de acción en hero */
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Botones globales */
.btn-primary,
.btn-secondary {
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #5A0B78;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.btn-secondary {
    border: 2px solid white;
    background: rgba(255,255,255,0.1);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Imagen del carro en hero (homepage) */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.carrof1 {
    max-width: 750px;
    width: 200%;
    filter: drop-shadow(0 25px 40px rgba(0,0,0,0.5));
    animation: float 4s ease-in-out infinite;
    transition: 0.2s ease;
}

.carrof1:hover {
    transform: scale(1.10) rotate(-4deg);
}

/* Animación de flotación */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}


/* ======================================================
   5. SECCIONES GENERALES
   Estilos compartidos por todas las secciones de contenido
====================================================== */

.section {
    padding: 80px 20px;
}

/* Sección oscura con gradiente */
.dark-section {
    background: linear-gradient(135deg, #1a0f2e 0%, #050016 100%);
    color: white;
    padding: 80px 20px;
}

.dark-section .section-title {
    color: white;
}

.dark-section .section-text {
    color: #d4c5e8;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    font-weight: bold;
}

.section-text {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    color: #666;
    line-height: 1.6;
}

/* Sección de alianza (Colegio Mis Estrellas) */
.section-alliance {
    background: rgba(10, 10, 30, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.alliance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.alliance-text .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.alliance-text .section-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.alliance-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-cme {
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.logo-cme:hover {
    transform: scale(1.05);
}


/* Lista de programa para colegios */
.program-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: left;
}

.program-list li {
    padding: 15px 0 15px 40px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #d4c5e8;
}

.program-list li::before {
    content: '🏁';
    position: absolute;
    left: 0;
    color: #FFC857;
    font-weight: bold;
    font-size: 20px;
}

.program-note {
    max-width: 800px;
    margin: 30px auto 0;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    color: #FFC857;
    background: rgba(255, 200, 87, 0.08);
    border-left: 3px solid #FFC857;
    border-radius: 6px;
    line-height: 1.6;
}


/* ======================================================
   6. FORMULARIOS
   Estilos para formularios de contacto, inscripción, etc.
====================================================== */

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #050016;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: #ffffff;
    color: #050016;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 46, 146, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

/* Checkbox personalizado */
.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.form-group.checkbox label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

/* Mensajes de éxito/error en formularios */
#form-message,
#inscripcion-message,
#contact-message {
    padding: 15px;
    border-radius: 6px;
    font-weight: 600;
}

#form-message.success,
#inscripcion-message.success,
#contact-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-message.error,
#inscripcion-message.error,
#contact-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* ======================================================
   7. FOOTER
   Pie de página con logos y copyright
====================================================== */

.main-footer {
    padding: 30px 0;
    background: #050016;
    text-align: center;
    color: #9b96b8;
    border-top: 1px solid rgba(255,255,255,0.05);
}


/* ======================================================
   8. PÁGINAS ESPECÍFICAS
====================================================== */

/* -------------------- COMPETENCIA.HTML -------------------- */
.competencia-page {
    --bg-main: #0B0716;
    --bg-section: #120A24;
    --text-main: #EDEAF6;
    --text-muted: #B9B4CC;
    --accent-primary: #F9739C;
    --accent-primary-dark: #E4628B;
    --accent-secondary: #8B6CF0;
    --accent-warm: #E7A45C;
    background: var(--bg-main);
    color: var(--text-main);
    filter: saturate(0.9);
}

.competencia-page .dark-section {
    background: linear-gradient(135deg, var(--bg-section) 0%, #050016 100%);
}

.competencia-page .section-text { color: var(--text-muted); }
.competencia-page .section-title { color: var(--text-main); }

/* Botones en página de competencia */
.competencia-page .btn-primary {
    background: var(--accent-primary);
    color: #ffffff;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    border: none;
}

.competencia-page .btn-primary:hover { 
    background: var(--accent-primary-dark); 
}

.competencia-page .btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-main);
    padding: 12px 22px;
}

.competencia-page .btn-secondary:hover { 
    border-color: var(--accent-secondary); 
}

/* Badge de sección */
.competencia-page .badge-soft {
    background: rgba(231, 164, 92, 0.12);
    color: var(--accent-warm);
    border: 1px solid rgba(231, 164, 92, 0.6);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
}

/* Tarjetas de categorías */
.competencia-page .card-primary { border: 1px solid rgba(231, 164, 92, 0.5); }
.competencia-page .card-professional { border: 1px solid rgba(139, 108, 240, 0.5); }

/* Hero específico de competencia */
.competencia-hero { padding: 40px 0; }
.hero-title-lg { font-size: 2.5em; margin-bottom: 20px; }
.hero-description-wide {
    font-size: 1.15em;
    max-width: 750px;
    margin: 0 auto 30px;
    line-height: 1.6;
}
.hero-actions-centered { justify-content: center; gap: 15px; }

/* Espaciado compacto para competencia */
.competencia-page .hero { padding: 32px 0 22px; }
.competencia-page .section { padding: 56px 20px; }
.competencia-page .dark-section { padding: 56px 20px; }

/* Títulos de sección */
.section-title-lg { font-size: 2.6em; margin-bottom: 20px; }
.section-title-md { font-size: 2.4em; margin-bottom: 20px; }
.section-lead {
    max-width: 850px;
    margin: 0 auto 50px;
    font-size: 1.1em;
    line-height: 1.8;
}
.section-lead-sm {
    max-width: 750px;
    margin: 0 auto 50px;
    font-size: 1.05em;
    line-height: 1.8;
}
.section-badge { text-align: center; margin-bottom: 15px; }

/* Grid de categorías */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.category-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 35px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-title { font-size: 32px; margin-bottom: 6px; font-weight: 800; }
.category-title-primary { color: #FF6B35; }
.category-title-professional { color: #8A2EFF; }
.category-subtitle { 
    color: #FFC857; 
    font-size: 17px; 
    font-weight: 600; 
    margin-bottom: 12px; 
}

.category-meta { 
    margin-bottom: 12px; 
    color: var(--text-muted); 
    font-size: 15px; 
}
.category-meta strong { color: #ffffff; }
.category-body { 
    color: var(--text-muted); 
    line-height: 1.8; 
    margin-bottom: 12px; 
}

.category-list-title { 
    color: #ffffff; 
    font-weight: 700; 
    margin: 10px 0; 
    font-size: 16px; 
}
.category-list {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 16px;
    padding-left: 20px;
    list-style: disc;
}

/* Nivel de competencia */
.category-level {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: auto;
    border-left: 4px solid transparent;
}
.category-level-primary { 
    border-color: #FF6B35; 
    background: rgba(255,107,53,0.15); 
}
.category-level-professional { 
    border-color: #8A2EFF; 
    background: rgba(138,46,255,0.15); 
}
.category-level-title { 
    color: #ffffff; 
    font-weight: 700; 
    margin-bottom: 6px; 
    font-size: 14px; 
}
.category-level-text { 
    color: var(--text-muted); 
    line-height: 1.6; 
    margin: 0; 
}
.category-level-text strong { color: #ffffff; }

/* Sección de aprendizaje */
.learn-section { background: #0a0520; }
.learn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}
.learn-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}
.learn-title { 
    font-size: 17px; 
    margin-bottom: 10px; 
    font-weight: 700; 
}
.learn-text { 
    color: var(--text-muted); 
    line-height: 1.7; 
    margin: 0; 
    font-size: 15px; 
}

/* Colores de acento */
.accent-orange { color: #FF6B35; }
.accent-purple { color: #8A2EFF; }
.accent-gold { color: #FFC857; }
.accent-pink { color: #FF2E92; }

/* Timeline (calendario) */
.timeline-section { background: #0a0520; }
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.2);
    transform: translateX(-50%);
}
.timeline-steps { 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
    position: relative; 
}
.timeline-step { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}
.timeline-pane { flex: 1; }
.timeline-pane.align-right { text-align: right; }
.timeline-pane.align-left { text-align: left; }
.timeline-title { 
    font-size: 18px; 
    margin-bottom: 5px; 
    font-weight: 700; 
}
.timeline-text { 
    color: var(--text-muted); 
    margin: 0; 
    font-size: 14px; 
}
.timeline-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1;
    border: 4px solid #050016;
    color: #0B0716;
    font-weight: 700;
}
.circle-warm { background: var(--accent-warm); }
.circle-secondary { background: var(--accent-secondary); }
.circle-primary { background: var(--accent-primary); }

/* Sección de software */
.software-section { background: #0a0520; }
.software-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}
.software-card {
    background: rgba(255,255,255,0.08);
    padding: 35px;
    border-radius: 12px;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}
.software-card-orange { border-color: #FF6B35; }
.software-card-purple { border-color: #8A2EFF; }
.software-logo {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.software-logo img { 
    max-width: 140px; 
    max-height: 140px; 
    object-fit: contain; 
}
.software-title { 
    font-size: 26px; 
    margin-bottom: 6px; 
    font-weight: 700; 
}
.software-text { 
    color: var(--text-muted); 
    line-height: 1.7; 
    font-size: 15px; 
    flex-grow: 1; 
}
.software-usage { 
    color: #FFC857; 
    font-size: 14px; 
    font-weight: 600; 
    margin-bottom: 6px; 
}
.software-actions { 
    display: flex; 
    gap: 12px; 
    flex-wrap: wrap; 
    justify-content: center; 
    width: 100%; 
}
.btn-block { 
    flex: 1; 
    min-width: 140px; 
    text-align: center; 
}
.btn-ghost {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    flex: 1;
    min-width: 140px;
    text-align: center;
    border: 2px solid transparent;
    background: rgba(255,255,255,0.05);
    color: #ffffff;
}
.btn-ghost-orange { 
    border-color: #FF6B35; 
    background: rgba(255, 107, 53, 0.15); 
}
.btn-ghost-purple { 
    border-color: #8A2EFF; 
    background: rgba(138, 46, 255, 0.15); 
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, #1a0f2e 0%, #050016 100%);
    padding: 80px 0;
    text-align: center;
}
.cta-inner { max-width: 800px; margin: 0 auto; }
.cta-title { 
    color: #ffffff; 
    font-size: 2.5em; 
    margin-bottom: 20px; 
    font-weight: 800; 
}
.cta-text { 
    color: var(--text-muted); 
    font-size: 1.15em; 
    max-width: 650px; 
    margin: 0 auto 40px; 
    line-height: 1.7; 
}
.cta-actions { 
    display: flex; 
    gap: 20px; 
    justify-content: center; 
    flex-wrap: wrap; 
}
.cta-btn-primary { 
    padding: 16px 40px; 
    font-size: 18px; 
    font-weight: 700; 
    box-shadow: 0 6px 20px rgba(249,115,156,0.35); 
}
.cta-btn-secondary { 
    padding: 16px 40px; 
    font-size: 18px; 
    font-weight: 700; 
}


/* -------------------- DESCARGAS/RECURSOS -------------------- */
.resource-hero { text-align: center; }
.hero-inner-centered { justify-content: center; }
.hero-subtext {
    max-width: 720px;
    margin: 0 auto 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Chips de filtro */
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 14px 0 6px;
    margin-top: 6px;
}
.chip {
    background: rgba(255,255,255,0.06);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}
.chip:hover { 
    border-color: var(--accent-secondary); 
    color: #ffffff; 
}
.chip-active { 
    background: rgba(249,115,156,0.12); 
    border-color: rgba(249,115,156,0.6); 
    color: #ffffff; 
}

/* Grid de recursos clave */
.key-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin: 12px 0 28px;
}
.key-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    background: #121026;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 16px;
}
.key-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(249,115,156,0.18);
    border: 1px solid rgba(249,115,156,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.key-body h3 { margin: 0 0 6px; font-size: 17px; }
.key-body p { 
    margin: 0 0 10px; 
    color: var(--text-muted); 
    line-height: 1.5; 
}
.btn-small { padding: 10px 16px; font-size: 14px; }

/* Lista de descargas */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0 32px;
}
.download-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    background: #121026;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 16px 18px;
}
.download-info h4 { margin: 0 0 6px; font-size: 17px; }
.download-info p { 
    margin: 0 0 6px; 
    color: var(--text-muted); 
    line-height: 1.5; 
}
.download-meta { 
    font-size: 13px; 
    color: rgba(255,255,255,0.6); 
}
.download-actions { display: flex; align-items: center; }
.btn-ghost {
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    padding: 10px 18px;
}
.btn-ghost:hover { border-color: var(--accent-primary); }

/* CTA de ayuda */
.cta-help {
    background: #121026;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}
.cta-help-body h3 { margin: 0 0 6px; font-size: 19px; }
.cta-help-body p { margin: 0; color: var(--text-muted); }
.cta-help-actions { display: flex; gap: 10px; flex-wrap: wrap; }


/* -------------------- PATROCINADORES.HTML -------------------- */
.sponsors-page {
    background: linear-gradient(135deg, rgba(5, 0, 22, 0.95), rgba(15, 5, 30, 0.95));
}

/* Header de sección (reutilizable) */
.section-header {
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 20px auto 25px auto;
    max-width: 600px;
}

/* Grid de patrocinadores actuales */
.current-sponsors-section {
    padding: 80px 0;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsor-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sponsor-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-5px);
}

.sponsor-logo {
    width: 100%;
    max-width: 200px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.sponsor-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF6B35;
    margin: 0;
}

.sponsor-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
    margin: 0;
}

/* Sección CTA para convertirse en patrocinador */
.become-sponsor-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-sponsor-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-sponsor-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #FF6B35;
}

.cta-sponsor-text {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 20px;
}

/* Grid de beneficios */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
    text-align: left;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid #FF6B35;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-left-color: #FFC857;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.benefit-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FF6B35;
    margin-bottom: 10px;
}

.benefit-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}


/* ======================================================
   9. RESPONSIVE (MÓVIL)
   Adaptaciones para pantallas pequeñas
====================================================== */

/* Navegación móvil */
@media (max-width: 900px) {
    /* Logo más pequeño en móvil */
    .logo {
        font-size: 14px;
        max-width: 290px;
        white-space: nowrap;
    }

    .menu-toggle { 
        display: flex;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2px;
        background: #fff;
        display: block;
        transition: 0.3s;
    }

    .header-right { gap: 12px; }
    .header-inner { 
        gap: 12px;
        padding: 0 16px;
    }

    .language-selector select {
        padding: 4px 8px;
        font-size: 12px;
    }

    /* Panel de navegación móvil */
    .main-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 12px;
        right: 12px;
        flex-direction: column;
        padding: 18px;
        background: rgba(5, 0, 22, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        gap: 8px;
        z-index: 999;
        box-shadow: 0 12px 30px rgba(0,0,0,0.45);
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .main-nav a {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 16px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav a:hover {
        background: rgba(255, 107, 53, 0.15);
        border-color: rgba(255, 107, 53, 0.3);
    }

    .main-nav a::after { display: none; }
    .main-nav.nav-open { display: flex; }

    /* Dropdown móvil */
    .dropdown { width: 100%; }
    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
        display: flex;
    }

    .dropdown-toggle::after {
        content: '▼';
        font-size: 10px;
        margin-left: auto;
    }

    .dropdown-menu {
        position: static;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 10px;
        padding: 8px;
        margin: 4px 0 0 0;
        gap: 4px;
        display: none;
        backdrop-filter: none;
    }

    .dropdown.dropdown-open .dropdown-menu { 
        display: flex;
        opacity: 1;
        pointer-events: auto;
    }

    .dropdown-menu a {
        padding: 10px 16px;
        font-size: 15px;
        background: rgba(255, 255, 255, 0.02);
    }

    /* Ajustes generales móvil */
    body {
        font-size: 16px;
        padding-top: 70px;
    }

    .container {
        padding: 0 16px;
    }

    h1, .hero-title {
        font-size: 28px !important;
        line-height: 1.2;
    }

    h2, .section-title {
        font-size: 24px !important;
        line-height: 1.3;
    }

    h3 {
        font-size: 20px !important;
    }

    p, .section-text {
        font-size: 16px !important;
        line-height: 1.6;
    }

    .section {
        padding: 40px 0;
    }

    .dark-section {
        padding: 40px 0;
    }
}

/* Hero responsive */
@media (max-width: 900px) {
    .hero {
        padding: 40px 0;
        min-height: auto;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-title {
        font-size: 28px !important;
        margin-bottom: 12px;
    }

    .hero-description, .hero-tagline {
        font-size: 16px !important;
    }

    .hero-image {
        max-width: 100%;
        padding: 0 20px;
    }

    .carrof1 {
        max-width: 320px;
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-actions a,
    .hero-actions button {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 16px;
    }
}

/* Grids responsive */
@media (max-width: 900px) {
    .stats-grid,
    .mission-grid,
    .benefits-grid,
    .sponsors-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .about-content-card {
        padding: 30px 20px;
    }

    /* Misión y Visión en móvil */
    .section.dark-section .container > div[style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
}

/* Alianza responsive */
@media (max-width: 768px) {
    .alliance-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .logo-cme {
        max-width: 200px;
    }

    .alliance-text .section-text {
        font-size: 16px !important;
    }
}

/* Descargas responsive */
@media (max-width: 768px) {
    .download-item { 
        grid-template-columns: 1fr; 
        align-items: flex-start; 
        padding: 20px;
    }
    
    .hero-inner-centered { 
        text-align: center; 
    }
    
    .hero-actions { 
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .download-item h3 {
        font-size: 18px !important;
    }

    .download-item p {
        font-size: 15px !important;
    }
}

/* Patrocinadores responsive */
@media (max-width: 768px) {
    .cta-sponsor-title {
        font-size: 24px !important;
    }

    .cta-sponsor-text {
        font-size: 16px !important;
    }

    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sponsor-card {
        padding: 24px 16px;
    }
}

/* Formularios responsive */
@media (max-width: 768px) {
    .form-group label {
        font-size: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 12px;
    }

    .btn-primary {
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Tablas y listas responsive */
@media (max-width: 768px) {
    table {
        font-size: 14px;
    }

    th, td {
        padding: 10px 8px;
    }

    ul, ol {
        padding-left: 20px;
    }

    li {
        margin-bottom: 8px;
    }
}
