/* FUENTE */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f4f4f4;
}

/* CONTENEDOR PRINCIPAL */
.contenedor {
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px;
    text-align: center;
}

.titulo {
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 600;
}

/* GRID DE BOTONES */
.grid-botones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

/* CARDS / BOTONES */
.card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    color: #222;
    transition: .25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.card:hover {
    background: #222;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* CABECERA */
#cabecera {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background: #f4f4f4; /* opcional */
}

#cabecera img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* PIE DE PÁGINA */
#pie {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: #f4f4f4; /* opcional */
}

#pie img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* AJUSTES PARA MÓVILES */
@media (max-width: 768px) {
    .contenedor {
        margin: 50px auto;
        padding: 15px;
    }

    .titulo {
        font-size: 28px;
        margin-bottom: 30px;
    }

    #cabecera {
        padding: 15px 0;
    }

    #pie {
        padding: 8px 0;
    }
}
