/* Importar tipografía */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    /* Variables Globales (Acciones/Base) */
    --global-accent: #0f172a;        
    --global-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

    /* Contexto: Body */
    --body-bg: #7f878f;     
    --body-tx: white;

    /* Contexto: Header */
    --header-bg-start: #2c3e50;
    --header-bg-end: #1e293b;
    --header-letra: white;
    --header-enlace: #e6eee2;
    --header-h2: #1abc9c;
    --header-border: #1abc9c;

    /* Contexto: Main */
    --main-fondo: #e6eee2;
    --main-letra: #334155;   
    --main-muted: #94a3b8;
    --main-h3: var(--global-accent);
    --main-border-h3: var(--header-h2);
    --main-list-bullet: var(--header-h2);

    /* Contexto: Footer */
    --footer-letra: white;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.7;
    background-color: var(--body-bg);
    color: var(--body-tx);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--header-bg-start), var(--header-bg-end));
    color: var(--header-letra);
    padding: 3rem 2rem;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    gap: 2rem;
}

.header-text { flex: 1; }

.header h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
}

.header h2 {
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--header-h2);
    margin: 0.5rem 0 1rem 0;
}

.header a {
    color: var(--header-enlace);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.header a:hover { opacity: 0.8; }

.profile-pic {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--header-border);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

/* Main */
main {
    max-width: 800px;
    margin: -2rem auto 2rem auto;
    padding: 2rem;
    background: var(--main-fondo);
    color: var(--main-letra);
    border-radius: 12px;
    box-shadow: var(--global-shadow);
}

section { margin-bottom: 2.5rem; }

section h3 {
    font-size: 1.4rem;
    color: var(--main-h3);
    border-bottom: 2px solid var(--main-border-h3);
    display: inline-block;
    padding-bottom: 0.2rem;
    margin-bottom: 1.2rem;
}

ul { list-style: none; padding-left: 0; }

ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

ul li::before {
    content: "•";
    color: var(--main-list-bullet);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: var(--footer-letra);
}

/* Responsive */
@media (max-width: 600px) {
    .header-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .profile-pic { margin-bottom: 1.5rem; }
}
