/* Estilos elegantes con colores blancos y azules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    color: #162945;
    line-height: 1.6;
    min-height: 100vh;
}

/* Banner */
.banner-container {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.banner-imagen {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 50px;
}

header h1 {
    font-size: 2.5em;
    color: #162945;
    margin-bottom: 10px;
    font-weight: 600;
}

header p {
    font-size: 1.1em;
    color: #2A4C7F;
}

/* Contenedor de tarjeta individual */
.tarjeta-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(22, 41, 69, 0.15);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tarjeta-imagen {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(22, 41, 69, 0.1);
    margin-bottom: 30px;
}

.info-adicional {
    margin: 30px 0;
    text-align: left;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #2A4C7F;
}

.info-adicional h1 {
    font-size: 2em;
    color: #162945;
    margin-bottom: 10px;
}

.info-adicional .cargo {
    font-size: 1.3em;
    color: #2A4C7F;
    margin-bottom: 20px;
    font-weight: 500;
}

.info-adicional .contacto {
    font-size: 1.1em;
    color: #162945;
    margin: 10px 0;
}

.info-adicional .contacto a {
    color: #2A4C7F;
    text-decoration: none;
    transition: color 0.3s;
}

.info-adicional .contacto a:hover {
    color: #162945;
    text-decoration: underline;
}

/* Botón de descarga */
.acciones {
    margin-top: 30px;
}

.boton-descarga {
    display: inline-block;
    background: linear-gradient(135deg, #2A4C7F 0%, #162945 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(42, 76, 127, 0.3);
}

.boton-descarga:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 76, 127, 0.4);
    background: linear-gradient(135deg, #162945 0%, #2A4C7F 100%);
}

/* Grid de tarjetas (página principal) */
.grid-tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tarjeta-miniatura {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(22, 41, 69, 0.1);
    transition: all 0.3s;
}

.tarjeta-miniatura:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(22, 41, 69, 0.2);
}

.tarjeta-miniatura a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tarjeta-miniatura img {
    width: 100%;
    height: auto;
    display: block;
}

.tarjeta-miniatura h3 {
    padding: 15px 20px 5px;
    color: #162945;
    font-size: 1.2em;
}

.tarjeta-miniatura p {
    padding: 0 20px 20px;
    color: #2A4C7F;
    font-size: 0.95em;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .tarjeta-container {
        padding: 20px;
    }
    
    .info-adicional h1 {
        font-size: 1.5em;
    }
    
    .grid-tarjetas {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

