/* ==========================
   CATÁLOGO SOCIAS
========================== */

.catalogo-socias-section {
    background: #ffffff;
    padding: 40px 0;
}

.catalogo-header {
    text-align: center;
    margin-bottom: 50px;
}

.catalogo-header h1 {
    color: #5a2d82;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.catalogo-header p {
    max-width: 800px;
    margin: auto;
    color: #555;
    line-height: 1.7;
    font-size: 1.2rem;
}

.categoria-block {
    margin-bottom: 90px;
}

.categoria-title {
    color: #5a2d82;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 35px;
    padding-bottom: 12px;
    border-bottom: 3px solid #e8d6f3;
}

.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-top: 10px;
}

/* ==========================
   ACORDEÓN CATEGORÍAS
========================== */

.categoria-accordion {
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ececec;
    background: #fff;
}

.categoria-btn {
    width: 100%;
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #5a2d82;
}

.categoria-btn:hover {
    background: #faf7fd;
}

.categoria-icon {
    font-size: 30px;
    transition: .3s;
}

.categoria-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease;
}

.categoria-accordion.active .categoria-content {
    max-height: 5000px;
    padding: 0 30px 30px;
}

.categoria-accordion.active .categoria-icon {
    transform: rotate(45deg);
}

.categoria-accordion.active .categoria-btn {
    background: #faf7fd;
}

/* ==========================
   TARJETAS
========================== */

.flip-card {
    perspective: 1200px;
    height: 320px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: .7s;
    transform-style: preserve-3d;
}

.flip-card.active .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
    0 10px 25px rgba(0,0,0,.08);
}

/* FRENTE */
.flip-card-front {
    background: white;
    border: 1px solid #eeeeee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
}

.flip-card-front img {
    max-width: 180px;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.flip-card-front h3 {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #5a2d82;
    margin: 0;
    font-weight: 700;
}

.logo-wrapper {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-wrapper img {
    max-width: 180px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* REVERSO */
.flip-card-back {
    transform: rotateY(180deg);
    background:
    linear-gradient(
        135deg,
        #5a2d82,
        #7f46a8
    );
    color: white;
    padding: 30px;
}

.flip-card-back h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 700;
}

.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-list li {
    margin-bottom: 14px;
}

.social-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    transition: .3s;
    overflow-wrap: break-word;
}

.social-list a:hover {
    opacity: .8;
}

.social-list svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-list img {
    width: 20px;
    height: 20px;
}


/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 1199px) {

    .catalogo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 991px) {

    .catalogo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 575px) {

    .catalogo-grid {
        grid-template-columns: 1fr;
    }

    .categoria-title {
        font-size: 26px;
    }

    .catalogo-header h1 {
        font-size: 34px;
    }

}