/* ------------------------------ */
/*      ESTILOS GENERALES         */
/* ------------------------------ */

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f7;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

/* Titular */
h1 {
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}

/* Texto introductorio */
.intro {
    max-width: 650px;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #444;
}

/* ------------------------------ */
/*           CONTENEDOR           */
/* ------------------------------ */

.container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ------------------------------ */
/*              TARJETAS          */
/* ------------------------------ */

.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    width: 240px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.card img {
    width: 150px;
    margin-bottom: 20px;
    object-fit: contain;
}

/* Botón/enlace */
.card a {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: #005bbb;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ------------------------------ */
/*             FOOTER             */
/* ------------------------------ */

footer {
    margin-top: 40px;
    font-size: 14px;
    color: #777;
}
