/* ============================================ */
/* FOOTER PREMIUM - ESTILO APPLE                 */
/* ============================================ */

:root {
    /* Modo Claro */
    --footer-bg: #f5f5f7;
    --footer-border: #eaeaea;
    --footer-text-primary: #1d1d1f;
    --footer-text-secondary: #515154;
    --footer-text-tertiary: #6e6e73;
    --footer-text-muted: #8e8e93;
    --footer-badge-bg: #ffffff;
    --footer-badge-border: #eaeaea;
    --footer-social-bg: #ffffff;
    --footer-social-border: #eaeaea;
    --footer-social-hover: #0066cc;
    --footer-link-hover: #0066cc;
    --footer-payment-icon: #515154;
    --footer-version-bg: #eaeaea;
    --footer-separator: #c6c6c8;
}

/* Modo Oscuro */
[data-theme="dark"] {
    --footer-bg: #1a1a1d;
    --footer-border: #2c2c30;
    --footer-text-primary: #f5f5f7;
    --footer-text-secondary: #aeaeb2;
    --footer-text-tertiary: #8e8e93;
    --footer-text-muted: #6e6e73;
    --footer-badge-bg: #2c2c30;
    --footer-badge-border: #3a3a3e;
    --footer-social-bg: #2c2c30;
    --footer-social-border: #3a3a3e;
    --footer-social-hover: #0a84ff;
    --footer-link-hover: #0a84ff;
    --footer-payment-icon: #8e8e93;
    --footer-version-bg: #2c2c30;
    --footer-separator: #3a3a3e;
}

.footer-premium {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    padding: 3rem 1.5rem 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--footer-text-primary);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Grid principal */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem 1.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-contacto {
        grid-column: 1 / -1;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Columnas */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Marca */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    filter: var(--logo-filter, none);
}

.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--footer-text-primary);
    letter-spacing: -0.02em;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--footer-text-secondary);
    line-height: 1.5;
    margin: 0 0 0.8rem;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    background: var(--footer-badge-bg);
    border: 1px solid var(--footer-badge-border);
    border-radius: 30px;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    color: var(--footer-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.badge i {
    font-size: 0.6rem;
    color: var(--footer-link-hover);
}

/* Títulos */
.footer-titulo {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--footer-text-tertiary);
    margin: 0 0 0.5rem;
}

/* Listas de enlaces */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links li a {
    color: var(--footer-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links li a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Contacto */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--footer-text-secondary);
}

.footer-contact-list li i {
    width: 1rem;
    color: var(--footer-text-tertiary);
    font-size: 0.9rem;
}

.footer-contact-list li a {
    color: var(--footer-text-secondary);
    text-decoration: none;
}

.footer-contact-list li a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
}

.social-link {
    width: 36px;
    height: 36px;
    background: var(--footer-social-bg);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text-secondary);
    text-decoration: none;
    border: 1px solid var(--footer-social-border);
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--footer-social-hover);
    color: white;
    border-color: var(--footer-social-hover);
    transform: translateY(-2px);
}

/* Fila de pago */
.footer-payment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--footer-border);
    border-bottom: 1px solid var(--footer-border);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
    transition: border-color 0.3s ease;
}

@media (max-width: 600px) {
    .footer-payment {
        flex-direction: column;
        align-items: flex-start;
    }
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-label {
    font-size: 0.8rem;
    color: var(--footer-text-tertiary);
    font-weight: 500;
}

.payment-methods i {
    font-size: 1.8rem;
    color: var(--footer-payment-icon);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.payment-methods i:hover {
    opacity: 1;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--footer-badge-bg);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    border: 1px solid var(--footer-badge-border);
    font-size: 0.8rem;
    color: var(--footer-text-secondary);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.trust-badge i {
    color: #ffb800;
}

/* Fila inferior */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--footer-text-muted);
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 0.8rem;
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-version {
    background: var(--footer-version-bg);
    padding: 0.1rem 0.4rem;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--footer-text-secondary);
    transition: background-color 0.3s ease;
}

.footer-legal-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer-legal-links a {
    color: var(--footer-text-muted);
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}

.separator {
    color: var(--footer-separator);
    font-size: 0.7rem;
}

.footer-lang {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-lang i {
    font-size: 0.7rem;
}

/* Nota de actualización */
.footer-update-note {
    text-align: center;
    font-size: 0.7rem;
    color: var(--footer-text-muted);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--footer-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: border-color 0.3s ease;
}

.footer-update-note i {
    color: var(--footer-link-hover);
    font-size: 0.6rem;
}

/* Responsive extra */
@media (max-width: 400px) {
    .footer-payment {
        align-items: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
}