/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.publicaciones{
    padding-bottom: 50px;
}

#hero {
    width: 100vw;
    height: 100vh;
    background: url("../img/hero-desktop.png") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    padding-bottom: 90px;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.content {
    text-align: center;
    color: #333;
    padding: 0 20px;
}

.logo {
    max-width: 350px;
    width: 100%;
    margin-bottom: 30px;
}

.title {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.divider {
    width: 260px;
    height: 8px;
    margin: 16px auto;
    background: repeating-linear-gradient(
            45deg,
            #FFC700 0,
            #FFC700 12px,
            #333 12px,
            #333 24px
    );
    border-radius: 4px;
}

.tagline {
    display: inline-block;
    background: #7D2937;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.menu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 30px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.transparency {
    background: rgba(255,255,255,0.8);
    color: #4B4B4B;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
}

.pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Todas las píldoras en estado normal */
.pill {
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255,255,255,0.8);
    color: #4B4B4B;
    border: 2px solid #B2B2B2;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

/* Hover: amarillo en todas las píldoras */
.pill:hover {
    background: #FFC700;
    border-color: #FFC700;
    color: #7D2937;
    cursor: pointer;
}

/* FOOTER fijo al fondo */
.footer {
    position: fixed;
    left: 0;
    bottom: -10px;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #4B4B4B;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(2px); /* opcional para legibilidad */
}

.footer-left img,
.footer-right img {
    max-height: 40px;
    margin-right: 16px;
}

.footer-center {
    flex: 1;
    text-align: center;
}

/* Responsive */
@media (max-width: 576px) {
    #hero {
        background: url("../img/hero-movil.png") no-repeat center center !important;
        background-size: cover;
        background-attachment: fixed !important;
        padding-bottom: 120px; /* footer más alto en móvil */
    }

    .title {
        font-size: 2.2rem;
    }

    .divider {
        width: 200px;
        height: 6px;
        margin: 12px auto;
    }

    .tagline {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .footer {
        padding: 16px 20px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-left,
    .footer-right {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .footer-right img {
        margin: 0 8px;
    }
}

/* 1) Fondo fijo a toda la página */
html, body { height: 100%; }

body {
    position: relative; /* para el pseudo-elemento */
}

/* pseudo-elemento que cubre toda la ventana y no se mueve */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../img/hero-desktop.png") no-repeat center center;
    background-size: cover;
    z-index: -1;            /* queda detrás de todo */
    will-change: transform; /* suave en algunos navegadores */
}

/* 2) #hero ya no tiene fondo propio; solo estructura */
#hero {
    width: 100%;
    min-height: 100vh;   /* antes era height:100vh; mejor min-height */

    background: transparent !important;
    background-attachment: initial !important;
    position: relative;
    padding-bottom: 90px; /* mantener espacio para el footer fijo */
}

/* 3) Versión móvil del fondo fijo */
@media (max-width: 576px) {
    body::before {
        background-image: url("../img/hero-movil.png");
    }

    #hero {
        padding-bottom: 120px; /* footer más alto en móvil */
    }
}
