body {
    font-family: 'Libre Baskerville', serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background: #f9f9f9;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 1000;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header img {
    max-height: 80px;  /* controla altura fija del logo */
    width: auto;    
}

.lang-switch {
    position: absolute;
    right: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #2EABE2;
    text-decoration: none;
    border: 1px solid #2EABE2;
    padding: 6px 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background: #2EABE2;
    color: #fff;
}

/* SECCIONES */
.section {
max-width: 1100px;
margin: 80px auto 50px auto; /* menos espacio */
padding: 10px;
}

/* Aplica solo a la primera sección */
.section:first-of-type {
margin-top: 140px; /* deja más aire solo arriba en la primera */
}

.subtitle {
    color: #2EABE2;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
}

.text {
    font-size: 1rem;
    text-align: justify;
}

/* FOOTER */
footer {
    background: #000;
    color: #fff;
    padding: 40px 20px 20px 20px;
}

.footer-logo {
text-align: left;  /* antes estaba en center */
margin-bottom: 30px;
}

.footer-logo img {
    max-width: 140px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto 20px auto;
}

.footer-left, .footer-right {
    flex: 1 1 300px;
    margin: 10px;
}

.footer-left p {
    font-size: 0.95rem;
    color: #ddd;
}

.footer-right p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
}

.footer-bottom a {
    color: #aaa;
    margin: 0 10px;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header {
    height: 80px;
    }
    header img {
    max-width: 130px;
    }
    .lang-switch {
    right: 15px;
    font-size: 0.8rem;
    padding: 5px 10px;
    }
    .title {
    font-size: 1.6rem;
    }
    .section {
    margin: 120px 15px 60px 15px;
    padding: 15px;
    }
    .footer-container {
    flex-direction: column;
    text-align: center;
    }
}