/* =========================================
   ===== RESET GENERAL / BASE GLOBAL =====
========================================= */

body{
    margin:0;
    font-family:'Montserrat', sans-serif; /* prioridad estilos.css */
    background:#f2f2f2;
}


/* =========================================
   ===== HEADER PRINCIPAL =====
========================================= */

header{
    background:#284ED0;
    padding:40px;
    text-align:center;
}

header img{
    width:420px;
    max-width:90%;
}


/* =========================================
   ===== MENÚ DE NAVEGACIÓN =====
========================================= */

nav{
    background:#2747c5;
    padding:15px;
    text-align:center;
}

/* enlaces base */
nav a{
    color:white;
    text-decoration:none;
    margin:0 15px;
    font-weight:600;
    font-size:18px;
    display:inline-block;
    position:relative;
    transition:0.3s;
}

/* hover efecto */
nav a:hover{
    transform: scale(1.05);
    color:#FCD34D;
}

/* línea animada */
nav a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-5px;
    width:0%;
    height:2px;
    background:#FCD34D;
    transition:0.3s;
    transform:translateX(-50%);
}

nav a:hover::after{
    width:100%;
}


/* =========================================
   ===== TEXTO PRINCIPAL =====
========================================= */

.texto-info{
    font-size:20px;
    font-weight:600;
    text-align:center;
    margin-top:10px;
}


/* =========================================
   ===== SECCIÓN PRINCIPAL =====
========================================= */

.principal{
    text-align:center;
    padding:50px 10%;
}

.principal h2{
    color:#163c8c;
    font-size:40px;
}


/* ========================================
   NUEVA INFO EVENTO
======================================== */

.info-evento{
    width:90%;
    max-width:1000px;

    margin:35px auto;

    background:#284ED0;

    backdrop-filter:blur(10px);

    border:2px solid rgba(255,255,255,0.15);

    border-radius:20px;

    padding:25px;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:20px;

    box-shadow:0 8px 25px rgba(0,0,0,0.25);
}

.dato-evento{
    font-size:24px;

    font-weight:700;

    color:#FCD34D;

    font-family:'Montserrat', sans-serif;

    display:flex;

    align-items:center;

    gap:10px;
}

.dato-evento span{
    font-size:28px;
}

.separador{
    width:2px;

    height:35px;

    background:rgba(255,255,255,0.3);
}

.amarillo{
    color:#FFD600;
}

/* ===== CELULAR ===== */

@media(max-width:768px){

.info-evento{
    flex-direction:column;
}

.separador{
    width:60%;

    height:2px;
}

.dato-evento{
    font-size:20px;
}

}
/* =========================================
   ===== BOTONES =====
========================================= */

.boton{
    display:inline-block;
    margin-top:40px;
    background:#FCD34D;
    color:#000;
    padding:18px 50px;
    font-size:22px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition: all 0.3s ease;
}

.boton:hover{
    transform: scale(1.03);
}


/* =========================================
   ===== CONVOCATORIA / IMAGEN =====
========================================= */

.convocatoria{
    display:flex;
    justify-content:center;
    margin-top:40px;
}

.convocatoria img{
    width:250px;
    border-radius:10px;
}


/* =========================================
   ===== PATROCINADORES =====
========================================= */

.patrocinadores{
    padding:60px 10%;
    text-align:center;
    background:white;
}

.patrocinadores h2{
    font-size:40px;
    color:#1e3a8a;
}

.logos{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:30px;
    margin-top:40px;
    align-items:center;
}

.logos img{
    max-width:150px;
    margin:auto;
}


/* =========================================
   ===== GALERÍA + MODAL =====
========================================= */

.img-click{
    width:400px;
    max-width:90%;
    border-radius:10px;
    cursor:pointer;
    transition:0.3s;
}

.img-click:hover{
    transform:scale(1.05);
}

.modal{
    display:none;
    position:fixed;
    z-index:999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    justify-content:center;
    align-items:center;
}

.modal-contenido{
    max-width:95%;
    max-height:90vh;
    border-radius:10px;
}

.cerrar{
    position:absolute;
    top:20px;
    right:30px;
    color:white;
    font-size:40px;
    cursor:pointer;
}


