/* ===== FOOTER GH STAND ===== */

.dynamic-footer {
    position: relative;
    padding: 4rem 5% 2.5rem;
    color: #ffffff;
    overflow: hidden;
    border-top: 1px solid rgba(255, 215, 0, 0.25);
    background:
        radial-gradient(circle at top left, rgba(255, 215, 0, 0.12), transparent 60%),
        radial-gradient(circle at bottom right, rgba(11, 43, 74, 0.9), #020617);
}

/* Partículas amarillas (mantener burbujas) */
.particles-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background-color: var(--gh-yellow);
    border-radius: 50%;
    opacity: 0.6;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) scale(0.7);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) scale(1.1);
        opacity: 0;
    }
}

/* Contenido principal */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Marca / Logo */
.footer-brand {
    text-align: center;
}

.footer-logo-link {
    position: relative;
    display: inline-block;
}

.footer-logo {
    display: block;
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.45));
    transition: transform 0.4s ease, filter 0.4s ease;
    animation: footer-logo-in 1.3s ease;
}

.footer-logo-aura {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.9);
    z-index: -1;
}

.neon-effect,
.neon-reflection {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
}

/* Glow suave alrededor del logo */
.neon-effect {
    box-shadow:
        0 0 18px rgba(255, 215, 0, 0.3),
        0 0 40px rgba(255, 215, 0, 0.25);
    opacity: 0.4;
}

/* Sutil reflejo hacia abajo */
.neon-reflection {
    top: 60%;
    filter: blur(16px);
    opacity: 0.25;
}

.footer-logo-link:hover .footer-logo {
    transform: translateY(-3px) scale(1.03);
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.75));
}

.footer-logo-link:hover .footer-logo-aura {
    opacity: 1;
    transform: scale(1);
}

@keyframes footer-logo-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Slogan */
.footer-slogan {
    margin-top: 1rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.9);
}

/* Grid de columnas */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: flex-start;
}

.footer-column {
    text-align: left;
}

/* Títulos de columna */
.footer-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gh-yellow);
    margin-bottom: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 52px;
    height: 2px;
    background: linear-gradient(90deg, var(--gh-yellow), transparent);
    opacity: 0.9;
}

/* Listas */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: 0.7rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.footer-list li i {
    margin-top: 0.1rem;
    color: var(--gh-yellow);
    font-size: 0.9rem;
}

.footer-list a {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.footer-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--gh-yellow);
    transition: width 0.3s ease;
}

.footer-list a:hover {
    color: #facc15;
}

.footer-list a:hover::after {
    width: 100%;
}

/* Redes Sociales */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.social-icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease,
                background 0.35s ease,
                color 0.35s ease;
}

.social-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.4), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.social-wave {
    position: absolute;
    inset: 100% 0 0 0;
    background: var(--gh-yellow);
    border-radius: inherit;
    z-index: -1;
    transition: inset 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.35);
    color: #020617;
    background: rgba(250, 250, 249, 0.95);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover .social-wave {
    inset: 0;
}

.social-icon.location .social-wave {
    background: #f97316;
}

/* Zona inferior */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    position: relative;
    text-align: center;
}

.footer-bottom::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gh-yellow), transparent);
    opacity: 0.9;
}

.legal {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
}

.legal p {
    font-size: 0.9rem;
    color: rgba(209, 213, 219, 0.9);
}

.privacy-link {
    font-size: 0.9rem;
    color: #facc15;
    text-decoration: none;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(253, 224, 71, 0.08);
    border: 1px solid rgba(253, 224, 71, 0.25);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-link:hover {
    background: rgba(253, 224, 71, 0.18);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(253, 224, 71, 0.25);
}

/* Botón flotante de WhatsApp (se mantiene, solo se pule) */
.whatsapp-btn {
    position: fixed;
    bottom: 26px;
    right: 24px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
    z-index: 999;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.05) rotate(4deg);
    box-shadow: 0 14px 38px rgba(37, 211, 102, 0.7);
}

.bubble-effect {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 60%);
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.whatsapp-btn:hover .bubble-effect {
    opacity: 1;
    transform: scale(1.4);
}

/* Animación flotante */
.bubble-float {
    animation: float-whatsapp 3s ease-in-out infinite;
}

@keyframes float-whatsapp {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .dynamic-footer {
        padding: 3rem 1.8rem 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-column {
        padding-inline: 0.3rem;
    }

    .footer-slogan {
        font-size: 0.9rem;
        letter-spacing: 0.1em;
    }

    .whatsapp-btn {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
        bottom: 22px;
        right: 18px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        max-width: 190px;
    }

    .footer-bottom::before {
        width: 120px;
    }
}
