/* Pie de página unificado — GastroChat.eu */

.site-footer {
    background: var(--background-dark, #1a1a1a);
    color: var(--text-light, #ffffff);
    padding: clamp(2.5rem, 5vw, 3.25rem) 0 clamp(1.25rem, 3vw, 1.75rem);
    border-top: 3px solid var(--accent-orange, #ff8c42);
}

.site-footer .footer-content {
    display: grid;
    grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 2rem;
}

.site-footer .footer-section h3 {
    margin-bottom: 0.85rem;
    color: var(--accent-yellow, #ffd700);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.site-footer .footer-tagline {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.site-footer .footer-body {
    font-size: 0.92rem;
    opacity: 0.88;
    line-height: 1.55;
}

.site-footer .footer-section p,
.site-footer .footer-section a {
    color: var(--text-light, #ffffff);
    text-decoration: none;
    opacity: 0.88;
    font-size: 0.92rem;
    line-height: 1.5;
}

.site-footer .footer-section--links p {
    margin-bottom: 0.35rem;
}

.site-footer .footer-section a:hover,
.site-footer .footer-section a:focus-visible {
    opacity: 1;
    color: var(--accent-yellow, #ffd700);
}

.site-footer .footer-contact-btn {
    margin-top: 0.85rem;
    display: inline-block;
    font-size: 0.88rem !important;
    padding: 0.55rem 1.15rem !important;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: #fff !important;
    border: none;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(255, 140, 66, 0.35);
}

.site-footer .footer-contact-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.site-footer .social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.site-footer .social-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c5530, #6b8e23);
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-footer .social-icon:hover,
.site-footer .social-icon:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(107, 142, 35, 0.35);
}

.site-footer .social-icon svg {
    width: 26px;
    height: 26px;
}

.site-footer .footer-bottom {
    text-align: center;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .footer-bottom-lead {
    margin-bottom: 0.35rem;
    opacity: 0.92;
}

.site-footer .footer-copy {
    font-size: 0.88rem;
    opacity: 0.72;
}

/* Scroll to top (páginas con .scroll-to-top) */
.scroll-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 22px rgba(255, 107, 53, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top::before {
    content: '↑';
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .site-footer .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer .footer-section--brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .site-footer .footer-content {
        grid-template-columns: 1fr;
    }

    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 18px;
        right: 18px;
    }
}
