/* Estilo general */
body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background-color: #3D6E8A;
    /* mismo azul que home-ofrecemos */
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/*Header - Menú - Nav */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(61, 110, 138, 0.8);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.top-nav {
    display: flex;
    align-items: center;
    padding: 0.5rem 2rem;
    justify-content: space-between;
}


.top-nav ul {
    list-style: none;
    display: flex;
}

.top-nav a {
    text-decoration: none;
    color: #F7F1E8;
    margin-right: 2rem;
}

.top-nav a:hover {
    color: #12262D;
}

.menu-btn {
    display: none;
}



img.logo {
    max-width: 125px;
    height: auto;
}


/*FOOTER */
* {
    box-sizing: border-box;
}

footer {
    width: 100%;
    background-color: #12262d;
    color: #F7F1E8;
    padding: 2rem 1.5rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;

}


.footer-links a {
    text-decoration: none;
    color: #F7F1E8;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D1E8E2;
}

.footer-links i {
    font-size: 1.3rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: #F7F1E8;
    opacity: 0.8;
    text-align: center;
    margin-top: 0.5rem;
}

@media (max-width: 800px) {

    img.logo {
        max-width: 95px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-copy {
        margin-top: 1rem;
    }

    .top-nav ul {
        display: none;
    }

    .top-nav {
        padding: 1rem 2rem;
    }

    .menu-btn {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 19px;
        padding: 0;
    }

    .menu-btn span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #F7F1E8;
        border-radius: 2px;
        transition: background-color 0.3s ease;
    }

    .menu-btn:hover span {
        background-color: #1A3642;
    }

    header.menu-open {
    background-color: rgba(61, 110, 138, 0.95) !important;
}


    .nav-links {
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background-color: rgba(61, 110, 138, 0.95);
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        gap: 1.5rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease-in-out;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        margin: 0;
        font-size: 1.2rem;
    }

}