/* --- GLOBAL --- */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(145deg, #f5f5f7, #ffffff);
    color: #333;
    line-height: 1.6;
}

/* --- HERO --- */
.hero {
    text-align: center;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: white;
    padding: 60px 20px;
}

.hero .profile-img {
    border-radius: 50%;
    width: 240px;
    height: 240px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid white;
}

.hero h1 {
    margin: 10px 0;
    font-size: 3em;
}

.hero .subtitle {
    color: #b0c4de;
    font-weight: 600;
}

.motto {
    font-size: 0.9em;
    opacity: 0.85;
    margin-top: 10px;
}

/* --- SECTIONS --- */
section {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

h2 {
    color: #0f2027;
    border-bottom: 2px solid #2c5364;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

h3 {
    color: #203a43;
    margin-top: 20px;
}

/* --- CARD --- */
.card {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.card-header h3 {
    flex: 1;
}

/* --- Subapartados especiales */
.sub-block {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 15px;
}

.sub-block h4 {
    margin: 0 0 8px 0;
    color: #555;
    font-weight: bold;
}

.sub-block ul {
    padding-left: 20px;
}

.sub-block ul li {
    margin-bottom: 6px;
}

/* --- Logos Normal --- */
.logo {
    height: 35px;
}

/* --- Logos en columna --- */
.logos-vertical {
    display: flex;
    align-items: center;
}

.logos-vertical div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo-vertical {
    height: 30px;
}

/* --- FORMACION E IDIOMAS COMO CARDS --- */
.simple-card {
    background: #fafafa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* --- IDIOMAS --- */
ul.languages {
    list-style: none;
    padding-left: 0;
}

ul.languages li {
    padding: 5px 0;
    font-size: 1.1em;
}

/* --- CONTACTO --- */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.btn {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    background: #203a43;
    color: white;
    transition: background 0.3s;
    font-weight: bold;
}

.btn:hover {
    background: #2c5364;
}

/* --- FOOTER --- */
footer {
    background: #0f2027;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}