/**
 * GIGARED Centro - Unified Corporate Footer Styles
 * Versión: 3.5.0
 * Unifica las 3 zonas dispersas previas en una cuadrícula armónica de 4 columnas,
 * bloque oficial de HOMOLOGADOS, horarios diferenciados e insignia del Libro de Reclamaciones.
 */

.site-footer {
    background: linear-gradient(180deg, var(--color-brand-blue-dark, #001A3D) 0%, #001229 100%);
    color: var(--color-border-medium, #CBD5E1);
    font-family: var(--font-body, 'Inter', sans-serif);
    position: relative;
    border-top: 3px solid var(--color-brand-red, #E32128);
    overflow: hidden;
}

/* Contenedor principal */
.site-footer .footer-main {
    padding: 68px 0 44px;
}

.site-footer .footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid de 4 Columnas */
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.25fr 1.15fr;
    gap: 40px;
}

/* Títulos de Columna */
.site-footer .footer-col-title {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
    color: var(--color-text-inverse, #FFFFFF);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.3px;
}

.site-footer .footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--color-brand-red, #E32128);
    border-radius: 2px;
}

/* ==========================================================================
   COLUMNA 1: IDENTIDAD Y EMPRESA
   ========================================================================== */
.site-footer .footer-brand-logo {
    max-width: 175px;
    height: auto;
    display: block;
    margin-bottom: 16px;
    filter: brightness(1.05);
}

.site-footer .footer-legal-name {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text-inverse, #FFFFFF);
    margin-bottom: 4px;
}

.site-footer .footer-ruc-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted, #94A3B8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.4px;
}

.site-footer .footer-tagline {
    font-size: 0.8438rem; /* 13.5px */
    line-height: 1.55;
    color: var(--color-text-muted, #94A3B8);
    margin-bottom: 18px;
}

.site-footer .footer-address-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-border-medium, #CBD5E1);
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}

.site-footer .footer-address-item:hover {
    color: var(--color-text-inverse, #FFFFFF);
}

.site-footer .footer-address-item i {
    color: var(--color-brand-red, #E32128);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Redes Sociales Columna 1 */
.site-footer .footer-social-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--color-border-subtle, #E2E8F0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.site-footer .footer-social-btn:hover {
    background: var(--color-brand-red, #E32128);
    border-color: var(--color-brand-red, #E32128);
    color: var(--color-text-inverse, #FFFFFF);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(227, 33, 40, 0.35);
}

/* ==========================================================================
   COLUMNA 2: SERVICIOS Y NAVEGACIÓN
   ========================================================================== */
.site-footer .footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.site-footer .footer-nav-link {
    font-size: 0.875rem; /* 14px */
    color: var(--color-border-medium, #CBD5E1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.site-footer .footer-nav-link i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.2s ease, color 0.2s ease;
}

.site-footer .footer-nav-link:hover {
    color: var(--color-text-inverse, #FFFFFF);
    transform: translateX(4px);
}

.site-footer .footer-nav-link:hover i {
    color: var(--color-brand-red, #E32128);
}

.site-footer .footer-tag-new {
    background: var(--color-brand-red, #E32128);
    color: var(--color-text-inverse, #FFFFFF);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ==========================================================================
   COLUMNA 3: ATENCIÓN, CONTACTO Y HORARIOS
   ========================================================================== */
.site-footer .footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.site-footer .footer-contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.site-footer .footer-contact-row:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.site-footer .footer-contact-info {
    display: flex;
    flex-direction: column;
}

.site-footer .footer-contact-role {
    font-size: 0.6875rem;
    color: var(--color-text-muted, #94A3B8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.site-footer .footer-contact-tel {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-inverse, #FFFFFF);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .footer-contact-tel:hover {
    color: var(--color-brand-red, #E32128);
}

.site-footer .footer-contact-btn-wa {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #25D366;
    color: var(--color-text-inverse, #FFFFFF);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.site-footer .footer-contact-btn-wa:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
    color: var(--color-text-inverse, #FFFFFF);
}

/* Tarjeta de Horarios de Atención */
.site-footer .footer-hours-card {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 14px;
}

.site-footer .footer-hours-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-inverse, #FFFFFF);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.site-footer .footer-hours-header i {
    color: var(--color-status-warning, #F59E0B);
    font-size: 0.875rem;
}

.site-footer .footer-hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer .footer-hours-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-footer .footer-hours-channel {
    font-size: 0.6875rem;
    color: var(--color-text-muted, #94A3B8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.site-footer .footer-hours-schedule,
.site-footer .footer-hours-item strong {
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--color-text-inverse, #FFFFFF);
    font-weight: 600;
}

/* ==========================================================================
   COLUMNA 4: RESPALDO Y REGULACIÓN (HOMOLOGADOS + RECLAMACIONES)
   ========================================================================== */
.site-footer .footer-homologados-card {
    background: var(--color-surface-card, #FFFFFF);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 16px 14px;
    margin-bottom: 18px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer .footer-homologados-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.site-footer .footer-homologados-img {
    max-width: 100%;
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Badge del Libro de Reclamaciones */
.site-footer .footer-reclamaciones-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer .footer-reclamaciones-badge {
    display: block;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 8px;
}

.site-footer .footer-reclamaciones-badge:hover {
    transform: translateY(-2px);
}

.site-footer .footer-reclamaciones-badge img {
    max-width: 100%;
    width: 236px;
    height: auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
}

.site-footer .footer-reclamaciones-sublink {
    font-size: 0.75rem;
    color: var(--color-text-muted, #94A3B8);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.site-footer .footer-reclamaciones-sublink:hover {
    color: var(--color-text-inverse, #FFFFFF);
}

/* ==========================================================================
   SUB-FOOTER (COPYRIGHT & ENLACES LEGALES)
   ========================================================================== */
.site-subfooter {
    background-color: var(--color-surface-dark-ground, #000F21);
    border-top: 1px solid var(--color-border-glass, rgba(255, 255, 255, 0.08));
    padding: 20px 0;
    font-size: 0.8125rem;
    color: var(--color-text-muted, #64748B);
}

.site-subfooter .subfooter-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.site-subfooter .subfooter-copyright {
    margin: 0;
    color: var(--color-text-muted, #94A3B8);
}

.site-subfooter .subfooter-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-subfooter .subfooter-link {
    color: var(--color-text-muted, #94A3B8);
    text-decoration: none;
    font-size: 0.7813rem;
    transition: color 0.2s ease;
}

.site-subfooter .subfooter-link:hover {
    color: var(--color-text-inverse, #FFFFFF);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOOTER
   ========================================================================== */
@media (max-width: 1199.98px) {
    .site-footer .footer-grid {
        grid-template-columns: 1.2fr 0.9fr 1.2fr 1.1fr;
        gap: 30px;
    }
}

@media (max-width: 991.98px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    .site-footer .footer-main {
        padding: 50px 0 36px;
    }
}

@media (max-width: 640px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .site-subfooter .subfooter-container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .site-subfooter .subfooter-links {
        justify-content: center;
        gap: 12px;
    }
}
