/* ============================================
     HERO WITH LOGO - TAGLINE VISIBILITY
     Applies to non-index pages using image-backed hero
============================================ */
.hero-with-logo .hero-tagline {
    color: #ffffff;
    opacity: 0.98;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.08rem;
}

/* Subtítulo del hero: ligeramente más grande y claro */
.hero-with-logo .hero-subtitle {
    color: #ffffff;
    opacity: 0.98;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    font-size: 1.08rem;
    font-weight: 600;
}

/* ============================================
   UTILITIES: Competencia page cleanup
   Small utility classes extracted from inline styles
============================================ */
/* Hero helpers */
.hero-inner-left { display: flex; align-items: center; justify-content: flex-start; }
.hero-inner-between { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-text-left { text-align: left; flex: 1; }
.hero-brand-row { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.logo-xl { height: 120px; object-fit: contain; }
.hero-logo { flex: 0 0 auto; }
.hero-with-logo .hero-tagline { margin: 0; }
.hero-desc { font-size: 1.05rem; line-height: 1.7; color: rgba(255, 255, 255, 0.9); text-align: left; }
.hero-season { font-size: 1rem; color: rgba(255, 255, 255, 0.75); margin-top: 16px; font-weight: 500; }
.hero-actions-left { justify-content: flex-start; }
.hero-actions-right { justify-content: flex-end; }
.btn-white-pink { background-color: #ffffff; color: #8B0A50; }
.black-separator { width: 100%; height: 30px; background: #000000; }

/* Category helpers */
.competencia-page .category-meta { display: grid; }
.competencia-page .category-meta.entry { margin-top: 20px; gap: 8px; }
.competencia-page .category-meta.prof { margin-top: 8px; gap: 4px; }
.competencia-page .category-meta-item { margin: 0; font-size: 0.9rem; color: #333333; font-weight: 600; }
.competencia-page .category-meta-item strong { color: #1a1a1a !important; font-weight: 700; }
.competencia-page .category-body { opacity: 0.85; }
.competencia-page .category-body.entry { line-height: 1.7; }
.competencia-page .category-body.prof { line-height: 1.5; }
.competencia-page .category-list-title { font-weight: 600; margin-bottom: 10px; font-size: 0.95rem; }
.competencia-page .category-list { display: grid; font-size: 0.9rem; opacity: 0.85; }
.competencia-page .category-list.entry { gap: 8px; }
.competencia-page .category-list.prof { gap: 4px; }
.competencia-page .level-box { border-radius: 8px; }
.competencia-page .level-orange { background: rgba(255, 107, 53, 0.05); padding: 20px; }
.competencia-page .level-purple { background: rgba(99, 102, 241, 0.05); padding: 12px; }
.competencia-page .category-level-title { font-weight: 600; margin-bottom: 10px; font-size: 0.95rem; }
.competencia-page .category-level-text { margin: 0; font-size: 0.9rem; opacity: 0.85; }
.competencia-page .category-level-text.entry { line-height: 1.6; }
.competencia-page .category-level-text.prof { line-height: 1.5; }

/* Timeline/PDF cards */
.timeline-title { margin: 0; text-align: center; }
.pdf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 800px; margin: 0 auto; }
.pdf-card { text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pdf-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }

/* Software buttons */
.btn-white-orange { 
    background-color: #FF6B35; 
    color: #ffffff; 
    border: 2px solid #FF6B35;
    font-weight: 600;
}
.btn-white-orange:hover {
    background-color: #ffffff;
    color: #FF6B35;
    transform: translateY(-2px);
}
.btn-white-purple { 
    background-color: #8A2EFF; 
    color: #ffffff; 
    border: 2px solid #8A2EFF;
    font-weight: 600;
}
.btn-white-purple:hover {
    background-color: #ffffff;
    color: #8A2EFF;
    transform: translateY(-2px);
}

/* Software download CTA overrides (keep them white) */
.software-section .btn-white-orange,
.software-section .btn-white-purple {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border: 2px solid !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}
.software-section .btn-white-orange { border-color: #FF6B35 !important; }
.software-section .btn-white-purple { border-color: #8A2EFF !important; }
.software-section .btn-white-orange:hover,
.software-section .btn-white-purple:hover {
    background: #f5f5f5 !important;
    color: #1a1a1a !important;
    border-color: currentColor !important;
}

/* Footer partner logos */
.partner-row { display: flex; flex-direction: row; justify-content: center; gap: 30px; margin-bottom: 20px; align-items: center; flex-wrap: wrap; }
.partner-logo { height: 60px; object-fit: contain; }
.partner-logo-sm { height: 45px; object-fit: contain; }
.site-logo { height: 40px; object-fit: contain; }

/* ============================================
   PAGE: Competencia (moved from competencia.html)
============================================ */
.competencia-page .section { padding: 56px 0; }
.competencia-page .section-header { max-width: 800px; margin: 0 auto 40px auto; text-align: center; }
.competencia-page .section-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent); margin: 0 auto; max-width: 600px; }
.competencia-page .category-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 28px; transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; }
.competencia-page .category-header { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.competencia-page .category-section { margin: 18px 0; }
.competencia-page .category-section:last-child { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.competencia-page .category-card:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 107, 53, 0.3); transform: translateY(-5px); }
.competencia-page .card-primary { border-left: 3px solid #FF6B35; }
.competencia-page .card-professional { border-left: 3px solid #6366f1; }
.competencia-page .learn-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; padding: 30px 20px; text-align: center; transition: all 0.3s ease; }
.competencia-page .learn-card:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 107, 53, 0.2); transform: translateY(-3px); }
.competencia-page .learn-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.competencia-page .learn-text { font-size: 0.95rem; opacity: 0.7; }
.competencia-page .timeline-circle { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; border: 2px solid rgba(255, 107, 53, 0.3); background: rgba(255, 255, 255, 0.03); transition: all 0.3s ease; }
.competencia-page .timeline-step:hover .timeline-circle { border-color: #FF6B35; background: rgba(255, 107, 53, 0.1); }
.competencia-page .timeline-pane { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; padding: 20px 25px; transition: all 0.3s ease; }
.competencia-page .timeline-step:hover .timeline-pane { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 107, 53, 0.2); }
.competencia-page .timeline-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 5px; }
.competencia-page .timeline-text { font-size: 0.9rem; opacity: 0.7; margin: 0; }
.competencia-page .software-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 40px; text-align: center; transition: all 0.3s ease; }
.competencia-page .software-card:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 107, 53, 0.3); transform: translateY(-5px); }
.competencia-page .software-logo { margin-bottom: 20px; height: 80px; display: flex; align-items: center; justify-content: center; }
.competencia-page .software-card-orange { border-left: 3px solid #FF6B35; }
.competencia-page .software-card-purple { border-left: 3px solid #6366f1; }
.competencia-page .software-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.competencia-page .software-text { font-size: 0.95rem; line-height: 1.6; opacity: 0.8; margin-bottom: 12px; }
.competencia-page .software-usage { font-size: 0.85rem; opacity: 0.6; margin-bottom: 25px; }
.competencia-page .dark-section { position: relative; }
.competencia-page .cta-final { 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); padding: 80px 0; }
.competencia-page .cta-inner { text-align: center; max-width: 800px; margin: 0 auto; }
.competencia-page .cta-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 25px; color: #ffffff; text-shadow: 0 4px 18px rgba(0,0,0,0.35); }
.competencia-page .cta-text { font-size: 1.1rem; line-height: 1.7; opacity: 0.95; margin-bottom: 40px; color: #f5f5f5; text-shadow: 0 3px 12px rgba(0,0,0,0.3); }
.competencia-page .cta-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.competencia-page .cta-btn-primary, .competencia-page .cta-btn-secondary { font-size: 1rem; padding: 14px 35px; transition: all 0.3s ease; }
.competencia-page .section-badge { text-align: center; margin-bottom: 25px; }
.competencia-page .badge-soft { display: inline-block; background: rgba(255, 107, 53, 0.08); color: #FF6B35; padding: 8px 20px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; border: 1px solid rgba(255, 107, 53, 0.2); }
.competencia-page .category-section p { margin: 4px 0; }
.competencia-page .category-body { line-height: 1.55 !important; }
.competencia-page .section { padding: 44px 0; }
.competencia-page .section-header { margin: 0 auto 28px auto; }
.competencia-page .category-card { padding: 22px; }
.competencia-page .category-header { margin-bottom: 8px; padding-bottom: 6px; }
.competencia-page .category-section { margin: 6px 0; }
.competencia-page .category-section:last-child { padding-top: 10px; }
.competencia-page .category-list-title { margin-bottom: 5px !important; }
.competencia-page .category-list { margin: 6px 0 !important; gap: 4px !important; }
.competencia-page .category-list li { margin: 0 !important; }
.competencia-page .category-meta { margin-top: 10px !important; gap: 6px !important; }
.competencia-page .category-image { margin-bottom: 8px; }
.competencia-page .category-level-text { line-height: 1.5 !important; }
.competencia-page .category-level { padding: 12px !important; }
.competencia-page .category-level-title { margin-bottom: 6px !important; }
.competencia-page .pdf-card { padding: 28px 16px !important; }
.competencia-page .software-card { padding: 32px; }
.competencia-page .cta-final { padding: 60px 0; }
.competencia-page .cta-title { margin-bottom: 20px; }
.competencia-page .cta-text { margin-bottom: 28px; }
.competencia-hero .hero-title, .competencia-hero .hero-subtitle { color: #ffffff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.competencia-page .category-level-professional .category-level-text strong { color: #1a1a1a !important; font-weight: 700; }
.competencia-hero .hero-tagline { color: #ffffff !important; opacity: 0.98; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); font-weight: 600; letter-spacing: 0.5px; font-size: 1.08rem; }
@media (max-width: 768px) {
    .competencia-page .cta-title { font-size: 1.8rem; }
    .competencia-page .cta-text { font-size: 1rem; }
    .competencia-page .category-card, .competencia-page .software-card { padding: 30px 20px; }
    .competencia-page .timeline-circle { width: 45px; height: 45px; font-size: 1.2rem; }
    .competencia-page .cta-actions { flex-direction: column; gap: 15px; }
}

/* ============================================
   PAGE: About (moved from about.html)
============================================ */
.about-content-card { background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 107, 53, 0.03)); border-radius: 20px; padding: 50px 40px; border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); transition: all 0.4s ease; position: relative; overflow: hidden; }
.about-content-card::before { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), transparent); border-radius: 20px; z-index: -1; opacity: 0; transition: opacity 0.4s ease; }
.about-content-card:hover::before { opacity: 1; }
.about-content-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2); }
.section-icon { font-size: 3rem; margin-bottom: 20px; display: inline-block; background: linear-gradient(135deg, #FF6B35, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-enhanced { padding: 80px 0; }
.section-enhanced .section-title { font-size: 2.5rem; margin-bottom: 30px; position: relative; display: inline-block; }
.section-enhanced .section-title::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 60px; height: 4px; background: linear-gradient(90deg, #FF6B35, #6366f1); border-radius: 2px; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.mission-item { text-align: center; padding: 30px 20px; background: rgba(255, 255, 255, 0.03); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; }
.mission-item:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-5px); }
.mission-item-icon { font-size: 2.5rem; margin-bottom: 15px; }
.mission-item-text { font-size: 1.1rem; line-height: 1.6; opacity: 0.9; }
.alliance-highlight { background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05)); padding: 40px; border-radius: 20px; border-left: 4px solid #FF6B35; margin-top: 30px; }
.alliance-logo-container { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.alliance-logo { width: 150px; height: 150px; object-fit: contain; border-radius: 12px; background: rgba(255, 255, 255, 0.05); padding: 15px; transition: all 0.3s ease; }
.alliance-logo:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3); }
.stats-section { padding: 50px 0; background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(99, 102, 241, 0.15)); position: relative; overflow: hidden; }
.stats-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1), transparent 50%), radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.1), transparent 50%); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.stat-card { text-align: center; padding: 30px 20px; background: rgba(255, 255, 255, 0.08); border-radius: 20px; backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.15); transition: all 0.4s ease; position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent 70%); opacity: 0; transition: opacity 0.4s ease; }
.stat-card:hover::before { opacity: 1; }
.stat-card:hover { transform: translateY(-15px) scale(1.02); background: rgba(255, 255, 255, 0.12); box-shadow: 0 25px 50px rgba(255, 107, 53, 0.4); }
.stat-number { font-size: 3rem; font-weight: 800; color: #FF6B35; margin-bottom: 10px; background: linear-gradient(135deg, #FF6B35, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; position: relative; z-index: 1; }
.stat-label { font-size: 1rem; opacity: 0.95; font-weight: 600; position: relative; z-index: 1; }
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr; gap: 15px; }
    .stat-number { font-size: 2.5rem; }
    .mission-grid { grid-template-columns: 1fr; gap: 20px; }
    .alliance-logo { width: 120px; height: 120px; }
}
/* ======================================================
   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
====================================================== */

