/* ============================================================
   IV TECH LATAM — FOOTER PERSONALIZADO
   Layout: logo + 4 columnas de links + barra inferior
   ============================================================ */

.ivt-footer-custom {
    background-color: var(--theme-palette-color-2, #0a1a33) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.ivt-footer-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 60px clamp(16px, 4vw, 48px) 32px;
    box-sizing: border-box;
}

.ivt-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.ivt-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ivt-footer-logo-link {
    display: inline-block;
}

.ivt-footer-logo {
    max-height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.ivt-footer-site-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.ivt-footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 280px;
}

.ivt-footer-contact {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
}

.ivt-footer-contact a {
    color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.ivt-footer-contact a:hover {
    color: var(--theme-palette-color-1, #00d4ff) !important;
}

.ivt-footer-col {
    display: flex;
    flex-direction: column;
}

.ivt-footer-col-title {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: none !important;
}

.ivt-footer-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ivt-footer-links li {
    margin: 0 !important;
    padding: 0 !important;
}

.ivt-footer-links a {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
    line-height: 1.4 !important;
}

.ivt-footer-links a:hover {
    color: var(--theme-palette-color-1, #00d4ff) !important;
}

.ivt-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ivt-footer-copy {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin: 0 !important;
}

.ivt-footer-legal-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.ivt-footer-legal-links a {
    color: rgba(255, 255, 255, 0.4) !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.ivt-footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.ivt-footer-legal-links span {
    color: rgba(255, 255, 255, 0.2) !important;
}

@media (max-width: 900px) {
    .ivt-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .ivt-footer-brand {
        grid-column: 1 / -1;
    }
    .ivt-footer-tagline {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    /* Marca: ancho completo; links: 2 columnas */
    .ivt-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
    }

    .ivt-footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 4px;
    }

    .ivt-footer-inner {
        padding: 36px clamp(16px, 5vw, 24px) 20px;
    }

    .ivt-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ivt-footer-links a {
        font-size: 13px !important;
    }

    .ivt-footer-col-title {
        font-size: 10px !important;
        margin-bottom: 12px !important;
    }

    .ivt-footer-links {
        gap: 8px;
    }

    .ivt-footer-tagline {
        font-size: 13px;
    }

    .ivt-footer-contact {
        font-size: 12px;
    }
}