body {
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;   /* el body mide todo el viewport */
}



/* ESTO ES PARA CENTRAR LA CARD */
main.hero {
    flex: 1;      /* ahora main ocupa TODO el espacio sobrante */
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* ESTILO DE FONDO DE MAIN (2 MANCHITAS JAJA) */
main.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(15, 59, 92, 0.03) 0%, transparent 10%),
        radial-gradient(circle at 80% 70%, rgba(183, 165, 58, 0.03) 0%, transparent 10%);
    pointer-events: none;
    z-index: 0;
}





.container-flex {   
    overflow: auto;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}


/* ESTILOS DE CARD, SEPARADOS DE AUTOR, REVISOR Y MANAGER */
.card {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 40px;
    border: 1px solid rgba(15, 59, 92, 0.1);
    box-shadow: 0 10px 30px rgba(15, 59, 92, 0.3);
    color: var(--text-dark);
    margin: auto;
    position: relative;
    transition: all 0.3s ease;
}

/* ESTILO DE SOMBRA DE CARD */
.card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(183, 165, 58, 0.1), rgba(15, 59, 92, 0.05));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}


.card-head {
    max-width: 680px;
    display: grid;
    gap: 28px;
}

.card-head h2 {
    margin: 0;
    margin-bottom: 8px;
    font-size: 32px;
    letter-spacing: 2px;
    color: var(--text-dark);
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
}


.card-head p {
    margin: 0;
    font-size: 18px;
    letter-spacing: 1px;
    word-spacing: 4px;
    text-align: justify;
    color: #4a5568;
    line-height: 1.7;
}

.card-head a {
    text-decoration: none;
    text-align: center;
    display: inline-block;
    color: var(--text-dark);
    font-size: 15px;
    letter-spacing: 1.5px;
    word-spacing: 4px;
    border: 2px solid rgba(15, 59, 92, 0.15);
    padding: 14px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-top: 8px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}


.card-head a:hover {
    background: var(--nav-blue);
    color: #ffffff;
    border-color: var(--nav-blue);
    box-shadow: 
        0 8px 24px rgba(15, 59, 92, 0.2),
        0 4px 8px rgba(15, 59, 92, 0.1);
    transform: translateY(-2px);
}