/* Fuentes (fallbacks sin Adobe Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,400;0,600;0,700;1,600;1,700;1,800&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    /* Colores principales (Brand) */
    --primary-color: #FF6B35;       /* Orange */
    --secondary-color: #6366f1;     /* Purple */
    --accent-color: #FFC857;        /* Gold */
    --pink-color: #FF2E92;          /* Pink accent */
    --dark: #050016;
    --white: #ffffff;

    /* Tipografía */
    --font-display: "Magistral", "Exo 2", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "Macho Modular", "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Gradiente del hero principal (Index banner) - Chicane Violet → Pitlane Pink → Burnout Orange */
    --hero-grad: linear-gradient(180deg,
        #6a1fb1 0%,   /* Chicane Violet */
        #ff2e92 50%,  /* Pitlane Pink */
        #ff6b35 100%  /* Burnout Orange */
    );

    /* Gradientes de marca (aprox.) */
    --grad-carbon-shadow: linear-gradient(180deg, #0b0716 0%, #0d0a18 50%, #090814 100%);
    --grad-ignite-indigo: linear-gradient(180deg, #3f2b96 0%, #5a2ca0 25%, #8b2e83 50%, #ff2e92 75%, #ff6b35 90%, #ffc857 100%);
    --grad-apex-glacier: linear-gradient(180deg, #74b6ff 0%, #2a6fd9 100%);
    --grad-turbo-glacier: linear-gradient(180deg, #6fb6ff 0%, #53a34a 100%);
    --grad-areo-sky: linear-gradient(180deg, #7cc4ff 0%, #6bd179 100%);
    --grad-burnout-gold: linear-gradient(180deg, #ff6b35 0%, #ffc857 100%);
    --grad-chicane-stack: linear-gradient(180deg, #6a1fb1 0%, #ff2e92 50%, #ff6b35 100%);
}

/* ======================================================
   1. RESET & VARIABLES
   Define colores globales y resetea estilos del navegador
====================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Header de sección y divisores */
.section-header { max-width: 800px; margin: 0 auto 60px auto; text-align: center; }
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.6), rgba(99, 102, 241, 0.6), transparent);
    margin: 20px auto 25px auto;
    max-width: 600px;
    border-radius: 999px;
}
.section-header::after {
    content: '';
    display: block;
    height: 4px;
    width: 140px;
    margin: 12px auto 0 auto;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color) 40%, var(--secondary-color) 60%, var(--secondary-color) 100%);
}

/* Light section (fondos claros) */
.light-section { background: #ffffff; color: #1f2937; }
.light-section .section-title { color: #111827; }
.light-section .section-text { color: #374151; opacity: 1; }
.light-section .section-divider { background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.5), rgba(99, 102, 241, 0.5), transparent); }

/* PDF grid/cards (Calendario) */
.pdf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.pdf-card { 
    background: rgba(255, 255, 255, 0.95); 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    border-radius: 16px; 
    padding: 16px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.pdf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
    border-color: #FF6B35;
    background: #ffffff;
}
.light-section .timeline-title { color: #111827; }
.light-section .timeline-text { color: #374151; opacity: 1; }

/* Acentos de color y gradientes utilitarios */
.accent-orange { color: #1a1a1a; }
.accent-purple { color: #1a1a1a; }
.accent-gold { color: #FFC857; }
.accent-pink { color: var(--pink-color); }
.bg-grad-carbon-shadow { background: var(--grad-carbon-shadow) !important; }
.bg-grad-ignite-indigo { background: var(--grad-ignite-indigo) !important; }
.bg-grad-apex-glacier { background: var(--grad-apex-glacier) !important; }
.bg-grad-turbo-glacier { background: var(--grad-turbo-glacier) !important; }
.bg-grad-areo-sky { background: var(--grad-areo-sky) !important; }
.bg-grad-burnout-gold { background: var(--grad-burnout-gold) !important; }
.bg-grad-chicane-stack { background: var(--grad-chicane-stack) !important; }
.text-gradient { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.text-grad-ignite { background: var(--grad-ignite-indigo); }
.text-grad-burnout { background: var(--grad-burnout-gold); }
.text-grad-chicane { background: var(--grad-chicane-stack); }


/* ======================================================
   2. ESTILOS BASE
   Configuración general del body y contenedores
====================================================== */
body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    padding-top: 70px; /* Espacio para header fijo */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
}

/*
   Carga de fuentes Adobe Fonts (Magistral & Macho Modular)
   Nota: Reemplace XXXXXXX con su Kit ID de Adobe Fonts o
   añada el <link rel="stylesheet" href="https://use.typekit.net/XXXXXXX.css"> en el <head>.
*/
/* @import url('https://use.typekit.net/XXXXXXX.css'); */

/* Titulares (Magistral en itálica, bold preferida) */
h1, h2, h3,
.hero-title, .section-title, .cta-title,
.category-title, .software-title, .sponsor-name {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* Subtítulos y títulos menores (también Magistral itálica) */
h4, h5, h6,
.learn-title, .timeline-title, .benefit-title,
.category-level-title, .download-info h4, .key-body h3 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
}

/* Cuerpo de texto (Macho Modular) */
body, p, li, a, input, textarea, select, button,
.section-text, .hero-description, .hero-support-line {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 400;
}

.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: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Animación del menú hamburguesa al abrir */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}


/* ======================================================
   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: all 0.25s ease;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
}

.btn-primary {
    background: white;
    color: #5A0B78;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.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);
}

.btn-secondary:active {
    transform: translateY(0);
    background: rgba(255,255,255,0.15);
}

/* 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: 2.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
    font-weight: 800;
}

.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: linear-gradient(135deg, #00C853, #00E676);
    color: #ffffff;
    border: 3px solid #69F0AE;
    font-size: 1.3rem;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.5);
    animation: successPulse 0.6s ease-in-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#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 {
    /* Tema claro para competencia */
    --bg-main: #ffffff;
    --bg-section: #ffffff;
    --text-main: #111827;
    --text-muted: #374151;
    --accent-primary: #F9739C;
    --accent-primary-dark: #E4628B;
    --accent-secondary: #8B6CF0;
    --accent-warm: #E7A45C;
    background: var(--bg-main);
    color: var(--text-main);
    filter: saturate(1);
}

.competencia-page .dark-section {
    /* En esta página las secciones "dark" serán claras */
    background: var(--bg-section);
}

/* Separadores y tipografía en tema claro */
.competencia-page .section-divider {
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.15), rgba(99, 102, 241, 0.15), transparent);
}

/* Tarjetas en tema claro */
.competencia-page .category-card,
.competencia-page .software-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.competencia-page .category-card:hover,
.competencia-page .software-card:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.18);
    transform: translateY(-3px);
}

.competencia-page .category-header { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.competencia-page .category-section:last-child { border-top: 1px solid rgba(0, 0, 0, 0.08); }

/* CTA y Footer claros */
.competencia-page .cta-final {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.competencia-page .main-footer {
    background: #f8fafc;
    color: #374151;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.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(0, 0, 0, 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; }
.competencia-page .category-image {
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f3f4f6;
}
.competencia-page .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 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; }

/* Acento debajo de headers en todas las secciones */

/* Tabs (categorías Entry/Professional) */
.tab-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 30px;
}
.tab-btn {
    background: #ffffff;
    color: #111827;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}
.tab-btn.active {
    border-color: #FF6B35;
    color: #FF6B35;
}
.tab-panels { max-width: 1000px; margin: 0 auto; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.section-header::after {
    content: '';
    display: block;
    height: 4px;
    width: 140px;
    margin: 12px auto 0 auto;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color) 40%, var(--secondary-color) 60%, var(--secondary-color) 100%);
}

/* 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: #1a1a1a; }

/* 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: #1a1a1a; }
.accent-purple { color: #1a1a1a; }
.accent-gold { color: #FFC857; }
.accent-pink { color: #FF2E92; }

/* Timeline (calendario) */
.timeline-section { 
    background: linear-gradient(135deg, #24243e 0%, #4a0e4e 25%, #730e70 50%, #8B0A50 75%, #A64B2A 100%);
    position: relative;
    padding: 60px 0;
}
.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.15), transparent 70%),
                radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.15), transparent 70%);
    z-index: 0;
}
.timeline-section .container {
    position: relative;
    z-index: 1;
}
.timeline-section .section-title {
    color: #ffffff !important;
}
.timeline-section .section-divider {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
}
.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: linear-gradient(135deg, #1a0f2e 0%, #2d1b3d 25%, #4a1e58 50%, #6a2c70 75%, #8B0A50 100%);
    position: relative;
    padding: 60px 0;
}
.software-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255, 107, 53, 0.1), transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(99, 102, 241, 0.1), transparent 60%);
    z-index: 0;
}
.software-section .container {
    position: relative;
    z-index: 1;
}
.software-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}
.software-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 35px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.software-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}
.software-card-orange { 
    border-color: #FF6B35; 
}
.software-card-orange:hover {
    border-color: #FF6B35;
    box-shadow: 0 8px 35px rgba(255, 107, 53, 0.5);
}
.software-card-purple { 
    border-color: #6366f1; 
}
.software-card-purple:hover {
    border-color: #8A2EFF;
    box-shadow: 0 8px 35px rgba(99, 102, 241, 0.5);
}
.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-card-orange .software-logo img {
    max-width: 110px;
    max-height: 110px;
}
.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%; 
}
.software-actions .btn {
    border-radius: 28px;
    padding: 14px 32px;
    font-weight: 700;
    min-width: 180px;
    text-align: center;
}
.btn-block { 
    flex: 1; 
    min-width: 140px; 
    text-align: center; 
}
.btn-ghost {
    padding: 12px 28px !important;
    border-radius: 8px !important;
    text-decoration: none;
    font-weight: 700;
    flex: 1;
    min-width: 160px;
    text-align: center;
    border: 2px solid transparent !important;
    background: rgba(255,255,255,0.35) !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}
