/* =========================================================
   APAPACHO
   HEADER FLOTANTE
========================================================= */

.site-header {
    position: fixed;

    z-index: 1000;

    top: 0;
    left: 0;

    width: 100%;

    padding: 15px 0;

    background: transparent;

    pointer-events: none;
}


/* =========================================================
   CONTENEDOR FLOTANTE
========================================================= */

.site-header .nav {
    min-height: 78px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 10px 12px 10px 24px;

    background: rgba(255, 255, 255, 0.94);

    border: none;

    border-radius: 24px;

    box-shadow:
        0 12px 40px rgba(9, 43, 59, 0.10);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    pointer-events: auto;
}


/* =========================================================
   LOGO
========================================================= */

.site-logo {
    display: flex;

    align-items: center;

    flex-shrink: 0;

    text-decoration: none;
}

.site-logo img {
    display: block;

    width: 150px;
    height: auto;
}


/* =========================================================
   NAVEGACIÓN
========================================================= */

.site-nav {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;
}

.site-nav a {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 17px;

    color: var(--apapacho-ink, #092b3b);

    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


/* Quitar underline */

.site-nav a::after {
    display: none;
}


/* Hover */

.site-nav a:hover {
    color: var(--apapacho-green, #27aa73);

    background: rgba(39, 170, 115, 0.08);

    transform: translateY(-1px);
}


/* =========================================================
   CTA
========================================================= */

.header-cta {
    min-height: 54px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    padding: 0 22px;

    flex-shrink: 0;

    color: #ffffff;

    background:
        var(--apapacho-green, #27aa73);

    border-radius: 16px;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 8px 20px rgba(39, 170, 115, 0.18);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.header-cta span {
    font-size: 18px;

    transition:
        transform 0.25s ease;
}

.header-cta:hover {
    background:
        var(--apapacho-green-dark, #13885d);

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 28px rgba(39, 170, 115, 0.25);
}

.header-cta:hover span {
    transform:
        translateX(3px);
}


/* =========================================================
   IMPORTANTE
   EL HERO EMPIEZA DETRÁS DEL HEADER
========================================================= */

.colecta-page {
    padding-top: 0;
}


/*
   El fondo del Hero comienza desde top: 0,
   pero desplazamos únicamente SU CONTENIDO para
   que el header no tape textos ni elementos.
*/

.colecta-hero {
    padding-top: 150px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .site-header {
        padding: 14px 0;
    }

    .site-header .nav {
        min-height: 70px;

        padding:
            9px 10px 9px 18px;

        gap: 15px;

        border-radius: 20px;
    }

    .site-logo img {
        width: 125px;
    }

    .site-nav {
        gap: 2px;
    }

    .site-nav a {
        padding: 0 11px;

        font-size: 13px;
    }

    .header-cta {
        min-height: 48px;

        padding: 0 16px;

        font-size: 13px;
    }

    .colecta-hero {
        padding-top: 135px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .site-header {
        padding: 12px 0;
    }

    .site-header .nav {
        min-height: 64px;

        padding:
            8px 10px 8px 16px;

        border-radius: 18px;
    }

    .site-logo img {
        width: 120px;
    }

    .site-nav {
        display: none;
    }

    .header-cta {
        min-height: 46px;

        padding: 0 15px;

        border-radius: 13px;

        font-size: 12px;
    }

    .header-cta span {
        display: none;
    }

    .colecta-hero {
        padding-top: 115px;
    }
}