/**
 * Footer consolidado - Optimizado
 * Combina footer-styles.css + footer-modern.css
 *
 * @package eSaicoWC
 * @version 3.0
 */

/* =================================================================
   RESET Y BASE
   ================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =================================================================
   FOOTER PRINCIPAL
   ================================================================= */

.site-footer,
.footer {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #34495e 100%);
    color: #ecf0f1;
    padding: 60px 0 30px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

/* Decorative top border gradient */
.site-footer::before,
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary, #0b996e) 0%, #3498db 25%, var(--color-secondary, #8c52ff) 50%, #e74c3c 75%, var(--color-primary, #0b996e) 100%);
    background-size: 200% 100%;
    animation: gradientShift 8s ease-in-out infinite;
}

/* Background overlay effects */
.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(155, 89, 182, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* =================================================================
   CONTENEDOR PRINCIPAL
   ================================================================= */

.site-footer .esaico-container,
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 0;
    box-sizing: border-box;
}

.site-footer .esaico-container {
    padding: 0 20px;
}

/* =================================================================
   LAYOUT DE WIDGETS
   ================================================================= */

.footer-widgets {
    margin-bottom: 40px;
}

.footer-widget-area,
.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

/* =================================================================
   WIDGETS Y COLUMNAS
   ================================================================= */

.footer-widget {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    padding: 11px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.footer-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.footer-widget:hover::before {
    left: 100%;
}

.footer-widget:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 0 30px rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.3);
}

/* Brand Section */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
}

.footer-description {
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* =================================================================
   TÍTULOS
   ================================================================= */

.footer-widget h3,
.footer-widget h4,
.footer-widget .widget-title,
.footer-column h3,
.site-footer .widget-title {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(52, 152, 219, 0.6);
}

.footer-widget h3::after,
.footer-widget h4::after,
.footer-widget .widget-title::after,
.footer-column .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #3498db;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.6);
}

/* Widget titles in footer - SEO Optimized */
.footer-column .widget-title,
.footer-column h3:not(.footer-column-title),
.footer-column .widget_nav_menu h3,
.footer-column .widgettitle,
.footer-column div h3,
.footer-column div .widget-title {
    padding: 12px 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(34, 211, 153, 0.04)) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15) !important;
    text-align: center !important;
}

/* =================================================================
   LISTAS Y ENLACES
   ================================================================= */

.footer-widget ul,
.footer-links,
.footer-column .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li,
.footer-links li,
.footer-column .menu li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.footer-widget li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 14px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.footer-widget li:hover::before {
    color: #5dade2;
    transform: scale(1.2) rotate(45deg);
    text-shadow: 0 0 15px rgba(52, 152, 219, 0.8);
}

