/**
 * Footer «Síguenos» — iconos circulares de marca (mismo aspecto que carta.php).
 * Cargado desde includes/site-footer.php en todas las páginas públicas.
 */

.footer-section--social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.footer-section--social .social-links,
.footer-section--social .social-links--footer-branded,
.footer .social-links--footer-branded,
.footer .social-links.social-links--footer-branded {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.35rem auto 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

/* Anular estilos genéricos de enlaces del footer (modern-colors-override) */
footer.footer a.footer-social-btn,
.footer.footer a.footer-social-btn {
    border-bottom: none !important;
    text-decoration: none !important;
    box-shadow: none;
}

footer.footer a.footer-social-btn:hover,
.footer.footer a.footer-social-btn:hover {
    border-bottom: none !important;
    text-decoration: none !important;
}

.footer .footer-social-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    font-size: 1.2rem;
    line-height: 1;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 2px solid rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.footer .footer-social-btn i,
.footer .footer-social-btn .footer-svg-icon {
    color: inherit !important;
    opacity: 1 !important;
    font-style: normal;
    pointer-events: none;
}

.footer .footer-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    color: #fff !important;
}

.footer .footer-social-btn--facebook:hover {
    background: #1877f2 !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.footer .footer-social-btn--x:hover {
    background: #000 !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.footer .footer-social-btn--tripadvisor:hover {
    background: #00af87 !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--tiktok:hover {
    background: #000 !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.footer .footer-social-btn--youtube:hover {
    background: #ff0000 !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--whatsapp:hover {
    background: #25d366 !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--google:hover {
    background: #4285f4 !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--yelp:hover {
    background: #d32323 !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--linkedin:hover {
    background: #0a66c2 !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--pinterest:hover {
    background: #e60023 !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--telegram:hover {
    background: #26a5e4 !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--opentable:hover {
    background: #da3743 !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--thefork:hover {
    background: #0a6650 !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--ubereats:hover {
    background: #06c167 !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--justeat:hover {
    background: #f9423a !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--glovo:hover {
    background: #00a082 !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.footer .footer-social-btn--generic:hover {
    background: #64748b !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* TripAdvisor (SVG máscara — no está en Font Awesome Free) */
.footer-svg-icon.footer-svg-icon--tripadvisor {
    display: inline-block;
    vertical-align: middle;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTEyLjAwNiA0LjI5NWMtMi42NyAwLTUuMzM4Ljc4NC03LjY0NSAyLjM1M0gwbDEuOTYzIDIuMTM1YTUuOTk3IDUuOTk3IDAgMCAwIDQuMDQgMTAuNDMgNS45NzYgNS45NzYgMCAwIDAgNC4wNzUtMS42TDEyIDE5LjcwNWwxLjkyMi0yLjA5YTUuOTcyIDUuOTcyIDAgMCAwIDQuMDcyIDEuNTk4IDYgNiAwIDAgMCA2LTUuOTk4IDUuOTgyIDUuOTgyIDAgMCAwLTEuOTU3LTQuNDMyTDI0IDYuNjQ4aC00LjM1YTEzLjU3MyAxMy41NzMgMCAwIDAtNy42NDQtMi4zNTN6TTEyIDYuMjU1YzEuNTMxIDAgMy4wNjMuMzAzIDQuNTA0LjkwM0MxMy45NDMgOC4xMzggMTIgMTAuNDMgMTIgMTMuMWMwLTIuNjcxLTEuOTQyLTQuOTYyLTQuNTA0LTUuOTQyQTExLjcyIDExLjcyIDAgMCAxIDEyIDYuMjU2ek02LjAwMiA5LjE1N2E0LjA1OSA0LjA1OSAwIDEgMSAwIDguMTE4IDQuMDU5IDQuMDU5IDAgMCAxIDAtOC4xMTh6bTExLjk5Mi4wMDJhNC4wNTcgNC4wNTcgMCAxIDEgLjAwMyA4LjExNSA0LjA1NyA0LjA1NyAwIDAgMS0uMDAzLTguMTE1em0tMTEuOTkyIDEuOTNhMi4xMjggMi4xMjggMCAwIDAgMCA0LjI1NiAyLjEyOCAyLjEyOCAwIDAgMCAwLTQuMjU2em0xMS45OTIgMGEyLjEyOCAyLjEyOCAwIDAgMCAwIDQuMjU2IDI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ii8+PC9zdmc+");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.footer .footer-social-btn--tripadvisor .footer-svg-icon--tripadvisor {
    width: 1.15em;
    height: 1.15em;
}

@media (max-width: 480px) {
    .footer .footer-social-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px;
        min-height: 40px;
        font-size: 1.05rem;
    }
}