.software-section .btn-ghost {
    border-radius: 28px !important;
    padding: 14px 32px !important;
    font-weight: 700 !important;
    min-width: 180px !important;
}
.btn-ghost-orange {
    border-color: #FF6B35 !important;
    background: #FF6B35 !important;
    color: #ffffff !important;
}
.btn-ghost-orange:hover {
    background: #ff8a5c !important;
    border-color: #ff8a5c !important;
    color: #ffffff !important;
}
.btn-ghost-purple {
    border-color: #8A2EFF !important;
    background: #8A2EFF !important;
    color: #ffffff !important;
}
.btn-ghost-purple:hover {
    background: #a066ff !important;
    border-color: #a066ff !important;
    color: #ffffff !important;
}

/* 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;
    }
}

/* ============================================
   UTILITIES: Card & Container Layouts
============================================ */
/* Section & layout helpers */
.section { padding: 80px 20px; }
.intro-section { padding: 60px 0; }
.intro-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 45px; align-items: center; max-width: 1200px; margin: 0 auto; }
.intro-card { text-align: center; background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 107, 53, 0.03)); padding: 40px 35px; border-radius: 20px; border: 2px solid rgba(255, 107, 53, 0.25); backdrop-filter: blur(15px); box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2), 0 0 40px rgba(255, 107, 53, 0.1); position: relative; }
.intro-card-bg { position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), transparent); border-radius: 20px; z-index: -1; opacity: 0.5; }
.intro-card-title { font-size: 1.1rem; margin-bottom: 25px; color: #FF6B35; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.intro-card-img { width: 160px; height: 160px; object-fit: contain; margin: 0 auto 25px auto; display: block; border-radius: 12px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); }
.intro-card-text { font-size: 0.95rem; line-height: 1.7; color: rgba(255, 255, 255, 0.85); margin: 0; font-weight: 500; text-align: left; }
.intro-text { flex: 1; }
.intro-text h2 { font-size: 2rem !important; margin-bottom: 22px !important; font-weight: 700; line-height: 1.25; }
.intro-text-p { font-size: 1.1rem !important; line-height: 1.75; color: rgba(255, 255, 255, 0.88); margin-bottom: 14px; text-align: left; }
.intro-text-italic { font-size: 1rem !important; color: rgba(255, 255, 255, 0.75); margin: 0; font-style: italic; font-weight: 500; }

/* Step cards (proceso/timeline) */
.steps-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: stretch; max-width: 1200px; margin: 0 auto; }
.steps-header { margin-bottom: 30px; }
.steps-title { font-size: 3rem; font-weight: 800; color: #ffffff; margin: 0 0 12px 0; text-transform: uppercase; letter-spacing: -1px; }
.steps-accent { width: 120px; height: 4px; background: linear-gradient(90deg, #FF6B35, #6366f1); }
.steps-container { display: flex; flex-direction: column; gap: 16px; }
.step-card { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 16px 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.step-badge { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #ffffff; font-weight: 900; font-size: 1.4rem; box-shadow: 0 8px 22px rgba(255, 107, 53, 0.35); }
.step-badge.badge-1 { background: linear-gradient(135deg, #FF6B35, #6366f1); }
.step-badge.badge-2 { background: linear-gradient(135deg, #8B0A50, #FFD700); }
.step-badge.badge-3 { background: linear-gradient(135deg, #5A0B78, #8B4DE8); }
.step-content { color: rgba(255,255,255,0.9); }
.step-title { margin: 0 0 6px 0; font-size: 1.2rem; font-weight: 800; }
.step-title.title-1 { color: #FF6B35; }
.step-title.title-2 { color: #FFD700; }
.step-title.title-3 { color: #8B4DE8; }
.step-desc { margin: 0; font-size: 1rem; line-height: 1.6; }
.step-desc-extra { margin: 0 0 8px 0; font-size: 1rem; line-height: 1.6; }
.step-highlight { color: #FFD700; }

/* Voluntariado process steps */
.process-wrapper { background: linear-gradient(135deg, #FF6B35 0%, rgba(255, 107, 53, 0.8) 100%); padding: 40px 0; }
.process-row { display: flex; justify-content: space-around; align-items: center; gap: 30px; flex-wrap: wrap; }
.process-item { text-align: center; flex: 1; min-width: 200px; }
.process-item-text { color: white; font-size: 18px; line-height: 1.6; margin: 0; }
.process-divider { width: 2px; height: 60px; background: white; opacity: 0.5; }
.process-steps-horizontal { display: flex; justify-content: space-around; align-items: flex-start; gap: 20px; max-width: 1400px; margin: 0 auto; flex-wrap: nowrap; overflow-x: auto; padding: 0 20px; }
.process-step-box { flex: 0 1 140px; text-align: center; position: relative; }
.process-step-icon { background: #FF6B35; color: white; width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: bold; margin: 0 auto 12px; }
.process-step-title { color: white; font-size: 15px; font-weight: bold; margin: 0 0 8px 0; line-height: 1.3; }
.process-step-desc { color: #d4c5e8; font-size: 12px; margin: 0; line-height: 1.4; }
.process-step-connector { flex-shrink: 0; width: 40px; position: relative; top: 35px; }
.process-step-line { height: 3px; background: #FF6B35; width: 100%; }

/* Section image styling */
.section-img { border-radius: 8px; pointer-events: none; object-fit: cover; }

/* Badges & status chips */
.status-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; justify-content: flex-start; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.1); color: #ffffff; font-weight: 700; font-size: 0.95rem; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-1 { background: linear-gradient(135deg, #FF6B35, #6366f1); }
.dot-2 { background: linear-gradient(135deg, #FFD700, #8B0A50); }
.dot-3 { background: linear-gradient(135deg, #5A0B78, #8B4DE8); }

/* Student features section */
.student-features-wrapper { max-width: 1200px; }
.student-features-header h2 { font-size: 2.5rem; font-weight: 800; color: #ffffff; margin: 0 0 5px 0; }
.student-features-divider { width: 100%; height: 2px; background: #FF6B35; margin: 0 0 30px 0; }
.student-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.student-features-cards { display: flex; flex-direction: column; gap: 12px; }
.feature-card { padding: 15px 20px; background: rgba(255, 255, 255, 0.05); border-left: 5px solid; border-image: linear-gradient(to bottom, #FF6B35, #6366f1) 1; border-radius: 0 8px 8px 0; transition: transform 0.3s; }
.feature-card h3 { color: #FF6B35; font-size: 1.2rem; font-weight: 700; margin: 0 0 5px 0; }
.feature-card p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 0.95rem; line-height: 1.5; }

/* Information section */
.text-center { text-align: center; }
.mb-70 { margin-bottom: 70px; }
.info-title { font-size: 3.2em; font-weight: 800; margin: 0 0 15px 0; color: #ffffff; text-transform: uppercase; letter-spacing: -1px; }
.accent-line { width: 100px; height: 4px; background: linear-gradient(90deg, #FF6B35, #6366f1); margin: 0 auto; }
.info-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* Info cards with hover states */
.info-card { background: rgba(255, 255, 255, 0.08); padding: 18px 25px; text-align: center; box-shadow: none; position: relative; transition: all 0.3s ease; border-left: 5px solid; border-radius: 0 8px 8px 0; }
.info-card h4 { color: #ffffff; font-size: 1.1rem; margin: 0 0 10px 0; font-weight: 800; text-transform: uppercase; transition: all 0.3s ease; }
.info-card p { color: rgba(255, 255, 255, 0.9); margin: 0; font-size: 1.05rem; font-weight: 600; transition: all 0.3s ease; line-height: 1.4; }
.info-card.card-1 { border-image: linear-gradient(to bottom, #FF6B35, #6366f1) 1; }
.info-card.card-1:hover { background: linear-gradient(135deg, #FF6B35, #6366f1); color: white; }
.info-card.card-1:hover h4, .info-card.card-1:hover p { color: white; }
.info-card.card-2 { border-image: linear-gradient(to bottom, #8B0A50, #FFD700) 1; }
.info-card.card-2:hover { background: linear-gradient(135deg, #8B0A50, #FFD700); }
.info-card.card-2:hover h4, .info-card.card-2:hover p { color: white; }
.info-card.card-3 { border-image: linear-gradient(to bottom, #24243e, #730e70) 1; }
.info-card.card-3:hover { background: linear-gradient(135deg, #24243e, #730e70); }
.info-card.card-3:hover h4, .info-card.card-3:hover p { color: white; }
.info-card.card-4 { border-image: linear-gradient(to bottom, #5A0B78, #6366f1) 1; }
.info-card.card-4:hover { background: linear-gradient(135deg, #5A0B78, #6366f1); }
.info-card.card-4:hover h4, .info-card.card-4:hover p { color: white; }
.info-card.card-5 { border-image: linear-gradient(to bottom, #FF6B35, #6366f1) 1; }
.info-card.card-5:hover { background: linear-gradient(135deg, #FF6B35, #6366f1); }
.info-card.card-5:hover h4, .info-card.card-5:hover p { color: white; }

/* Carousel styling */
.carousel-wrapper { position: relative; border-radius: 8px; overflow: hidden; min-height: 350px; border: 3px solid; border-image: linear-gradient(135deg, #FF6B35, #6366f1, #8B0A50, #FFD700) 1; }
.carousel-container { position: relative; width: 100%; height: 350px; }
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s; }
.carousel-slide.active { opacity: 1; }
.carousel-indicators { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.carousel-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: background 0.3s; }
.carousel-dot.active { background: rgba(255, 107, 53, 0.9); }

/* Gradient overlay sections */
.gradient-overlay-section { background: linear-gradient(135deg, #24243e 0%, #4a0e4e 25%, #730e70 50%, #8B0A50 75%, #A64B2A 100%); padding: 35px 20px; position: relative; overflow: hidden; }
.gradient-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.15; background: url('images/competencia.jpg') center/cover fixed; }
.gradient-content { position: relative; z-index: 2; }

/* Gradient overlay sections */
.gradient-overlay-section { background: linear-gradient(135deg, #24243e 0%, #4a0e4e 25%, #730e70 50%, #8B0A50 75%, #A64B2A 100%); padding: 35px 20px; position: relative; overflow: hidden; }
.gradient-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.15; background: url('images/competencia.jpg') center/cover fixed; }
.gradient-content { position: relative; z-index: 2; max-width: 1200px; }
.gradient-header { text-align: center; margin-bottom: 10px; }
.gradient-header h2 { font-size: 2.5em; font-weight: 800; margin: 0 0 10px 0; color: #ffffff; text-transform: uppercase; letter-spacing: -1px; }
.gradient-divider { width: 100px; height: 4px; background: linear-gradient(90deg, #FFD700, #FF6B35); margin: 0 auto 25px auto; }
.gradient-desc { color: rgba(255,255,255,0.9); font-size: 1.05rem; max-width: 700px; margin: 0 auto; line-height: 1.4; }

/* Category cards grid */
.category-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.category-card { background: rgba(255,255,255,0.98); padding: 18px 18px; position: relative; overflow: hidden; transition: all 0.4s ease; border-radius: 12px; }
.category-card:hover { transform: scale(1.05); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.category-card-accent { position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg, #FF6B35, #6366f1); }
.category-card-header { text-align: center; margin-bottom: 12px; }
.category-card-title { font-size: 1.4rem; font-weight: 800; color: #1a1a1a; margin: 0 0 5px 0; text-transform: uppercase; }
.category-card-subtitle { color: #888; font-size: 0.85rem; margin: 0; }
.category-card-section { text-align: center; padding: 15px 0; margin: 15px 0; border-top: 2px solid #f0f0f0; border-bottom: 2px solid #f0f0f0; }

/* Category cards grid */
.category-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.category-card { background: rgba(255,255,255,0.98); padding: 18px 18px; position: relative; overflow: hidden; transition: all 0.4s ease; border-radius: 8px; }
.category-card:hover { transform: scale(1.05); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.category-card-accent { position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg, #FF6B35, #6366f1); }
.category-card-header { text-align: center; margin-bottom: 12px; }
.category-card-title { font-size: 1.4rem; font-weight: 800; color: #1a1a1a; margin: 0 0 5px 0; text-transform: uppercase; }
.category-card-subtitle { color: #888; font-size: 0.85rem; margin: 0; }
.category-card-section { text-align: center; padding: 15px 0; margin: 15px 0; border-top: 2px solid #f0f0f0; border-bottom: 2px solid #f0f0f0; }
.category-card-price { font-size: 3.5rem; font-weight: 900; background: linear-gradient(135deg, #FF6B35, #6366f1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: 0; }
.category-card-currency { color: #666; font-size: 0.95rem; margin: 8px 0 0 0; }
.category-features { list-style: none; padding: 0; margin: 0; }
.category-feature { color: #444; margin-bottom: 12px; padding-left: 35px; position: relative; font-size: 0.95rem; line-height: 1.5; }
.category-feature-icon { position: absolute; left: 0; font-size: 1rem; }

/* Side content with overlays */
.side-content-box { position: relative; border-radius: 16px; overflow: hidden; min-height: 320px; }


.side-content-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(36,36,62,0.92), rgba(115,14,112,0.9)); }
.side-content-bg { position: absolute; inset: 0; background: url('images/carro6.jpg') center/cover; opacity: 0.32; mix-blend-mode: screen; }
.side-content-glow { position: absolute; inset: 0; background: radial-gradient(circle at 25% 20%, rgba(255,107,53,0.35), transparent 35%), radial-gradient(circle at 75% 80%, rgba(139,10,80,0.35), transparent 40%); }
.side-content-text { position: relative; z-index: 1; padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; text-align: left; }
.side-content-text p { margin: 0; color: rgba(255,255,255,0.85); font-size: 1.05rem; line-height: 1.6; font-weight: 600; }

/* CTA & Form sections */
.cta-section { background-image: url('images/logostemracing.png'); background-size: cover; background-position: center; background-attachment: fixed; padding: 15px 0; }
.cta-content { background: rgba(0, 0, 0, 0.7); padding: 15px; border-radius: 8px; }
.form-wrapper { margin-top: 30px; max-width: 700px; margin-inline: auto; }
.contact-form { background: white; padding: 30px; border-radius: 12px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-message { margin-top: 20px; text-align: center; }
.btn-full { width: 100%; }

/* 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;
    }
}

/* Calendario PDFs responsive */
@media (max-width: 768px) {
    .pdf-grid { grid-template-columns: 1fr; }
    object[type="application/pdf"] { height: 480px; }
}
/* ============================================
   MOBILE OPTIMIZATION (MAX-WIDTH: 768px)
============================================ */
@media (max-width: 768px) {
    /* Resets globales */
    * { -webkit-tap-highlight-color: transparent; }
    html { font-size: 14px; }
    body { 
        padding-bottom: 60px; 
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Header & Navigation */
    .main-header { 
        padding: 12px 0; 
        position: sticky;
        top: 0;
        z-index: 999;
    }
    .header-inner { 
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    .logo { 
        font-size: 0.85rem;
        flex: 1;
    }
    .site-logo { height: 38px; }
    .main-nav { display: none; }
    .menu-toggle { 
        display: flex; 
        z-index: 1001;
        padding: 8px;
    }
    
    /* Hero sections */
    .hero { 
        padding: 35px 0; 
        min-height: auto;
        background-attachment: scroll;
    }
    .hero-inner-left, 
    .hero-inner-between { 
        flex-direction: column; 
        gap: 20px;
        padding: 0 15px;
    }
    .hero-inner { gap: 20px; padding: 0 15px; }
    .hero-text { 
        text-align: center !important; 
        flex: 1;
    }
    .hero-title { 
        font-size: 1.7rem; 
        line-height: 1.3;
        margin-bottom: 12px;
    }
    .hero-subtitle { 
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    .hero-tagline { 
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
    .hero-support-line { 
        font-size: 0.95rem; 
        max-width: 100%;
        line-height: 1.5;
    }
    .hero-desc {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    .hero-season {
        font-size: 0.95rem;
        margin-top: 10px;
    }
    .hero-brand-row { 
        flex-direction: column; 
        align-items: center; 
        gap: 12px;
        margin-bottom: 15px;
    }
    .logo-xl { 
        height: 75px;
        margin-bottom: 8px;
    }
    .hero-actions { 
        flex-direction: column; 
        width: 100%; 
        gap: 10px;
    }
    .hero-actions a { 
        width: 100%; 
        text-align: center;
        padding: 12px 20px;
    }
    .hero-image { display: none; }
    
    /* Intro section */
    .intro-section { padding: 40px 0; }
    .intro-grid { 
        grid-template-columns: 1fr; 
        gap: 25px;
    }
    .intro-card { 
        padding: 22px 18px;
        border-radius: 10px;
    }
    .intro-card-img { 
        width: 110px; 
        height: 110px;
        margin-bottom: 12px;
    }
    .intro-card-title { 
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .intro-card-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .intro-text h2 { 
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    .intro-text-p { 
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Steps/Process sections */
    .steps-grid { 
        grid-template-columns: 1fr; 
        gap: 25px;
    }
    .steps-title { 
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 25px;
    }
    .step-card { 
        padding: 16px 16px;
        gap: 12px;
        border-radius: 10px;
    }
    .step-badge { 
        width: 42px; 
        height: 42px; 
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    .step-title { 
        font-size: 1rem;
        margin-bottom: 6px;
        font-weight: 600;
    }
    .step-desc { 
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Features cards */
    .student-features-section { padding: 40px 0; }
    .student-features-grid { 
        grid-template-columns: 1fr; 
        gap: 22px;
    }
    .student-features-header h2 { 
        font-size: 1.7rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    .feature-card { 
        padding: 16px 16px;
        border-radius: 10px;
        min-height: auto;
    }
    .feature-card h3 { 
        font-size: 1rem;
        margin-bottom: 8px;
        font-weight: 600;
    }
    .feature-card p { 
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Info cards */
    .info-grid { 
        grid-template-columns: 1fr; 
        gap: 18px;
    }
    .info-card { 
        padding: 25px 18px;
        border-radius: 10px;
        min-height: auto;
    }
    .info-card h4 { 
        font-size: 1rem;
        margin-bottom: 8px;
        font-weight: 600;
    }
    .info-card p { 
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .info-title { 
        font-size: 1.7rem;
        line-height: 1.3;
        margin-bottom: 25px;
    }
    
    /* Carousels */
    .carousel-wrapper { 
        min-height: 280px; 
        border-radius: 10px;
        overflow: hidden;
    }
    .carousel-container { height: 280px; }
    .carousel-slide img { 
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .carousel-indicators { 
        gap: 8px; 
        bottom: 12px;
    }
    .carousel-dot { 
        width: 10px; 
        height: 10px;
        cursor: pointer;
    }
    
    /* Category section */
    .gradient-overlay-section { 
        padding: 30px 15px;
        background-attachment: scroll;
    }
    .gradient-header h2 { 
        font-size: 1.7rem; 
        margin: 0 0 10px 0;
        line-height: 1.3;
    }
    .gradient-desc { 
        font-size: 0.95rem; 
        line-height: 1.5;
    }
    .category-cards-grid { 
        grid-template-columns: 1fr; 
        gap: 18px;
    }
    .category-card { 
        padding: 18px 16px;
        border-radius: 10px;
        min-height: auto;
    }
    .category-card-title { 
        font-size: 1.1rem;
        margin-bottom: 8px;
        font-weight: 600;
    }
    .category-card-price { 
        font-size: 2.2rem;
        margin: 10px 0;
    }
    .category-card-features {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Process horizontal */
    .process-steps-horizontal { 
        flex-direction: column; 
        gap: 18px; 
        padding: 0 15px;
    }
    .process-step-box { 
        flex: 1 1 auto; 
        min-width: unset;
        padding: 16px 14px;
        border-radius: 8px;
    }
    .process-step-connector { 
        width: 100%; 
        height: 2px; 
        background: rgba(255, 255, 255, 0.1);
        margin: -2px 0;
    }
    .process-step-line { 
        height: 100%; 
        width: 3px;
    }
    
    /* Side content */
    .side-content-box { 
        min-height: 220px;
        border-radius: 10px;
    }
    .side-content-text { 
        padding: 20px 16px; 
        gap: 12px;
    }
    .side-content-text p { 
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Gradients */
    .gradient-overlay-section { background-attachment: scroll; }
    
    /* Status badges */
    .status-badges { 
        gap: 8px; 
        flex-direction: column;
    }
    .status-badge { 
        width: 100%; 
        justify-content: flex-start;
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    /* Section titles */
    .section-title { 
        font-size: 1.7rem; 
        margin-bottom: 15px;
        line-height: 1.3;
    }
    .section-text { 
        font-size: 1rem;
        line-height: 1.6;
    }
    .accent-line { width: 60px; }
    
    /* Forms */
    .form-wrapper { 
        margin-top: 20px; 
        padding: 0 15px;
    }
    .contact-form { 
        padding: 24px 18px; 
        border-radius: 12px;
    }
    .form-group { margin-bottom: 16px; }
    .form-group label { 
        font-size: 0.95rem;
        margin-bottom: 6px;
        display: block;
    }
    .form-group input, 
    .form-group textarea, 
    .form-group select { 
        font-size: 16px;
        padding: 12px;
        border-radius: 8px;
        width: 100%;
    }
    .btn-full { 
        padding: 14px 20px; 
        font-size: 0.95rem;
        width: 100%;
    }
    
    /* Buttons */
    .btn-primary, 
    .btn-secondary { 
        padding: 12px 20px; 
        font-size: 0.95rem; 
        border-radius: 8px; 
        min-height: 44px;
        width: 100%;
    }
    .cta-actions { 
        flex-direction: column; 
        gap: 12px;
    }
    
    /* Statistics */
    .stats-grid { 
        grid-template-columns: 1fr; 
        gap: 16px;
    }
    .stat-card { 
        padding: 25px 18px;
        border-radius: 10px;
        text-align: center;
    }
    .stat-number { 
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 8px;
    }
    .stat-label { 
        font-size: 0.9rem;
        opacity: 0.85;
    }
    
    /* Mission grid */
    .mission-grid { 
        grid-template-columns: 1fr; 
        gap: 16px; 
        margin-top: 20px;
    }
    .mission-item { 
        padding: 20px 16px;
        border-radius: 10px;
    }
    .mission-item-text { 
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Containers */
    .container { padding: 0 15px; }
    .container.header-inner { 
        max-width: 100%;
        padding: 0 12px;
    }
    
    /* Sections padding */
    .section { padding: 40px 0; }
    
    /* Text utilities */
    .text-center { text-align: center; }
    .mb-70 { margin-bottom: 35px; }
    
    /* Smoother transitions */
    a, button { transition: all 0.2s ease; }
}

/* ============================================
   EXTRA SMALL DEVICES (MAX-WIDTH: 480px)
============================================ */
@media (max-width: 480px) {
    html { font-size: 13px; }
    body { font-size: 13px; line-height: 1.5; }
    
    /* Header optimization for small phones */
    .main-header { padding: 10px 0; }
    .site-logo { height: 35px; }
    .logo { font-size: 0.8rem; }
    
    /* Hero muy pequeña */
    .hero { padding: 25px 0; min-height: 400px; }
    .hero-inner { gap: 15px; padding: 0 12px; }
    .hero-title { font-size: 1.5rem; line-height: 1.2; margin-bottom: 12px; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 10px; }
    .hero-tagline { font-size: 0.75rem; letter-spacing: 1px; }
    .hero-support-line { font-size: 0.85rem; line-height: 1.4; }
    .logo-xl { height: 60px; margin-bottom: 8px; }
    .hero-brand-row { gap: 12px; margin-bottom: 12px; }
    .hero-desc { font-size: 0.95rem; line-height: 1.5; margin-bottom: 12px; }
    .hero-season { font-size: 0.85rem; margin-top: 10px; }
    
    /* Cards */
    .intro-card { padding: 18px 12px; margin-bottom: 12px; }
    .intro-card-img { width: 90px; height: 90px; margin-bottom: 8px; }
    .intro-card-title { font-size: 0.9rem; margin-bottom: 8px; }
    .intro-card-text { font-size: 0.85rem; }
    .info-card { padding: 18px 12px; }
    .info-card h4 { font-size: 0.95rem; margin-bottom: 8px; }
    .info-card p { font-size: 0.85rem; line-height: 1.4; }
    .feature-card { padding: 12px 12px; }
    .feature-card h3 { font-size: 0.9rem; }
    .feature-card p { font-size: 0.8rem; }
    
    /* Grids */
    .intro-text h2 { font-size: 1.2rem; margin-bottom: 12px; }
    .intro-text-p { font-size: 0.9rem; line-height: 1.5; }
    .info-grid { grid-template-columns: 1fr; gap: 12px; }
    .stats-grid { grid-template-columns: 1fr; gap: 12px; }
    .stat-card { padding: 20px 12px; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.8rem; }
    .carousel-wrapper { min-height: 200px; }
    .carousel-container { height: 200px; }
    .carousel-dot { width: 8px; height: 8px; }
    
    /* Titles and spacing */
    .section-title { font-size: 1.3rem; margin-bottom: 12px; line-height: 1.2; }
    .section-text { font-size: 0.9rem; line-height: 1.5; }
    .info-title { font-size: 1.3rem; margin-bottom: 15px; }
    .steps-title { font-size: 1.3rem; }
    .student-features-header h2 { font-size: 1.3rem; margin-bottom: 20px; }
    .gradient-header h2 { font-size: 1.3rem; }
    .gradient-desc { font-size: 0.85rem; }
    
    /* Steps and process */
    .step-card { padding: 12px 12px; gap: 8px; }
    .step-badge { width: 36px; height: 36px; font-size: 1rem; }
    .step-title { font-size: 0.9rem; margin-bottom: 6px; }
    .step-desc { font-size: 0.8rem; }
    .process-steps-horizontal { padding: 0 10px; gap: 15px; }
    .process-step-box { min-width: unset; padding: 16px 12px; }
    
    /* Category cards */
    .category-cards-grid { grid-template-columns: 1fr; gap: 15px; }
    .category-card { padding: 14px 12px; }
    .category-card-title { font-size: 1rem; margin-bottom: 8px; }
    .category-card-price { font-size: 1.8rem; margin: 8px 0; }
    .category-card-features { font-size: 0.8rem; }
    
    /* Side content */
    .side-content-box { min-height: 200px; }
    .side-content-text { padding: 16px 12px; gap: 10px; }
    .side-content-text p { font-size: 0.9rem; }
    
    /* Status badges */
    .status-badges { gap: 6px; }
    .status-badge { padding: 8px 12px; font-size: 0.8rem; }
    
    /* Spacing */
    .container { padding: 0 12px; }
    .hero-actions { gap: 8px; }
    .hero-actions a { width: 100%; padding: 10px 16px; font-size: 0.9rem; }
    .section { padding: 30px 0; }
    .mb-70 { margin-bottom: 30px; }
    
    /* Buttons */
    .btn-primary, .btn-secondary { 
        padding: 10px 16px; 
        font-size: 0.9rem; 
        min-height: 42px;
        border-radius: 6px;
    }
    .btn-full { width: 100%; padding: 10px 16px; }
    .cta-actions { flex-direction: column; gap: 10px; }
    .cta-actions a, .cta-actions button { width: 100%; }
    
    /* Forms */
    .form-wrapper { padding: 0 10px; }
    .form-group { margin-bottom: 14px; }
    .form-group label { font-size: 0.9rem; margin-bottom: 5px; }
    .form-group input, 
    .form-group textarea, 
    .form-group select { 
        font-size: 16px;
        padding: 10px;
        border-radius: 6px;
    }
    
    /* Text and links */
    a { -webkit-tap-highlight-color: transparent; }
    .accent-line { width: 50px; height: 2px; }
    
    /* Reduced footer spacing */
    footer { padding: 30px 0 20px 0; }
    .partner-row { gap: 15px; margin-bottom: 15px; }
    .partner-logo { height: 50px; }
    .partner-logo-sm { height: 40px; }
}

/* ============================================
   LANDSCAPE ORIENTATION OPTIMIZATIONS (MOBILE)
============================================ */
@media (max-width: 768px) and (orientation: landscape) {
    body { padding-top: 60px; }
    .main-header { padding: 8px 0; }
    
    /* Reduce hero height in landscape */
    .hero { padding: 20px 0; min-height: auto; }
    .hero-title { font-size: 1.4rem; margin-bottom: 8px; }
    .hero-subtitle { font-size: 1rem; }
    .logo-xl { height: 60px; }
    .hero-brand-row { gap: 10px; margin-bottom: 10px; }
    .hero-actions { gap: 8px; }
    .hero-actions a { padding: 10px 16px; }
    
    /* Compressed sections in landscape */
    .intro-section { padding: 25px 0; }
    .intro-grid { gap: 20px; }
    .intro-card { padding: 18px 16px; }
    .intro-card-img { width: 100px; height: 100px; }
    .intro-text h2 { font-size: 1.4rem; margin-bottom: 12px; }
    
    /* Carousel adjustments */
    .carousel-wrapper { min-height: 220px; }
    .carousel-container { height: 220px; }
    
    /* Cards in landscape */
    .feature-card, .info-card, .step-card { padding: 14px 14px; }
    .feature-card h3, .info-card h4, .step-title { font-size: 0.95rem; }
}

/* ============================================
   SMALL LANDSCAPE DEVICES (480px)
============================================ */
@media (max-width: 480px) and (orientation: landscape) {
    .hero { padding: 15px 0; }
    .hero-title { font-size: 1.3rem; line-height: 1.2; }
    .logo-xl { height: 50px; }
    .carousel-wrapper { min-height: 180px; }
    .carousel-container { height: 180px; }
    .hero-actions { gap: 6px; }
    .hero-actions a { padding: 8px 12px; font-size: 0.85rem; }
}

/* ============================================
   ACCESSIBILITY & USER INTERACTION ENHANCEMENTS
============================================ */
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark mode support for OLED screens */
@media (prefers-color-scheme: dark) {
    body {
        background: #050016;
        color: #ffffff;
    }
}

/* High contrast mode */
@media (prefers-contrast: more) {
    .btn-primary {
        border: 2px solid #ffffff;
    }
    .btn-secondary {
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
    a {
        text-decoration: underline;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    button, a, .btn-primary, .btn-secondary {
        min-height: 48px;
        min-width: 48px;
    }
    
    /* Remove hover effects on touch devices */
    .btn-primary:hover, .btn-secondary:hover {
        transform: none;
    }
    
    /* Better hover states for touch */
    .btn-primary:active, .btn-secondary:active {
        background-color: rgba(255, 255, 255, 0.8);
        transform: scale(0.98);
    }
}

