/**
 * CODILOGIC - BALA | Footer global v1.2.0.
 * Estilo aislado: no se modifica el CSS de Elementor ni de WooCommerce.
 * @author Codilogic
 */

.bala-footer,
.bala-footer * { box-sizing: border-box; }

.bala-footer {
    position: relative;
    background:
        radial-gradient(ellipse 45% 120% at 100% 20%, rgba(222, 25, 35, .075), transparent 70%),
        #09090b;
    color: #f5f3f0;
    border-top: 1px solid #36363a;
    font-family: inherit;
    overflow: hidden;
}

.bala-footer__top-line {
    width: min(100%, 1340px);
    height: 3px;
    margin: 0 auto;
    background: linear-gradient(90deg, #ed1c24 0%, #ed1c24 23%, transparent 23%);
}

.bala-footer__container {
    max-width: 1340px;
    width: calc(100% - 48px);
    margin: 0 auto;
}

.bala-footer__grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr));
    gap: clamp(28px, 4vw, 65px);
    padding: 65px 0 55px;
    align-items: start;
}

.bala-footer__column { min-width: 0; }
.bala-footer__brand-link { display: inline-flex; align-items: center; text-decoration: none; }
.bala-footer__logo { display: block; width: auto; height: auto; max-width: 175px; max-height: 66px; object-fit: contain; }
.bala-footer__logo-text { font: 900 48px/1 Impact, 'Arial Black', sans-serif; color: #fff; letter-spacing: -.035em; }
.bala-footer__tagline {
    color: #fff;
    margin: 20px 0 9px;
    font: 800 14px/1.5 'Arial Black', Impact, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.bala-footer__description { margin: 0 0 18px; color: #b5b5ba; font-size: 14px; line-height: 1.65; }
.bala-footer__official-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff454c;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .03em;
}
.bala-footer__official-link:hover { color: #fff; }

.bala-footer__heading {
    position: relative;
    font: 900 21px/1.2 Impact, 'Arial Black', sans-serif;
    letter-spacing: .045em;
    color: #fff;
    text-transform: uppercase;
    margin: 4px 0 26px;
    padding-bottom: 15px;
}
.bala-footer__heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 42px; height: 3px; background: #ed1c24; }
.bala-footer__links, .bala-footer__links li { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.bala-footer__links { display: flex; flex-direction: column; gap: 13px; }
.bala-footer__links a {
    color: #b9b9bf;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease;
}
.bala-footer__links a:hover, .bala-footer__links a:focus-visible { color: #ff454c; }
.bala-footer a:focus-visible { outline: 2px solid #f5f3f0; outline-offset: 4px; }
.bala-footer__social span { color: #ed1c24; font-size: 13px; }
.bala-footer__social-note { color: #b9b9bf; font-size: 14px; line-height: 1.55; margin: 0 0 12px; }

.bala-footer__bottom {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding: 19px 0 24px;
    border-top: 1px solid #303034;
}
.bala-footer__bottom p { margin: 0; color: #919198; font-size: 12px; line-height: 1.65; }
.bala-footer__credit a { color: #d6d6dc; text-decoration: none; font-weight: 700; }
.bala-footer__credit a:hover { color: #ed1c24; }

@media (max-width: 1024px) {
    .bala-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 32px; padding: 50px 0 48px; }
}
@media (max-width: 600px) {
    .bala-footer__container { width: calc(100% - 36px); }
    .bala-footer__grid { grid-template-columns: 1fr; gap: 30px; padding: 42px 0 40px; }
    .bala-footer__heading { margin-bottom: 17px; }
    .bala-footer__logo { max-width: 150px; max-height: 55px; }
    .bala-footer__bottom { align-items: flex-start; flex-direction: column; padding: 19px 0 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .bala-footer__links a { transition: none; }
}
