/* ═══════════════════════════════════════════════════════════════
   AutoLogic — Cyber Footer & Engineering Telemetry CSS
   ═══════════════════════════════════════════════════════════════ */

.cyber-footer {
    background: radial-gradient(circle at 80% 0%, rgba(37, 99, 235, 0.14), transparent 55%),
                radial-gradient(circle at 12% 100%, rgba(30, 58, 138, 0.24), transparent 50%),
                #060b17;
    color: #cbd5e1;
    position: relative;
    border-top: 1px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 -12px 35px -10px rgba(15, 23, 42, 0.4);
    overflow: hidden;
}

.cyber-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
}

/* ─── Pre-Footer Engineering Trust Strip ──────────────────────── */
.footer-trust-strip {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(11, 17, 32, 0.6);
    backdrop-filter: blur(8px);
    padding: 1.75rem 0;
}

.footer-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.footer-trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.28);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.footer-trust-item:hover .trust-icon-box {
    background: #2563eb;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
}

.trust-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 0.15rem;
}

.trust-desc {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.35;
}

/* ─── Main Footer Body ───────────────────────────────────────── */
.footer-main-body {
    padding: 3.5rem 0 2.5rem;
}

.footer-cyber-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
    gap: 2.75rem;
}

/* Brand Column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.footer-logo-link:hover {
    transform: translateY(-1px);
}

.footer-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.footer-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}

.live-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.footer-brand-desc {
    font-size: 0.85rem;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    max-width: 380px;
}

/* Custom Sourcing Capsule */
.footer-sourcing-capsule {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.15rem;
    width: 100%;
    max-width: 380px;
    margin-bottom: 1.5rem;
    transition: border-color 0.2s ease;
}

.footer-sourcing-capsule:hover {
    border-color: rgba(96, 165, 250, 0.3);
}

.btn-footer-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-footer-whatsapp:hover {
    background: #10b981;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

.btn-footer-whatsapp:hover i {
    color: #ffffff !important;
}

/* Social Row */
.footer-social-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.footer-social-row a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social-row a:hover {
    background: #2563eb;
    border-color: #3b82f6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Link Columns */
.footer-col-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.65rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2.5px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links-list li a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links-list li a i {
    font-size: 0.65rem;
    color: #3b82f6;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.footer-links-list li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-links-list li a:hover i {
    opacity: 1;
    transform: translateX(2px);
}

/* Contact Column */
.footer-contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-pill-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.contact-pill-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(96, 165, 250, 0.2);
}

.contact-pill-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.12);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.contact-pill-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.15rem;
}

.contact-pill-val {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #e2e8f0;
    text-decoration: none;
    line-height: 1.35;
}

a.contact-pill-val:hover {
    color: #38bdf8;
}

.contact-radar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: #38bdf8;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.contact-radar-link:hover {
    gap: 0.6rem;
    color: #60a5fa;
}

/* ─── Bottom Bar ─────────────────────────────────────────────── */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #040810;
    padding: 1.35rem 0;
    font-size: 0.78rem;
    color: #64748b;
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy strong {
    color: #94a3b8;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-legal-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #94a3b8;
}

.dot-sep {
    color: #334155;
    font-size: 0.6rem;
}

/* ─── Responsive Queries ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .footer-cyber-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .cyber-footer {
        padding-bottom: 0;
    }
    .footer-trust-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .footer-cyber-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom-bar {
        padding: 1.15rem 0;
    }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 0.65rem;
    }
    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.35rem 0.6rem;
    }
}
