
.portada-practicas {
    padding: 90px 0;
    background: linear-gradient(135deg, #edf4fc, #dbeafe);
}

.portada-contenido-practicas {
    text-align: center;
}

.etiqueta-practicas {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 18px;
    background: white;
    color: #2b6cb0;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
}

.portada-practicas h1 {
    color: #1a202c;
    font-size: 44px;
    margin-bottom: 15px;
}

.portada-practicas p {
    color: #4a5568;
    font-size: 19px;
    margin-bottom: 25px;
}

.boton-practicas {
    display: inline-block;
    padding: 13px 25px;
    background: #2b6cb0;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.boton-practicas:hover {
    background: #1a4f85;
    transform: translateY(-3px);
}

.seccion-practicas-intro {
    padding: 60px 0 25px;
}

.titulo-practicas {
    text-align: center;
    margin-bottom: 30px;
}

.titulo-practicas > span {
    display: block;
    color: #2b6cb0;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.titulo-practicas h2 {
    color: #1a202c;
    font-size: 30px;
    margin-bottom: 12px;
}

.titulo-practicas p {
    color: #64748b;
    font-size: 16px;
}

.texto-practicas {
    max-width: 900px;
    margin: 0 auto;
    padding: 25px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
}

.texto-practicas p {
    color: #4a5568;
    line-height: 1.8;
    text-align: center;
}

.seccion-practicas {
    padding: 45px 0 70px;
    background: #f5f7fa;
}

.galeria-practicas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.tarjeta-practica {
    position: relative;
    min-height: 210px;
    padding: 30px 20px;
    overflow: hidden;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    text-align: center;
    text-decoration: none;
    color: #1a202c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tarjeta-practica:hover {
    transform: translateY(-8px);
    border-color: #2b6cb0;
    box-shadow: 0 12px 28px rgba(43, 108, 176, 0.12);
}

.numero-practica {
    position: absolute;
    top: 12px;
    right: 15px;
    color: #cbd5e0;
    font-size: 15px;
    font-weight: bold;
}

.icono-practica {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin-bottom: 18px;
    background: #edf4fc;
    border-radius: 16px;
    font-size: 32px;
    transition: transform 0.3s ease;
}

.tarjeta-practica:hover .icono-practica {
    transform: scale(1.08);
}

.tarjeta-practica h3 {
    color: #1a202c;
    font-size: 21px;
    margin-bottom: 12px;
}

.tarjeta-practica p {
    color: #2b6cb0;
    font-size: 14px;
}

.tarjeta-practica p span {
    margin-left: 4px;
}

.despedida-practicas {
    padding: 55px 20px;
    background: white;
    text-align: center;
}

.despedida-practicas h2 {
    color: #1a202c;
    font-size: 28px;
    margin-bottom: 15px;
}

.despedida-practicas p {
    max-width: 750px;
    margin: 0 auto;
    color: #64748b;
    line-height: 1.8;
}

@media (max-width: 800px) {
    .galeria-practicas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portada-practicas {
        padding: 70px 0;
    }

    .portada-practicas h1 {
        font-size: 36px;
    }
}

@media (max-width: 500px) {
    .galeria-practicas {
        grid-template-columns: 1fr;
    }

    .portada-practicas h1 {
        font-size: 30px;
    }

    .titulo-practicas h2 {
        font-size: 25px;
    }

    .tarjeta-practica {
        min-height: 180px;
    }
}
