:root {
    --bg-light-top: #FDFBF7; /* Blanco perla / Crema muy suave */
    --bg-light-bottom: #E6E4DD; /* Gris cálido claro */
    --bg-card: rgba(255, 255, 255, 0.6);
    --text-main: #2A2A2A;
    --text-muted: #666666;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(160deg, var(--bg-light-top) 0%, var(--bg-light-bottom) 100%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Destello luminoso en la parte superior */
.glow-top {
    position: fixed;
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 40vh;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.8) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.hero {
    padding: 6rem 2rem 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #111;
    margin-bottom: 1rem;
    font-weight: 600;
}

.description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.container {
    flex: 1;
    max-width: 1000px; /* Mantiene las tarjetas pequeñas y centradas */
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hub-grid {
    display: grid;
    /* Cuadrícula para tarjetas pequeñas (aprox 220px) */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    justify-content: center;
}

/* Tarjetas del Hub */
.hub-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hub-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 0 25px var(--card-color);
    background: rgba(255, 255, 255, 0.9);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    transition: transform 0.3s ease;
    /* Filtro para darles un toque elegante */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.hub-card:hover .card-icon {
    transform: scale(1.15);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.hub-card:hover .card-title {
    color: var(--card-color);
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

footer {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 4rem;
}

/* Boton Volver al Sitio Oficial */
.back-to-site {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 100;
    transition: var(--transition-smooth);
    background: rgba(255,255,255,0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.back-to-site:hover {
    color: #111;
    background: rgba(255,255,255,1);
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
