/**
 * Estilos para el Footer Premium de Mandy3D
 */

:root {
    --footer-bg: #0B0F19; /* Fondo oscuro elegante */
    --footer-text: #94A3B8;
    --footer-heading: #F8FAFC;
    --footer-border: rgba(255, 255, 255, 0.05);
    --brand-orange: #FF5722;
}

.mandy3d-modern-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    font-family: 'Inter', -apple-system, sans-serif;
    margin-top: 80px; /* Separación del contenido principal */
}

.footer-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* --- TRUST BADGES (Banda Superior) --- */
.footer-trust-badges {
    background: linear-gradient(90deg, #161D2D 0%, #1A2235 100%);
    padding: 25px 0;
    border-bottom: 1px solid var(--footer-border);
}

.trust-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    font-size: 1.5rem;
}

.trust-text {
    color: #E2E8F0;
    font-weight: 600;
    font-size: 0.95rem;
}

/* --- MAIN FOOTER --- */
.footer-main {
    padding: 80px 0;
}

.footer-main .footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

/* Logo y Descripción */
.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    display: block;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.footer-logo .orange-dot {
    color: var(--brand-orange);
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Redes Sociales Círculos */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid var(--footer-border);
}

.footer-social a:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    transform: translateY(-3px);
}

/* Columnas de Enlaces */
.footer-col h4 {
    color: var(--footer-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--brand-orange);
}

.links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.links-col ul li a:hover {
    color: var(--brand-orange);
    transform: translateX(5px); /* Pequeño movimiento al hacer hover */
}

/* Columna de Contacto */
.contact-col p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-contact-link {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--brand-orange);
}

.footer-btn-whatsapp {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: #fff;
    border: 2px solid var(--brand-orange);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-btn-whatsapp:hover {
    background: var(--brand-orange);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

/* --- FOOTER BOTTOM (Copyright) --- */
.footer-bottom {
    background: #06090F; /* Un tono aún más oscuro para cerrar */
    padding: 20px 0;
    border-top: 1px solid var(--footer-border);
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
}

/* Enlace a tu empresa de desarrollo */
.developer-credit a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: var(--brand-orange);
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .footer-main .footer-container {
        grid-template-columns: 1fr 1fr; /* 2 columnas en tablets */
    }
    
    .trust-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-main .footer-container {
        grid-template-columns: 1fr; /* 1 columna en móviles */
        gap: 40px;
    }
    
    .footer-bottom .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   ELIMINAR ESPACIO ENTRE FRONT-PAGE Y FOOTER
   ========================================= */

/* 1. Eliminar márgenes inferiores que Astra añade al contenido principal */
.mandy3d-home-main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 2. Forzar al footer a subir si hay espacios residuales */
.mandy3d-modern-footer {
    margin-top: 0 !important;
}

/* 3. Ajuste específico para eliminar cualquier padding de Astra en la parte inferior */
.site-content, 
.ast-container, 
#primary, 
#page {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}