/* Footer Links - Consolidated styling */
.footer-widget a,
.footer-links a,
.footer-column .menu a,
.site-footer .widget a {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 15px;
    line-height: 1.7;
    position: relative;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-links a,
.footer-column .menu a {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 4px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    margin: 4px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-widget a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #5dade2);
    transition: width 0.4s ease;
}

.footer-widget a:hover,
.footer-links a:hover,
.footer-column .menu a:hover,
.site-footer .widget a:hover {
    color: #5dade2 !important;
    transform: translateX(8px);
    text-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

.footer-links a:hover,
.footer-column .menu a:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.footer-widget a:hover::after {
    width: 100%;
}

.footer-widget p {
    color: #d5dbdb;
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* =================================================================
   WIDGET OVERRIDES ESPECÍFICOS
   ================================================================= */

.site-footer .widget {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ecf0f1 !important;
}

.site-footer .widget p,
.site-footer .widget li,
.site-footer .widget span,
.site-footer .widget div {
    color: #bdc3c7 !important;
}

.site-footer .esaico-widget-product {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ecf0f1 !important;
}

.site-footer .esaico-widget-product-title {
    color: #ecf0f1 !important;
}

.site-footer .esaico-widget-product-content {
    color: #bdc3c7 !important;
}

.site-footer .esaico-widget-product-button {
    background: var(--color-primary, #0b996e) !important;
    color: white !important;
    border: none !important;
}

.site-footer .esaico-widget-product-button:hover {
    background: var(--color-primary-dark, #087a56) !important;
    color: white !important;
}

.site-footer .widget * {
    color: inherit !important;
}

/* Fix white text on white background */
.site-footer .widget [style*="color: white"],
.site-footer .widget [style*="color:#fff"],
.site-footer .widget [style*="color: #fff"] {
    color: #ecf0f1 !important;
}

.site-footer .widget [style*="background: white"],
.site-footer .widget [style*="background:#fff"],
.site-footer .widget [style*="background: #fff"] {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* =================================================================
   ÍCONOS - RESET COMPLETO
   ================================================================= */

.site-footer .widget i,
.site-footer .widget svg,
.site-footer .widget .fa,
.site-footer .widget .fas,
.site-footer .widget .far,
.site-footer .widget .fab,
.site-footer .widget [class*="icon"],
.site-footer .widget .dashicons,
.site-footer .widget .menu-item-icon,
.site-footer .widget .nav-icon,
.site-footer .widget .wp-block-social-link,
.site-footer .widget .wp-block-social-link svg {
    color: inherit !important;
    fill: currentColor !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.site-footer .widget svg {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.site-footer .widget .fa,
.site-footer .widget .fas,
.site-footer .widget .far,
.site-footer .widget .fab,
.site-footer .widget .fal,
.site-footer .widget .fad,
.site-footer .widget .dashicons,
.site-footer .widget .menu-icon,
.site-footer .widget .nav-menu-icon {
    font-family: "Font Awesome 5 Free", "FontAwesome", "Font Awesome 5 Brands", "Dashicons" !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    speak: none !important;
}

.site-footer .widget_nav_menu .menu-item a::before,
.site-footer .widget_nav_menu .menu-item a i,
.site-footer .widget_nav_menu .menu-item a svg,
.site-footer .widget_nav_menu .menu-item .fa,
.site-footer .widget_nav_menu .menu-item .dashicons {
    margin-right: 8px !important;
}

.site-footer .widget_nav_menu .menu-item {
    position: relative !important;
}

.site-footer .widget_nav_menu .menu-item a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.site-footer .widget i[style],
.site-footer .widget svg[style],
.site-footer .widget .fa[style] {
    all: revert !important;
    color: inherit !important;
    fill: currentColor !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* =================================================================
   SOCIAL LINKS
   ================================================================= */

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #10b981;
    border-color: #10b981;
    color: white;
    transform: translateY(-2px);
}

/* =================================================================
   NEWSLETTER
   ================================================================= */

.newsletter {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.newsletter h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.newsletter p {
    color: #cbd5e1;
    margin-bottom: 20px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-input:focus {
    border-color: #10b981;
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* =================================================================
   SITE INFO & FOOTER BOTTOM
   ================================================================= */

.site-info {
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    padding-top: 40px;
    margin-top: 30px;
    position: relative;
    backdrop-filter: blur(5px);
}

.site-info::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, #5dade2, #3498db, transparent);
    animation: borderFlow 3s ease-in-out infinite;
}

@keyframes borderFlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.footer-left,
.footer-right {
    flex: 1;
    min-width: 280px;
    position: relative;
}

.footer-right {
    text-align: right;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* =================================================================
   FOOTER MENU
   ================================================================= */

.footer-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0 0 20px 0;
    padding: 0;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-menu li {
    margin: 0;
    position: relative;
}

.footer-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 12px 18px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.4), transparent);
    transition: left 0.5s ease;
}

.footer-menu a:hover,
.footer-menu a:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #3498db, #5dade2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    border-color: #3498db;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.footer-menu a:hover::before,
.footer-menu a:focus::before {
    left: 100%;
}

.footer-menu a:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* =================================================================
   FOOTER LEGAL
   ================================================================= */

.footer-legal,
.footer-legal-widget {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-legal-widget {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.footer-legal-widget ul,
.footer-legal-widget li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.footer-legal-widget li {
    margin-right: 16px;
}

.footer-legal-widget li:last-child {
    margin-right: 0;
}

.footer-legal a,
.footer-legal-widget a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    display: inline-block;
    white-space: nowrap;
}

.footer-legal a:hover,
.footer-legal-widget a:hover {
    color: #ffffff;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
    text-decoration: underline;
}

.footer-legal a:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* =================================================================
   POWERED BY
   ================================================================= */

.powered-by {
    font-size: 14px;
    margin: 0;
    color: #bdc3c7;
    line-height: 1.6;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.powered-by a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.powered-by a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #5dade2);
    transition: width 0.3s ease;
}

.powered-by a:hover {
    color: #5dade2;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.powered-by a:hover::after {
    width: 100%;
}

/* =================================================================
   BACK TO TOP BUTTON
   ================================================================= */

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
}

/* =================================================================
   WORDPRESS SPECIFIC
   ================================================================= */

.wp-block-group {
    margin: 0;
}

.wp-block-columns {
    margin: 0;
}

/* =================================================================
   ANIMATIONS
   ================================================================= */

.footer-widget,
.footer-menu a,
.footer-widget a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-menu a[href^="#"] {
    scroll-behavior: smooth;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-main > * {
    animation: fadeInUp 0.6s ease-out forwards;
}

.footer-main > *:nth-child(2) { animation-delay: 0.1s; }
.footer-main > *:nth-child(3) { animation-delay: 0.2s; }
.footer-main > *:nth-child(4) { animation-delay: 0.3s; }

/* =================================================================
   ACCESIBILIDAD
   ================================================================= */

.footer-widget a:focus,
.footer-menu a:focus {
    outline: 3px solid #3498db;
    outline-offset: 3px;
    border-radius: 6px;
    box-shadow: 0 0 0 1px #ffffff, 0 0 0 4px rgba(52, 152, 219, 0.3);
}

/* High contrast support */
@media (prefers-contrast: high) {
    .footer,
    .site-footer {
        background: #000000;
    }

    .footer-description,
    .footer-links a,
    .newsletter p {
        color: #ffffff;
    }

    .footer-menu a {
        background: #ffffff !important;
        color: #000000 !important;
        border: 2px solid #000000 !important;
    }

    .footer-menu a:hover,
    .footer-menu a:focus {
        background: #000000 !important;
        color: #ffffff !important;
        border-color: #ffffff !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .footer-menu a {
        transition: none;
    }

    .footer-menu a::before {
        display: none;
    }

    .footer-menu a:hover {
        transform: none;
    }
}

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */

/* Tablets */
@media (max-width: 1024px) {
    .site-footer .esaico-container {
        padding: 0 15px;
    }

    .footer-widget-area {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .footer-widget {
        padding: 20px;
    }

    .footer-main {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 40px;
    }

    .newsletter {
        grid-column: span 3;
        max-width: 400px;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .site-footer,
    .footer {
        padding: 40px 0 20px;
    }

    .site-footer .esaico-container,
    .footer-container {
        padding: 40px 20px 0;
    }

    .footer-widget-area {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-widget {
        padding: 20px 15px;
        text-align: center;
    }

    .footer-widget h3::after,
    .footer-widget h4::after,
    .footer-widget .widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-widget h3,
    .footer-widget h4,
    .footer-widget .widget-title {
        color: #ffffff !important;
        background: none !important;
        -webkit-background-clip: initial !important;
        -webkit-text-fill-color: initial !important;
        background-clip: initial !important;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-left,
    .footer-right {
        flex: none;
        width: 100%;
        min-width: auto;
    }

    .footer-right {
        text-align: center;
    }

    .footer-menu {
        justify-content: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .footer-menu a {
        font-size: 13px;
        padding: 10px 14px;
        border-width: 1px;
        background: rgba(255, 255, 255, 0.1);
    }

    /* Mobile Layout - Vertical Stack */
    .footer-main {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }

    .footer-brand {
        order: 1;
        max-width: none;
        text-align: center;
    }

    .footer-column:nth-child(2) { order: 2; }
    .footer-column:nth-child(3) { order: 3; }

    .newsletter {
        order: 4;
        max-width: none;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .newsletter-btn {
        align-self: stretch;
    }

    .footer-bottom {
        order: 5;
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-links {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-legal-widget {
        justify-content: center;
        gap: 12px;
    }

    .footer-legal-widget li {
        margin-right: 12px;
        margin-bottom: 8px;
    }

    .footer-legal-widget a {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .site-footer,
    .footer {
        padding: 30px 0 15px;
        margin-top: 0;
    }

    .site-footer .esaico-container,
    .footer-container {
        padding: 32px 16px 0;
    }

    .footer-widget {
        padding: 15px 10px;
        margin-bottom: 20px;
    }

    .footer-widget h3,
    .footer-widget h4,
    .footer-widget .widget-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-widget a,
    .footer-widget p {
        font-size: 13px;
    }

    .footer-menu {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .footer-menu a {
        font-size: 12px;
        padding: 8px 12px;
        width: 100%;
        max-width: 200px;
        text-align: center;
        background: rgba(255, 255, 255, 0.12);
        border-width: 1px;
    }

    .powered-by {
        font-size: 11px;
        text-align: center;
    }

    .site-info {
        padding-top: 20px;
    }

    .footer-main {
        gap: 24px;
    }

    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }

    .footer-legal-widget {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-legal-widget li {
        margin-right: 0;
        margin-bottom: 4px;
    }

    .footer-legal-widget a {
        font-size: 0.75rem;
        padding: 5px 8px;
    }
}

/* =================================================================
   PRINT STYLES
   ================================================================= */

@media print {
    .site-footer,
    .footer {
        background: none !important;
        color: #000 !important;
        box-shadow: none !important;
    }

    .footer-widget {
        background: none !important;
        border: 1px solid #ccc !important;
    }
}
