* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { font-size: 62.5%; }
html, body { overflow-x: hidden; }

/* Layout base: el footer nunca se solapa */
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    color: #191a22;
    background: #fff;
}

/* el contenido ocupa el alto disponible */
.content { flex: 1; min-height: auto; }

/* ================= Header ================= */
.Header {
    background-color: #24292e;
    color: #ffffff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.Header-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
}

.Header-title span {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: normal;
}

.Header-social ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1rem;
}

.Header-social a {
    text-decoration: none;
    font-weight: 300;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: white;
}

.Header-logo {
    display: flex;
    align-items: center;
}

.Header-logo img {
    width: 7rem;
    cursor: pointer;
}

.Header-social i { width: 20px; }

/* =============== Navegación =============== */
.hamburger {
    display: none;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: #191a22;
    cursor: pointer;
}

.Nav-container {
    background-color: #fafbfc;
    color: #191a22;
    display: grid;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;         /* evita overflow por 100vw */
    height: 60px;
    border-bottom: none; /* quitamos línea morada */
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.06); /* divisor sutil */
}

.Nav-container ul {
    display: flex;
    width: 350px;
    gap: 1.5rem;
}

.Nav-container ul li {
    position: relative;
    list-style: none;
    width: 70px;
    height: 60px;
    z-index: 2;
}

.Nav-container ul li a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.Nav-container ul li a span {
    font-size: 1.4rem;
    font-weight: 300;
    position: relative;
    display: block;
    width: 55px;
    height: 55px;
    text-align: center;
    line-height: 65px;
    border-radius: 50%;
}

.Nav-container ul li.active a span {
    background: #24292e;
    color: #fff;
    transform: translateY(-27px);
}

.Nav-container ul li a span::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #24292e;
    filter: blur(5px);
    opacity: 0;
}

.Nav-container ul li.active a span::before { opacity: 0.5; }

[aria-current] {
    position: relative;
    display: inline-block;
}

[aria-current]::after {
    position: absolute;
    content: "";
    width: calc(100% - 1em);
    height: 3px;
    background-color: #564761;
    display: block;
    bottom: -1px;
}

.Nav-container a {
    text-decoration: none;
    padding: 1em 1em 1em 0;
    display: block;
    font-size: 1.4rem;
    font-weight: 300;
    transition: all 0.3s ease-in-out 0s;
    color: rgba(25, 26, 34, 0.7);
}

.Nav-container a:hover { color: rgba(25, 26, 34, 1); }
.Nav-container a:visited { color: rgb(167, 3, 153); }

/* Fix sintaxis rgba() (antes usabas rgba(#792CE2, …) que no es válido) */
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(121, 44, 226, 1); }
    100% { box-shadow: 0 0 0 40px rgba(121, 44, 226, 0); }
}

.pulser_effect { animation: pulse infinite 1s; }

/* ================= Footer ================= */
.Footer {
    background: #24292e;
    color: white;
    padding-top: 1.5rem;
    margin-top: 0.2rem;
    width: 100%;
    position: static;    /* sin absolute */
    height: auto;        /* crece según contenido */
}

.Footer-content {
    display: grid;
    justify-content: center;
    align-items: center;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-family: 'Great Vibes', cursive;
    padding-bottom: .5rem;
}

.Footer-copy::after { content: " 🇨🇴  "; }

.Footer-go {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* =============== Responsive =============== */
@media (max-width: 768px) {
    .Header { flex-direction: column; padding: 0.5rem; }
    .Header-logo img { width: 5rem; }
    .Header-title { margin-top: 1rem; font-size: 1.2rem; }
    .Header-title span { font-size: 1rem; }
    .hamburger { display: block; }

    .Nav-container ul {
        flex-direction: column;
        width: 80% !important;
        background-color: rgba(25, 26, 34, 0.3);
        border-radius: 1rem;
        margin: 1rem auto;
        padding: 1.5rem;
        text-align: center;
        display: none;
    }
    .Nav-container ul li {
        width: 100% !important;
        height: auto;
        margin: 0.5rem 0;
    }
    .Nav-container ul li a { font-size: 1.8rem; color: #fff; padding: 1rem; }
    .Nav-container.is-active ul { display: flex; }

    .Footer { padding-top: 1rem; padding-bottom: 1rem; font-size: 1.2rem; }
}
