*{box-sizing:border-box}
:root{--blue:#0b67d0;--muted:#666;--bg:#f6fbff}
body{
    margin:0;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    background:var(--bg);color:#062032
    
}
.top{
    position:sticky;top:0;z-index:20;
    background:linear-gradient(180deg,rgba(11,103,208,0.12),rgba(246,251,255,0.95));
    backdrop-filter:blur(8px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 18px;
    border-bottom:1px solid rgba(0,0,0,0.04)
    
}
.brand{
    display:flex;
    align-items:center;
    gap:10px
    
}
.logo{
    width:40px;
    height:40px;
    border-radius:12px;
    background:linear-gradient(135deg,#0b67d0,#32b5ff);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    font-size:20px
    
}
.logo1 {
        max-width: 100px;
      }
.brand-title{
    font-weight:800;
    font-size:16px
    
}
nav a{
    margin-left:10px;
    text-decoration:none;
    color:#062032;
    font-weight:600;
    font-size:14px
    
}
nav a.admin-link{
    padding:6px 10px;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(11,103,208,0.25)
    
}
.container{
    max-width:1100px;
    margin:80px auto 40px;
    padding:0 16px
    
}
.hero{
    display:flex;
    gap:20px;
    align-items:flex-start;
    margin-bottom:40px
    
}
.hero h1{
    font-size:28px;
    margin-top:0
    
}
.hero p{
    margin-top:4px
    
}
.hero-card{
    background:#fff;
    padding:14px;
    border-radius:14px;
    box-shadow:0 14px 30px rgba(13,42,76,0.06);
    max-width:260px;
    font-size:14px
    
}
.btn{
    display:inline-block;
    padding:10px 16px;
    border-radius:999px;
    border:none;
    background:var(--blue);
    color:#fff;
    font-weight:700;
    font-size:14px;
    cursor:pointer;
    margin-right:8px
    
}
.btn.ghost{
    background:#fff;
    color:var(--blue);
    border:1px solid rgba(11,103,208,0.25);
    text-decoration:none
    
}
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
    gap:18px;
    margin-top:12px
    
}
.card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 12px 28px rgba(13,42,76,0.06);
    transition:transform .18s,box-shadow .18s
    
}
.card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 40px rgba(13,42,76,0.10)
    
}
.card img{
    width:100%;
    height:160px;
    object-fit:cover
    
}
.card .body{
    padding:12px
    
}
.card h3{
    margin:0 0 4px;
    font-size:16px
    
}
.meta{
    font-size:13px;
    font-weight:700;
    margin-top:6px
    
}
.panel{
    background:#fff;
    border-radius:14px;
    padding:16px;
    box-shadow:0 10px 24px rgba(13,42,76,0.04);
    margin-bottom:24px
    
}
.muted{
    color:var(--muted)
    
}
.small{font-size:12px}
label{display:block;font-size:13px;font-weight:600;margin-top:8px}
input,textarea,button{font-family:inherit}
input,textarea{width:100%;padding:8px 10px;border-radius:10px;border:1px solid #e1e9f5;font-size:14px;margin-top:4px}
button{border-radius:999px;border:none;background:var(--blue);color:#fff;padding:10px 16px;font-weight:700;margin-top:10px;cursor:pointer}
footer{text-align:center;padding:16px;color:var(--muted);font-size:12px}
@media(max-width:800px){
  .hero{flex-direction:column}
  .hero-card{max-width:100%}
}

/* ----- MENÚ HAMBURGUESA MÓVIL ----- */
.menu-btn {
    display: none;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: #003366;
}

/* Estilos móviles */
@media (max-width: 768px) {

    nav {
        display: none; /* Ocultar menú normal */
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        background: white;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        text-align: right;
        z-index: 1000;
    }

    nav a {
        display: block;
        padding: 10px;
        font-size: 18px;
        color: #003366;
    }

    nav.show {
        display: block;
    }

    /* Mostrar botón hamburguesa en móvil */
    .menu-btn {
        display: block;
    }
}

