.banner-module-3 {
    width: 100%;
    padding: 30px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.banner-container-3 {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-item {
    flex: 1;
    display: flex;
    justify-content: center;
}

.banner-frame {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    width: 100%;
}

.banner-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
}

.banner-link {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 100%;
}

.banner-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.banner-module-3::before,
.banner-module-3::after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #007bff 50%, transparent 100%);
    margin: 0 auto;
    max-width: 200px;
}

.banner-module-3::before {
    margin-bottom: 20px;
}

.banner-module-3::after {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .banner-container-3 {
        flex-direction: column;
        gap: 15px;
    }

    .banner-frame {
        min-height: 150px;
        padding: 10px;
    }

    .banner-module-3 {
        padding: 20px 0;
    }
}

/* Normaliza la altura de las piezas aunque las imagenes tengan proporciones distintas. */
.banner-module-3 .banner-container-3 {
    align-items: stretch;
}

.banner-container-3 .banner-item {
    align-items: stretch;
}

.banner-container-3 .banner-frame {
    min-height: 0;
    height: clamp(160px, 18vw, 220px);
}

.banner-container-3 .banner-link {
    height: 100%;
}

.banner-container-3 .banner-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .banner-container-3 .banner-frame {
        min-height: 0;
        height: 160px;
    }
}

.banner-module-4 {
    width: 100%;
    padding: 28px 0;
}

.banner-container-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.banner-frame-4 {
    height: 100%;
    min-height: 150px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.banner-link-4 {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.banner-image-4 {
    display: block;
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .banner-container-4 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .banner-module-4 {
        padding: 20px 0;
    }

    .banner-frame-4 {
        min-height: 120px;
    }
}
