*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#eef2f7;
    font-family:"Georgia", "Times New Roman", serif;
    overflow:auto;
    min-height:100vh;
    padding:0 20px 40px;
    color:#1f2937;
}

main{
    max-width:900px;
    margin:0 auto;
    padding:20px 0 60px;
}

/* Barra superior */

.barra-superior{
    width:100%;
    height:48px;
    background:#111116;
    margin-bottom:20px;
}

.nav{
    max-width:900px;
    margin:0 auto 24px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;
}

.nav-link{
    text-decoration:none;
    color:#1f4e79;
    font-weight:bold;
    padding:8px 12px;
    border-radius:999px;
    background:#ffffff;
}

.nav-link.activo{
    background:#1f4e79;
    color:#ffffff;
}

.hero{
    text-align:center;
    margin:20px 0 30px;
}

h1{
    text-align:center;
    font-size:clamp(2rem, 4vw, 3.2rem);
    font-weight:bold;
    margin:10px 0 20px;
}

.card{
    background:#ffffff;
    border-radius:16px;
    padding:20px 24px;
    margin-bottom:20px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.lista{
    padding-left:20px;
}

section{
    margin-bottom:24px;
}

/* Botón */

.boton{
    display:inline-block;
    margin:20px auto 10px;
    padding:18px 28px;
    width:auto;
    min-width:220px;
    background:#1f4e79;
    border-radius:999px;
    text-align:center;
    text-decoration:none;
    color:#ffffff;
    font-size:1.1rem;
    box-shadow:0 5px 15px rgba(31,78,121,0.2);
}

.boton:hover{
    transform:scale(1.02);
}

input, button{
    width:100%;
    padding:12px;
    margin:8px 0;
    border-radius:10px;
    border:1px solid #cbd5e1;
    box-sizing:border-box;
}

button{
    background:#1f4e79;
    color:#ffffff;
    border:none;
    cursor:pointer;
}

.resultado{
    margin-top:20px;
    background:#eef6ff;
    padding:15px;
    border-radius:10px;
}
