/* =========================================
   FOOTER POP-ART REDESIGN (MONOCHROME YELLOW)
   target: .site-footer-pop
   Config: White BG + #F0E588 Dots
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Fredoka+One&display=swap');

/* 1. CONTENEDOR PRINCIPAL */
.site-footer-pop {
    background-color: #ffffff !important;
    /* Blanco Puro */
    color: #111 !important;
    border-top: 8px solid #111 !important;
    position: relative !important;
    z-index: 1 !important;
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
    overflow: hidden !important;
}

/* 
   2. TEXTURA "VARIABLE DOTS" (MONOCROMA AMARILLA)
   Simulamos la imagen de referencia usando dos capas de puntos del MISMO color (#F0E588)
   pero diferentes tamaños, mezcladas con máscaras.
*/

/* Capa Base: Puntos Pequeños (Toda el área, pero desvanecen a la derecha) */
.site-footer-pop::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 1;

    /* Puntos Pequeños #F0E588 */
    background-image: radial-gradient(circle, #F0E588 45%, transparent 50%);
    background-size: 10px 10px !important;
    background-position: 0 0;

    /* Máscara: Visible Izquierda -> Invisible Derecha */
    mask-image: linear-gradient(to right, black 0%, rgba(0, 0, 0, 0.1) 100%);
    -webkit-mask-image: linear-gradient(to right, black 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* Capa Overlay: Puntos Grandes (Solo derecha, crecen) */
.site-footer-pop::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 1;

    /* Puntos Grandes #F0E588 */
    background-image: radial-gradient(circle, #F0E588 45%, transparent 50%);
    background-size: 24px 24px !important;
    background-position: 12px 12px;

    /* Máscara Inversa: Invisible Izquierda -> Visible Derecha */
    mask-image: linear-gradient(to right, transparent 0%, black 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 100%);
}


/* 4. ELEMENTOS UI (STICKERS)
   Mantenemos el estilo "Sticker" para que el contenido flote claramente.
*/

/* Logo */
.site-footer-pop a[href*="home"] {
    background-color: #ffffff !important;
    border: 4px solid #111 !important;
    box-shadow: 6px 6px 0 0 #111 !important;
    transform: rotate(-3deg);
    padding: 1.5rem !important;
    display: inline-block !important;
}

/* Títulos de Columna */
.site-footer-pop h5 {
    font-family: 'Bangers', cursive !important;
    font-size: 2.2rem !important;
    text-transform: uppercase !important;
    color: #fff !important;
    padding: 0.5rem 1rem !important;
    border: 3px solid #111 !important;
    box-shadow: 5px 5px 0 0 #111 !important;
    display: inline-block !important;
    margin-bottom: 2rem !important;
    text-shadow: 2px 2px 0 #000;
}

/* Colores Sticker (Se mantienen vibrantes para contraste con el amarillo pálido) */
.site-footer-pop .grid>div:nth-child(1) h5 {
    background-color: #127FE5 !important;
    transform: rotate(-2deg);
}

.site-footer-pop .grid>div:nth-child(2) h5 {
    background-color: #F39314 !important;
    color: #111 !important;
    text-shadow: none;
    transform: rotate(1deg);
}

.site-footer-pop .grid>div:nth-child(3) h5 {
    background-color: #E65294 !important;
    transform: rotate(-1deg);
}

.site-footer-pop .grid>div:nth-child(4) h5 {
    background-color: #F0E588 !important;
    color: #111 !important;
    text-shadow: none;
    transform: rotate(2deg);
}

/* Links */
.site-footer-pop ul li a {
    font-family: 'Fredoka One', cursive, sans-serif !important;
    color: #111 !important;
    font-size: 1.1rem !important;
    background-color: #ffffff !important;
    /* Blanco sólido para limpiar */
    padding: 0.3rem 0.6rem !important;
    border: 2px solid transparent;
    display: inline-block;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
    /* Sombra sutil */
}

.site-footer-pop ul li a:hover {
    background-color: #111 !important;
    color: #F0E588 !important;
    box-shadow: 4px 4px 0 #111 !important;
    /* Sombra dura negra al hover */
    border-color: #111 !important;
    transform: scale(1.05) rotate(-1deg) !important;
    text-decoration: none !important;
}

/* Redes */
.site-footer-pop .flex.gap-6 a {
    background: #fff !important;
    border: 3px solid #111 !important;
    box-shadow: 4px 4px 0 #111 !important;
    color: #111 !important;
}

.site-footer-pop .flex.gap-6 a:hover {
    background: #ED1A24 !important;
    color: #fff !important;
    transform: translateY(-3px) !important;
}

/* Contacto */
.site-footer-pop p {
    font-family: 'Fredoka One', cursive !important;
    color: #111 !important;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 2px solid #111;
    transform: rotate(1deg);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .site-footer-pop {
        padding: 3rem 1rem !important;
    }

    .site-footer-pop::before {
        background-size: 8px 8px !important;
    }

    .site-footer-pop::after {
        background-size: 16px 16px !important;
    }
}