/* Variables de color para fácil personalización */
:root {
    --primary-color: #1a3a5f; /* Azul institucional */
    --secondary-color: #c9a66b; /* Dorado/Arena elegante */
    --text-color: #333;
    --bg-light: #f4f7f6;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Encabezado */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    border-bottom: 5px solid var(--secondary-color);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.year-badge {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 25px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 50px;
}

/* Introducción */
.intro {
    text-align: center;
    padding: 15px 0;
}

.intro h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.intro p {
    font-size: 0.8rem;
}

/* Cuadrícula de Contenido */
.grid-temas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #666;
}

/* Botones */
.btn-download {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-download:hover {
    background-color: #2c5282;
}

/* Pie de página */
footer {
    text-align: center;
    padding: 40px 0;
    background: #222;
    color: #eee;
    font-size: 0.85rem;
}