:root {
    --fondo: #dff6ff;
    --tarjeta: #ffffff;
    --borde: #a5d8f3;
    --azul: #0284c7;
    --texto: #12344d;
    --secundario: #52758b;
}

/* FONDO DE LA PÁGINA */
body {
    background: #dff6ff;
    color: var(--texto);
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* BIENVENIDA */
.encabezado {
    text-align: center;
    padding: 75px 15px 55px;
}

.encabezado h1 {
    color: #075985;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
}

.encabezado h3 {
    color: #0369a1;
    font-size: 23px;
    font-weight: 500;
}

/* LISTA DE PRÁCTICAS */
.lista-practicas {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* TARJETAS */
.tarjeta {
    background: var(--tarjeta);
    border: 1px solid var(--borde);
    border-radius: 16px;
    padding: 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;

    transition: 0.3s;
}

.tarjeta:hover {
    transform: translateY(-4px);
    border-color: var(--azul);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.15);
}

.contenido {
    flex: 1;
}

.numero {
    color: var(--azul);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.tarjeta h3 {
    color: #075985;
    font-size: 23px;
    font-weight: 700;
    margin-top: 12px;
}

.tarjeta p {
    color: var(--secundario);
    font-size: 15px;
    line-height: 1.7;
    margin: 12px 0 0;
}

/* BOTONES */
.boton {
    display: inline-block;
    background: #38bdf8;
    color: #083344;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
    white-space: nowrap;
    transition: 0.3s;
}

.boton:hover {
    background: #0ea5e9;
    color: white;
}

/* PIE DE PÁGINA */
footer {
    text-align: center;
    color: #52758b;
    border-top: 1px solid #a5d8f3;
    padding: 25px 15px;
    font-size: 13px;
    margin-top: auto;
}

footer p {
    margin: 0;
}

/* CELULARES */
@media (max-width: 768px) {
    .encabezado {
        padding: 50px 15px 35px;
    }

    .tarjeta {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

    .boton {
        width: 100%;
        text-align: center;
    }
}