/**
 * Footer — CTA band (shared component) → 4-column grid → bottom bar
 */

/* ── Shared ──────────────────────────────────────────────────────────────── */

#ba-footer {
    --footer-bg:       var(--color-header);     /* deep ocean navy */
    --footer-deep:     var(--color-dark-deep);  /* deeper navy — bottom bar */
    --footer-text:     rgba(255,255,255,0.65);
    --footer-heading:  rgba(255,255,255,0.95);
    --footer-link:     rgba(255,255,255,0.65);
    --footer-link-hov: var(--color-primary);
    --footer-divider:  rgba(255,255,255,0.08);
}

/* ── Main footer area ────────────────────────────────────────────────────── */

#ba-footer-main {
    /* Subtle vertical gradient — flat charcoal reads dead, this adds depth
       and blends into the deeper bottom bar */
    background: linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-deep) 100%);
    color: var(--footer-text);
    padding: 4rem 0 3rem;
}

/* ── Grid layout ─────────────────────────────────────────────────────────── */

.ba-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 2.5rem 3rem;
    align-items: start;
}

@media (max-width: 991.98px) {
    .ba-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
    }
    .ba-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
    .ba-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .ba-footer-brand { grid-column: auto; }
}

/* ── Brand column ────────────────────────────────────────────────────────── */

.ba-footer-brand__logo {
    display: inline-block;
    margin-bottom: 1rem;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.ba-footer-brand__logo:hover { opacity: 1; }

.ba-footer-brand__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--footer-heading);
    margin-bottom: 0.2rem;
    letter-spacing: 0.01em;
}

.ba-footer-brand__tagline {
    font-size: 0.75rem;
    color: var(--footer-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

/* Social icons */

.ba-footer-social__label {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--footer-text);
    margin-bottom: 0.6rem;
}

.ba-footer-social__icons {
    display: flex;
    gap: 0.5rem;
}

.ba-footer-social__icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.65);
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.ba-footer-social__icons a:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Nav columns ─────────────────────────────────────────────────────────── */

.ba-footer-nav__heading {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--footer-heading);
    margin-bottom: 1rem;
}

.ba-footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ba-footer-nav ul li a {
    font-size: 0.875rem;
    color: var(--footer-link);
    text-decoration: none;
    transition: color 0.18s, padding-left 0.18s;
    display: inline-block;
    padding: 0.1rem 0;
}

.ba-footer-nav ul li a:hover {
    color: var(--footer-link-hov);
    padding-left: 3px;
}

/* ── Contact column ──────────────────────────────────────────────────────── */

.ba-footer-contact__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.ba-footer-contact__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: var(--footer-text);
    line-height: 1.45;
}

.ba-footer-contact__list li .bi {
    font-size: 1rem;
    color: var(--color-primary);
    flex-shrink: 0;
    line-height: 1.45;
}

.ba-footer-contact__list li a {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--footer-link);
    text-decoration: none;
    transition: color 0.18s;
}

.ba-footer-contact__list li a:hover {
    color: var(--footer-link-hov);
}

/* WhatsApp — the preferred channel, visually first-class */
.ba-footer-contact__whatsapp .bi {
    color: #25D366;
}

.ba-footer-contact__whatsapp strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--footer-heading);
    margin-bottom: 0.1rem;
}

.ba-footer-contact__whatsapp:hover strong {
    color: var(--footer-link-hov);
}

/* ── Bottom bar ──────────────────────────────────────────────────────────── */

#ba-footerbar {
    background: var(--footer-deep);
    padding: 0.85rem 0;
}

#ba-footerbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#ba-footerbar a:hover {
    color: var(--color-primary);
}

/* ── WhatsApp floating button ─────────────────────────────────────────── */

.ba-whatsapp-float {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 950;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    touch-action: manipulation;
    transition: box-shadow 0.2s, transform 0.2s;
}
.ba-whatsapp-float:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    transform: scale(1.05);
    color: #fff;
}
.ba-whatsapp-float:active {
    transform: scale(0.95);
}