/* =========================================
   ===== FORMULARIO (de style.css) =====
========================================= */

.contenedor{
    width:500px;
    margin:50px auto;
    background:white;
    padding:35px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

h2{
    text-align:center;
    color:#2D4ED1;
    margin-bottom:20px;
    font-size:28px;
}

.formulario{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.formulario label{
    font-weight:bold;
    color:#333;
}

input, select{
    padding:12px;
    border-radius:8px;
    border:1px solid #ccc;
    font-size:16px;
    transition:0.2s;
}

input:focus, select:focus{
    border-color:#2D4ED1;
    outline:none;
    box-shadow:0 0 5px rgba(45,78,209,0.4);
}

button{
    margin-top:10px;
    background:#2D4ED1;
    color:white;
    border:none;
    padding:14px;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
    font-weight:bold;
    transition:0.2s;
}

button:hover{
    background:#1f3fb5;
    transform:scale(1.03);
}


/* =========================================
   ===== EXTRA (BANNER Y FOOTER de style.css)
========================================= */

.banner{
    width:100%;
    display:flex;
    justify-content:center;
    background:white;
    padding:20px;
}

.banner img{
    max-width:900px;
    width:100%;
    border-radius:10px;
}

footer{
    background:#0a2c5a;
    color:white;
    padding:30px;
    text-align:center;
    margin-top:60px;
}

/* =========================================
   ===== FIX GLOBAL NAV (MISMO TAMAÑO) =====
========================================= */

nav a{
    font-size:18px !important;
    font-family:'Montserrat', sans-serif !important;
}

/* =========================================
   ===== SECCION ETAPAS =====
========================================= */

.contenedor-etapas{
    width:90%;
    max-width:1100px;
    margin:auto;
    padding:40px 20px;
}

.titulo-principal{
    text-align:center;
    font-size:42px;
    font-weight:800;
    color:#1f3fb5;
    margin-bottom:15px;
    font-family:'Montserrat', sans-serif;
}

.texto-info{
    text-align:center;
    font-size:20px;
    font-weight:500;
    margin-bottom:40px;
    color:#333;
    font-family:'Montserrat', sans-serif;
}

/* ===== TARJETAS ===== */

.tarjeta-etapa{
    background:white;
    border-radius:20px;
    padding:30px;
    margin-bottom:30px;
    box-shadow:0 8px 25px rgba(0,0,0,0.10);
    transition:0.3s;
    border-left:8px solid #2D4ED1;
}

.tarjeta-etapa:hover{
    transform:translateY(-5px);
}

.tarjeta-etapa h2{
    color:#2D4ED1;
    font-size:32px;
    margin-bottom:10px;
    font-family:'Montserrat', sans-serif;
}

.horario{
    font-size:20px;
    font-weight:700;
    color:#111;
    margin-bottom:10px;
    font-family:'Montserrat', sans-serif;
}

.descripcion-etapa{
    font-size:18px;
    color:#555;
    margin-bottom:25px;
    line-height:1.6;
    font-family:'Montserrat', sans-serif;
}

/* ===== BOTON GOOGLE MAPS ===== */

.btn-maps{
    display:inline-block;
    background:#2D4ED1;
    color:white;
    text-decoration:none;
    padding:14px 28px;
    border-radius:12px;
    font-size:18px;
    font-weight:700;
    transition:0.3s;
    font-family:'Montserrat', sans-serif;
}

.btn-maps:hover{
    background:#1634a3;
    transform:scale(1.05);
}

/* ===== RESPONSIVE ===== */

@media(max-width:768px){

    .titulo-principal{
        font-size:32px;
    }

    .tarjeta-etapa h2{
        font-size:26px;
    }

    .horario{
        font-size:18px;
    }

    .descripcion-etapa{
        font-size:16px;
    }

    .btn-maps{
        width:100%;
        text-align:center;
    }

}

/* =========================================
   ===== CONTENEDOR GENERAL =====
========================================= */

.contenedor-etapas{
    width:90%;
    max-width:1200px;
    margin:auto;
    padding:40px 20px;
}

/* =========================================
   ===== TITULOS =====
========================================= */

.titulo-principal{
    text-align:center;
    font-size:42px;
    font-weight:800;
    color:#1f3fb5;
    margin-bottom:15px;
    font-family:'Montserrat', sans-serif;
}

.texto-info{
    text-align:center;
    font-size:20px;
    font-weight:500;
    margin-bottom:40px;
    color:#444;
    line-height:1.6;
    font-family:'Montserrat', sans-serif;
}

/* =========================================
   ===== SELECTOR CATEGORIA =====
========================================= */

.selector-categoria{
    width:100%;
    padding:16px;
    border-radius:15px;
    border:2px solid #dcdcdc;
    margin-bottom:40px;
    font-size:18px;
    font-weight:700;
    background:white;
    font-family:'Montserrat', sans-serif;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
    transition:0.3s;
}

.selector-categoria:focus{
    outline:none;
    border-color:#2D4ED1;
    box-shadow:0 0 10px rgba(45,78,209,0.3);
}

/* =========================================
   ===== TARJETAS ETAPAS =====
========================================= */

.tarjeta-etapa{
    background:white;
    border-radius:25px;
    padding:30px;
    margin-bottom:35px;
    box-shadow:0 10px 30px rgba(0,0,0,0.10);
    border-left:8px solid #2D4ED1;
    transition:0.3s;
}

.tarjeta-etapa:hover{
    transform:translateY(-5px);
}

.tarjeta-etapa h2{
    color:#2D4ED1;
    font-size:34px;
    margin-bottom:20px;
    font-family:'Montserrat', sans-serif;
    font-weight:800;
}

.descripcion-etapa{
    font-size:18px;
    color:#555;
    margin-bottom:25px;
    line-height:1.6;
    font-family:'Montserrat', sans-serif;
}

/* =========================================
   ===== TABLAS =====
========================================= */

.tabla-responsive{
    overflow-x:auto;
}

.tabla-resultados{
    width:100%;
    border-collapse:collapse;
    overflow:hidden;
    border-radius:18px;
    background:white;
}

/* ===== ENCABEZADOS ===== */

.tabla-resultados th{
    background:linear-gradient(90deg,#2D4ED1,#1f3fb5);
    color:white;
    padding:18px;
    font-size:18px;
    font-weight:700;
    text-align:center;
    font-family:'Montserrat', sans-serif;
}

/* ===== CELDAS ===== */

.tabla-resultados td{
    padding:16px;
    text-align:center;
    border-bottom:1px solid #e5e5e5;
    font-size:17px;
    font-family:'Montserrat', sans-serif;
    transition:0.2s;
}

/* ===== EFECTO HOVER ===== */

.tabla-resultados tr:hover td{
    background:#f5f7ff;
}

/* ===== FILAS PARES ===== */

.tabla-resultados tr:nth-child(even){
    background:#fafafa;
}

/* =========================================
   ===== CONTENEDOR CATEGORIAS =====
========================================= */

.contenedor-categoria{
    animation:fadeCategoria 0.4s ease;
}

@keyframes fadeCategoria{

    from{
        opacity:0;
        transform:translateY(10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* =========================================
   ===== RESPONSIVE =====
========================================= */

@media(max-width:768px){

    .titulo-principal{
        font-size:32px;
    }

    .texto-info{
        font-size:17px;
    }

    .selector-categoria{
        font-size:16px;
        padding:14px;
    }

    .tarjeta-etapa{
        padding:20px;
    }

    .tarjeta-etapa h2{
        font-size:28px;
    }

    .descripcion-etapa{
        font-size:16px;
    }

    .tabla-resultados th{
        font-size:14px;
        padding:12px;
    }

    .tabla-resultados td{
        font-size:14px;
        padding:10px;
    }


}
/* =========================================
   ===== RESULTADOS =====
========================================= */

.selector-categoria{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:2px solid #dcdcdc;
    margin-top:20px;
    margin-bottom:25px;
    font-size:18px;
    font-family:'Montserrat', sans-serif;
    font-weight:600;
    background:white;
}

/* ===== TABLAS ===== */

.tabla-responsive{
    overflow-x:auto;
}

.tabla-resultados{
    width:100%;
    border-collapse:collapse;
    background:white;
    border-radius:15px;
    overflow:hidden;
}

.tabla-resultados th{
    background:#2D4ED1;
    color:white;
    padding:18px;
    font-size:18px;
    text-align:center;
    font-family:'Montserrat', sans-serif;
}

.tabla-resultados td{
    padding:16px;
    text-align:center;
    border-bottom:1px solid #e5e5e5;
    font-size:17px;
    font-family:'Montserrat', sans-serif;
}

.tabla-resultados tr:hover{
    background:#f5f7ff;
}


/* =========================================
   ===== ANIMACION SUAVE =====
========================================= */

.categoria-contenido{

animation:fade .35s ease;

}

@keyframes fade{

from{

opacity:0;
transform:translateY(10px);

}

to{

opacity:1;
transform:translateY(0);

}

}

/* =========================================
   FOOTER REDES SOCIALES
========================================= */

.footer-social{

background:linear-gradient(90deg,#0F172A,#1E3A8A);

padding:45px 20px 20px;

text-align:center;

margin-top:60px;

}

.footer-social h3{

color:white;

font-size:34px;

font-family:'Montserrat', sans-serif;

margin-bottom:12px;

font-weight:700;

}

.footer-social p{

color:white;

font-size:18px;

max-width:700px;

margin:auto;

line-height:1.7;

margin-bottom:35px;

font-family:'Montserrat', sans-serif;

}

.footer-redes{

display:flex;

justify-content:center;

align-items:center;

gap:35px;

flex-wrap:wrap;

margin-bottom:35px;

}

.footer-redes a{

transition:0.3s;

text-decoration:none;

}

.footer-redes a:hover{

transform:scale(1.15);

}

.footer-redes img{

width:75px;

height:75px;

object-fit:contain;

filter:drop-shadow(0 4px 10px rgba(0,0,0,0.25));

}

.footer-copy{

border-top:1px solid rgba(255,255,255,0.2);

padding-top:20px;

color:white;

font-size:15px;

font-family:'Montserrat', sans-serif;

letter-spacing:1px;

}

/* =========================================
   RESPONSIVE CELULAR
========================================= */

@media(max-width:768px){

.footer-social{

padding:35px 15px 20px;

}

.footer-social h3{

font-size:28px;

}

.footer-social p{

font-size:16px;

}

.footer-redes{

gap:22px;

}

.footer-redes img{

width:60px;

height:60px;

}

.footer-copy{

font-size:13px;

}

/* =====================================
   PODIO RESULTADOS
===================================== */

.lugar-1{
    background: #ffd700 !important;
    color: #000;
    font-weight: bold;
}

.lugar-2{
    background: #d9d9d9 !important;
    color: #000;
    font-weight: bold;
}

.lugar-3{
    background: #cd7f32 !important;
    color: white;
    font-weight: bold;
}

.tabla-resultados tr{
    transition: 0.2s;
}

.tabla-resultados tr:hover{
    transform: scale(1.01);
}



# OPTIMIZACIÓN RESPONSIVE PARA JUNIOR BIKE 2026

Pega TODO este bloque AL FINAL de tu `estilos.css`.

Esto NO rompe tu diseño de computadora.
Solo adapta automáticamente:

* Header
* Navegación
* Formularios
* Tablas
* Logos
* Imágenes
* Tarjetas
* Footer
* Galerías
* Botones

para celulares y tablets.

---

```css
/* =========================================
   ===== RESPONSIVE GLOBAL JUNIOR BIKE =====
========================================= */

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

img{
    max-width:100%;
    height:auto;
}

body{
    overflow-x:hidden;
}


/* =========================================
   ===== TABLETS =====
========================================= */

@media(max-width:1024px){

    header{
        padding:25px 15px;
    }

    header img{
        width:320px;
    }

    nav{
        padding:12px;
    }

    nav a{
        font-size:16px !important;
        margin:8px 10px;
    }

    .principal{
        padding:40px 6%;
    }

    .principal h2{
        font-size:34px;
    }

    .contenedor{
        width:90%;
    }

    .logos{
        grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    }

}


/* =========================================
   ===== CELULARES =====
========================================= */

@media(max-width:768px){

    /* ===== HEADER ===== */

    header{
        padding:20px 10px;
    }

    header img{
        width:220px;
        max-width:85%;
    }


    /* ===== MENU ===== */

    nav{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        align-items:center;
        gap:10px;
        padding:15px 10px;
    }

    nav a{
        margin:0;
        font-size:15px !important;
        padding:10px 14px;
        border-radius:10px;
        background:rgba(255,255,255,0.08);
    }


    /* ===== TITULOS ===== */

    .principal{
        padding:35px 20px;
    }

    .principal h2{
        font-size:28px;
        line-height:1.3;
    }

    .texto-info{
        font-size:16px;
        line-height:1.6;
        padding:0 5px;
    }

    .titulo-principal{
        font-size:28px;
        line-height:1.3;
    }


    /* ===== BOTONES ===== */

    .boton,
    .btn-maps,
    button{
        width:100%;
        text-align:center;
        font-size:18px;
        padding:16px;
    }


    /* ===== FORMULARIOS ===== */

    .contenedor{
        width:95%;
        margin:25px auto;
        padding:20px;
        border-radius:18px;
    }

    .formulario{
        gap:10px;
    }

    input,
    select,
    textarea{
        width:100%;
        font-size:16px;
        padding:14px;
    }


    /* ===== TARJETAS ===== */

    .tarjeta-etapa{
        padding:20px;
        border-radius:18px;
    }

    .tarjeta-etapa h2{
        font-size:24px;
        line-height:1.3;
    }

    .descripcion-etapa{
        font-size:15px;
        line-height:1.7;
    }

    .horario{
        font-size:17px;
    }


    /* ===== TABLAS ===== */

    .tabla-responsive{
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        border-radius:15px;
    }

    .tabla-resultados{
        min-width:700px;
    }

    .tabla-resultados th{
        font-size:14px;
        padding:12px 10px;
        white-space:nowrap;
    }

    .tabla-resultados td{
        font-size:14px;
        padding:10px;
        white-space:nowrap;
    }


    /* ===== SELECTOR ===== */

    .selector-categoria{
        font-size:16px;
        padding:14px;
    }


    /* ===== INFO EVENTO ===== */

    .info-evento{
        padding:20px 15px;
        border-radius:18px;
        gap:15px;
    }

    .dato-evento{
        font-size:18px;
        text-align:center;
        justify-content:center;
    }

    .dato-evento span{
        font-size:22px;
    }


    /* ===== GALERIA ===== */

    .img-click{
        width:100%;
        border-radius:15px;
    }

    .modal-contenido{
        width:95%;
        max-height:85vh;
    }

    .cerrar{
        top:15px;
        right:20px;
        font-size:34px;
    }


    /* ===== PATROCINADORES ===== */

    .patrocinadores{
        padding:40px 20px;
    }

    .patrocinadores h2{
        font-size:28px;
    }

    .logos{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

    .logos img{
        max-width:110px;
    }


    /* ===== FOOTER ===== */

    .footer-social{
        padding:35px 15px 25px;
    }

    .footer-social h3{
        font-size:24px;
        line-height:1.3;
    }

    .footer-social p{
        font-size:15px;
        line-height:1.7;
    }

    .footer-redes{
        gap:18px;
    }

    .footer-redes img{
        width:52px;
        height:52px;
    }

    .footer-copy{
        font-size:12px;
        line-height:1.5;
    }

}


/* =========================================
   ===== CELULARES PEQUEÑOS =====
========================================= */

@media(max-width:480px){

    header img{
        width:180px;
    }

    nav a{
        width:100%;
        font-size:14px !important;
    }

    .principal h2{
        font-size:24px;
    }

    .titulo-principal{
        font-size:24px;
    }

    .boton,
    .btn-maps,
    button{
        font-size:16px;
    }

    .logos{
        grid-template-columns:1fr 1fr;
    }

    .logos img{
        max-width:90px;
    }

    .footer-redes img{
        width:48px;
        height:48px;
    }

}
