body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f2f5 100%);
    color: #333;
}

/* CABECERA */

.principal {
    display: grid;
    grid-template-rows: 75px 1fr auto;
    min-height: 100vh;
}

.cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.logo {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    color: #444;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.menu a:hover {
    background-color: #eef2f7;
    color: #2c3e50;
}

/* SECCIONES */
.centro {
    display: grid;
    grid-template-columns: 30% 1fr;
    min-height: calc(100vh - 75px - 80px); /* ajuste para footer y header */
    padding: 20px;
    gap: 20px;
}

.noticias {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background-color: white;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.noticia {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 16px;
    background-color: #fafafa;
    transition: transform 0.2s, box-shadow 0.2s;
}

.noticia:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.productos {
    padding: 20px;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.tarjeta {
    background-color: white;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tarjeta:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.img {
    height: 100px;
    background-color: #f5f7fa;
    border: 1px dashed #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

button {
    padding: 10px 14px;
    margin-top: auto;
    border: none;
    border-radius: 10px;
    background-color: #2c3e50;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #1a252f;
    transform: scale(1.03);
}

.footer {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    background-color: white;
    color: #555;
    font-size: 14px;
}

.redes {
    display: flex;
    align-items: center;
    gap: 16px;
}

.redes a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.2s ease;
}

.redes a:hover {
    color: #1a252f;
}