@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

/* ──────────────────────────────────────
   BARRA DE NAVEGACIÓN
   ────────────────────────────────────── */

.navbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 52px;
    font-size: 14.5px;
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.055);
    box-shadow: 0 2px 24px rgba(0, 31, 80, 0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar a {
    position: relative;
    margin-left: 48px;
    text-decoration: none;
    color: #3d4e6b;
    font-weight: 650;
    letter-spacing: 0.2px;
    padding: 0px 2px;
    transition: color 0.22s ease;
}

nav a::after {
    content: "";
    position: absolute;
    background: linear-gradient(90deg, #0077FF, #7AB8FF);
    height: 2px;
    border-radius: 2px;
    width: 0;
    left: 0;
    bottom: -6px;
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar a:hover {
    color: #0077FF;
}

.navbar a:hover::after,
.navbar .activo::after {
    width: 100%;
}

.navbar .activo {
    color: #0077FF;
}

.logo {
    width: 80px;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.user {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-left: 32px;
    padding: 8px 24px;
    color: #3d4e6b;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0.2px;
    transition: color 0.22s ease;
}

.user::after {
    content: "";
    position: absolute;
    background: linear-gradient(90deg, #0077FF, #7AB8FF);
    height: 2px;
    border-radius: 2px;
    width: 0;
    left: 0;
    bottom: -6px;
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.user:hover {
    color: #0077FF;
}

.user:hover::after {
    width: 100%;
}

/* ──────────────────────────────────────
   FOOTER
   ────────────────────────────────────── */

.footer {
    cursor: default;
    background: linear-gradient(165deg, #0d1e38 0%, #091524 50%, #040e1c 100%);
    color: #e5e7eb;
    padding: 4.5rem 1rem 1.8rem;
    position: relative;
    overflow: hidden;
}

/* Top glow line */
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(122, 184, 255, 0.5) 35%,
        rgba(0, 119, 255, 0.6) 50%,
        rgba(122, 184, 255, 0.5) 65%,
        transparent 100%);
}

/* FOOTER */

.footer {
    cursor: default;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #e5e7eb;
    padding: 3rem 1rem 1.5rem;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

/* BRAND */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.logo-footer {
    height: 70px;
    width: auto;
    opacity: 0.95;
}

.footer-brand p {
    max-width: 280px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #c7d2fe;
}

/* TITULOS */
.footer h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.8rem;
    position: relative;
}

.footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 35px;
    height: 3px;
    background-color: #7E9DDE;
    border-radius: 10px;
}

/* LINKS */
.footer-links a {
    display: inline-block;
    font-size: 0.95rem;
    color: #cbd5f5;
    text-decoration: none;
    margin-bottom: 0.4rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

/* CONTACTO */
.footer-contact p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #cbd5f5;
    transition: all 0.3s ease;
}

.footer-contact p:hover{
    color: #f3fcff;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* FOOTER BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid #1e293b;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ──────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────── */

@media (max-width: 960px) {
    .navbar {
        padding: 8px 24px;
    }

    .navbar a {
        margin-left: 28px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .navbar {
        padding: 8px 16px;
        font-size: 13px;
    }
}