* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Georgia, serif;
    background: #1a1a1a;
    color: #d8d4cf;
    line-height: 1.6;
    padding: 0 20px;
}

header {
    text-align: center;
    padding: 60px 0 40px;
}

header h1 {
    font-size: 3rem;
    font-weight: normal;
    margin-bottom: 8px;
    color: #e8e4df;
}

header p {
    color: #8a8580;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 80px;
}

.tarjeta {
    background: #242424;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.2s, border-color 0.2s;
}

.tarjeta:hover {
    transform: translateY(-4px);
    border-color: #4a4440;
}

.tarjeta h2 {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 6px;
    color: #e8e4df;
}

.categoria {
    color: #c4a48a;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.tarjeta p {
    color: #9a9690;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.tarjeta a {
    color: #c4a48a;
    text-decoration: none;
    font-size: 0.9rem;
}

.tarjeta a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 30px 0;
    color: #fffdfd;
    font-size: 0.8rem;
    border-top: 1px solid #333;
}

footer a {
    color: #fffcfa;
    text-decoration: none;
    font-size: 0.9rem;
}

footer a:hover {
    color: #c4a48a;
}