@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#eef4fa;
    color:#1a1a1a;
    padding-top:80px;
    line-height:1.7;
}

header{
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;
    transition:top .5s;
}

.menu{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:linear-gradient(90deg,#0a2540,#0d3b66);
    padding:18px 35px;
    box-shadow:0 4px 15px rgba(0,0,0,.15);
}

.logo{
    color:white;
    font-size:32px;
    font-weight:800;
}

.menu ul{
    display:flex;
    list-style:none;
}

.menu ul li{
    margin-left:20px;
}

.menu ul li a{
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.menu ul li a:hover{
    color:#4fc3f7;
}

.hero{
    width:85%;
    margin:40px auto;
    background:linear-gradient(
        135deg,
        #0a2540 0%,
        #0d3b66 50%,
        #1976d2 100%
    );
    color:white;
    text-align:center;
    padding:110px 40px;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.hero h2{
    font-size:48px;
    font-weight:800;
    color:white;
    margin-bottom:25px;
}

.hero p{
    max-width:850px;
    margin:auto;
    font-size:20px;
}

section{
    background:white;
    width:85%;
    max-width:1200px;
    margin:35px auto;
    padding:45px;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.2s;
}

section:hover{
    transform:translateY(-2px);
}

section h2{
    color:#0a2540;
    font-size:34px;
    margin-bottom:25px;
    font-weight:700;
}

section h2::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    background:#00aaff;
    margin-top:10px;
    border-radius:50px;
}

.hero h2::after{
    display:none;
}

section p{
    margin-bottom:14px;
}

img:not(.team-img){
    width:100%;
    max-width:1000px;
    display:block;
    margin:25px auto;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    transition:.4s;
}

img:not(.team-img):hover{
    transform:scale(1.02);
}

footer{
    background:#0a2540;
    color:white;
    text-align:center;
    padding:30px;
    margin-top:40px;
}

footer p{
    margin:6px 0;
}

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#0077cc;
    border-radius:20px;
}

#resultados{
    background:linear-gradient(135deg,#ffffff,#f7fbff);
}

#resultados p{
    font-size:16px;
    margin-bottom:10px;
}

#resultados p strong{
    color:#0a2540;
}

#resultados table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    font-size:14px;
}

#resultados thead tr{
    background:#0a2540;
    color:white;
}

#resultados th,
#resultados td{
    padding:12px;
    text-align:center;
}

#resultados tbody tr{
    transition:.2s;
}

#resultados tbody tr:nth-child(even){
    background:#f5f9ff;
}

#resultados tbody tr:hover{
    background:#e6f2ff;
    transform:scale(1.01);
}

#resultados tfoot td{
    background:#eef4fa;
    font-weight:700;
    color:#0a2540;
}
.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
    margin-top:20px;
}

.stat-card{
    background:white;
    border-radius:16px;
    padding:25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-5px);
}

.stat-card h3{
    font-size:16px;
    color:#0a2540;
    margin-bottom:10px;
}

.stat-card p{
    font-size:24px;
    font-weight:700;
    color:#1976d2;
}

.signs-box{
    margin-top:25px;
    background:#f5f9ff;
    padding:20px;
    border-radius:14px;
    border-left:5px solid #1976d2;
}

.signs-box p{
    margin:5px 0;
}

#equipo{
    background:linear-gradient(135deg,#ffffff,#f7fbff);
}

.team-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:30px;
    margin-top:30px;
}

.team-card{
    background:#ffffff;
    border-radius:18px;
    padding:25px 20px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.team-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.team-img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    object-position:center;
    display:block;
    margin:0 auto 15px;
    border:4px solid #1976d2;
    box-shadow:0 6px 15px rgba(0,0,0,.12);
}

.team-card p{
    margin:0;
    font-size:17px;
    font-weight:600;
    color:#0a2540;
}
@media(max-width:768px){

    header{
        position:static;
    }

    body{
        padding-top:0;
    }

    .menu{
        flex-direction:column;
        text-align:center;
        padding:20px;
    }

    .logo{
        margin-bottom:15px;
        font-size:28px;
    }

    .menu ul{
        flex-direction:column;
    }

    .menu ul li{
        margin:8px 0;
    }

    .hero{
        width:92%;
        padding:70px 20px;
    }

    .hero h2{
        font-size:36px;
    }

    .hero p{
        font-size:16px;
    }

    section{
        width:92%;
        padding:25px;
    }

    section h2{
        font-size:28px;
    }

    .team-grid{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

    .team-img{
        width:90px;
        height:90px;
    }

    .stat-card p{
        font-size:20px;
    }
}

.video-container{
    max-width:900px;
    margin:30px auto;
}

.video-container iframe{
    width:100%;
    aspect-ratio:16/9;
    border:none;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}