/* =========================================================
   FOOTER - La Alianza Apopa
   Prefijo "aa-" para no chocar con Bootstrap
========================================================= */

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

.aa-footer {
    background: #121212;
    color: rgba(255, 255, 255, 0.75);
    font-family: "Avenir Next", "Poppins", Helvetica, Arial, sans-serif;
    padding: 70px 0 0;
}

.aa-footer-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 30px;
    padding-bottom: 50px;
}

.aa-footer-col {
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.aa-footer-col:first-child {
    padding-left: 0;
    border-left: none;
}

/* =========================
   COLUMNA LOGO / DESCRIPCIÓN
========================= */
.aa-footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    margin-bottom: 22px;
}

.aa-footer-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.aa-footer-logo-text {
    color: white;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.aa-footer-logo-text strong {
    font-weight: 800;
}

.aa-footer-desc {
    font-size: 15px;
    line-height: 1.7;
    max-width: 380px;
    margin-bottom: 16px;
}

.aa-footer-underline {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--aa-primary);
    margin-bottom: 22px;
}

.aa-footer-social {
    display: flex;
    gap: 14px;
}

.aa-footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    text-decoration: none;
    transition: .3s;
}

.aa-footer-social a:hover {
    background: var(--aa-primary);
    border-color: var(--aa-primary);
    transform: translateY(-3px);
}

/* =========================
   TÍTULOS DE COLUMNA
========================= */
.aa-footer-title {
    color: white;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-bottom: 12px;
    position: relative;
}

.aa-footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--aa-primary);
}

.aa-footer-col > .aa-footer-title {
    margin-top: 0;
}

/* =========================
   ENLACES RÁPIDOS
========================= */
.aa-footer-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 8px;
    margin: 14px 0 0;
    padding: 0;
}

.aa-footer-list li {
    margin-bottom: 0;
}

.aa-footer-list a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: .3s;
}

.aa-footer-list a i {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.aa-footer-list a:hover {
    color: white;
    padding-left: 4px;
}

.aa-footer-nav-group {
    min-width: 0;
}

.aa-footer-nav-group details {
    position: relative;
}

.aa-footer-nav-group summary {
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    list-style: none;
}

.aa-footer-nav-group summary::-webkit-details-marker {
    display: none;
}

.aa-footer-nav-group summary i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    transition: transform .2s ease;
}

.aa-footer-nav-group details[open] summary i {
    transform: rotate(90deg);
}

.aa-footer-nav-group summary:hover {
    color: white;
}

.aa-footer-nav-group details ul {
    display: grid;
    gap: 6px;
    list-style: none;
    margin: 8px 0 0 18px;
    padding: 0;
}

.aa-footer-nav-group details ul a {
    display: block;
    font-size: 13px;
    line-height: 1.35;
}

/* =========================
   HORARIOS
========================= */
.aa-footer-schedule {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.aa-footer-schedule li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.aa-footer-schedule li i {
    color: white;
    font-size: 17px;
    margin-top: 3px;
}

.aa-footer-schedule li strong {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 3px;
}

.aa-footer-schedule li span {
    display: block;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
}

.aa-footer-schedule li strong.aa-footer-schedule-day {
    color: rgba(255, 255, 255, 0.6);
}

/* =========================
   CONTÁCTANOS
========================= */
.aa-footer-contact {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.aa-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14.5px;
    line-height: 1.5;
}

.aa-footer-contact li i {
    color: white;
    font-size: 16px;
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.aa-footer-contact li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.aa-footer-contact li a:hover {
    color: white;
}

/* =========================
   VERSÍCULO
========================= */
.aa-footer-quote-icon {
    color: rgba(255, 255, 255, 0.3);
    font-size: 26px;
    margin: 22px 0 12px;
    display: block;
}

.aa-footer-verse-text {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    color: white;
    margin-bottom: 12px;
}

.aa-footer-verse-ref {
    color: var(--aa-primary);
    font-weight: 800;
    font-size: 15px;
}

/* =========================
   BARRA INFERIOR
========================= */
.aa-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 26px 0;
}

.aa-footer-bottom-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.aa-footer-bottom-inner .aa-footer-made {
    display: flex;
    align-items: center;
    gap: 6px;
}

.aa-footer-divider {
    color: rgba(255, 255, 255, 0.25);
}

.aa-footer-bottom i.fa-heart {
    color: var(--aa-primary);
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
    .aa-footer-inner {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }
    .aa-footer-col:nth-child(odd) {
        border-left: none;
        padding-left: 0;
    }
    .aa-footer-col:first-child {
        grid-column: 1 / -1;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 700px) {
    .aa-footer {
        padding-top: 50px;
    }
    .aa-footer-inner {
        grid-template-columns: 1fr;
        row-gap: 36px;
        gap: 0;
    }
    .aa-footer-col {
        border-left: none !important;
        padding-left: 0 !important;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .aa-footer-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .aa-footer-desc {
        max-width: 100%;
    }
    .aa-footer-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 8px;
        margin-top: 16px;
    }
    .aa-footer-list li {
        margin-bottom: 0;
    }
    .aa-footer-list a {
        gap: 7px;
        font-size: 14px;
        line-height: 1.35;
    }
    .aa-footer-bottom-inner {
        font-size: 13px;
    }
    .aa-footer-divider {
        display: none;
    }
}

/* Columnas independientes: desplegar Nosotros no mueve la columna izquierda. */
.aa-footer-links-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
    margin-top: 14px;
}
.aa-footer-links-columns > .aa-footer-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
}
.aa-footer-links-columns > .aa-footer-list > li {
    margin: 0;
}
