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

body {
    background-color: #07090d;
    color: #f4f2ec;
    font-family: "Nunito", Arial, sans-serif;
}

header {
    background-image: url("../img/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 90px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.portada-caja {
    background-color: rgba(7, 9, 13, 0.72);
    margin: 0 auto;
    width: 90%;
    max-width: 640px;
    padding: 40px 30px;
    border-radius: 10px;
}

.nombre {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #f4f2ec;
}

.subtitulo {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #c9a227;
    text-transform: uppercase;
    margin-top: 10px;
}

.lema {
    font-style: italic;
    color: #a7b0bd;
    margin-top: 14px;
    font-size: 0.95rem;
}

nav {
    background-color: #101722;
    text-align: center;
    padding: 16px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

nav a {
    color: #a7b0bd;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 8px 14px;
}

nav a:hover {
    color: #c9a227;
}

nav a:active {
    color: #f4f2ec;
}

.bloque {
    margin: 0 auto;
    width: 88%;
    max-width: 820px;
    padding-top: 56px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    color: #c9a227;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

h3 {
    font-family: "Playfair Display", Georgia, serif;
    color: #f4f2ec;
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 12px;
}

.retrato {
    text-align: center;
    margin-bottom: 20px;
}

.foto-perfil {
    width: 220px;
    height: 220px;
    border: 3px solid #c9a227;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.texto {
    color: #a7b0bd;
    line-height: 1.7;
    margin-bottom: 14px;
    text-align: justify;
}

.puesto {
    background-color: #101722;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 18px;
}

.puesto h3 {
    margin-top: 0;
    margin-bottom: 6px;
}

.puesto .empresa {
    color: #c9a227;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.puesto .periodo {
    color: #a7b0bd;
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.puesto p:last-of-type {
    color: #a7b0bd;
    line-height: 1.7;
}

.tabla-formacion {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 30px;
}

.tabla-formacion th {
    background-color: #101722;
    color: #c9a227;
    text-align: left;
    padding: 10px 14px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.tabla-formacion td {
    padding: 10px 14px;
    color: #a7b0bd;
    font-size: 0.85rem;
}

.tabla-formacion tbody tr:nth-child(odd) td {
    background-color: #101722;
}

.tabla-formacion tbody tr:nth-child(even) td {
    background-color: #16202d;
}

.lista-certificaciones,
.lista-habilidades,
.lista-reconocimientos,
.lista-contacto {
    margin: 0 auto 20px auto;
    width: 90%;
    max-width: 500px;
    text-align: left;
    padding-left: 20px;
}

.lista-certificaciones li,
.lista-habilidades li,
.lista-reconocimientos li,
.lista-contacto li {
    color: #a7b0bd;
    padding: 6px 0;
    font-size: 0.9rem;
}

.lista-contacto a {
    font-weight: 600;
    text-decoration: none;
}

.lista-contacto a:link {
    color: #c9a227;
}

.lista-contacto a:visited {
    color: #9d8ab5;
}

.lista-contacto a:hover {
    color: #f4f2ec;
}

footer {
    text-align: center;
    padding: 24px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.pie-texto {
    color: #a7b0bd;
    font-size: 0.75rem;
}
