/* =========================================================
   SÍMBOLOS DEL LOGO - La Alianza Apopa
   Componente compartido (home + /nosotros/nuestra-historia).
   Prefijo "aa-simb-" para no chocar con nada más del sitio.
========================================================= */

.aa-simb-section {
    background: #f9f5f0;
    padding: 60px 0;
}

.aa-simb-label {
    color: var(--aa-primary, #801214);
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: 1.2px;
    text-align: center;
    margin-bottom: 10px;
}

.aa-simb-titulo {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.aa-simb-underline {
    width: 50px;
    height: 3px;
    background: var(--aa-primary, #801214);
    margin: 0 auto 20px;
}

.aa-simb-intro {
    max-width: 640px;
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 auto;
    text-align: center;
}

.aa-simb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}
/* Versión resumida (home, sin el título/intro de arriba): no hace falta
   ese margen extra, la sección ya trae su propio padding. */
.aa-simb-grid-sin-header {
    margin-top: 0;
}

.aa-simb-card {
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 40px 26px 34px;
    border: 1px solid #f0ebe6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}
.aa-simb-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(128, 18, 20, .12);
}

.aa-simb-card-img {
    height: 64px;
    width: auto;
    margin-bottom: 18px;
}

.aa-simb-card h3 {
    color: var(--aa-primary, #801214);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.aa-simb-card-underline {
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background: var(--aa-primary, #801214);
    opacity: .35;
    margin: 0 auto 16px;
}

.aa-simb-card-cita {
    position: relative;
    color: #665f5b;
    font-size: .89rem;
    font-style: italic;
    line-height: 1.65;
    margin: 0 0 12px;
}
.aa-simb-card-cita::before {
    content: "\201C";
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-style: normal;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--aa-primary, #801214);
    opacity: .18;
    margin-bottom: -6px;
}

.aa-simb-card-ref {
    color: var(--aa-primary, #801214);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .3px;
    margin: 0;
}

.aa-simb-vermas-row {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.aa-simb-vermas-btn {
    display: inline-flex;
    align-items: center;
    background: var(--aa-primary, #801214);
    color: #fff;
    padding: 13px 34px;
    border-radius: 30px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(128, 18, 20, .28);
    transition: transform .2s ease, background .2s ease;
}
.aa-simb-vermas-btn:hover {
    background: var(--aa-primary-dark, #5f0d0f);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .aa-simb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .aa-simb-grid { grid-template-columns: 1fr; }
    .aa-simb-titulo { font-size: 1.6rem; }

    .aa-simb-section:not(.aa-simb-section-resumida) {
        padding: 48px 0;
    }
    .aa-simb-section:not(.aa-simb-section-resumida) .aa-simb-grid {
        gap: 18px;
        margin-top: 30px;
    }
    .aa-simb-section:not(.aa-simb-section-resumida) .aa-simb-card {
        width: 100%;
        padding: 30px 20px 28px;
        border-radius: 10px;
    }
    .aa-simb-section:not(.aa-simb-section-resumida) .aa-simb-card-cita {
        overflow-wrap: anywhere;
    }

    /* La versión resumida del inicio se mantiene en una sola fila. */
    .aa-simb-section-resumida {
        padding: 30px 0 24px;
    }

    .aa-simb-grid.aa-simb-grid-sin-header {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: start;
        gap: 8px;
        width: 100%;
    }

    .aa-simb-grid-sin-header .aa-simb-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transition: none;
    }

    .aa-simb-grid-sin-header .aa-simb-card:hover {
        transform: none;
        box-shadow: none;
    }

    .aa-simb-grid-sin-header .aa-simb-card-img {
        width: auto;
        height: 44px;
        max-width: 48px;
        margin: 0 auto 10px;
        object-fit: contain;
    }

    .aa-simb-grid-sin-header .aa-simb-card h3 {
        width: 100%;
        margin: 0;
        color: var(--aa-primary, #801214);
        font-size: 10px;
        line-height: 1.25;
        letter-spacing: 0;
        text-align: center;
        overflow-wrap: normal;
    }

    .aa-simb-section-resumida .aa-simb-vermas-row {
        justify-content: flex-end;
        margin-top: 16px;
    }

    .aa-simb-section-resumida .aa-simb-vermas-btn,
    .aa-simb-section-resumida .aa-simb-vermas-btn:hover {
        gap: 5px;
        min-width: 0;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        color: var(--aa-primary, #801214);
        font-size: 12px;
        transform: none;
    }

    .aa-simb-section-resumida .aa-simb-vermas-btn i {
        font-size: 9px;
    }
}

@media (max-width: 360px) {
    .aa-simb-section:not(.aa-simb-section-resumida) .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .aa-simb-grid.aa-simb-grid-sin-header { gap: 5px; }
    .aa-simb-grid-sin-header .aa-simb-card-img { height: 38px; max-width: 42px; }
    .aa-simb-grid-sin-header .aa-simb-card h3 { font-size: 8.5px; }
}

/* Símbolos del inicio: franja horizontal con separadores. */
.aa-simb-section-resumida {
    background: #fff;
    padding: 30px 0 20px;
    border-bottom: 1px solid #eee9e5;
}
.aa-simb-section-resumida > .container { max-width: 1080px; }
.aa-simb-section-resumida .aa-simb-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
    margin: 0;
}
.aa-simb-section-resumida .aa-simb-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 0;
    padding: 12px 20px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
}
.aa-simb-section-resumida .aa-simb-card + .aa-simb-card { border-left: 1px solid #e9e2df; }
.aa-simb-section-resumida .aa-simb-card:hover { transform: none; box-shadow: none; }
.aa-simb-section-resumida .aa-simb-card-img {
    width: 40px;
    height: 44px;
    max-width: 40px;
    flex-shrink: 0;
    object-fit: contain;
    margin: 0;
}
.aa-simb-section-resumida .aa-simb-card h3 {
    width: auto;
    max-width: 132px;
    color: #423936;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    text-align: left;
    margin: 0;
}
.aa-simb-section-resumida .aa-simb-vermas-row { justify-content: flex-end; margin-top: 14px; }
.aa-simb-section-resumida .aa-simb-vermas-btn,
.aa-simb-section-resumida .aa-simb-vermas-btn:hover {
    background: transparent;
    color: var(--aa-primary, #801214);
    padding: 4px 0;
    font-size: 12px;
    font-weight: 500;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    text-decoration: none;
}
.aa-simb-section-resumida .aa-simb-vermas-btn::after { content:none; }
.aa-simb-section-resumida .aa-simb-vermas-btn:hover { text-decoration: underline; }
@media (max-width: 700px) {
    .aa-simb-section-resumida { padding: 20px 8px 14px; }
    .aa-simb-section-resumida .aa-simb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
    .aa-simb-section-resumida .aa-simb-card { justify-content: flex-start; padding: 8px 12px; gap: 12px; }
    .aa-simb-section-resumida .aa-simb-card:nth-child(3) { border-left: 0; }
    .aa-simb-section-resumida .aa-simb-card-img { width: 30px; height: 36px; }
    .aa-simb-section-resumida .aa-simb-card h3 { font-size: 12px; }
}