/* --- ESTILOS DE TARJETAS INTERACTIVAS COOPERATIVA --- */

.coope-container {
    padding: 40px 15px;
}

/* Contenedor de la Tarjeta */
.coope-flip-card {
    background-color: transparent;
    height: 300px; /* Altura ideal para escritorio */
    perspective: 1000px;
    margin-bottom: 30px;
}

/* Estructura interna para el giro */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 15px; /* Bordes redondeados según diseño original */
}

/* Efecto Hover */
.coope-flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Caras de la tarjeta */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #e0e6ed;
}

/* Lado Frontal (Blanco) */
.flip-card-front {
    background-color: #ffffff;
    color: #062D77; /* Azul Micoope */
}

/* Lado Trasero (Azul Institucional) */
.flip-card-back {
    background-color: #062D77;
    color: #ffffff;
    transform: rotateY(180deg);
}

/* Iconos y Títulos */
.card-icon {
    width: 60px;
    height: auto;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

/* Listas y textos traseros */
.cards_item_small {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
    text-align: left;
    font-size: 0.85rem;
}

.cards_item_small li {
    margin-bottom: 5px;
    padding-left: 18px;
    position: relative;
}

.cards_item_small li::before {
    content: "•";
    color: #01a23c; /* Verde Micoope */
    position: absolute;
    left: 0;
    font-weight: bold;
}

.card-text-mini {
    font-size: 0.85rem;
    margin-bottom: 15px;
}

/* Botones */
.btn-coope-mini {
    background-color: #ffffff;
    color: #062D77;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-coope-mini:hover {
    background-color: #12aa10; /* Naranja Micoope */
    color: white;
}

/* --- MEDIA QUERIES (RESPONSIVO) --- */

/* Celulares */
@media (max-width: 767px) {
    .coope-flip-card {
        height: 260px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .coope-flip-card {
        height: 280px;
    }
}