/*================================== RESET ==================================*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
}

/* ================================== HEADER ================================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 60px;
    background: #0b3c5d;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO */
.logo img {
    height: 80px;
    padding: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===== MENÚ CENTRADO ===== */
.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav ul li {
    margin: 0 20px;
}

.nav ul li a {
    position: relative;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 20px;
    transition: 0.3s;
}

/* línea animada */
.nav ul li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #00b4d8;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav ul li a:hover::after {
    width: 100%;
}

.nav ul li a:hover {
    color: #00b4d8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: white;
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav ul {
        flex-direction: column;
        text-align: center;
    }

    .nav ul li {
        margin: 20px 0;
    }

    .nav.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .cta {
        display: none;
    }
}

/*========================== FOOTER ==================================*/
.footer {
    background: #0b3c5d;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.footer .redes a {
    color: white;
    margin: 0 10px;
    font-size: 45px;
    transition: 0.3s;
}

.footer .redes a:hover {
    color: #00b4d8;
}

.header .redes a {
    color: white;
    margin: 0 10px;
    font-size: 30px;
    transition: 0.3s;
}

.header .redes a:hover {
    color: #00b4d8;
}