:root{
    --primary:#0d3b66;
    --primary-dark:#08294a;
    --success:#198754;
    --gold:#d4af37;
    --bg:#f4f7fb;
    --white:#ffffff;
    --text:#1d2939;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:var(--bg);
    color:var(--text);
}

.hero{
    background:
    linear-gradient(
        rgba(13,59,102,.92),
        rgba(13,59,102,.92)
    );
    color:white;
    padding:80px 20px;
    text-align:center;
}
.hero-content{
    max-width:900px;
    margin:auto;
}
.hero img{
    width:120px;
    margin-bottom:20px;
}

.hero h1{
    font-size:42px;
    margin-bottom:15px;
}

.hero p{
    max-width:700px;
    margin:auto;
    opacity:.9;
}
.badge{
    display:inline-block;
    background:rgba(255,255,255,.15);
    padding:10px 18px;
    border-radius:50px;
    font-size:14px;
    margin-bottom:20px;
}
.container{
    max-width:1200px;
    margin:auto;
    padding:40px 20px;
}
.info{
    background:white;
    border-radius:20px;
    padding:35px;
    margin-bottom:30px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

.status{
    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:30px;
}
.check{
    width:70px;
    height:70px;

    border-radius:50%;

    background:var(--success);

    color:white;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:32px;
    font-weight:bold;
}

.status h2{
    color:var(--success);
    margin-bottom:5px;
}

.status span{
    color:#667085;
}

.info-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;
}

.info-grid label{
    display:block;
    color:#667085;
    font-size:14px;
    margin-bottom:8px;
}

.info-grid p{
    font-weight:600;
    line-height:1.5;
}

/* PDF */

.pdf-container{
    background:white;
    border-radius:20px;
    overflow:hidden;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

embed{
    width:100%;
    height:900px;
}

/* BOTONES */

.actions{
    margin-top:25px;

    display:flex;
    justify-content:center;
    gap:15px;
}

.btn{
    text-decoration:none;

    min-width:220px;

    height:55px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;

    color:white;
    font-weight:600;
}

.back{
    background:#6c757d;
}

.download{
    background:var(--primary);
}

.btn:hover{
    opacity:.9;
}

/* MOBILE */

@media(max-width:768px){

    .hero h1{
        font-size:30px;
    }

    .actions{
        flex-direction:column;
    }

    .btn{
        width:100%;
    }

    embed{
        height:550px;
    }

    .status{
        flex-direction:column;
        text-align:center;
    }

}
.buscador{
    background:white;
    border-radius:18px;
    padding:35px;
    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    margin-top:-50px;
    position:relative;
    z-index:2;
}

.buscador form{
    display:flex;
    gap:15px;
}

.buscador input{
    flex:1;
    height:60px;
    border:2px solid #e5e7eb;
    border-radius:12px;
    padding:0 20px;
    font-size:18px;
}

.buscador input:focus{
    outline:none;
    border-color:var(--primary);
}

.buscador button{
    height:60px;
    padding:0 30px;
    border:none;
    border-radius:12px;
    background:var(--primary);
    color:white;
    font-weight:600;
    cursor:pointer;
}
.grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.card{
    background:white;
    border-radius:18px;
    padding:25px;
    box-shadow:
    0 8px 20px rgba(0,0,0,.08);

    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card h3{
    color:var(--primary);
    margin-bottom:15px;
    line-height:1.4;
}

.card p{
    margin-bottom:10px;
    color:#475467;
}

.btn{
    margin-top:15px;
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:100%;
    height:50px;

    background:var(--primary);
    color:white;
    text-decoration:none;

    border-radius:10px;
    font-weight:600;
}
.alumno{
    background:white;
    border-radius:18px;
    padding:25px;
    margin-bottom:30px;

    box-shadow:
    0 8px 20px rgba(0,0,0,.08);
}

.alumno h2{
    color:var(--primary);
    margin-bottom:10px;
}

.alumno p{
    color:#667085;
}
@media(max-width:768px){

    .hero{
        padding:50px 20px;
    }

    .hero img{
        width:90px;
    }

    .hero h1{
        font-size:28px;
        line-height:1.2;
    }

    .hero p{
        font-size:15px;
    }

    .container{
        padding:20px 15px;
    }

    .buscador{
        margin-top:-25px;
        padding:25px;
    }

    .buscador form{
        flex-direction:column;
    }

    .buscador input{
        height:55px;
        font-size:16px;
    }

    .buscador button{
        width:100%;
        height:55px;
    }

    .grid{
        grid-template-columns:1fr;
    }

    .card h3{
        word-break:break-word;
        overflow-wrap:break-word;
    }

    .actions{
        flex-direction:column;
    }

    .btn{
        width:100%;
    }

    embed{
        height:550px;
    }

    .status{
        flex-direction:column;
        text-align:center;
    }

}